yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] bpivk:
Hy

I just received my brand new SGS2 (White) and I noticed a problem with the in call sound. I tried calling my phone with different phones so it's not one phone that's acting up but my phone that has a bad speaker.

The problem I'm experiencing is a scratching sound when someone is talking with a high or low pitched voice. It sounds like a busted speaker.

I'm writing because I'd like to know if the speaker is really so bad on this phone or if it's something wrong with it. My wife can't hear a thing but I's really bothering me.

Note: I'm not talking about external speaker. I'm talking about the headset or whatever you call it. The one that you use in a normal call. I forgot to mention that the scratching sound goes away only if I set my volume below 40%.
[Eee Pad Transformer Android Development] fisha21:
Thanks for working this out and posting. Tried it out on my rooted TF running latest Revolver ROM, with a class 4 32GB microSD.

As you said, System settings shows both internal and external memory as 32GB, with Titanium showing the correct info.

Opening /system/sd2 shows an empty folder when viewed in both script manager or ES file explorer (root enabled). Guessing this is why widgets aren't working. Also, there is a huge amount of system lag with the script enabled.
[Eee Pad Transformer Android Development] mattiadj:
All my widgets works and my system is very smooth without any type of lag.

Is very strange that your sd2 folder is empty. I think the cause of your problem is here.

Starts form a clean system, install only script manager and then follow my tutorial.

After tell me your situation.

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] dipje:
Isn't apps2sd on a transformer a really bad idea? 16gb should be more than enough, and the microSD reader in the transformer is slow as hell. Wouldn't wanna be launching my apps from it to be honest.

As long as I keep my music and movies (i.e. data) on the microSD, my /sdcard/ (internal 16gb) is ready for apps installs and apps downloads... more than enough in the past last year.
[Eee Pad Transformer Android Development] mattiadj:
Infact all apps in the internal memory! Only resources (Android/data for example) are in the external sd. All apps and their "system" files are stored in true intenal sd.
[Eee Pad Transformer Android Development] fisha21:
Have to agree with dipje, so far not had any issues with space on internal memory. Just thought I'd test it out since you'd posted-always nice to have feedback! Was thinking of trying out the Android Revolution rom - if I do, will try this again before reinstalling my apps and let you know how it goes
[Eee Pad Transformer Android Development] morell2:
Open sd2internal and touch on su and boot, click on save then on exit what you mean?
[Eee Pad Transformer Android Development] fisha21:
Use the file browser within the Script manager app..
[Eee Pad Transformer Android Development] morell2:
what is touch on su
[Eee Pad Transformer Android Development] fisha21:
Ok, so did a full wipe and installed the KRAKD rom, so thought I'd try this again. The lag is gone (so probably was due to something else!)

I tried installing some apps from Market, rather than restoring with Titanium. Widgets do work, but the sd2 folder remains empty. Settings dialog lists internal SD as 32GB.

Using ES file explorer and script manager file browser, Removable/MicroSD and mnt/sdcard both point to the external SD, sd2 is empty - internal SD doesn't appear to be mounted anywhere!
[Eee Pad Transformer Android Development] morell2:
i dont get to revet to stock i dont have script on microsd
[Eee Pad Transformer Android Development] mattiadj:
Yes I have discovered it also for me now. May be a I have missed something in the tutorial. I'll check and I'll try to understand how can I access to internal sd.

I'll check asap

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] mattiadj:
New version online

1.1

No longer necessary to make sd2 folder

Correct situation of memory when attach tablet on pc

Now you can see the correct value of size of internal sd in memory management but as external sd

More stable and clean script

Now is more easy to setup the script

Fixed problem to get su rights at boot
[Eee Pad Transformer Android Development] mattiadj:
Any feedback? :)

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] fisha21:
Sorry, been swamped today. Hopefully get some time tomorrow or wed ... will let you know how it goes!
[Eee Pad Transformer Android Development] SiNJiN76:
i would try but I don't have a card bigger than the Internal memory.
[Eee Pad Transformer Android Development] kxs783kms:
Neither do I :( so I can't test this either. I have a 16GB though. Will I get anything from this?
[Eee Pad Transformer Android Development] mattiadj:
It's not really necessary to have a card bigger than the internal memory since this script use the external as internal for extra data storage. However Apps are installed in the real internal sd. So.... With this script you can install more and more apps since your real internal sd (so internal memory!) will be used only for install apps.

You can try...

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] blk_jack:
I would like to try this with dual booting Ubuntu as on my 16GB Transformer I have only ~4GB of actual userspace to use for Android. Need to get a MicroSD though to test.
[Eee Pad Transformer Android Development] bob dylan:
i see you have come a long way from the other thread on this subject!

my initial concerns still stand though- as has happened on other android devices with this type of capability we are putting a lot of trust in our sd cards- every reboot will mean the sd card working more than it used to as it loads all the app data etc, if that card fails or burns out thats a lot of data lost. constant card rewrites on FAT32 partitions dont aid sd card longevity and performance can suffer accordingly.
[Eee Pad Transformer Android Development] Hammerfest:
Well, looking at my Internal Storage report right now and it says 12.96GB Available space and lists nothing else (/schwing!)...

This is FULLY stock at the moment, and freshly setup, meaning there could be error insanity in logcat or some other horrid side effects that I am currently unaware of!

Needless to say, ill test it out through the day today and then post again in the evening... all that space dedicated to apps! (I was already at the max of 2GB prior to sending it in for repair (body, not related)! No more pesky FAKE internal sd! oh happy days!
[Eee Pad Transformer Android Development] cbrox:
FYI Mattiadj

Mattiadj,

for your script to work with RaymanFX's new Tegra 3.1 DiveMaster kernel the following variable highlighted in red in the line has to be modified.

mount -t vfat -o umask=0000 /dev/block/vold/179:9 /mnt/sdcard

to

mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard

raymanFX's 3.1 kernel uses volds 179:24 and 179:25, the rest of the kernels use volds 179:8 and 179:9

you may want to automate your script so it will poll the /dev/block/vold for the correct odd numbered variable and use it.

once this line has been modified your script works fine i'm running it right now with EOS3-N63 and RaymanFX's Tegra 3.1 DiveMaster kernel with no issues.:cool:
[Eee Pad Transformer Android Development] Hammerfest:
Any news on the progress of this mod for the Galaxy Note? Any chance it could/would work with the AT&T GNote or just the International Note?

Thanks!
[Eee Pad Transformer Android Development] herschwolf:
Newcomer to the topic, and a little out of place as I'm trying to get this idea working for my TF300 not the TF101 from the original author. I message him before I was able to post here, but as I'm trying to develop this new based on his work (or offer testing points to allow him to make a new one for the TF300) I thought I would post a question for the development here and start a new thread in the TF300 section if needed/suggested.

I am completely new to Android, and that's probably where my lack of understanding this comes in, but I'm really good at reading code and seeing what changing things does. I've decided that I can't really screw something up so bad that I can't reflash and start over, so I've been playing around with the script and the vold.fstab of the TF300.

I can easily remount the MicroSD card by changing the mount point given in the vold.fstab file to /mnt/sdcard instead of /Removable/MicroSD, but I can't seem to use the script to edit the mount points for my Jellybeanified TF300. The original script will mount the internal memory to the MicroSD, but also leaves it mounted to the internal memory so my MicroSD card doesn't get remounted anywhere.

Any advice on where I should start playing around with it to understand the various mount points for the MicroSD and the internal memory, or as I stated earlier, should this be posted in a new thread in the TF300 section and reference (give credit) to this thread here?

-Nate
[Eee Pad Transformer Android Development] eatblueorange:
Hi, can you share to me how did you automate the script? I am using CyanogenMod 10 ♦ B4 by RaymanFX

thanks.
[Eee Pad Transformer Android Development] cbrox:
I haven't automated it yet, i use a different script depending on which rom and kernel it is. The original script works with EOS roms since EOS uses /Removable/MicroSD for mount points. The following is the script i use for raymanFX's and others since they configure the mount points to /storage/sdcard# instead of /Removable/MicroSD as as in EOS.

/storage/sdcard# script

#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on transformer
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at [url]http://xdaforums.com/showthread.php?t=1433436[/url]

sleep 2
mount -o remount,rw /
mkdir -p /storage/sdcard1
mount -t vfat -o umask=0000 /dev/block/vold/179:9 /mnt/sdcard
mount -o bind /data/media /storage/sdcard1

here is the one for raymanFX's dive master kernel that uses different volds

3.1 DM /storage/sdcard# script

#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on transformer
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at [url]http://xdaforums.com/showthread.php?t=1433436[/url]

sleep 2
mount -o remount,rw /
mkdir -p /storage/sdcard1
mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard
mount -o bind /data/media /storage/sdcard1

if your going to use the DM kernel with EOS don't forget to modify the script with /Removable/MicroSD instead of /storage/sdcard1
[Eee Pad Transformer Android Development] karapoutsoglou:
Up:crying:
[Eee Pad Transformer Android Development] fohdeesha:
OK guys, first person to tell me how to do this, and that method works, I will paypal you money immediately. I'm serious, ask RandomBlame in the Desire HD section if I'm good for it or not, he'll tell you. I'm desperate here!

So I recently bought a tf101 used, and was ripped off. The internal memory has bad blocks, and I'm not able to partition around them. Essentially there are bad blocks in some of /system and a lot of /data. This means no matter what stock rom I nvflash to the device, it can't boot because it can barely read /system and can't read /data at all. It's beyond return and warranty. This renders the device a really nice looking paperweight, literally. No way to install any kind of OS to it, the internal memory is bad.

However I can flash recoveries just fine, but when I boot into CWM for example and try to flash a rom, it actually freezes the tablet the second it tries to format, write to, or alter /data. It can occasionally write to /system, but not reliably at all. APX mode works just great. (this is how I am able to flash recoveries). Long story short, can't use the internal storage at all.

ANYWAY, here's my question. How can I use this wonderful script to be able to install a rom from CWM right to the external SD card, and then use the sd card as my entire internal storage and boot from it? As in mount /system, /data, and /cache, and everything, to the external sd card.

As I said before I can't flash anything to internal, so I am not able to first flash a rom normally, then use this script to change to to external. I have to be able to flash an entire rom to external right off the bat from recovery, then boot from external and use it as the one and only storage.

Is this possible? I would like to use raymans CM10 b4. I altered this script with the code cbrox mentioned above for use with cm10 4, then used it, however I still get the same error as always the second the rom installer tries to write to internal memory - error, status 7, installation aborted.

Please help! I have a $200 useless brick in front of me unless someone can guide me how to install a rom straight to external then boot from it. Like I said I would like to use raymanFX's cm10. I'd imagine this would involve customizing this script a little bit, then also customizing the install script inside the cm b4 installer? I'm not smart enough to do it myself though. If someone can help me and it works, I will send you some money for a lunch via paypal, and also make a donation to the author of this script.

Thanks guys!
[Eee Pad Transformer Android Development] wtfcr0w:
I've tried this mod with both JB EOS and CM10 and I cant get it to work. I dont have a 32gb msd card, right now I'm using a 16gb sandisk ultra msd. I believe its a class 10 card. I have wiped full/dalvik/cache then flashed rom/gapps/mod for both EOS and CM10 and I cant see that its working. I still have the 12gb sd as internal and 14gb (msd card) as the external. Am I doing something wrong? Do I need to add any steps?
[Eee Pad Transformer Android Development] herschwolf:
@fohdeesha

I don't think this is possible without having a custom bootloader (and I don't know of anyone that can do this.) Since the motherboard is what tells the system which partition to boot from, the system has to load the internal memory (separate from the internal sdcard and external microsd slot.) You would have to do some fancy soldering to the motherboard (if it was even possible) or have a custom bootloader that told the system where the boot partition rested at.

Not sure why you bought a device without testing it first since it sounds like it wouldn't have booted or ran properly before you bought it like it doesn't now.

-Nate
[Eee Pad Transformer Android Development] fohdeesha:
Thanks for the response, It was someone I trusted, they even sent me pictures of it running. You're right, it wouldn't have ever been able to boot, but they told me it did. Needless to say, it doesn't
[Eee Pad Transformer Android Development] herschwolf:
Sorry to hear that. Your best best might be to find a TF101 on Ebay with a cracked screen, bad battery, "as is" no idea what's wrong, type of system and see about replacing the motherboard in the two devices. You can probably get one of those pretty cheap, and replacing the motherboard would be easier than trying to replace the memory chip or something (which would take a serious amount of equipment and luck to get the architecture right I would think.)
[Eee Pad Transformer Android Development] gkillerx:
Not working on cm10. Even with the script from cbrox
[Eee Pad Transformer Android Development] cbrox:
for me it's a permission issue with raymanFX's JB kernels, The script works but i have to use an init.rd mod. Just loaded raymanFX's CM10-B5 but i had to also load puppet13's init.d loader mod with it to get it to work. It's an issue with kernel permissions for initrd.

The only jb kernel i do not have to use pupet13th's mod with is timduru's kat kernel. If you don't want to use puppet13's mod you might ask rayman to talk to tim and ask him how he's setting up the init.rd permission on his kat kernel differently.

If you choose to use puppet13's mod just reboot to recovery, flash puppet13's mod, then flash mattiadj mod,

and reboot.

If it still does not work after using the mod then my friend you may have a microSD issue going on.

my order of flashing was

CM10-B5

gapps

boot to let the image expand

setup account and wireless

reboot

flash puppet13's mod

flash mattiadj mod with the updates for raymanFX's partitioning

reboot

enjoy:victory:

:cool:
[Eee Pad Transformer Android Development] gkillerx:
For the guys who also want this:

Puppets mod:

http://xdaforums.com/showthread.php?t=1417375

Mattiadj mod:

http://xdaforums.com/showthread.php?t=1433436

with the update:

http://xdaforums.com/showpost.php?p=32111443&postcount=186

just did this and it is not working :(
[Eee Pad Transformer Android Development] cbrox:
then your'e doing something wrong or it's your microSD card cause i'm using a 64Gb sandisk ultra microSD and it's working perfefectly with mattiadj modified script on all jb roms and i just verified it works on raymanFX's liquid smooth rom too!;)
[Eee Pad Transformer Android Development] gkillerx:
Can you post the files you used after you installed the rom ? (I'm interested in the versions especcialy)

And it has nothing to do with my setup, on ARHD was it working like a charm!

edit:

got it working!

You need to flash Puppets mod v7 first, then v8 then mattiadj mod and reboot, make sure the permission is set to 750 and you are good to go!
[Eee Pad Transformer Android Development] cbrox:
Glad to see you got it working.

If you unzip mattiadj mod and then modify it and then zip it back up and flash it, the flash installs it with the correct permissions

If you flash it and then modify mattiadj script in the rom's /etc/init.d directory you have to save it and then change the permissions back to 750
[Eee Pad Transformer Android Development] mattiadj:
Sorry if I'm not always present guys but I'm developing something for my gs3.

I have fixed all my problems of aokp/aosp with not init.d support using script manager.

I not have time to read all discussion but please if someone have edited my script to work with latest jb rom and kernel, pm me the scenario and how got it works so I can add these into to op.

Thanks

Inviato dal mio GT-I9300 con Tapatalk 2
[Eee Pad Transformer Android Development] cbrox:
Sent you a PM the following link is the edits i made to your script to get it to work with the /storage/sdcard roms and the different vold kernel.

http://xdaforums.com/showpost.php?p=32111443&postcount=186
[Eee Pad Transformer Android Development] Piehti:
Rotten DOT com

You rotted your Transformer! YOUU BASTAAARD! I had to save almost a year to aquire one and you just leave it to rot!?

Thanks for the guide. :>
[Eee Pad Transformer Android Development] karapoutsoglou:
any luck with swapping in 4.2.2???:crying::crying::crying:
[Eee Pad Transformer Android Development] eatblueorange:
waiting for the JB 4.2 version
[Eee Pad Transformer Android Development] elfaure:
I don't thing there is any way to do this using a 64MB SDXC card formatted exFAT on a single partition and retain the exFAT format is there (I'm on a TF700)?
[Eee Pad Transformer Android Development] stephane.papin:
Hi, anyone i've tried with rom Revolution 3.6 or 4.0 ? Regards

Envoyé depuis ma TF101G-B80 with Revolution HD 4.0 (3.6g release) by Mike _1986
[Eee Pad Transformer Android Development] mattiadj:
Finally got it fully working on latest eos4

From universe with my gs3
[Eee Pad Transformer Android Development] cbrox:
great news! is the OP updated with the latest?
[Eee Pad Transformer Android Development] mattiadj:
No yet mate. Give me to update it!

Only not fixable problem is that in memory management we have no information about ext sd card. The system can't recognized it as mounted but the problem is ONLY in this page.

From universe with my gs3
[Eee Pad Transformer Android Development] cbrox:
Take your time mate; wasn't rushing you.
[Eee Pad Transformer Android Development] cdorepm:
screenshot prob!

cannot take screenshot
[Eee Pad Transformer Android Development] mattiadj:
Yes i'm according with you but since all apps apk data are stored on real internal sd the access to sd will be only when needed.

I'm testing if there is some lag or performance decrese but for now all seems to be ok.

Can you tell me about some benchmark to test the I/O system (more specific than quadrant) and test if this procedure make the system slow or not?

The feel seems to be the same... I think the only problem is my not ability to create a update.zip which makes this process at boot. I think script manager is too slow to load the script and in this time some errors can be generated.

Thanks for the feedback.
[Eee Pad Transformer Android Development] MISFITZ:
Hope some one comes up with a flashable CWM file...

Fabio from Revolver...may be your best bet as he is always interested in making his ROM even better...

Thanks

Misfitz
[Eee Pad Transformer Android Development] mattiadj:
Have you tried my script?

I have pm'd to Fabio...hope he answer quickly...
[Eee Pad Transformer Android Development] mattiadj:
Guys got it!!!

I'm making a flashable zip which makes all automatically.

Only flash the zip and all is done!

Stay tuned I'm fixing something and I'll upload it asap!

Then I want all the feedback possible for my effort!

Inviato dal mio Desire HD usando Tapatalk
[Eee Pad Transformer Android Development] blk_jack:
Look forward to seeing that. I just used the script on my tablet that dual boots Ubuntu w/ a 16GB microSD card. Changed my capacity from ~2GB to 16GB! Installed a few things and it seems to work great. Will report back with further feedback the more I use it.

I can't check the flashable zip though since I dual boot. Matt have you considered going V6 Supercharger styles & making a script that installs the script to an init location?
[Eee Pad Transformer Android Development] mattiadj:
And guys!! That's it!!!

CHANGELOG

2.0

CMW flashable file!! All in one!

No longer necessary to install script manager app!

More stable and clean script

Now is very easy to setup the script

Fixed all lags and all problems with file detection and corruption. Since now the system is loaded on boot all problems are gone!

More information in OP!!!

I want a lot of feedback now!!!
[Eee Pad Transformer Android Development] blk_jack:
Thanks for the update. Obviously for anybody without CWM, just copy the file to /system/etc/init.d/ and it will work great with every reboot. So far so good, just installed GTA3 and MC3 with no issues. Love the extra space.
[Eee Pad Transformer Android Development] blk_jack:
I'm noticing it's setting /mnt/sdcard as read only and can only be written to as root. Have to remount it as rw to get it to work properly again.
[Eee Pad Transformer Android Development] hapahopi:
Planning to buy 32 Gb microsd soon since my internal sd is getting full. If I install this, how do I manually transfer all the data to the microsd?