• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [TUTORIAL] Remove DtA2SD completely from Hybrid v3

mastermind1024

Android Expert
Oct 13, 2011
960
400
India
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:
Boot into recovery
Go to "backup and restore"
Advanced restore
restore /boot
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:
D: cd D:\CWM-A70
6.) type:
Code:
fastboot-windows flash boot boot.img
7.) type:
Code:
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...
 
  • Like
Reactions: varun.chitre15
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...
 
  • Like
Reactions: varun.chitre15
Upvote 0
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...


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
 
Upvote 0
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
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
 
Upvote 0
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

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.
 
  • Like
Reactions: varun.chitre15
Upvote 0
Can you prove it ,it is removed from your hybrid 1.3!
Anyone here with hybrid 1.3?


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.
 
Upvote 0
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.


Sorry inbox was full had to empty it didn't read any.
 
Upvote 0
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..
 
Upvote 0
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..
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.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones