Go Back   Android Forums > Android Phones > ZTE AT&T Avail (ZTE Merit) > Avail - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By Motorhead1991

test: Reply
 
LinkBack Thread Tools
Old April 29th, 2012, 04:18 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default Relocating Dalvik cache to free up space

While looking through the system boot scripts, I came across something of interest in the "init.rc" script:
# create dalvik-cache and double-check the perms
mkdir /data/dalvik-cache 0771 system system
chown system system /data/dalvik-cache
chmod 0771 /data/dalvik-cache

If you change "mkdir /data/dalvik-cache" to "mkdir /dev/dalvik cache", would it move the dalvik cache to the 211mb "dev" partition and still retain functionallity, or would it cause issues?

I've been playing with script writing and busybox commands trying to make this work with no success.

Motorhead1991 is offline  
Reply With Quote
sponsored links
Old April 30th, 2012, 09:38 PM   #2 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 16,617
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 30,635
Thanked 14,089 Times in 6,882 Posts
Default

Quote:
Originally Posted by Motorhead1991 View Post
While looking through the system boot scripts, I came across something of interest in the "init.rc" script:
# create dalvik-cache and double-check the perms
mkdir /data/dalvik-cache 0771 system system
chown system system /data/dalvik-cache
chmod 0771 /data/dalvik-cache

If you change "mkdir /data/dalvik-cache" to "mkdir /dev/dalvik cache", would it move the dalvik cache to the 211mb "dev" partition and still retain functionallity, or would it cause issues?

I've been playing with script writing and busybox commands trying to make this work with no success.
Motorhead1991,

I think you're looking for something along the lines of the old (to me, at least ) "cache2cache" method of relocating the Dalvik cache to another area.

For the Eris, this was done by moving the Dalvik cache to the /cache partition (vs. the /dev partition that are mentioned).

Anyway, check out this thread over on XDA:

[SCRIPT][1/22/2011] A Simple Cache2Cache for CM 6.x and 7.x ROMs - xda-developers

for some interesting ideas and background about how this was done for the Eris (on admittedly older versions of Android). I don't know anything about your particular device or if this is even helpful, but it seems related.

I'd caution you to take your requisite Nandroid backups and also due precautions.

Good luck and cheers!
scary alien is online now  
Reply With Quote
Old April 30th, 2012, 10:17 PM   #3 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

The cache partition is 57mb on this device, and the dalvik itself is near 100mb. If I could alter the partitions themselves this would be irrelevant since "dev" is wasted space, having only 32kb taken out of 211mb...

Partitions that I know:
system - 210mb (47 available, mainly apps)
data - 162mb (17 available)
cache - 57mb (56 available)
dev - 211mb (36kb used)
Motorhead1991 is offline  
Reply With Quote
Old April 30th, 2012, 10:23 PM   #4 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 16,617
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 30,635
Thanked 14,089 Times in 6,882 Posts
Default

Quote:
Originally Posted by Motorhead1991 View Post
The cache partition is 57mb on this device, and the dalvik itself is near 100mb. If I could alter the partitions themselves this would be irrelevant since "dev" is wasted space, having only 32kb taken out of 211mb...

Partitions that I know:
system - 210mb (47 available, mainly apps)
data - 162mb (17 available)
cache - 57mb (56 available)
dev - 211mb (36kb used)
Yeah, the /cache partition for the Eris was our partition of choice .

Good luck and I hope the thread and XDA was useful.

Cheers!

BTW, I've been to Pasco a few years back--my father lives just down the road from you in Hermiston .
scary alien is online now  
Reply With Quote
Old May 1st, 2012, 12:49 AM   #5 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

I'm working on altering the XDA script to get this figured out. Moving 100mb to empty space will leave that much more for app data...
Motorhead1991 is offline  
Reply With Quote
Old May 1st, 2012, 01:13 AM   #6 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

Update: After running each command seperately, I managed to complete my goal. Now lets see if it can survive a reboot...
Motorhead1991 is offline  
Reply With Quote
Old May 1st, 2012, 02:54 AM   #7 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

Alright, for all of you Avail users, here's how I did this:

Code:
# !/system/bin/sh
#
# Author: zach.xtr Jan 2011

# Moves the /data/dalvik-cache files to largely unused /dev/dalvik-cache location and symlinks

log -p i -t cache2cache "Running cache2cache to move data/dalvik-cache to /dev/dalvik-cache..."

 /system/bin/busybox mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system 

# Make sure final /dev/ location is setup correctly
if [ ! -d /dev/dalvik-cache ];
then
log -p i -t cache2cache "/cache/dalvik-cache directory not found, creating and adding pe

/system/xbin/busybox mkdir /dev/dalvik-cache;

/system/xbin/busybox chown 1000:1000 /dev/dalvik-cache;

/system/xbin/busybox chmod 777 /dev/dalvik-cache
fi;

if [ -d /data/dalvik-cache ] && [ ! -h /data/dalvik-cache ];
then

log -p i -t cache2cache "Moving files from /data/dalvik-cache to /dev/dalvik-cache";

/system/xbin/busybox cp -fp /data/dalvik-cache/* /dev/dalvik-cache;

/system/xbin/busybox rm -r /data/dalvik-cache;

log -p i -t cache2cache "Creating Symbolic Link of /dev/dalvik-cache as /data/dalvik-c

/system/xbin/busybox ln -s /dev/dalvik-cache /data/dalvik-cache;

/system/xbin/busybox chown 1000:1000 /data/dalvik-cache

/system/xbin/busybox chmod 0771 /data/dalvik-cache
fi;

# Clean up
/system/bin/busybox mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
In Terminal Emulator, I ran the system commands only, instead of doing the logs included. This doesn't seem to affect anything, so I see no point in logging the information. Note that I did not develop this, it is mearly an alteration of someone elses work. I owe this to zach.xtr of XDA for developing the original script. Enjoy the free space

EDIT:
Picture proof that this works (I'd take a pic from a file viewer, but they don't want to cooperate:






Motorhead1991 is offline  
Last edited by Motorhead1991; May 8th, 2012 at 02:53 AM. Reason: Fixing code, adding images.
Reply With Quote
Old May 9th, 2012, 11:01 PM   #8 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

UPDATE:
I'm working on creating an update package for this, stay tuned for that post.
Motorhead1991 is offline  
Reply With Quote
The Following User Says Thank You to Motorhead1991 For This Useful Post:
chrismbrunner (May 10th, 2012)
Old May 17th, 2012, 05:52 PM   #9 (permalink)
Junior Member
 
Join Date: Feb 2012
Posts: 35
 
Device(s): ZTE AT&t Avail
Carrier: Not Provided

Thanks: 0
Thanked 3 Times in 3 Posts
Default

only tried it once but couldnt get it work. i think it actually did move the partition because it basically reset the phone and my apps and info didnt show up anywhere afterwards. dont know what i did wrong but ill probably wait for your package and give it a try then.
wyldesolos is offline  
Reply With Quote
Old May 17th, 2012, 06:54 PM   #10 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

The only problem I've found with this is that ypu need to wipe the dalvik before you reboot the phone. It'll hang on startup if you don't
Motorhead1991 is offline  
Reply With Quote
sponsored links
Old July 27th, 2012, 11:13 AM   #11 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

Quote:
Originally Posted by Motorhead1991 View Post
UPDATE:
I'm working on creating an update package for this, stay tuned for that post.

Still working on this.....I'd like to try it out.
SquidlyMcNerd is offline  
Reply With Quote
Old July 27th, 2012, 11:29 AM   #12 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

It's pre-packed into my ROMs .
Motorhead1991 is offline  
Reply With Quote
Old July 28th, 2012, 10:11 AM   #13 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

Does MH 1 work now or is it up to 1.1 yet? Last time I tried it it didn't work. Will your ROM work with CWM?

I softbricked my Merit and consequently had to buy another one. For that reason, I'm not in a hurry to flash too much of anything at the moment. I have CWM flashed and an original nandroid backup made "just in case".

I screwed myself sorta when I replaced the 'CWM recovery' with a different 'recovery'. Not doing that any more. My old Merit defaults to "Android System Recovery".

If you can help me with an update.zip and rescue the old phone.....I'd be glad to put it into service as a test device for your ROMs.....heh heh.

The biggest problem I have with one.three and the like is the Go launcher. I hate that crap and don't want it. I would rather run a bone stock Merit than to have 'Go' anything on it.

Here's a thread I started if you have the time. If not, that's cool. Time is something that none of us seem to have enough of.

What exactly does update.zip consist of? ZTE MErit boot-looped at Android System Recovery
SquidlyMcNerd is offline  
Reply With Quote
Old July 28th, 2012, 11:35 AM   #14 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

My ROMs have Golauncher too. And it's weird that you say it didn't work, cuz it did the last time I tried it.
Motorhead1991 is offline  
Reply With Quote
Old July 28th, 2012, 03:19 PM   #15 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

Aren't you on an Avail? Do you know anybody with a Merit that has used it?

I'm not going to be doing any ROM swapping with ROM's that have GO stuff, at least not on my main phone. It killed me to go a week without a phone. You don't realize how much you rely on one until you don't have it anymore. Don't have a problem with trying out any kind of ROM's on my secondary Merit once I get it back up.

It's a shame creating ROM's isn't quite to the level of a GUI point-n-click yet. There could be all kinds of cool ROM's floating around if they're weren't so freakin' "rocket science" to create.
SquidlyMcNerd is offline  
Reply With Quote
Old July 28th, 2012, 03:56 PM   #16 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

The Avail and Merit are the same hardware. I'm actually tinkering with a Merit ROM right now...
Motorhead1991 is offline  
Reply With Quote
Old July 28th, 2012, 04:34 PM   #17 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

Does your ROM have a way for me to export or save the Dalvik script to SDcard to apply as a standalone?......not that I know how to do all that at this point. I think I might be able to pull it off.....but like I said, not in hurry to experiment with my main phone.

If MH1 is CWM then I wouldn't have a problem with trying it out.
SquidlyMcNerd is offline  
Reply With Quote
Old July 28th, 2012, 04:46 PM   #18 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

It is CWM flashable, it's the only way I work . And no, it desn't have that option, yet. I'm still learning quite a bit about this sort of stuff, so I'll figure tgat out eventually.
Motorhead1991 is offline  
Reply With Quote
Old July 28th, 2012, 04:49 PM   #19 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

I'm too lazy to look around. Got a link to MH1?...heh heh. I want to make sure it's the newest version.
SquidlyMcNerd is offline  
Reply With Quote
Old July 28th, 2012, 05:09 PM   #20 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

I hacen't updated it since May, porting ICS has kept me busy.MH-1.0
Motorhead1991 is offline  
Reply With Quote
sponsored links
Old July 28th, 2012, 06:53 PM   #21 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

Faults out at:

Checking MD5 sums...
MD5 mismatch!
SquidlyMcNerd is offline  
Reply With Quote
Old July 28th, 2012, 06:57 PM   #22 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

Weird... I'll flash it on my other phone and see what comes up.
Motorhead1991 is offline  
Reply With Quote
Old July 29th, 2012, 12:47 AM   #23 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 80
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
Default

I put the rom on my merit and it works great. No problems with Go products at all. The Go launcher works great. I even replaced the SMS and dialer apps with the Go versions. Makes for a much nicer overall experience.
neutrontech is offline  
Reply With Quote
Old July 29th, 2012, 08:11 AM   #24 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

I never said there were any problems with Go products nor have I ever experienced problems with Go products. I just don't like them.

I'm not sure MH how to go about making sure the checksums are OK on my end because in your MH1 rom, I can't find any MD5 file, nor any typical "cache.yaffs2.img" files where I would calculate checksums. Not sure how to calculate checksums on your rom on my computer.

I had a nandroid backup on my phone that also gave me a MD5 mismatch error. The other nandroid backups worked fine.

I downloaded Hashdroid from the market, rehashed all the cache.yaffs2.img and such files, transferred the new hash strings to the corresponding file in the MD5 and bingo! The backup worked fine after that.

I wouldn't think because I'm working on a Mac would have anything to do with it but that may be the problem. Having a space added or taken away in the MD5 file during copying/pasting/etc.

I'm not sure how the one.three-based roms work with CWM being they're not in the exact same "yaffs2" format as a nandroid backup.

EDIT: DOH! Apparently it's my turn to be an idiot. I forgot that MH1 had to be installed as a zip. I was unzipping, and that's what generated the MD5 error. I have it installed now and am in the process of installing my own apps in order to check out the magic Dalvik operation.
SquidlyMcNerd is offline  
Last edited by SquidlyMcNerd; July 29th, 2012 at 09:09 AM.
Reply With Quote
Old July 29th, 2012, 10:24 AM   #25 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 80
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by SquidlyMcNerd View Post
I never said there were any problems with Go products nor have I ever experienced problems with Go products. I just don't like them.

I'm not sure MH how to go about making sure the checksums are OK on my end because in your MH1 rom, I can't find any MD5 file, nor any typical "cache.yaffs2.img" files where I would calculate checksums. Not sure how to calculate checksums on your rom on my computer.

I had a nandroid backup on my phone that also gave me a MD5 mismatch error. The other nandroid backups worked fine.

I downloaded Hashdroid from the market, rehashed all the cache.yaffs2.img and such files, transferred the new hash strings to the corresponding file in the MD5 and bingo! The backup worked fine after that.

I wouldn't think because I'm working on a Mac would have anything to do with it but that may be the problem. Having a space added or taken away in the MD5 file during copying/pasting/etc.

I'm not sure how the one.three-based roms work with CWM being they're not in the exact same "yaffs2" format as a nandroid backup.

EDIT: DOH! Apparently it's my turn to be an idiot. I forgot that MH1 had to be installed as a zip. I was unzipping, and that's what generated the MD5 error. I have it installed now and am in the process of installing my own apps in order to check out the magic Dalvik operation.
Oh, my bad. I misunderstood and thought you had issues with go launcher and was wondering if we got it working on the merit good. I liked the stock launcher but found it a bit too limiting, however go launcher has a ton if features i dont use. Still runs smooth though. The dialer lags a bit sometimes, but its worth it for the t9. The go SMS app is fantastic. I'm still looking for a faster dialer, but the ones I've tried don't look as nice as go's.

Still looking for the stock web browser though.
neutrontech is offline  
Reply With Quote
Old July 30th, 2012, 11:55 AM   #26 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

The Camera ICS app crashes every time I try to use the panoramic feature, or whatever that curvy menu icon represents.

Also had no connectivity. Phone or data. There was another error but I don't remember it at the moment.
SquidlyMcNerd is offline  
Reply With Quote
Old July 30th, 2012, 12:09 PM   #27 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

I get that same error, don't know why. As for the connectivity, have you put the apn settings in?
Motorhead1991 is offline  
Reply With Quote
Old August 1st, 2012, 05:11 PM   #28 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 80
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by SquidlyMcNerd View Post
The Camera ICS app crashes every time I try to use the panoramic feature, or whatever that curvy menu icon represents.

Also had no connectivity. Phone or data. There was another error but I don't remember it at the moment.
I just tested mine, and the ICS camera app does not crash in the panoramic mode. Don't have any idea why it is crashing for you, but just so you know, it does work on the Merit.
neutrontech is offline  
Reply With Quote
Old August 1st, 2012, 05:15 PM   #29 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 80
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
Default

Just out of curiosity, currently when I use ES explorer and browse to /data/ I see the dalvik-cache directory, and it's full of stuff. Is there a way to tell if I'm looking at the actual dalvik-cache on my phone, or a sym link? I have no idea if my dalvik cache is currently being stored on my phone or the sd card, but I'm trying to figure that out.
neutrontech is offline  
Reply With Quote
Old August 1st, 2012, 06:02 PM   #30 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

Hold down on it and look at the properties.
Motorhead1991 is offline  
Reply With Quote
sponsored links
Old August 1st, 2012, 06:30 PM   #31 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 80
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by Motorhead1991 View Post
Hold down on it and look at the properties.
Yeah I already did that, but it just says location is /data/dalvik-cache. But I'm not familiar enough with sym links to know if the properties will tell me if it is linked or not.

It's my understanding that linking something tricks the system into thinking the file is someplace, when in reality it is someplace else. So, I'm unclear if the file browser is also "tricked"; ie. it thinks the files are at /data/, and shows me as such, but in reality it's on the SD card. Or, if it's showing me the truth.

Am I making sense?

EDIT: I've done some googleing, and I guess what I'm asking is how to tell if a path is absolute, or symbolic. I've found numerous ways in which to figure this out programatically, but I'm not writing a program. I just want to be able to tell this within ES explorer, which might not have the ability to do so. If ES can't do this, is there a terminal command to tell me?



EDIT AGAIN:
To answer part of my own question:
Does the 'properties' dialog in ES File Explorer indicate if a folder is actually a symbolic link, or not? Doesn't look like it. I looked at the 'properties' of both /mnt/sdcard and /sdcard. Both 'properties' dialogs look exactly the same and provided the same information.

So, back to my original question: is there a way to tell if a folder (ie. /data/delvik-cache) is actually on the phone, or a symbolic link to a folder on the ext2 partition on my SD card? any ideas?
neutrontech is offline  
Last edited by neutrontech; August 1st, 2012 at 06:55 PM.
Reply With Quote
Old August 3rd, 2012, 08:33 PM   #32 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 80
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
Default

Anyone?
neutrontech is offline  
Reply With Quote
Old August 3rd, 2012, 09:23 PM   #33 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

ES file explorer should have said /sdcard/dalvik-cache, unless the partition is an extension of the /data.
Motorhead1991 is offline  
Reply With Quote
Old August 4th, 2012, 08:45 AM   #34 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 80
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by Motorhead1991 View Post
ES file explorer should have said /sdcard/dalvik-cache, unless the partition is an extension of the /data.
OK. So my dalvik cache is still on my phones internal memory then.
neutrontech is offline  
Reply With Quote
Old August 9th, 2012, 07:43 AM   #35 (permalink)
Junior Member
 
SquidlyMcNerd's Avatar
 
Join Date: Jul 2012
Location: Louisville, KY
Gender: Male
Posts: 84
 
Device(s): Straight Talk Samsung Galaxy Proclaim
Carrier: Straight Talk/Verizon

Thanks: 7
Thanked 66 Times in 43 Posts
Default

Don't know what happened but I tried MH1 again recently and it loaded just fine. The camera app still crashes in pano mode. I had installed Antyhony's new Kernel a few days ago and letting the phone work with it. Had over-clocked to 804mhz or something like that. The MH1 Rom cannot overclock beyond the factory 600mhz, I assume because it contains the old Kernel.

Can'tfind the Dalvik cache anywhere. Not sure I'm looking in the correct areas.
SquidlyMcNerd is offline  
Reply With Quote
Old August 9th, 2012, 10:33 AM   #36 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

Yes, MH-1.0 has the stock kernel. As for the dalvik-cache, it's in /data
Motorhead1991 is offline  
Reply With Quote
Old August 10th, 2012, 10:28 AM   #37 (permalink)
Junior Member
 
Join Date: Jul 2012
Posts: 29
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 2 Times in 1 Post
Default

I am lost in this keep getting message "!/system/bin/sh: not found"
Not sure if I need something else downloaded or if I am missing something here
Buzz2043 is offline  
Reply With Quote
Old August 10th, 2012, 10:57 AM   #38 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

You have to include the hashmark on the first one. In Terminal Emulator, it'd look like this: # #!/system/bin/sh.

From my view, the script is incomplete, so I'm not sure that will work for you. Eventually, I'll host the script itself.

Also, using the Dalvik-move script messes with the reboot process, meaning you MUST wipe the cache before rebooting, otherwise you'll be in a loop. I haven't figured out how to automate this yet.
Buzz2043 likes this.
Motorhead1991 is offline  
Reply With Quote
Old August 23rd, 2012, 02:05 PM   #39 (permalink)
Junior Member
 
Join Date: Jul 2012
Posts: 29
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by Motorhead1991 View Post
You have to include the hashmark on the first one. In Terminal Emulator, it'd look like this: # #!/system/bin/sh.

From my view, the script is incomplete, so I'm not sure that will work for you. Eventually, I'll host the script itself.

Also, using the Dalvik-move script messes with the reboot process, meaning you MUST wipe the cache before rebooting, otherwise you'll be in a loop. I haven't figured out how to automate this yet.
Cool will be looking forward to both those the script and the automated Dalvik move
Buzz2043 is offline  
Reply With Quote
Old August 23rd, 2012, 10:53 PM   #40 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Mar 2012
Location: Pasco, WA
Posts: 775
 
Device(s): Samsungs, Rugby Smart (AOKP), Galaxy Appeal (modded stock), Illusion (modded stock)
Carrier: Not Provided

Thanks: 12
Thanked 127 Times in 112 Posts
Default

Quote:
Originally Posted by Buzz2043 View Post
Cool will be looking forward to both those the script and the automated Dalvik move
I'm still working on tge automation, but I have been working on true init.d support.
Motorhead1991 is offline  
Reply With Quote
sponsored links
Old September 4th, 2012, 07:51 AM   #41 (permalink)
Member
 
jamespfassett's Avatar
 
Join Date: Jul 2012
Location: Midland, Michigan
Gender: Male
Posts: 149
 
Device(s): ZTE Merit converted to a ZTE Hotrod with SpeedFreak2.0
Carrier: StraightTalk

Thanks: 8
Thanked 44 Times in 32 Posts
Default

Im really looking forward to this, I gave it a shot with the script provided but its a no for launch. What is it about the script that is incomplete?
jamespfassett is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > ZTE AT&T Avail (ZTE Merit) > Avail - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:00 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.