1. Are you ready for the Galaxy S20? Here is everything we know so far!

[TUTORIAL] Remove DtA2SD completely from Hybrid v3

Discussion in 'Android Devices' started by mastermind1024, Dec 27, 2011.

  1. mastermind1024

    mastermind1024 Android Expert
    Thread Starter

    I have figured out the way of completely removing dta2sd from rom.
    I have tested this on Hybrid v3 but it should work for any other rom too provided you have something,I tell it later.

    DISCLAIMER:
    I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns before flashing! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.

    Ok,I know many of you are fan of Link2sd rather then dta2sd like me.
    We know the way to disable dta2sd by "a2sd remove" command but still program does runs.Just removing a2sd script or any other files in /system/bin will need to reflash cause u will stuck at boot,no bootanimation.

    So,here is the proper way of removing DtA2SD completely & it's working 100% on Hybrid 3,tested by me.

    1st & the only thing required to disable DtA2SD is to change boot.img cause I learned that dta2sd has ramdisk scripts n dta2sd starts right on boot,before bootanimation.(That's why you have a boot.img file in Hybrid3.zip but not in other roms but U didn't noticed that,right???)

    Pre-requisites: You should not be using dta2sd or dalvik2sd provided by dta2sd.
    Disable a2sd by issuing "a2sd remove" n dalvik2sd by "a2sd nocachesd"

    How to change boot.img???
    1) U can restore boot.img from previous rom or stock rom nandroid by using Advanced Restore option of recovery. (But this didn't work for me.It gave me md5 mismatch error)

    Code (Text):
    1. Boot into recovery
    2. Go to "backup and restore"
    3. Advanced restore
    4. restore /boot
    5. Select stock boot.img
    2) Replace boot.img with stock one in Hybrid v3.zip file itself before you flash the rom. I will advice to remove "move_cache_sd" file from zip too.You can also delete a2sd files listed in 2nd post.(This is what I did and it worked perfectly)

    3) You can flash boot.img using fastboot.This will be easy and should work for all who are on Hybrid 3 already.

    Downloads:
    1.) Grab this: CWM-A70
    2.) Then this: [Newer] boot.img (init.d,no a2sd & adb bug fixed-need to confirm by others,for me no more adb bug,flashed kanged h3 using this)

    Steps:
    1.) Extract the zip file to a folder of your choice.
    2.) Turn off your mobile.
    3.) WHILE HOLDING THE CAMERA BUTTON, Connect the usb cable to the phone (and PC too :p).
    4.) Open cmd prompt and cd to the directory of your extracted folder.
    Example:
    If have extracted to D:\CWM-A70, then use:
    Code (Text):
    1. D: cd D:\CWM-A70
    6.) type:
    Code (Text):
    1. fastboot-windows flash boot boot.img
    7.) type:
    Code (Text):
    1. fastboot-windows reboot
    8.) Done.

    (I copied down from flash recovery tutorial :D)

    Now how to check that dta2sd is disabled???

    Open a Terminal Emulator,
    su [Enter]
    a2sd check [Enter]

    Now see for the response,it will say to contact your rom developer to check whether he made boot.img to run a2sd on boot.
    So we are done, a2sd no more running.
    Now u can safely remove all a2sd files in bin,xbin n scripts in init.d folder.
    I will update this shortly with list of a2sd files that can be removed after this.

    HIT THE THANKS BUTTON IF THIS HELPED...
     


    varun.chitre15 likes this.

    1. Download the Forums for Android™ app!


      Download

       
  2. mastermind1024

    mastermind1024 Android Expert
    Thread Starter

    List of files that can be deleted safely after changing boot.img:
    1) In /system/bin folder
    - a2sd
    - apps2sd.hlp
    - busybox.a2sd
    - chka2sd
    - dtinstall
    - jita2sd
    - launcha2sd
    - starta2sd

    2) In /system/xbin folder
    - a2sd
    - apps2sd

    3) In /etc/init.d folder
    - 00banner
    - 02firstboot
    - 04apps2sd

    After deleting all this file you have now completely get rid of DtA2SD...
    HIT THE THANKS BUTTON...
     
    varun.chitre15 likes this.
  3. cool.gautam

    cool.gautam Android Enthusiast


    Not completely ... update script too has many thingz....if u want to get rid off this simply install v1.3 its removed from it already and will remove in flash version next release when source is released :p
     
  4. samrox144

    samrox144 Android Expert

    once the rom is flashed the updater script is waste it just gives permissions for those scripts nothing else ...
    app2sd is not working correctly in your roms because of no kernel support that is why it is a bit unstable now.once a custom kernel is compiled you wont delete app2sd because it is good and is included in all cm roms and it provides more free data for installing apps ....

    JUST WAITING FOR SOURCE
     
  5. mastermind1024

    mastermind1024 Android Expert
    Thread Starter

    As said earlier updater-script has nothing to do after rom is flashed n even without changing updater-script a2sd is removed completely,yes. I don't post without testing first.
     
    varun.chitre15 likes this.
  6. varun.chitre15

    varun.chitre15 Android Expert


    True.
    101% agree....
    Its removed. thanks for the superb guide.
     
  7. varun.chitre15

    varun.chitre15 Android Expert


    Can you prove it ,it is removed from your hybrid 1.3!
    Anyone here with hybrid 1.3?
     
  8. mastermind1024

    mastermind1024 Android Expert
    Thread Starter


    Ya it's not there in hybrid 1.3. I have used 1.3 for couple of days but battery drained a lot for me n even had issue with init.d scripts.I asked him personally but he never replied so I switched back to hybrid 3 n then I needed to remove a2sd n so here came the solution.
     
  9. cool.gautam

    cool.gautam Android Enthusiast


    Sorry inbox was full had to empty it didn't read any.
     
  10. ninadchaudhari

    ninadchaudhari What's up !

    Guys never mind ...
    but i am really fed up of no a2sd or DtA2SD on the stock rom ( link2sd has many problems it constantly gives cannot create link etc) am thinking of shifting the second partition to fat32 or the best option will be to install a2sd !!
    so just asking if i exactly reverse process ( flashing boot.img of hybrid v3 on stock and then pasting the files told to delete in respective folders will i get a2sd on stock..
     
  11. mastermind1024

    mastermind1024 Android Expert
    Thread Starter

    Well I cannot guaranty that will work.n u have to place those files n scripts before u flash boot.img.n keep a back up handy first.
    And that Link2Sd errors of can't create scripts did occur with me too,i simply flashed again n I m good to go now.
     
Loading...
Similar Threads - TUTORIAL Remove DtA2SD
  1. Troubled Koentje
    Replies:
    17
    Views:
    494
  2. joshkrupinsky
    Replies:
    3
    Views:
    362
  3. Weldpaser
    Replies:
    1
    Views:
    427
  4. Mike03946
    Replies:
    8
    Views:
    1,741
  5. cele
    Replies:
    1
    Views:
    752
  6. Papamalo
    Replies:
    6
    Views:
    824
  7. AngryCAT60
    Replies:
    2
    Views:
    614
  8. nhtfh
    Replies:
    4
    Views:
    1,509
  9. willy macharia
    Replies:
    2
    Views:
    2,827
  10. willy macharia
    Replies:
    0
    Views:
    2,094

Share This Page

Loading...