Go Back   Android Forums > Android Phones > Huawei Ascend > Ascend - All Things Root

test: Reply
 
LinkBack Thread Tools
Old August 2nd, 2011, 06:35 AM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Scur's Avatar
 
Join Date: May 2011
Location: Illinois
Gender: Male
Posts: 1,394
 
Device(s):
Carrier: Not Provided

Thanks: 353
Thanked 490 Times in 309 Posts
Send a message via MSN to Scur
Default a2sd commands

Thought I'd throw this up here. Seems much more readable on here than on the Ascend. If you don't know what this is, ignore it!

Instructions: Start Terminal Emulator, enter su, enter a2sd <command>

Darktremor Apps2SD Help
Version 2.7.5.2 (2010-09-30)
=================================================
Syntax: /system/bin/a2sd command

All commands create a logfile: /data/dta2sd.log

Command is one of the following


Standard Apps2SD Commands
  • reinstall
    • Moves free and paid apps to the ext2/ext3/ext4 partition on your secure digital card. Removes the No A2SD flag file.
    • This is used if you have already executed an a2sd remove command. Otherwise, this part is automatically performed when Apps2SD is started.
    • File removed: /data/.noa2sd
  • remove
    • Moves free and paid apps to the internal phone storage. Creates the No A2SD flag file.
    • File created: /data/.noa2sd

Swap Partition Commands
  • reswap
    • Removes the No Swap flag. Allows A2SD to activate the swap partition.
    • This is used if you have already executed an a2sd noswap command. Otherwise, this part is automatically performed when Apps2SD is started.
    • File removed: /data/.noswap
  • noswap
    • Creates the No Swap flag. Prevents A2SD from activating the swap partition.
    • File created: /data/.noswap
  • swappyxx
    • Sets swap partition swappiness value to xx.
    • Example: To set the swappiness of the swap partition to 30%, type: a2sd swappy30
    • File created: /data/dtswap

Dalvik Cache Commands
  • cachesd
    • Moves Dalvik cache files to the ext2/ext3/ext4 partition on your secure digital card. Creates Dalvik Cache to SD flag.
    • File created: /data/.dalvikcacahe
    • File removed: /data/.dcpartition
  • cachesdreset
    • Performs the same function as cachesd, plus erases the contents of Dalvik-Cache, forcing a rebuild on reboot.
    • File created: /data/.dalvikcache
    • File removed: /data/.dcpartition
  • cachepart
    • Moves Dalvik cache files to the /cache partition in your phone. Creates Dalvik Cache to Cache Partition flag.
    • File created: /data/.dcpartition
    • File removed: /data/.dalvikcache
  • cachepartreset
    • Performs the same function as cachepart, plus erases the contents of Dalvik-Cache, forcing a rebuild on reboot.
    • File created: /data/.dcpartition
    • File removed: /data/.dalvikcache
  • nocache
    • Moves Dalvik cache files to the internal phone storage. Removes all Dalvik Cache flags.
    • File removed: /data/.dcpartition
    • File created: /data/.dalvikcache
  • nocachereset
    • Performs the same function as nocache, plus erases the contents of Dalvik-Cache, forcing a rebuild on reboot.
    • File removed: /data/.dcpartition
    • File created: /data/.dalvikcache
  • resetcache
    • Clears the dalvik cache and restarts phone.

Apps2SD Diagnostic Commands
  • check
    • Performs a symlink and flag file check on your setup.Outputs a report that shows you if there are issues with your Apps2SD setup.
  • repair
    • Performs a repair of all symlinks based on flag file activation.
  • diskspace
    • Shows disk space statistics for the ext partition.
  • sysinfo
    • Displays information about your phone, partitions, swap, and more. Also writes a dump file that has an entire profile of your phone. This is for troubleshooting only.
    • File Created: /data/dtsysdump.txt
  • swapspace
    • Shows swap space statistics for all swap space active on the phone.
  • partlist
    • Shows the supported EXT partitions available for your particular ROM.

ZipAlign Commands
  • align
    • Performs a one-time zipalign on all APK files in /data/app, /data/app-private and /system/app.
  • zipalign
    • Allows ZipAlign to execute during the boot process. Creates the ZipAlign flag file.
    • File Created: /data/.zipalign
  • nozipalign
    • Prevents ZipAlign from executing during the boot process. Removes the ZipAlign flag file.
    • File Removed: /data/.zipalign

Dalvik Setting Commands
  • jit
    • Installs DalvikVM JIT.
    • WARNING: Do not run this command if your phone has NAND protection active.
  • nojit
    • Removes DalvikVM JIT.
    • WARNING: Do not run this command if your phone has NAND protection active.
  • heapsizexx
    • Sets Dalvik Heap Size to xx, or heapsize0 resets heap size to default settings.
    • Ex: If you want to set the Dalvik Heap Size to 24mb, type a2sd heapsize24
    • File Created: /data/a2sdheapsize (value > 0)
    • File Removed: /data/a2sdheapsize (value = 0)

Low Memory Killer Commands
  • lowmem-moderate
    • Sets the internal memory killer to the following settings:
      • Foreground Apps: 1536 pages / 6 MB
      • Visible Apps: 3072 pages / 12 MB
      • Secondary Server: 4096 pages / 16 MB
      • Hidden Apps: 7680 pages / 30 MB
      • Content Provider: 8960 pages / 35 MB
      • Empty App: 10240 pages / 40 MB
    • Create File: /data/.lmmoderate
    • Remove Files:
      • /data/.lmoptimum
      • /data/.lmstrict
      • /data/.lmaggressive
      • /data/.lmultimate
      • /data/.lmextreme
  • lowmem-optimum
    • Sets the internal memory killer to the following settings:
      • Foreground Apps: 1536 pages / 6 MB
      • Visible Apps: 2048 pages / 8 MB
      • Secondary Server: 4096 pages / 16 MB
      • Hidden Apps: 10240 pages / 40 MB
      • Content Provider: 12800 pages / 50 MB
      • Empty App: 15360 pages / 60 MB
    • Create File: /data/.lmoptimum
    • Remove Files:
      • /data/.lmmoderate
      • /data/.lmstrict
      • /data/.lmaggressive
      • /data/.lmultimate
      • /data/.lmextreme
  • lowmem-strict
    • Sets the internal memory killer to the following settings:
      • Foreground Apps: 1536 pages / 6 MB
      • Visible Apps: 2048 pages / 8 MB
      • Secondary Server: 4096 pages / 16 MB
      • Hidden Apps: 15360 pages / 60 MB
      • Content Provider: 17920 pages / 70 MB
      • Empty App: 20480 pages / 80 MB
    • Create File: /data/.lmstrict
    • Remove Files:
      • /data/.lmmoderate
      • /data/.lmoptimum
      • /data/.lmaggressive
      • /data/.lmultimate
      • /data/.lmextreme
  • lowmem-aggressive
    • Sets the internal memory killer to the following settings:
      • Foreground Apps: 1536 pages / 6 MB
      • Visible Apps: 3072 pages / 12 MB
      • Secondary Server: 4096 pages / 16 MB
      • Hidden Apps: 21000 pages / 82 MB
      • Content Provider: 23000 pages / 90 MB
      • Empty App: 25000 pages / 98 MB
    • Create File: /data/.lmaggressive
    • Remove Files:
      • /data/.lmmoderate
      • /data/.lmoptimum
      • /data/.lmstrict
      • /data/.lmextreme
      • /data/.lmultimate
  • lowmem-extreme
    • Sets the internal memory killer to the following settings:
      • Foreground Apps: 1536 pages / 6 MB
      • Visible Apps: 3072 pages / 12 MB
      • Secondary Server: 4096 pages / 16 MB
      • Hidden Apps: 38400 pages / 150 MB
      • Content Provider: 40960 pages / 160 MB
      • Empty App: 43520 pages / 170 MB
    • Create File: /data/.lmextreme
    • Remove Files:
      • /data/.lmmoderate
      • /data/.lmoptimum
      • /data/.lmstrict
      • /data/.lmaggressive
      • /data/.lmultimate
  • lowmem-ultimate
    • Sets the internal memory killer to the following settings:
      • Foreground Apps: 1536 pages / 6 MB
      • Visible Apps: 3072 pages / 12 MB
      • Secondary Server: 4096 pages / 16 MB
      • Hidden Apps: 51200 pages / 200 MB
      • Content Provider: 57600 pages / 225 MB
      • Empty App: 64000 pages / 250 MB
    • Create File: /data/.lmultimate
    • Remove Files:
      • /data/.lmmoderate
      • /data/.lmoptimum
      • /data/.lmstrict
      • /data/.lmaggressive
      • /data/.lmextreme
  • lowmem-default
    • Sets the internal memory killer back to phone default settings.
    • Remove Files:
      • /data/.lmmoderate
      • /data/.lmoptimum
      • /data/.lmstrict
      • /data/.lmaggressive
      • /data/.lmextreme
      • /data/.lmultimate

Conversion Commands
  • convert-ext3
    • Converts an EXT2 partition to an EXT3 partition.
    • Note: Boot process will take longer due to the conversion.
  • convert-ext4
    • Converts an EXT3 partition to an EXT4 partition.
    • Notes: You must execute a2sd convert-ext3 first if you are trying to convert from EXT2 to EXT4. Boot process will take longer due to the conversion.

SD Card Maintenance Commands
  • forcecheck
    • Forces Darktremor Apps2SD to force check the EXT partition on the SD card when phone is rebooted.
  • fixapk
    • Fixes permissions on programs.
  • usedtbusybox
    • Uses the Darktremor packaged Busybox. Used to diagnose issues.
  • usedefaultbusybox
    • Reactivates Busybox scanning.

Advertisements
Scur is offline  
Last edited by Scur; December 30th, 2011 at 11:33 AM. Reason: reformatted, added info (thnx shinyside)
Reply With Quote
The Following 5 Users Say Thank You to Scur For This Useful Post:
Gmash (August 2nd, 2011), kevinrubio (August 2nd, 2011), KOLIO (August 2nd, 2011), nuttmeg (August 2nd, 2011), SpikyAndroid3 (August 23rd, 2012)
sponsored links
Old August 2nd, 2011, 08:47 AM   #2 (permalink)
Senior Member
 
kevinrubio's Avatar
 
Join Date: May 2011
Location: Atlanta, GA
Posts: 1,029
 
Device(s): Huawei Ascend M860 Running CM7.1 RC1 BobZhome 07082011
Carrier: Not Provided

Thanks: 283
Thanked 111 Times in 84 Posts
Send a message via MSN to kevinrubio
Default

nice to know what im doing! 1+
__________________
You can always PM me or E-mail me if you have a problem , Also say thanks to all the devolopers (Issacj87,PlayfulGod,Bobzhome,&nuttmeg) that made this even possible! + A good helper -> KOLIO
kevinrubio is offline  
Reply With Quote
Old August 2nd, 2011, 08:50 AM   #3 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,109
 
Device(s): LG G Flex, LG Spirit, LG Motion, LG F3
Carrier: AT&T

Thanks: 238
Thanked 4,935 Times in 2,077 Posts
Default

kewl nice post.

I am attempting to add the a2sdgui to my builds. I have to correct some errors I get when it compiles tho b4 I will use it.
__________________
Official Donate link if you like my work and would like to show your appreciation and support. All donations are greatly appreciated!!

PlayfulDroidz Wiki
UPP
PlayfulGod is offline  
Reply With Quote
The Following 3 Users Say Thank You to PlayfulGod For This Useful Post:
kevinrubio (August 2nd, 2011), KOLIO (August 2nd, 2011), Scur (August 2nd, 2011)
Old August 2nd, 2011, 09:34 AM   #4 (permalink)
Senior Member
 
kevinrubio's Avatar
 
Join Date: May 2011
Location: Atlanta, GA
Posts: 1,029
 
Device(s): Huawei Ascend M860 Running CM7.1 RC1 BobZhome 07082011
Carrier: Not Provided

Thanks: 283
Thanked 111 Times in 84 Posts
Send a message via MSN to kevinrubio
Default

Quote:
Originally Posted by PlayfulGod View Post
kewl nice post.

I am attempting to add the a2sdgui to my builds. I have to correct some errors I get when it compiles tho b4 I will use it.
that'll be exciting
but isnt there a app that you can download already that does that,?
[APP][DEV]A2SDGUI (GUI for Darktremor A2SD) - xda-developers
kevinrubio is offline  
Reply With Quote
Old August 2nd, 2011, 09:56 AM   #5 (permalink)
ROM Developer
 
PlayfulGod's Avatar
 
Join Date: Jan 2011
Location: NW Georgia
Gender: Male
Posts: 8,109
 
Device(s): LG G Flex, LG Spirit, LG Motion, LG F3
Carrier: AT&T

Thanks: 238
Thanked 4,935 Times in 2,077 Posts
Default

Quote:
Originally Posted by kevinrubio View Post
that'll be exciting
but isnt there a app that you can download already that does that,?
[APP][DEV]A2SDGUI (GUI for Darktremor A2SD) - xda-developers
I may go that route if I cant get the src to compile.
PlayfulGod is offline  
Reply With Quote
Old August 2nd, 2011, 10:10 AM   #6 (permalink)
Senior Member
 
kevinrubio's Avatar
 
Join Date: May 2011
Location: Atlanta, GA
Posts: 1,029
 
Device(s): Huawei Ascend M860 Running CM7.1 RC1 BobZhome 07082011
Carrier: Not Provided

Thanks: 283
Thanked 111 Times in 84 Posts
Send a message via MSN to kevinrubio
Default

Quote:
Originally Posted by PlayfulGod View Post
I may go that route if I cant get the src to compile.
awesome
kevinrubio is offline  
Reply With Quote
Old August 2nd, 2011, 02:27 PM   #7 (permalink)
Senior Member
 
nuttmeg's Avatar
 
Join Date: Feb 2011
Location: Lone Star State
Posts: 7,330
 
Device(s): (SGS3)(Evo 3D)(LG Esteem)(Kindle Fire CM10)(Note 2)(LG L9)(LG F3)(Galaxy Note 3)
Carrier: Not Provided

Thanks: 1,800
Thanked 2,536 Times in 1,730 Posts
Send a message via Yahoo to nuttmeg
Default

i may have to sticky this...
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join our Android Facebook Page Droidz DNA
Sign up for @copyapp with this link, and we'll both get 5 GB of free cloud storage in addition to the usual 15 GB: https://copy.com?r=bMXFAm
nuttmeg is offline  
Reply With Quote
The Following User Says Thank You to nuttmeg For This Useful Post:
kevinrubio (August 2nd, 2011)
Old August 2nd, 2011, 04:00 PM   #8 (permalink)
Senior Member
Thread Author (OP)
 
Scur's Avatar
 
Join Date: May 2011
Location: Illinois
Gender: Male
Posts: 1,394
 
Device(s):
Carrier: Not Provided

Thanks: 353
Thanked 490 Times in 309 Posts
Send a message via MSN to Scur
Default

Quote:
Originally Posted by nuttmeg View Post
i may have to sticky this...
lol I don't want to be the guy who was stickied for a copy/paste...
Scur is offline  
Reply With Quote
Old August 2nd, 2011, 04:28 PM   #9 (permalink)
Senior Member
 
nuttmeg's Avatar
 
Join Date: Feb 2011
Location: Lone Star State
Posts: 7,330
 
Device(s): (SGS3)(Evo 3D)(LG Esteem)(Kindle Fire CM10)(Note 2)(LG L9)(LG F3)(Galaxy Note 3)
Carrier: Not Provided

Thanks: 1,800
Thanked 2,536 Times in 1,730 Posts
Send a message via Yahoo to nuttmeg
Default

Quote:
Originally Posted by Scur View Post
lol I don't want to be the guy who was stickied for a copy/paste...
lol
nuttmeg is offline  
Reply With Quote
Old August 18th, 2011, 09:40 PM   #10 (permalink)
Disabled
 
Join Date: Jul 2011
Location: Palm Bay, Florida
Posts: 5,504
 
Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729 LG Esteem(stock) LG Esteem- running #2
Carrier: Metro

Thanks: 944
Thanked 2,683 Times in 1,460 Posts
Default

I cant get my Delvik to move to my SD. I opened TU and typed in "su" and the "a2sd check" and it says something like "Set up issue Run a2sd repair to fix" and when I run "a2sd repair" it runs and then my phone but then when I run a2sd check again it tells me "Set up issue Run a2sd repair to fix"" again. So should I run "cachesd" to try and move it?

Also next to swap it says "Partition not present or no swap support" then under that it says "Swap does not start" I made a swap partition at 32mb. Do I need to run one of the swap commands to make it work?
ShinySide is offline  
Last edited by ShinySide; August 18th, 2011 at 09:55 PM.
Reply With Quote
sponsored links
Old August 18th, 2011, 09:52 PM   #11 (permalink)
U Just Luv My OPPOstyle
 
KOLIO's Avatar
 
Join Date: Jan 2011
Posts: 4,528
 
Device(s): 1+1 | OPPO FIND 7 | OPPO N1 | SAMSUNG GEAR 2/FIT | CHROMECAST
Carrier: T-MOBILE

Thanks: 4,645
Thanked 1,944 Times in 1,428 Posts
Default

Quote:
Originally Posted by ShinySide View Post
I cant get my Delvik to move to my SD. I opened TU and typed in "su" and the "a2sd check" and it says something like "Set up issue Run a2sd repair to fix" and when I run "a2sd repair" it runs and then my phone but then when I run a2sd check again it tells me "Set up issue Run a2sd repair to fix"" again. So should I run "cachesd" to try and move it? Which one would it normally do if it went thru on boot?


Also next to swap it says "Partition not present or no swap support" then under that it says "Swap does not start" I made a swap partition at 32mb. Do I need to run one of the swap commands to make it work?

D/L A2SDGUI from the ANDROID MARKET. Very straightforward tool for DT'S A2SD.
KOLIO is offline  
Reply With Quote
Old August 18th, 2011, 10:27 PM   #12 (permalink)
Disabled
 
Join Date: Jul 2011
Location: Palm Bay, Florida
Posts: 5,504
 
Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729 LG Esteem(stock) LG Esteem- running #2
Carrier: Metro

Thanks: 944
Thanked 2,683 Times in 1,460 Posts
Default

Quote:
Originally Posted by KOLIO View Post
D/L A2SDGUI from the ANDROID MARKET. Very straightforward tool for DT'S A2SD.
Okay I downloaded that and as soon as it goes to install I get a FC that says The application Package Access Helper (process com.android.defcontainer) has stopped unexpectedly" and its now just stuck on "installing" I noticed under requirements it says "2.2 - 2.3.3" I have 2.3.5 maybe thats why?



Now Im getting force closes for literally everything. F@%*^#&^$&$&! Ahaha Reflash here we come!
ShinySide is offline  
Last edited by ShinySide; August 18th, 2011 at 11:18 PM.
Reply With Quote
Old August 18th, 2011, 11:31 PM   #13 (permalink)
U Just Luv My OPPOstyle
 
KOLIO's Avatar
 
Join Date: Jan 2011
Posts: 4,528
 
Device(s): 1+1 | OPPO FIND 7 | OPPO N1 | SAMSUNG GEAR 2/FIT | CHROMECAST
Carrier: T-MOBILE

Thanks: 4,645
Thanked 1,944 Times in 1,428 Posts
Default

Quote:
Originally Posted by ShinySide View Post
Okay I downloaded that and as soon as it goes to install I get a FC that says The application Package Access Helper (process com.android.defcontainer) has stopped unexpectedly" and its now just stuck on "installing" I noticed under requirements it says "2.2 - 2.3.3" I have 2.3.5 maybe thats why?



Now Im getting force closes for literally everything. F@%*^#&^$&$&! Ahaha Reflash here we come!

A2SDGUI works on CM7 07282011 (GINGERBREAD 2.3.5)

Try using the 'fix permissions' function in ROM MANAGER before resorting to a re-flash of your ROM.
It takes a couple of re-boots for everything to settle in after moving the DALVIK CACHE to SD.
Also, as stated in the ULTIMATE ASCEND CUSTOMIZATION GUIDE, you are recommended to have a CLASS 4 or better SDcard before using DT'S A2SD or you will more than likely experience problems.
KOLIO is offline  
Reply With Quote
Old August 18th, 2011, 11:51 PM   #14 (permalink)
Disabled
 
Join Date: Jul 2011
Location: Palm Bay, Florida
Posts: 5,504
 
Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729 LG Esteem(stock) LG Esteem- running #2
Carrier: Metro

Thanks: 944
Thanked 2,683 Times in 1,460 Posts
Default

Quote:
Originally Posted by KOLIO View Post
A2SDGUI works on CM7 07282011 (GINGERBREAD 2.3.5)

Try using the 'fix permissions' function in ROM MANAGER before resorting to a re-flash of your ROM.
It takes a couple of re-boots for everything to settle in after moving the DALVIK CACHE to SD.
Also, as stated in the ULTIMATE ASCEND CUSTOMIZATION GUIDE, you are recommended to have a CLASS 4 or better SDcard before using DT'S A2SD or you will more than likely experience problems.
I ran fix permissions twice in RM and twice in CWR. None of that happen till I tried to download a2sdgui. Every app I tried to open would FC and a crap load of .process' were FC and then after doing fix permissions I RM started force closing on me. I already wiped it all and reflashed tho. Yeah I have a class 4.
ShinySide is offline  
Reply With Quote
Old August 19th, 2011, 12:02 AM   #15 (permalink)
U Just Luv My OPPOstyle
 
KOLIO's Avatar
 
Join Date: Jan 2011
Posts: 4,528
 
Device(s): 1+1 | OPPO FIND 7 | OPPO N1 | SAMSUNG GEAR 2/FIT | CHROMECAST
Carrier: T-MOBILE

Thanks: 4,645
Thanked 1,944 Times in 1,428 Posts
Default

Quote:
Originally Posted by ShinySide View Post
I ran fix permissions twice in RM and twice in CWR. None of that happen till I tried to download a2sdgui. Every app I tried to open would FC and a crap load of .process' were FC and then after doing fix permissions I RM started force closing on me. I already wiped it all and reflashed tho. Yeah I have a class 4.

Can't explain why you're having problems w/A2SDGUI, I was running it, along w/CM7 07282011 w/a CLASS 2 card before recently switching to a CLASS 10 Card.
A re-flash of your ROM may be in order.
KOLIO is offline  
Reply With Quote
Old August 19th, 2011, 12:50 AM   #16 (permalink)
Senior Member
 
Gmash's Avatar
 
Join Date: Feb 2011
Location: neither Here nor There
Gender: Male
Posts: 5,723
 
Device(s): Samsung Galaxy S3, Huawei Mercury (stock/rooted), Huawei Ascend (CM7 2.3.5 @710mhz)
Carrier: Cricket

Thanks: 2,261
Thanked 1,544 Times in 1,178 Posts
Default

I know it's too late now, but restoring a nandroid backup is usually less work than re flashing everything.
__________________
"Machete don't text"
Gmash is online now  
Reply With Quote
Old August 19th, 2011, 02:16 AM   #17 (permalink)
Senior Member
 
Can0dope's Avatar
 
Join Date: Jun 2011
Location: Phoenix, AZ
Posts: 509
 
Device(s): Huawei Ascend (Cricket) CM7.2 09132011 build
Carrier: Not Provided

Thanks: 226
Thanked 112 Times in 93 Posts
calebb1982
Default

Quote:
Originally Posted by ShinySide View Post
I cant get my Delvik to move to my SD. I opened TU and typed in "su" and the "a2sd check" and it says something like "Set up issue Run a2sd repair to fix" and when I run "a2sd repair" it runs and then my phone but then when I run a2sd check again it tells me "Set up issue Run a2sd repair to fix"" again. So should I run "cachesd" to try and move it?

Also next to swap it says "Partition not present or no swap support" then under that it says "Swap does not start" I made a swap partition at 32mb. Do I need to run one of the swap commands to make it work?

I'm having the same problem. With a class 10 card. But since I'm on vacation, I think I'll wait to try anything.
__________________
The above post may contain sarcasm...
Can0dope is offline  
Reply With Quote
Old August 19th, 2011, 04:16 AM   #18 (permalink)
Disabled
 
Join Date: Jul 2011
Location: Palm Bay, Florida
Posts: 5,504
 
Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729 LG Esteem(stock) LG Esteem- running #2
Carrier: Metro

Thanks: 944
Thanked 2,683 Times in 1,460 Posts
Default More A2SD commands I came across

* convert-ext3

Converts an EXT2 partition to an EXT3 partition.

Note: Boot process will take longer due to the

conversion.



* convert-ext4

Converts an EXT3 partition to an EXT4 partition.

Note: You must execute a2sd convert-ext3 first if you

are trying to convert from EXT2 to EXT4.

Boot process will take longer due to the

conversion.


SD Card Maintenance Commands

* forcecheck

Forces Darktremor Apps2SD to force check the

EXT partition on the SD card when phone is

rebooted.


* fixapk

Fixes permissions on programs.


* usedtbusybox

Uses the Darktremor packaged Busybox. Used

to diagnose issues.


* usedefaultbusybox

Reactivates Busybox scanning.
ShinySide is offline  
Reply With Quote
The Following User Says Thank You to ShinySide For This Useful Post:
Scur (August 22nd, 2011)
Old August 19th, 2011, 04:32 AM   #19 (permalink)
Senior Member
 
Gmash's Avatar
 
Join Date: Feb 2011
Location: neither Here nor There
Gender: Male
Posts: 5,723
 
Device(s): Samsung Galaxy S3, Huawei Mercury (stock/rooted), Huawei Ascend (CM7 2.3.5 @710mhz)
Carrier: Cricket

Thanks: 2,261
Thanked 1,544 Times in 1,178 Posts
Default

What is the difference between EXT2,3, and 4?
Gmash is online now  
Reply With Quote
Old August 19th, 2011, 09:18 PM   #20 (permalink)
Disabled
 
Join Date: Jul 2011
Location: Palm Bay, Florida
Posts: 5,504
 
Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729 LG Esteem(stock) LG Esteem- running #2
Carrier: Metro

Thanks: 944
Thanked 2,683 Times in 1,460 Posts
Default

From what Ive read EXT 2 or 3 is recommended over 4 for Android. If that is in fact true I dont know. I partitioned mine as a EXT3


ext2, ext3 and ext4 are all filesystems created for Linux. This article explains the following:

High level difference between these filesystems.
How to create these filesystems.
How to convert from one filesystem type to another.

Ext2

Ext2 stands for second extended file system.
It was introduced in 1993. Developed by Rémy Card.
This was developed to overcome the limitation of the original ext file system.
Ext2 does not have journaling feature.
On flash drives, usb drives, ext2 is recommended, as it doesn’t need to do the over head of journaling.
Maximum individual file size can be from 16 GB to 2 TB
Overall ext2 file system size can be from 2 TB to 32 TB
Ext3

Ext3 stands for third extended file system.
It was introduced in 2001. Developed by Stephen Tweedie.
Starting from Linux Kernel 2.4.15 ext3 was available.
The main benefit of ext3 is that it allows journaling.
Journaling has a dedicated area in the file system, where all the changes are tracked. When the system crashes, the possibility of file system corruption is less because of journaling.
Maximum individual file size can be from 16 GB to 2 TB
Overall ext3 file system size can be from 2 TB to 32 TB
There are three types of journaling available in ext3 file system.
Journal – Metadata and content are saved in the journal.
Ordered – Only metadata is saved in the journal. Metadata are journaled only after writing the content to disk. This is the default.
Writeback – Only metadata is saved in the journal. Metadata might be journaled either before or after the content is written to the disk.
You can convert a ext2 file system to ext3 file system directly (without backup/restore).
Ext4

Ext4 stands for fourth extended file system.
It was introduced in 2008.
Starting from Linux Kernel 2.6.19 ext4 was available.
Supports huge individual file size and overall file system size.
Maximum individual file size can be from 16 GB to 16 TB
Overall maximum ext4 file system size is 1 EB (exabyte). 1 EB = 1024 PB (petabyte). 1 PB = 1024 TB (terabyte).
Directory can contain a maximum of 64,000 subdirectories (as opposed to 32,000 in ext3)
You can also mount an existing ext3 fs as ext4 fs (without having to upgrade it).
Several other new features are introduced in ext4: multiblock allocation, delayed allocation, journal checksum. fast fsck, etc. All you need to know is that these new features have improved the performance and reliability of the filesystem when compared to ext3.
In ext4, you also have the option of turning the journaling feature “off”.
ShinySide is offline  
Last edited by ShinySide; August 19th, 2011 at 09:21 PM.
Reply With Quote
The Following 3 Users Say Thank You to ShinySide For This Useful Post:
Gmash (August 20th, 2011), KOLIO (August 20th, 2011), Scur (August 20th, 2011)
sponsored links
Old August 22nd, 2011, 07:54 AM   #21 (permalink)
Disabled
 
Join Date: Jul 2011
Location: Palm Bay, Florida
Posts: 5,504
 
Device(s): Huawei Ascend-PlayfulGod's CM7.2 0912 @729 LG Esteem(stock) LG Esteem- running #2
Carrier: Metro

Thanks: 944
Thanked 2,683 Times in 1,460 Posts
Default

I cant get my swap to activate. Ive tried thru the terminal and using A2SDGUI and it just wont activate/swap. Any ideas?
ShinySide is offline  
Reply With Quote
Old March 8th, 2012, 03:36 PM   #22 (permalink)
New Member
 
Join Date: Mar 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same problem on my kindle fire after i put text plus in the cloud. When i put it back on the kindle, the problem stopped....hmmmm....process com.android.defcontainer has stopped unexpectedly.
wprunkard is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Huawei Ascend > Ascend - 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 03:08 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.