How can i list the files on my EXT partition? - EVO 4G General

I'm looking to edit an apk thats on my ext partition, but I don't know how I can get to it.
Can I usb adb shell to get to it some how?
Anyway to ls the ext partition and push/pull files from it?

Related

Corrupted SD Card

I'm running CM 4.1.11.1 I think and just recently new apps wouldn't install, so I rebooted and all of a sudden all of the apps just turned into the standard icon and none of them said they were installed except for like 3 or 4 of them. I think the SD card is alright, but must have some kind of error in the ext filesystem as I can see all of the files on the FAT32 portion just fine. Do you guys know of any way to just fix the errors on the ext portion without reformatting it? Or do I have to kill all of the partitions and redo them?
You could use the repair ext filesystem option if you are running a recovery image that has it (Cyanogen 1.4 or RA 1.2.3) or just reformat the ext partition using gparted under linux.
Yeah, the repair ext thing didn't work. I think I may just have to clear off the entire card and start from scratch.
I got the same problem
then I backup all the apps up with: tar cvf /sdcard/backup.tar /data/app/*
then copy backup.tar to your desktop pc
then reformat your tf card and repart the partitions
when it's done,move it to your tf card FAT32 partition again
insert to your Phone
the install CM ROM
when it's done
enter the terminal or adb shell
cd /data/app
tar xvf /sdcard/backup.tar
(if it says read only filesystem something you can try reboot )
then check to make sure all the .apk files are under the /data/app directory
then type
fix_permissions
when it's all done reboot
if some apps' error
reinstall them
that's all I did
good luck to you ;-)
oh,I suggest that the size of your ext3 partition should under 400MB
that't the key to solve the problem I thought

Is there an app that runs apps from SD?

So my SD card is partitioned to fat32+ext2+swap, yet my apps still being stored and run from the phone since im running out of storage.
Is there an app that will move my apps to the sd card and run the from there?
What rom are you using?
The latest MyHero ROM
bump**
help =(
I don't use hero ROM's so I'm not very familiar with them. Do they have automatic apps2sd? (assuming your sdcard is partitioned)
can you help me out too? im running on manup's eclair 2.1 rom
Rosco911 said:
So my SD card is partitioned to fat32+ext2+swap, yet my apps still being stored and run from the phone since im running out of storage.
Is there an app that will move my apps to the sd card and run the from there?
Click to expand...
Click to collapse
running out of storage on what? sdcard? or phone? i highly doubt phone... and if its on sdcard, your ext3 partition is probably too small or being used up by all of the heros **** that it stores there, as i just read heros do. include the sizes of your partitions and link to thread of hero rom.
I just pulled this off the MyHero thread located here
My Apps 2 sdcard patch: (no ext2/ext3 partition required, it using your sdcard's vfat partition.)
It work for the apps you install from android market or by "adb install".
The "app2sdcard" patch will create a "app" folder in your sdcard. Then copy apps from /data/app to /sdcard/app and make a symbol link to there.
The "app2phone" patch will copy apps in the sdcard "app" folder back to your phone and delete from your sdcard.
Or you may want to do it yourself in recovery mode with following commands :
Code:
mount /sdcard
mount -o rw /data
mkdir /sdcard/app
cp -a /data/app/* /sdcard/app/
rm -rf /data/app
ln -s /sdcard/app /data/app
If I understand this right, it does not use an ext, but stores the apps on your fat32.
Did you read through this thread and try that?
apps on sd
Is there any way to update apps that run from sd card?
Apps that run from your sd card runs normally as if it was on your phone, so it updates normally also.
Unless you flash over a new rom and backup and restore your apps, then they don't show up in the market on the new rom. For that, I use atrackdog to keep my apps not showing in the market up to date.

Apps2SD

Now.. coming from linux shouldn't this work now that we have root?
In theory this SHOULD work no?
ln -s /sdcard/app /data/app
I've tried to but with no avail. The phone refuses to boot.
Does it need a special rom to? I'm guessing the SDCard doesn't get mounted till its fully in? theres no /etc/fstab is there another mounting script I'm missing?
Thanks
xxsashixx said:
Now.. coming from linux shouldn't this work now that we have root?
In theory this SHOULD work no?
ln -s /sdcard/app /data/app
I've tried to but with no avail. The phone refuses to boot.
Does it need a special rom to? I'm guessing the SDCard doesn't get mounted till its fully in? theres no /etc/fstab is there another mounting script I'm missing?
Thanks
Click to expand...
Click to collapse
The mount of the partitions of the sd is managed by vold; the configuration file is /etc/vold.conf.
Ciao Angelo
Ok so how would I modify this so it will work for Apps to the SD?
xxsashixx said:
Ok so how would I modify this so it will work for Apps to the SD?
Click to expand...
Click to collapse
I think you can add an entry in vold.conf as the examples in the file.
An other solution could be to mount the partition in /init.rc
Ciao Angelo
Does the partition in the SDCard have to put Ext2 for the apps?
Yes. You have to partition the SD
Hmm the phone still refuses to boot..
has anyone gotten this to work?
i agree with this
so anyone got this working? I assume no

[Q] problem with wildpuzzle - posting it gere coz no one is replying in the therad

Im using the wild puzzle rom v0.7 and im having this prob.... i posted it twice in the thread bt no one replied to that...
ok i did the entire procedure stated by danne_jo... got my 160 mb free... then installed all the apps required by me(installed apps using iAPK 0.3) and rebooted the phone... now only 3 out of 60 apps(those 60 apps that i had installed) are shown in the apps drawer... and under the "manage applications" it shows all the apps bt as 0 kb in size
also the internal memory went from 160 to 105 after the reboot
so after that i reinstalled all the apps and now the internal memory is only 70 MB
i dont understand???
what should i do??
i think the sd ext partiton doesn't mount coerrectly.
you can type "adb shell /system/bin/a2sd check"
that will show you message to check ext partition mounted?
if not, you can type "adb shell /system/bin/a2sd reinstall" to correct the Apps2SD.
ww231 said:
i think the sd ext partiton doesn't mount coerrectly.
you can type "adb shell /system/bin/a2sd check"
that will show you message to check ext partition mounted?
if not, you can type "adb shell /system/bin/a2sd reinstall" to correct the Apps2SD.
Click to expand...
Click to collapse
first of all thnx
bt
can u plz explain in a bit elaborated way... im a noob!!!
if not familiar with adb,
you can use "root explorer" to check the directory of /system.
if ext partition mounted , we can find /system/sd.
under /system/sd/app ,we can find the apps had been installed.(See the attachment)
my propose to partition sd_card first,(1 fat32 , 1 ext)
then copy ROM to sd_card
wipe
reinstall
You can find the step by step procedure at danne's post.
If it is your ext partition not being mounted on boot, flash this. http://db.tt/G5OrCYD
ww231 said:
if not familiar with adb,
you can use "root explorer" to check the directory of /system.
if ext partition mounted , we can find /system/sd.
under /system/sd/app ,we can find the apps had been installed.(See the attachment)
my propose to partition sd_card first,(1 fat32 , 1 ext)
then copy ROM to sd_card
wipe
reinstall
You can find the step by step procedure at danne's post.
Click to expand...
Click to collapse
Which Post by danne_jo are u talking bout??
One Final Question
I've got everything working perfectly now...
so if i take a nandroid backup now... will it also backup the app data that is stored on the EXT partition of the card or not??
coz if not then the nanroid backup is usless...
or is there any other way to take the backup of the app data on the EXT??
the answer is yes,
nandroid backup everything.
you don't care where is the apps located.

[Q] Help needed mount img file in ubuntu

I have downloaded a nand androuid build that I am 99% happy with. I do however want to change a couple of things on the build.
I have downloaed and got ubutu up and running on a virtual box. I have then copied the system.img file on to a usb drive and copied it into ubuntu. Location of the file is in stephen which is my logon name.
I have also created a folder called mount which I want to mount the img file to.
I have done this before in ubuntu using ext2 files but I can not get the mount command to work for an img file. Is there an way to mount the img file, remove the files I do not want and then comple a newer smaller img file?
EDIT: logged on as root and moved the system.img and mount folder to main file system folder. Ran command mount -t img /system.img /mount but now getting error unknown filesystem type 'img'
Any help would be appreciated.

Categories

Resources