yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] thieson:
I hav a question!

am i able to cook this into a rom on a /system -readOnly device?
[Android Software/Hacking General [Developers Only]] HackitZ:
Clean boot? should i run through the setup?

or just let it boot and settle in?

Thanks for the help and making this.
[Android Software/Hacking General [Developers Only]] NYLimited:
Just get to whatever launcher your rom is using. That probably means a few questions to start with but you need not install anything. Let it sit for a minute or two at the launcher. This initial install creates some things that need to be moved by the script.

Make sure you have a way to place the script in the correct folder. I used ES File Explorer (free) with root privileges.

Don't forget to make the script executable if installing it via a file manager. You can use terminal or ES File Explorer (press and hold file name and select attributes)

When you reboot the device the new scripts will move things around - it should not take too much time since the phone is empty.

When back at the launcher install Titanium Backup which will show you the new internal memory if you did it right.

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[Android Software/Hacking General [Developers Only]] cmchan1781:
how to get back the my 1gb partition? if want to get back or i want to re-size the partition?

sd card (8gb)

after (6gb)

how to delete the hiden partition (internal memory)?
[Android Software/Hacking General [Developers Only]] cmchan1781:
i keep getting the error that a lot of applications has stopped unexpectedly. what should i do now? after i recovered all apps from MIUI Backup. Did i do something wrong? or maybe not suitable for my HD2 MIUI rom 2.3.7?
[Android Software/Hacking General [Developers Only]] NYLimited:
Have you tried to fix permissions via CWR? That may help. Clearing cache might also help but I'd try fixing permissions first.

---

When you get to the point where you really understand & like your phone, it's probably obsolete...
[Android Software/Hacking General [Developers Only]] HackitZ:
Ok I did install it this and my xperia play seemed ok for a day, then today the market app force closed, i rebooted into cwm and repaired permissions and on a reboot then unlock i get this screen.

SYSTEM UIDS Inconsistent. UIDS on the system are inconsistent, you need to wipe your data partion or youre device will be unstable and it had a button that said, I'm feeling lucky. No other option. Well, clicking on lucky, didn't make me lucky that's for sure!

I'm now doing a compete reinstall along with reformatting my sd card. i will try this one more time, unless anyone has a suggestion why this happened.
[Android Software/Hacking General [Developers Only]] sp00ge:
Using ICS 0.3.9.10 Beta from here (The last release without the full HW) the Amarullz Data 2 SD script seems to work really well, although I lose my lockscreen and the Home button stops working.

Overall, great work. Can't wait for this to mature !
[Android Software/Hacking General [Developers Only]] cmchan1781:
I did tried twice fix permissions via CWR but still getting same error, i did 5 time but still same... so sad
[Android Software/Hacking General [Developers Only]] giant21:
can i use this in stock rom samsung galaxy mini xxkpk?
[Android Software/Hacking General [Developers Only]] subha632:
works on samsung galaxy ace with cyanogenmod 7.1???
[Android Software/Hacking General [Developers Only]] skrenat:
MildWild 3.2

Hi guys i'm using MildWild 3.2 Based on Oxygen 2.3.2, 16gb sdhc class4 with 1gb ext3 partition. After "installing" ad2sdx i have few "errors".

I'm confused with the memory, when i'm using mildwild 3.2 with it's own app2sd in Titanium Backup says:

internal 301 MB + SD card (a2sd) 1.06 GB = 1.361 GB memory?

and after installing ad2sdx in Titanium Backup says:

internal 1.06 GB??? where is the phone internal memory,i mean those 301 MB?

The other errors are:

Home button don't work.

Display lock don't work, every button wakes my phone up.

Also when someone try to reach me on phone all the time he gets that the line is busy, but when i'm dialing someone everything is ok.

any suggestions???
[Android Software/Hacking General [Developers Only]] ripzay:
Not sure if it's something i'm doing wrong here but..

I'm using sandvold's ICS ROM for the HTC Bravo (Desire), and have used amarullz data to sd..

I have a 1.5GB partition for my sd-ext and i've installed my usual collection of apps (and still have plenty of space left to install more - currently at 145MB of 1.5GB)..

... but..

I'm getting the stupid "Phone is Low on Space" notification..

anyone else experienced this problem ?

Cheers

ripzay

EDIT.. just checked freespace and noticed that my ext partition is reporting only 5mb left (which from my understanding of this is a symlink to my phones Internal memory) while the others are fine.. :-(
[Android Software/Hacking General [Developers Only]] M_HaFeZ:
I did the tutorial and did not have the script worked

is there any easier script to apply but keeping the performance as in stock?
[Android Software/Hacking General [Developers Only]] addyhardiana:
please help me to use this script in my emanon v4, cause before my device was bootloop infinitely
[Android Software/Hacking General [Developers Only]] stinger1:
hey,

first of all, i would like to thank the developer for this mod

i am using it on a stock ginger 2.3.3 rom for Desire (bravo) its great.

now :)

can anyone please explain something for me,

i want to integrate this in a rom so its installed (built-in) with the rom)

i think i have to create some folders on the ROM itself , maybe called sd-ext and got this folders copied to destination,

but every time i try to read the script and simulate what will happen i get lost and confused,

specially these lines,,

busybox mount /data;
busybox mount --move /data /sd-ext;
sync;

busybox mount -t ext4 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/mmcblk0p2 /data;
busybox chown 1000:1000 /data;
busybox chmod 771 /data;
sync;

i do understand that the mod will change mount points and make sdcard ext4 partion to be mounted in /data, but how the rest is done

and how the android can still see&interact with the real /data partition?!

i really would like to understand this because it will be the first step to integrate the mod in the rom

sorry if wrong place to ask.
[Android Software/Hacking General [Developers Only]] phsetaknev:
Already have Runnymede AIO v6.0.4

I already installed Runnymede AIO v6.0.4 on my phone........ I dont know how to install this AD2SDX zip file into my Desire. Do i have to do a full wipe again for sure to install AD2SDX? or can i just get into the 4EXT recovery and install the zip file using "install from sdcard" option??? without installing the whole ROM again???

If I MUST install the ROM again to have AD2SDX, then how should I do it???

Do i have to start doing it from the starting of the partitoning the sd card etc etc etc???
[Android Software/Hacking General [Developers Only]] C0qRouge:
is this here discontinued?
[Android Software/Hacking General [Developers Only]] hacktrix2006:
Been using this script its been working ok but at times it forces my wildfire to bootloop with the error about symlinks that being to many of them is there a fix for that.
[Android Software/Hacking General [Developers Only]] phsetaknev:
Re-installed

I dont know whether there is another way or not, but i wiped my phone once again and installed the custom ROM again, selecting the AD2SDX option in the 4EXT Recovery Touch options.

================================

AlphaRev CM7 r2

BRAVO PVT4 SHIP S-OFF

HBOOT - 6.93.1002

MICROP-051d

TOUCH PANEL-SYNT0101

RADIO-5.17.05.23

ROM: Runnymede AIO V6.0.4.1 S.E [AD2SDX Aramullz][4EXT Recovery][RCTeam Tweaks]

Kernel: droidzone@supernova #11
[Android Software/Hacking General [Developers Only]] plinders:
I'm trying to install this on a freshly rooted version of the 2.3.3 RUU for the Desire, but basically I don't get the feeling that it does anything.

I put the 40ad2sdx file in /system/etc/init.d/, ran chmod 777 on it, installed busybox, formatted my SD-EXT partition to EXT4 with GParted, but I don't see that my SD-EXT partition has been mounted in Menu > Applications etc. It says I have 70mb of free space, not 500+.

Any help would be very much appreciated.
[Android Software/Hacking General [Developers Only]] stinger1:
did you add ext4 support to the rom?

cuz stock one does not have it by default.
[Android Software/Hacking General [Developers Only]] plinders:
Thanks for the tip, I've installed the GingerCakes kernel now, but sadly it still doesn't work. Same problem as in my other post.
[Android Software/Hacking General [Developers Only]] NYLimited:
Your ROM will not show you if it is used or not.

Use Titanium Backup and see what it shows for 'internal memory'.

If you know Linux you can also use DF and DU for more information.

Or use Partition Info Light (free) and look at your /data partition size. It should match your ext4 size if working.

---

Definition of an update: take old bugs out, put new bugs in.
[Android Software/Hacking General [Developers Only]] nscxp2005:
To the developer of this tweak.

Will you be able to fix your tweak to make GSM networks work in startup as I and other users have the fix permissions before the GSM network works.

I hope you can fix this soon and this has not been discontinued.

Thank you for your time.

All the best,

NSCXP2005
[Android Software/Hacking General [Developers Only]] dameda:
Boot loops too...

ROM on Device is NexusHD2-ICS-CM9_V1.5 & no a2sd

First boot after Updating was great, second boot impossible :(

Edit: SanDisk SDHC 8GB inside
[Android Software/Hacking General [Developers Only]] ryo_hakashi:
Nice Work, need to try..:rolleyes:
[Android Software/Hacking General [Developers Only]] ratelutz:
Boot Loops

i got boot loops to on these ROMs:

IceCreamTosti v0.10 [AOKP M4/4.0.3]

NexusHD2-ICS-4.0.3-CM9 V1.5
[Android Software/Hacking General [Developers Only]] sharpz811:
To Dev:

yo i love this!!! this is the last tweak that i pretty much needed to make my xplay complete! really appreciate it

but plz.... i kno ur probly annoyed by this repetitive request...

DATA FIX
[Android Software/Hacking General [Developers Only]] nscxp2005:
Please Amarullz can we have a Data Fix for R800i and GSM Networks.

All the best,

NSCXP2005
[Android Software/Hacking General [Developers Only]] ryo_hakashi:
boot loop on my device..:(
[Android Software/Hacking General [Developers Only]] 216Monster:
Working good Cdma R800x w/ UK firmware .145 Ty
[Android Software/Hacking General [Developers Only]] ryo_hakashi:
Boot loop on

Samsung Galaxy Mini with eManon ROM v5

:confused:
[Android Software/Hacking General [Developers Only]] Magnumutz:
Amarullz, is there a possibility that you make a script that automatically fixes permissions @ boot up, so we don't have to manually do it every time we reboot our phones?

I love this mod A LOT, but my phone has some random reboots, even at night, and if i don't fix permissions, i get bootloops, which means my alarm won't wake me up for work... that's not good at all!
[Android Software/Hacking General [Developers Only]] hacktrix2006:
So thats what causes the bootloops. Happens on Wildfire CM7 normally reinstall CM7 but if its permissions then i will do that next time.
[Android Software/Hacking General [Developers Only]] vivid80:
I can't believe it!!

I have this rom installed on my HD2:

https://sites.google.com/site/nexushd2android/nexushd2-ics-cm9/v1-3

I did the three steps for the installation and now... it works GREAT! Unbelievable!

Thank you so much amarullz. I always had internal space problem after installing ICS and now I just have 800+mb of free space. It's amazing...

:)
[Android Software/Hacking General [Developers Only]] vlasovas:
LG p350 to more 2GB

Hi, Congratullations for this mod !!!!

this script will work on P350?

you could tell me what steps should I proceed to instal l?

I use rom "Androm Canary 2.2 (Android 3.2.2)", but also, I can use these others:

"ARC XP 1.3 (2.3.7)" or also "pax0r 7.2 (2.3.7)" means any one of these I'm happy.

in 32 GB Micro SD Class 10 samsung

in my case I follow it here?

http://xdaforums.com/showpost.php?p=18561141&postcount=2

or have something to add or remove the script

I ask because each cellphone is always a little different from another one

sorry my bad english
[Android Software/Hacking General [Developers Only]] X-Droidinary:
Do I need root for this to work?
[Android Software/Hacking General [Developers Only]] hacktrix2006:
Yes you need root for the script, and dam it i am bootlooping again will copy everything to SDCard if i can get the dam thing to boot.

Edit: Its a good script but it boot loops like hell on Wildfire CM 7.2-RC1 and any other CM7 distro after first boot all following reboots just do the same boot loop boot loop boot loop so its back to A2SD aleast with that one if it loops i can get over it.
[Android Software/Hacking General [Developers Only]] X-Droidinary:
If anyone has this on Xperia Arc LT15i we're there boot loop problems. I really need something like this cos I can't have a lot of app due to the lack of storage space. I've had to uninstall so many and I'm not happy I had to.
[Android Software/Hacking General [Developers Only]] nickaren:
Great MOD! script work on my nexus1, now on my internal storage written 1GB coz i made 1GB ext4 only. But i tried installing this to xperia x10 with custom stock rom and custom kernel, and it's not working. anyone here tried in xperia x10?
[Android Software/Hacking General [Developers Only]] heinz gruber:
script sounds great. i've a few questions:

i'm using a nexus one with cm 7.2 and kgp700s kernel.

now i've created a ext part 4 with amon ra. but when i start titanium backup it only shows me the memory of my sd card and not oft the ext sd. is this because the partition isn't mounted correctly?

now my questions to the script:

1:

will all apps after flashing automatically will be installed on sd-ext? or do i have to flash the script several times when i installed news apps?

2:

is it possible to move the apps back to internal memory? or to uninstall the script?

thanks

edit:

can i flash it when i already use the rom for a few days? read somewhere that it would be better to flash it right after flashing the rom.
[Android Software/Hacking General [Developers Only]] michfood:
everybody hi :)

i need some help to adapt this script for chineese Hero H7300 (HD7 pro) on MTK6573 android 2.3.5 kernel 2.6.35.7

we have such structure:

I can explorer it via adb, but it doesn`t boots
[Android Software/Hacking General [Developers Only]] ckethan:
@michfood

This is kethan friend from china.iphone.ru russian forum. I only asked you. Wow your so zealous I like it. Let us try for help :)
[Android Software/Hacking General [Developers Only]] michfood:
just waiting for some clever people :)
[Android Software/Hacking General [Developers Only]] behelit:
Takes a few seconds to load apps and some screens but once they have loaded it is very fast and everything else works great. 100x better than the old method.

[Nexus One CM7.2 RC1]

Nice work.
[Android Software/Hacking General [Developers Only]] michfood:
solved...

I didn`t know what busybox requires installation procedure - not only copying it to system directory
[Android Software/Hacking General [Developers Only]] ckethan:
@michfood i tried latest brunos rom now this suppoerts ad2sdx and ext2...
[Android Software/Hacking General [Developers Only]] crono141:
I had to stop using this mod because it introduced way too much instability. It would run fine and good for a week or so, but then I'd start getting FCs all over the place. Then apps would "go missing". The only way to fix it was a complete wipe. nandroid backups don't work with this mod either, since the script doesn't run before recovery, so recovery can't backup properly.

I think I would have less problems if my particular version of recovery had a "fix permissions" built in like I know some other versions have. Oh well, it was a great mod when it worked, but an absolute disaster when it broke.

R800x with fxp112.
[Android Software/Hacking General [Developers Only]] 216Monster:
Works great on Verizon firmware 3.0.1.E.0.88 using 2gb partition on ext4 with zero swap size running cdma doomkernel.
[Android Software/Hacking General [Developers Only]] :
Strange... Sometimes it works but sometimes i ve got bootlops until my battery is killed :(

I have resized my sd card 20GB FAT32 Primary and 8GB EXT4 Primary but it shouldnt work :((

Can anyone help me? I need this cause xperia play has only 400MB :( ( Yes i have custom Kernel and BL Unlocked)
[Android Software/Hacking General [Developers Only]] 216Monster:
Maybe try a smaller ext ? Idk if that would help, just a thought :(
[Android Software/Hacking General [Developers Only]] Kirurus:
For those experiencing instability. One of the first lines of the script changes the SD read ahead speed to 8192KB which is quite high. Try changing the value in the script to something like 2048 and see if that helps with the issues.

The same thing was happening to me with FC's on a 16GB class 10 card and I bumped it down to 4096 and it works much better.
[Android Software/Hacking General [Developers Only]] X-Droidinary:
I would really like to use this script. I definitely need it.
[Android Software/Hacking General [Developers Only]] ckethan:
Hi guys i am using this script but whenever i install apps the a2sd storage showed on titanium backup decreases why is that ?... all the app data,lib,apk is moved to sd-ext right ?
[Android Software/Hacking General [Developers Only]] 216Monster:
Just wondering why you would still move an app to sd when using this mod? apps2sd was for internal space, this mod gives you all the internal space you want and ccould ever need. when using this mod wouldn't moving things to sd under settings just slow things down? Since everything is in the sd ext (already on sd card) now you just have pieces of apps/files in a bunch of places, wouldnt that be counter productive when it comes to performance?

Sent from my R800x
[Android Software/Hacking General [Developers Only]] NYLimited:
Did you remove a2sd scripts from you rom's init folder when you installed this one?

Where in TB do you see A2SD space decreasing?

---

If the phone doesn't ring, it's me... :confused:
[Android Software/Hacking General [Developers Only]] ckethan:
No i did not remove the script at all.. i have ext2 2gb partition when ever i install apps the internal memory ie a2sd in tb which was 200mb keeps decreasing.. in the end of tb it says sd card (a2sd)

—--------

do u guys have the same internal phone memory after using this script?

------------

And what is the difference between limk2sd and this? I think both are same right?
[Android Software/Hacking General [Developers Only]] NYLimited:
You should only have one script for this. Maybe you are okay but you should check.

Look in your rom's /etc/init.d folder. You will need a root enabled file explorer like ES File explorer. In the folder each item's name will start with a number. These are for sequence only. Look at the names ignoring the numbers. You should only have one item that ends in "...2SD" - the script you want to use.

How big is your sd-ext partition? I would have formatted to ext4 but it should work anyway.

TB *should* show "internal memory" to be the same size as your ext partition.

If your script is working the available internal memory should decrease whenever you install an app and whenever the app saves data.

---

If the phone doesn't ring, it's me... :confused:
[Android Software/Hacking General [Developers Only]] ckethan:
I have the 40ad2sdx script only in init.d folder.. my sd-ext is 2gb ext2 partition.. i see internal memory as 2gb and decreasing when installing but decreases also a2sd space.. i have 150+ apps now the a2sd storage is 139mb from 201mb and internal memory from 2gb to 1.69gb
[Android Software/Hacking General [Developers Only]] NYLimited:
That is the way it should be so you are fine as far as the scripts are concerned. :)

Again, this is as it should be. As long as you are seeing "internal" the same as your sd-ext it is correct. It should decrease when you install something new since the .apk and the data are moved there.

I see what is bothering you. This is normal with the script you are using since it does not move everything to the sd-ext partition. For example, your Dalvik cache remains in the original memory space so, yes, it too will decrease when you install something new. This also decreases working (running) memory for apps. And yes, eventually that can run you out of memory (if you install enough apps).

The only way to get around this is to move the Dalvik cache and the data and the apps to the sd-ext partition which would leave your original internl memory, essentially, unused and free. There is a modified version of this script which does that if you want to try it (make sure you have a good backup before you play! :)) Click on the "alex-v" in my signature which should take you to the modified script. Again, this is an "either / or" situation. You cannot use both scripts - it must be only one or the other in init.d.
[Android Software/Hacking General [Developers Only]] ckethan:
Your the man thanks:)
[Android Software/Hacking General [Developers Only]] ckethan:
@Ny_limited will the moving of dalvik cache n data slow down the speed of apps? Or will be the same

And what about the code : " Now Move All com.htc* and com.android* to Internal Memory can i add this to your mod script ?
[Android Software/Hacking General [Developers Only]] DIXES:
Thanks for your script, but I have a question, how to move dalvik-cache of 3rd-party apps to EXT4 for low internal memory devices? Internal memory of my tablet is only 160MB, and I have 2GB EXT4 partition on sdcard. Sorry for my English.
[Android Software/Hacking General [Developers Only]] ariebower:
Gan,,mau donk nyoba aroma,,gan bisa bikin tutor buat porting ke HD2,,dan mohon supportnya,,maklum saya juga masih newbie,,,:D

Thanks
[Android Software/Hacking General [Developers Only]] NYLimited:
Since the external card is technically slower there could be a slight difference but I never could see it.

The Alex-V modded script is, as best as I can recall, alpha02. Amarullz has already made fixes in it and I do not have those lines anywhere in the script.

One thing you should be aware of is line 33 in the modified script:

#-- Mount sd-ext to /data ( You Will Get 1GB/2GB Internal Memory :D )
busybox mount -t ext4 -o noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev

Note the "ext4" on the busybox line - it should match your sd-ext format. In otherwords, it should only read "ext4" if you actually formatted it ext4. :)
[Android Software/Hacking General [Developers Only]] boonkeat8:
Can this use for stock rom Galaxy Y. Ace & Y?
[Android Software/Hacking General [Developers Only]] DIXES:
To move all dalvik-cache except system apps to EXT4, I modified this script and it is like below now.

at line 41, add dalvik-cache:

for i in framework_s app app_s lib_s app-private data dalvik-cache;

removed original dalvik-cache part and added below,

#-- Prepare dalvik-cahce_s in /system/sd ( For system apps )
if [ ! -d /system/sd/dalvik-cache_s ]
then
busybox mkdir /system/sd/dalvik-cache_s;
#-- Just Open All Permissions ;)
busybox chmod 0777 /system/sd/dalvik-cache_s;
fi;

#-- Now Move system* dex to Internal Memory
cd /data/dalvik-cache/;
for i in `ls system*`;
do
#-- Only Non Symlink
if [ ! -h /data/dalvik-cache/$i ]
then
busybox mv /data/dalvik-cache/$i /system/sd/dalvik-cache_s/;
fi;
done;

#-- Create Symlink of /data/dalvik-cache_s/* to /data/dalvik-cache/ (mmcblk1p2)
cd /system/sd/dalvik-cache_s/
for i in `ls *`;
do
#-- Only If Symlink Not Exists
if [ ! -h /data/dalvik-cache/$i ]
then
busybox ln -s /system/sd/dalvik-cache_s/$i /data/dalvik-cache/$i
fi;
done;

Is it ok?
[Android Software/Hacking General [Developers Only]] ckethan:
@Dixes

Did u try did it work for u?