yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Android Development] yukonking3:
I have flashed this and love it, with this scrip I now have a 32GB tablet. I want to flash a different rom do I need to remove this scrip before I flash the new rom? Will I loose any files that are now on the sd card? Do I need to remove thesd card and replace it so I don't loose any files then reinstall the previous sd card after flashing the rom and this scrip. I just want to make sure I don't loose any file and also be able to get back the 32GB system I have now after flashing the new rom.

Thanks again for making this scrip.
[Eee Pad Transformer Android Development] mattiadj:
No problem when flashing new rom.

Simply flash the rom, make a first full boot but do nothing!!

After go into recovery and then flash again this script the reboot.

Now then script is loaded and you have a 32gb transformer again :)

Hit thanks button if you like my work :)

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] Bongo2k:
So if I'm correct this script(amongst other things) will make honeycomb use the "Download" folder on the external SD? I was really annoyed that when I downloaded something via the browser it would sit on the internal memory so it wasn't accessible during recovery but with this script it will be?
[Eee Pad Transformer Android Development] mattiadj:
Exactly.

It use external sd for all internal stuff so for download folder too.

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] Ke1evraTi:
I dont mean to bring back an old post but I was wondering if there would be any issues running this on ICS. Specifically I wanted to know if it would be okay for me to install this over Paul's ICS.
[Eee Pad Transformer Android Development] SiNJiN76:
Isn't that version not a daily driver? See what happens... Speaking of seeing what happens, has anyone tried to pull or eject the sdcard while transformer was on to see what happens?
[Eee Pad Transformer Android Development] cbrox:
Tried it on both builds, 20120201 and 20120209; no go. I kinda expected it, it's not quite ready for prime time yet but Paul has it close. Some are using it as a daily now but it's still not a daily driver yet for me. I flashed back to revolver. You can always give it a go and see if your setup works better. You can switch back and forth, just make a nandroid backup (I have one for the latest build of each rom) of your current rom and then flash Paul's rom and give it a test drive! There is a thread for flashing back and forth from Paul's rom. But just remember; this is not a daily. Use at your own risk, you are responsible for any damage! Custom roms, kernels, mods, etc, etc, etc, can brick or become semi non functional.

http://xdaforums.com/showpost.php?p=22378255&postcount=1
[Eee Pad Transformer Android Development] mattiadj:
I don't think it works on ics. I haven't tested it yet cause ics is not for daily usage.

Also rom must have a init.d support.

About the eject of sdcard with system active i really not encourage it! Became very dangerous for data in sdcard. So if anyone needs to change sd, make this switch with tabled switched off.

Regards

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] BULL3TPR00F:
Hey bro any idea if this should work with todays new officially released ICS from ASUS?
[Eee Pad Transformer Android Development] mattiadj:
Hello.

I haven't tested it yet only ics since I'm waiting for a gnufabio's rom ics based.

I'm still on honeycomb.

If you have ics, you can try and report

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] BULL3TPR00F:
lol same here im waiting for revolver 4 but might get impatient and test the stock one in the meanwhile
[Eee Pad Transformer Android Development] BULL3TPR00F:
Just tested it out on the official US build (cwm.zip) but it did not change anything.

Looks like we need to wait for a custom rom because i dont think stock roms run init.d scripts?
[Eee Pad Transformer Android Development] mattiadj:
I thinks yes.

You can see if there is init.d folder with astro with root access

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] BULL3TPR00F:
I will test it out soon on Android Revolution 3
[Eee Pad Transformer Android Development] mattiadj:
Just tested and works like a charm!

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] cbrox:
Worked for me too. Unpacked the ARHD 3.0 rom added the mod to the init.d directory. Did some other modifications, zipped it back up, flashed it and everything worked fine. Gonna do some research, i think there is a init.d file for the ICS roms that don't have a init.d directory that you can modify with your mod script that will give you the same results for those roms. I just have to find the name of it.
[Eee Pad Transformer Android Development] mattiadj:
If you can find it you can write here and how to for stock roms.

I'll add it on op.

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] blk_jack:
I tried to do this with an ICS ROM recently and was unable to use methods that worked with previous versions of android. Had to modify the ramdisk to get it working.. :(
[Eee Pad Transformer Android Development] mattiadj:
Probably you haven't init.d support in your ics rom.

With android revolution 3 the mod works without problems. I haven't tested in others builds

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] blk_jack:
That's what I mean, the only way I could add init.d support to my rom was by modifying the ramdisk itself. Methods like install-recovery.sh and such had no effect in ICS.
[Eee Pad Transformer Android Development] mattiadj:
Ok mate.

I'm not able to modify ramdisk or kernel. I'm at beginning of Linux development :)

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] cbrox:
Okay I got it to work for a stock ICS rom rooted.

This worked for me and I take no responsibility if you hose or brick your tablet!

This was a rooted Asus TF101 stock rom

This was accomplished with MrNago's full CWM US-9.2.1.11 rooted rom

http://xdaforums.com/showpost.php?p=22909991&postcount=1

flashed over with Daoist's CWM package for ASUS TF101 FOTA 9.2.1.11 US

http://xdaforums.com/showpost.php?p=19093950&postcount=1

flash recovery was already built into the rom i just verified that it was there. That should be the first step you do.

That said, all credit and props go to Puppet13th. He has a init.d creation script that will create a init.d directory for a stock rom rooted that works.

http://xdaforums.com/showpost.php?p=20806471&postcount=1

If you don't want to go the init.d directory creation route try the following on your rooted stock rom.

Step 1

locate the init.rc file in the root directory /, and verify that it has the following entry

service flash_recovery /system/etc/install-recovery.sh

class main

oneshot

Step 2

If it does, look in /system/etc directory for the file install-recovery.sh if it's not there create it. Edit the file as per below example attachments, either one will work. One uses #!/system/bin/sh the other uses #!/system/xbin/busybox sh. Then change the file permissions to 755.

Step 3

Then create a file in the same /system/etc directory. Call it anything you want I named mine sdswitch. Edit it with mattiadj's script as per examples attached below. The same sh call syntax will work with this file also #!/system/bin/sh or #!/system/xbin/busybox sh. Then change the file permissions to 755.

Step 4

Reboot your system and if all goes well it should boot back up with the sd's switched.
[Eee Pad Transformer Android Development] blk_jack:
I was under the impression that ICS didn't support flash-recovery.sh? Also, since init.rc is located on the ramdisk, editing should not work since the file is restored to its original state when you reboot (since it's located in ram)..

Maybe the TF101 ICS stock roms are different than the cm9 based ROMs that I'm used to using though, because the steps you laid out would not have worked at all on the other ICS roms I'm familiar with. Maybe I should decompress it and have a look..
[Eee Pad Transformer Android Development] cbrox:
This was a rooted Asus TF101 stock rom

This was accomplished with MrNago's full CWM US-9.2.1.11 rooted rom

http://xdaforums.com/showpost.php?p=22909991&postcount=1

flashed over with Daoist's CWM package for ASUS TF101 FOTA 9.2.1.11 US

http://xdaforums.com/showpost.php?p=19093950&postcount=1

flash recovery was already built into the rom i just verified that it was there. That should be the first step you do.
[Eee Pad Transformer Android Development] cbrox:
mattiadj, glad to report that your mod works on the following ICS init.d roms

ARHD 3.0

Revolver 4 beta 1.3.1

Eos-tf101_cornerstone-0

Eos-tf101-3

It was a little doggy on cornerstone but that may be due to the beta state of cornerstone right now.
[Eee Pad Transformer Android Development] mattiadj:
Great!!!

Good very good. I can't stay without! WOOW.

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] SiNJiN76:
So has anyone run into Flasher's Remorse :D with this? Just wondering if anybody wanted to go back after using the script for a while? especially those of you that flash Roms frequently. Or have pics and videos that need backing up a lot. Is it worth doing if the SD card is the same size as the internal?

What if you accidentally hit the eject icon while typing? What happens? Corruption? I'm at the 99% sure I want to do this mark. :D
[Eee Pad Transformer Android Development] BULL3TPR00F:
its not really worth it if your sd isnt larger than the internal memory but it does help a bit (since the system partition take space from the internal). and as for accidentally ejecting the sdcard, mattiadj has removed the prompt in the notification window to prevent accidentally unmounting.

so if u use the script and need to remove your sd, shutdown the device first

ive been using this mod since he released it and havent looked back. i have a 32gb sd card. flashed this with every rom ive tried.
[Eee Pad Transformer Android Development] cbrox:
+1 10 char
[Eee Pad Transformer Android Development] mattiadj:
Excellent answer. Nothing to add :)

Thanks!

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] SiNJiN76:
Awesome...getting a 32 GB card soon. Looking forward to using this mod...my current remaining internal is 1GB. :)
[Eee Pad Transformer Android Development] haqau:
Hi everyone, especially mattiadj

Firstly I would like to thank you mattiadj for one of the most important piece of code for me. This script is in the list of my most important software/codes for transformer – like droidwall etc.

I don’t agree with some of you who concern the degrading of sd card due to an IO activity. I rather have my external sd card failed than the internal (the internal memory is also like a good quality sd anyway).

Anyhow, I am using revolution 3 as my ICS ROM, and what would be ideal for me if this script can be used with stock rom (off course rooted). I have seen a reply message regarding installing “init.d” on stock rom but it is not very clear for non-linux user so if someone who knows better can test and ideally if mattiadj can test his code with rotted stock rom and write step by step instructions than this will make it ideal for many of us who would like to use STOCK ROM.

Once again thank you XDA members for supporting many of my previous devices.

Adnan
[Eee Pad Transformer Android Development] mattiadj:
Thanks for your extremely positive feedback mate!

I'm sorry but I need myself an idiot-style tutorial to make it work on stock rooted rom!

If any dev can make this guide and write it here or pm me, surely I can report it in op to make possible to use my mod in rom without init.d folder support.

Anyway.... Thanks :)

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] SiNJiN76:
All right! Got my 32 GB card in the mail today...installed the script...works just as advertised!

One thing. Since I'm using ICS (Revolver)...and that we all know that the ICS we use right now comes with unwanted side effects...the biggest being the Reboot/Shutdown bug. Guess what just happened? I put my TF down to charge (putting it to sleep)...took me about 5 seconds to grab the charger and plug it in. Nothing happened. The tablet was shut off.

Okay...so I turn it back on...and the internal storage still shows that the script is working...but I have the eject external notification in the status bar. I touch it and it brings up the file manager showing the "internal' SD. Which I guess, is what should happen. But, I want that notification gone. (What wouldn't have happened if I ejected the 'internal' SD? :eek::eek:)

I reflashed the script and it's still there! :eek: Now...I did however delete all files and folder from the 'internal' SD prior to this incident...and still everything worked fine. Maybe I wasn't supposed to do that? :D

Oh, well...I guess I'll just start over....(I intentionally only installed a few apps). Shouldn't take long.

Damn...I wrote a little too much to say what I wanted to say that could have been said in just a few short sentences...including this sentence! :p
[Eee Pad Transformer Android Development] mattiadj:
I don't try it with revolver since it is beta but... The notification of external sd may not show!

However my advice is to never eject sd (using notification area too) while system is on. Eject sd always with system off.. Is more safe for data...

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] SiNJiN76:
Okay. Anybody else with ICS and using this script notice that the script gets undone sometimes on reboot? Actually...its not when it reboots....it happens when the tablet does a random ghost power down.

I hold the power button down 10 seconds ... tablet boots and the script is lost. Reflash is needed.

Any idea why the script gets undone?
[Eee Pad Transformer Android Development] BULL3TPR00F:
No issues here bro and im using revolver. Even with the random reboot/freeze issue with asus. Script always remains and never get the notification prompt for sd eject.

Only thing I can think of is make sure you do a cache/dalvik wipe and fix permissions after you flash the script before rebooting
[Eee Pad Transformer Android Development] SiNJiN76:
Okay. Ill 7ry doing that.

Edit: just woke up to a dead battery and I had to reapply the script.
[Eee Pad Transformer Android Development] SiNJiN76:
I guess the file that needs to be modified by this script is in the kernel? I just tried the OC kernel Meh...and the script would not work. Just an FYI. :)
[Eee Pad Transformer Android Development] cbrox:
mod works fine with eos-12 and roach2010's OC kernel
[Eee Pad Transformer Android Development] SiNJiN76:
Really? I tried twice on revolver. Maybe ill try again tomorrow.
[Eee Pad Transformer Android Development] cbrox:
yeah, i tried it with eos-12 and blades meh kernel. No go, didn't work. He'd already said that it didn't play nice with the AOSP roms and that it was still a work in progress. Couldn't get it to mount the microSD and when i tried to go to storage in settings it FC'd.
[Eee Pad Transformer Android Development] mattiadj:
The mod have nothing to do with kernel.

It only requires the init.d support of the rom. I not tried with aosp rom but if the rom hasn't init.d folder, it doesn't work

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] cbrox:
your mod is fine it's a kernel issue. eos-12 is a AOSP rom with init.d support. Like i said before the mod works fine with it and roach2010's OC kernel. It doesn't work for me when eos-12 is paired with blades meh kernel(which isn't ready for prime time yet it still a work in progress). I haven't tried it with all the other AOSP roms or ASUS roms yet but i will get around to it eventually!
[Eee Pad Transformer Android Development] SiNJiN76:
Well...I'm back to Revolver and stock kernel. Still getting the script undone when my TF rebooted on its own.
[Eee Pad Transformer Android Development] cbrox:
I haven't used revolver since the first ICS beta but try renaming the script in /system/etc/init.d from 11extsd2internalsd to 01extsd2internalsd or 99extsd2internalsd to see if the execution order has any effect. Also verify that it has the proper execution permissions.
[Eee Pad Transformer Android Development] SiNJiN76:
Its got the same permissions as the other files in there. Should I check the sticky permission box on the bottom?

In the meantime, ill change the name to one of your suggested ones...

I.C...the number in front is the execution order. Ill make it 01 then since this was in last place to begin with.

Now to patiently wait for the random reboot/shutdown. :)
[Eee Pad Transformer Android Development] cbrox:
Also the mod works fine with the latest ICS ARHD 3.1.0 rom with stock kernel. That's what i'm running on my other transformer.

---------- Post added at 12:35 PM ---------- Previous post was at 12:23 PM ----------

if you shut it down yourself through the poweroff menu does the mod changes hold on reboot. If not my guess would be that you have a corrupted download of the revolver rom
[Eee Pad Transformer Android Development] cbrox:
revolver 4.0 beta 1.3.1 with blades meh kernel works with this mod for me with no issues now. mod disables the microSD icon notification
[Eee Pad Transformer Android Development] mattiadj:
Sorry guys but I haven't understand where I can download custom kernel for ics! I have asked in thread but not answer..

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] cbrox:
These are the links your looking for

TF101-ICS-meh.zip by blades

http://xdaforums.com/showpost.php?p=23824508&postcount=554

TF101-ICS-meh-init.d.zip by blades modified by guveor to start the service

http://xdaforums.com/show...&postcount=634
[Eee Pad Transformer Android Development] SiNJiN76:
What was your process for installing the kernel and getting this script to work? I just flash the kernel...reboot...go back to recovery...flash SD script...reboot....still nothing. :confused:

Just tried uninstalling and then reinstalling the script. Still no go.
[Eee Pad Transformer Android Development] cbrox:
I just repeated the process again using roaches latest CWM recovery 5.5.0.4 and it worked with it also(actually it was smoother than with rouge recovery v1.3.0) both recoveries work. the process i did was as follows.

Step 1

Rebooted to recovery

Step 2

wiped data

wiped cache

wiped davlik

Step 3

stay in recovery no reboots in between

flash revolver 4_beta_1.3.zip (main revolver rom flash)

flash revolver 4_beta_1.3.1.update.zip (fixes permission issues for some)

flash TF101-ICS-meh-init.d.zip (blades OC kernel modified by guevor)

flash extsd2internalsd.zip (Mattiadj's mod)

Step 4

reboot

Step 5

log in be happy :D
[Eee Pad Transformer Android Development] cbrox:
if you still have permission problems and issues with your titanium backup with revolver after following the steps flash this to see if it corrects the issue. It worked for me.

http://xdaforums.com/showpost.php?p=23040131&postcount=390
[Eee Pad Transformer Android Development] mattiadj:
Thanks but links don't work...

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] cbrox:
my bad, :o try them now they should be working!

---------- Post added at 08:27 AM ---------- Previous post was at 08:19 AM ----------

just an FYI, mod is working fine with no issues with EOS-13 nightly
[Eee Pad Transformer Android Development] SiNJiN76:
Thanks given for your post 133. The modified zip was what I needed to start the services.
[Eee Pad Transformer Android Development] cbrox:
FYI, Mod works with [21.MAR.2012][ROM]AOKP (Android Open Kang Project) *OFFICIAL* [v1.6] Build 28! out of the gate with no issues.

roach2010's CWM 5.5.0.4(required by aroma installer)

wipe data/factory reset

flash rom

flash GAPPS( 200120317 flavor)even though it had a selection for stock GAPPs

flash extsd2internalsd.zip (Mattiadj's mod)

reboot

log in be happy:D

this was with the stock rom selection in aroma installer. The OC kernels don't work yet

Blades= no wifi

Roache's= stalls at boot screen
[Eee Pad Transformer Android Development] karapoutsoglou:
Thank you,thank you,thank you!

I have a 32 giga ext card and the internal memory just ruined my tablet experience.

I use the rooted ww .17 version and the moddified blades kernel of our spanish friend after of course a fresh wipe data kai new rom install and everything works perfectly.

even restore from titanium

now i have at last 32 giga internal memory.

im in love with this script.
[Eee Pad Transformer Android Development] SiNJiN76:
FYI...seems the script gets undone when the TF does a Hot Reboot. (No Eee Pad screen...just the Asus bootanimation)
[Eee Pad Transformer Android Development] karapoutsoglou:
For me it never gets undone.hot reboot,shut down,sleep mode,close the screen like a laptop,empty battery etc.

its there rock solid.but i never tried to pull the card out.this card will never leave my 32giga tf:D;)
[Eee Pad Transformer Android Development] mattiadj:
This message only for say thank you to all people who reports their positive feedback for my mod!

For me is a pleasure to have built one of the most important and used mod for our transformer :)

Thank you all

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] goldiecalypso:
Same Issue with MSI Enjoy

Hi,

I have the same issue with my MSI Enjoy tablet, but I've no idea if your script works for me; mine is Gingerbread 2.3.1 with different mount points

any idea?
[Eee Pad Transformer Android Development] goldiecalypso:
nothing? no idea?!
[Eee Pad Transformer Android Development] SiNJiN76:
Why don't you share this thread with one of the devs in your phones section?
[Eee Pad Transformer Android Development] goldiecalypso:
Unfortunately, this tablet is in a minority, if I know your basics I may apply it for mine.

I tried making links for changing the mems, but It hasn't had any effect on the apps, they all still use the internal mem for data saving ("storage/Android/data")
[Eee Pad Transformer Android Development] SiNJiN76:
I.c. just PM the OP.
[Eee Pad Transformer Android Development] goldiecalypso:
Solved! just wanna know if you've done in this way or not

http://xdaforums.com/showthread.php?p=24290776#post24290776
[Eee Pad Transformer Android Development] mattiadj:
Good job mate.

With honeycomb and transformer is not so simple :)

Inviato dal mio HTC Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] BULL3TPR00F:
Hey Bro i just flashed TestyMeh ICS 0.7 Kernel on top of Revolver 4.0 and it seems to have broken your script.

I tried re flashing the script after flashing the kernel but it is still not working. has anyone tried this on testymeh kernel?

EDIT: so after trying many different attempts, i cannot get this to work with TestyMeh kernel on revolver rom 4.0 (1.3.1). HOWEVER, it DOES work on guevor's test9b kernel with revolver rom
[Eee Pad Transformer Android Development] mattiadj:
With 3.2 revolution and kernel testymeh 1.0 my mod works perfectly but in Android memory management is not showed the situation of internal memory. The situation is not longer inverted.

To see the correct situation please install quick system info app from play store.

Best

Inviato dal mio Transformer TF101 con Tapatalk 2
[Eee Pad Transformer Android Development] karapoutsoglou:
i tried my all time favourite mod in any device i have, in team eos jelly bean and i guess it is not working.

in fact my external 32 gb card was shown as 12 gb...then i removed the script and all ok.

any chance we make this working with jellybean?

it is the most ESSENTIAL mod for me...

the internal storage is just too low with all that 1.5 gb games out there....