yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy W I8150] pepoluan:
Great tutorial!

If I may, I'd like to add some tips:

When making the very first partition (from an empty-card condition), make sure:

It's Aligned to MB instead of Cylinder

There's a 1 MB 'gap' in front of the partition

Also, make sure that all partitions' sizes (in sectors) are divisible by 256 (or, in other words, the partition size is a multiple of 128 KiB).

.

The reason for this is that some SD cards allocate their storage capacity in 'blocks', and the largest known block size is 128 KiB (128 * 1024 bytes). 256 sectors = 128 KiB. By ensuring that all partitions' sizes are divisible by 256, you are ensuring that no block is split between two partitions, thus keeping performance high (as the SD card no longer need to read a block and perform a seek just to find the beginning of a partition), and help lengthening the life of your SD card.

.

(Other SD cards might have smaller block sizes, but all a binary fraction of 128 KiB, i.e., 64 KiB or 32 KiB or 16 KiB or 8 KiB or 4 KiB. Thus, if partitions are multiples of 128 KiB, they are certainly multiples of the smaller block sizes.)

To ensure that partitions are divisible by 256, just before you click on the "Apply" button, do the following for each partition created:

Right-click on the partition

Choose Properties (the bottom option)

Click on "Partition Info" tab

The size of partition (in sectors) is "Last Physical Sector" - "First Physical Sector" + 1

For example, in my case (see the attached image), the "Last Physical Sector" is 29003775, while the "First Physical Sector" is 2048. Thus, the size of the partition is 29003775 - 2048 + 1 = 29001728. Divide 29001728 by 256 and you have the nice integer value of 113288, meaning that the partition is an exact multiple of 128 KiB.

As for the filesystem type for the second partition, I myself prefer ext2 because I reasoned:

This is an SD Card; employing journaling (implemented by ext3 / ext4) will result in too much writing -- shortening SD Card life

Writes are (nearly) instantaneous anyways; journaling are helpful if writes take some time to finish (e.g., writing to a spinning disk, which needs the track-seek and sector-seek plus track-shift plus ECC generation)

The only way a write to SD Card can get interrupted is if power was removed immediately. Aside from dropping your phone and inadvertently ejecting the battery (in which case, SD Card corruption should be the least of your concern), smartphones can't suddenly lose power. When power gets too low, Android performs an orderly shutdown ensuring that all buffers are flushed

ext2 code in the kernel is simple, making reads & writes faster, and less intrusive to foreground apps (no need to generate/manipulate a checksummed journal)

--- Posted from Opera on Lenovo T420 ---
[Samsung Galaxy W I8150] stpdkid:
thank you bro for rhe additional tips..i forget bout that..:) that'very useful for us.

yes, ext2 is better to choose..:)

i use ext4 because i install s2e not link2sd..and sometimes ext2 cannot be read by s2e but it's not a must for everbody to use ext4..:)
[Samsung Galaxy W I8150] killeeeeer:
What are the advantages to making portion
[Samsung Galaxy W I8150] stpdkid:
- no need to swap..do this and install app link2sd or s2e free on market..

- make your microsd card read/write better..

- can hide anything in the partition;)
[Samsung Galaxy W I8150] killeeeeer:
Nice well try it next time i update my android build, thanks for the info :)
[Samsung Galaxy W I8150] eza azami:
I have partition my external_sd with format "ext4".,

it's work but when I reboot my SGW i got hardbrick :D

sent from nokia 3310
[Samsung Galaxy W I8150] stpdkid:
did you swap your internal sd-external sd after partition to ext4 and using the app(i.e link2sd or s2e)?

what apps that you use to swap?link2sd or s2e?what app tools (beside those two app) that you use?

it wont get hardbrick if you follow the tut carefully,,

i do this with my 4 microsdcards, 2microsd with size 8gb, 1microsd with size 4gb and 1microsd with size 16gb and all of it just class4.

i use this method since 2011.

this tut will not hardbrick your phone.
[Samsung Galaxy W I8150] eza azami:
I using s2e, but maybe I forget some step. :D

last month I try it again and succesful.. :p

sent from nokia 3310
[Samsung Galaxy W I8150] sandroidnz01:
Hi stpdkid.

Okay,I've got a 32gb class 10 SD card.

I tried doing the partition last night.

It the SD card which I had been using on my Xperia Arc for nearly a year so you can imagine the amount of garbage on it.

Copied everything to my PC and went ahead with the partition.

First partition Primary/ Fat32/9gb

Second partition also named as Primary/Ext2/21gb.

Done.

Copied my files back onto the sdcard and inserted it back into my device which only recognized the 9gb.

Used link2sd and it reads only the first partition of the sdcard.

I think I did everything correctly.But why is it that I'm missing the 21gb?

Should I have named it as NTFS/Ext2/21gb?
[Samsung Galaxy W I8150] stpdkid:
you're missing the 21gb because you use it as ext2..change it as fat32 and the 9gb as ext2..
[Samsung Galaxy W I8150] sandroidnz01:
So to do this just run the partition wizard and edit the partitions?

And setting both to Primary is not a problem?
[Samsung Galaxy W I8150] stpdkid:
backup first and follow the step on first post.

big size partition as fat32(primary) and for ext2(primary) the small size partition..
[Samsung Galaxy W I8150] sandroidnz01:
Done.

But there's still something which is not right.
[Samsung Galaxy W I8150] stpdkid:
what do you mean something's not right?
[Samsung Galaxy W I8150] sandroidnz01:
I'm sure I did not create one partition for cache.Yet its there.

Moreover,the cache has been building up progressively and I had been unable to clear it with link2sd.Neither via CWM Recovery.
[Samsung Galaxy W I8150] stpdkid:
its ok. just a cache from your app..
[Samsung Galaxy W I8150] danielferratti:
Really good! Thanks for the post Bro!
[Samsung Galaxy W I8150] Nikhil Pathak:
Can i do Partition Using USB Cord

hey bro .. is it necessary to do partition using card reader... can i continue with USB cord... ???

replzz
[Samsung Galaxy W I8150] pepoluan:
You mean, using your phone as an SD Card reader?

You can't. Your phone exposes the first partition to the PC. The PC doesn't have access to the all-important partition table.
[Samsung Galaxy W I8150] stpdkid:
not recomended using your phone..

agree with you pep..
[Samsung Galaxy W I8150] joevenrey:
help;(

good day to everyone.. i hope u can help me with this partitioning thing.

i followed every steps to partition my sd card but my phone doesnt find ext2,ext3,ext4 or even fat32 after opening link2sd apps.

i managed to review what ive done and seems like this is the problem. anybody can help me with this.

thers a pic of what i found.

very sorry for my bad english;(

please help me guys..
[Samsung Galaxy W I8150] stpdkid:
hi joevenrey,,

from your pics that i see you just make 2 separate partition without changing the second partition to ext2/3/4.

on the second partition you have to change it to ext2/3/4..right click again the second partition and follow the step 8-10 on fist post..

ohh..one more thing, you should do this using a card reader/sdcard adapter..

regards,

kidd
[Samsung Galaxy W I8150] arryzona:
If I may, I'd like to add some tips:

When making the very first partition (from an empty-card condition), make sure:

It's Aligned to MB instead of Cylinder

There's a 1 MB 'gap' in front of the partition

As a complete novice (but trying to learn) the above means nothing to me. Could you kindly explain it a little more ? Very many thanks.
[Samsung Galaxy W I8150] arryzona:
Some moving and some not.

I carefully followed the procedure today. I have managed to get a few apps to move but others say things like - Failure - pkg:/data/app/com.google.android.apps.maps-1.apk Failure (INSTALL_FAILED_INVALID_INSTALL_LOCATION)

Any advice please.

Also - when it says "System application should not be linked to SD card" can we ignore that or do we obey ? Many thanks.
[Samsung Galaxy W I8150] stpdkid:
hi arryzona..

sorry for late reply..

there is some System apps shouldn't/can't be moved to external sdcard it may risk your System,.

apps that you can move/link are apps that you downloaded/install from playstore or any other site..

and for your situation you should obey it..
[Samsung Galaxy W I8150] arryzona:
Thank you kind sir.
[Samsung Galaxy W I8150] fixero:
I use link 2sd and create partition ext2..how to format my ext2 without computer..??
[Samsung Galaxy W I8150] stpdkid:
hmm..i usually format it using pc/laptop i dunno if there is another way to format it without using pc/laptop..i'll check if there's another way..
[Samsung Galaxy W I8150] arryzona:
Some cameras format cards.
[Samsung Galaxy W I8150] stpdkid:
only format the fat/fat32 but not ext..
[Samsung Galaxy W I8150] Dani6757:
Thanks! But, how do you "make sure there's a 1MB 'gap' in front of the partition?
[Samsung Galaxy W I8150] stpdkid:
hi Dani6757,

thx for trying this method.

you can change it on "partition size".
[Samsung Galaxy W I8150] Dani6757:
Partioning SD card using stpdkid's instructions

Hi stpdkid! (Somehow, that just seems "wrong" to call you that...when you're CLEARLY not!)

I'm still confused. When do I change it? Are you saying that in Step 3, I should limit the very 1st (primary) partition to 1 MB (in trying to follow pepoluan's tips to do so)? If so, what about the last field that relates to something about, "leave X MB" [I]AFTER[/I]..... Sorry, I don't have the other computer turned-on with the mini-partition program running, so I can't confirm the exact wording of that last field on the Create page.

I guess I don't understand why (or where else to make this happen) I need a "1MB "gap"before..." (pepoluan wrote: "make sure you leave a 1MB "gap" BEFORE...." Perhaps I'm confusing "gap" with "partition size"??? Woe is me...being a noob totally sucks! :eek:
[Samsung Galaxy W I8150] pepoluan:
When you create a partition with MiniTool, you can specify a space "Before" the partition (in fact there are three fields: Before, Size, and After).

But for some reasons, one can't change the Before number if the Size is set too large (by default, it is set to the size of the MicroSD); one has to reduce the Size by 1 MB *then* set the Before number to 1 MB.

It is not possible to create a 1 MB partition.

As to "why": Flash memory writes in units of "sectors" (512 bytes), but erases in units of "blocks" (N sectors). The FAT32 filesystem addresses a storage in units of "clusters", usually 8 or 16 sectors per cluster.

It might happen that a cluster "straddles" a block, e.g., it's first four sectors are stored in block 23, but the last four sectors are stored in block 24. If this happens, write- access to that cluster will be *extremely* slow, because the flash memory will have to perform two "read-modify-write" cycles, one for each block.

The "gap" is used to "align" the partition so that clusters won't straddle block boundaries.

According to my research, the largest block size is 1 MB (2048 sectors).

If we specify a gap in front of the very first partition created in MiniTool, MiniTool is smart enough to understand that we want to align the partition, so it will invisibly try to ensure the beginning of the partition to be block-aligned. Plus, it will wisely 'hide' the gap in its drive map.

-- sent from Samsung GT-I8150 running CM10 --
[Samsung Galaxy W I8150] procter:
Hi, you seem to be very knowledgeable regarding the flash storage, can you help me with this one pls? I've seen a lot of posts regarding SD-ext partition and they all advised that this ext partition better not go beyond 1024 Mb for SD cards 4GB or larger. Why is that? Most of the posts were back in 2012 though, is it still the same? Say if I have a 32Gb card to put into a more recent phone such as GS3 (so the apps takes a lot more space with better graphics etc compared to earlier android version), is the 1gb ext partition gonna be enough? Thanks.

And also, when doing it in my GS3, looks like the ext2 is not supported or recognized by either link2SD or mount2SD, changed it to ext4 worked fine.
[Samsung Galaxy W I8150] tycoo:
Hey,

i used this method last summer too and setup a ext2 partition on my class 10, 32GB ext sdcard. The ext2 i still working within link2sd on CM11 (but not updated to last release yet). I created it with a size of 1,94 GB and actually linked 32 apps with a total amount of 791MB, so there are still 1,16GB left.

Remember that link2sd i only able to link the apk, dex & lib files of an app (i guess this is right), so in addition i recommend to use foldermount too (as i did) to push the obb and data files to the extsd too. For some games these files are using the most space, for example the data folder from real racing 3 is bigger than 1 GB!

I don't know why ext2 does not work for you, maybe something went wrong?

About the size recommendations, i've read them too and as far as i remember it was just because you likely will never need some more? But im not sure.

One tip: Be careful with or just do not link system or root or apps with a widget on your home screen, which has to be loaded on boot.

cheers
[Samsung Galaxy W I8150] procter:
Can you pls provide some reference on the foldermount? So link2sd+foldermount is what you are running, will the mount2sd do the same thing as the combination of link2sd and foldermount?

Also if you are pushing all the data files to the same ext partition, most likely even 2Gb is not gonna be enough if as you said a single game's data could be 1GB. Will the larger size of ext partition do any harm other than the reason "most likely not gonna be using that much space"?

Thanks.
[Samsung Galaxy W I8150] tycoo:
Huh, didn't test mount2sd or have a closer look on this app yet, so i don't know.

Link2D and Foldermount are working separately. Link2Sd can use the ext2 (or ext4...) partition you setup on your extsd, where you can link the apk, dex & lib files of an app to. Foldermount creates his own folders on the FAT32 partiton of your extsd. His size limit is the overall free space you gonna have there, beside all other files and folders, like for example you media, picture, backups you place there.

I cannot imagine why it should harm the sdcard or phone in another way, but i'm not sure about that.
[Samsung Galaxy W I8150] bangknaga:
nice post :good:

---------- Post added at 11:01 AM ---------- Previous post was at 10:56 AM ----------

Hi,

I try to create 2 partition, and all with FAT32, but only show 1 partition on windows and android.

is it true that with minitool we can just create 1 partition with FAT32 and the other should be other format like ext?
[Samsung Galaxy W I8150] LS.xD:
Windows can only handle 1 partition per flash storage. You format the first partition as Fat32 and the second partition as Ext4. Your phone will recognize both ;)
[Samsung Galaxy W I8150] Jaglicic:
Problems with ext4

I have 32gb micro sd, I can make fat32 partition with all the space on the sdcard and store files as much as wish...But when I am trying to make ext4 partition (after few days trying) I can make it only if I make 6.3gb fat32 and ext4 can be to the rest of the sdcard (or 2gb, it doesn't matter)..

Can someone tell me what is the problem.

Tested card with all software and it is 32gb class10 microSd

EDIT: used: miniPartition tool, adb and parted, 4extRecovery, always the same
[Samsung Galaxy W I8150] Papa Slang:
Help me pls

DID SOMEONE ALSO ENCOUNTER THIS KIND OF ISSUES? I GOT SANDISK MICRO SD 32GB CLASS10 AND I WANT TO PARTITION IT USING MINITOOL I FOLLOW THE GUIDE OF stpkid .. BUT THE PROBLEM/ISSUE IS WHY DID MY SD CARD HAVE ALWAYS 8MB ALLOCATED WHEN I ACTUALLY WANT TO PARTITION IT TO 1GB ? I GOT SOME SS 1 AND 2 .. CAN SOMEONE HELP ME TO FIX THIS THX ALOT ^_^
[Samsung Galaxy W I8150] RezaHsa:
When I used the "ext2", the link2sd shows the error "Mount Script". And when I used the "Fat32" for the second partition, link2sd is ok, but then the reboot is need. Then it gets into the boot loop. I've installed the boot fixed too but nothing happens. What can I do now?

My cellphone is Xperia M dual sim!
[Samsung Galaxy W I8150] leafwarbler:
Thanks, it is a good tutorial. Minitool partition w is a good tool to manage SDcard partitions.
[Samsung Galaxy W I8150] arckingpin:
hello!! i have a query...

FAT32 file system has a limitation 4gb per file.....can i use ntfs type partition instead for the media section of the sdcard??
[Samsung Galaxy W I8150] mikerpl:
Hello .I have got problem with partitioning my microsd card. I have done everything with tutorial , but it doesnt work with Link2SD. When i tried with my second microSD card it works. How can i repair this ?
[Sony Xperia S, Acro S, Ion] _Dref:
For improve your XS speed, don't forget to check :

Setting > Develop Options > Force 2D GPU rendering

...

Enjoy
[Android Q&A, Help & Troubleshooting] musarezeq:
Hi,

I am interested in gaming over my imito mx1 android tv stick, but unfortunately the rom is not installed with the required touch screen drivers! so we can't use six axis or gamekeyboard applications for games emulation :(

so I searched and think about any other temporary solutions to play but non of them had all what I want!

For example:

1) PS3 controller & Xbox is restricted to some games like gta, shadow gun, sonic episode II..

2) Droidmote also work for some with addition of some accelerometer games "although it didn't work on my xperia play but work with the mk808 remote application! I didn't know why" . But in overall, I am not comfortable to play with touch game pad, hard buttons is the best! ( Yes I know that I can use my xperia play game pad to play as an option in the droidmote but as I said this is for some games, not all)

3) Moga game pad is a good temporary solution I think because it can play some extra cool gameloft games, so I am thinking to buy one!

4) Off course, the best solution is to wait a "Hero Developer" how can introduce a new rom with implemented touch drivers!!!

But untill that time, I tried another solution that to make some configuration in the keylayout fils of the PS3 controller to emulate the keylayout of my xperia play, so by that I think that I will be able to control all xperia play optimized games on my imito mx1!! BUT OFF COURSE I DIDN'T SUCCEED BECAUSE OF MY RESTRICTED KNOWLEDGE IN THIS FIELD :D

So, I need your help and suggestions!

Thank you.
[Android Q&A, Help & Troubleshooting] zulu99:
with the last versions of DroidMote Client and DroidMote Server, when you connect your hardware controller to the device with DroidMOte Client installed, you forwards the command of the hardware controller to DroidMote Server.

In this mode you can play also with all android multi-touch games with your hardware controller.

and with your harddware controller, you can press all buttons and axis simultaneously. (many touch points at server side.)

look the DroidMote Forum to understand all about DroidMote

with the same technique, and DroidMote Server for windows, you can play also all multi-touch windows 8 games :)

bye bye and look this:

http://www.youtube.com/watch?v=BM6W3Dq_yqQ
[Android Q&A, Help & Troubleshooting] musarezeq:
Thank you for rresponse, I appreciate that and also I am appreciating your great application, but we still talking about many other games that not recognize all needed inputs from the droidmote client or in general from other gamepads like PS3 or Xbox !!

I want to know the real name of action of my xperia play buttons to use it for configuration other keylayout controller,

so for example, when I press x button in my xperia play with scan code 304 or circle button with scan code 305, this make the avater in gangstar rio jumb or chang weapons!!

becuase I put d pad center for the x button and back for circle button as a names function but with no success!!

thank you.
[Android Q&A, Help & Troubleshooting] zulu99:
this are all keyevent:

http://developer.android.com/reference/android/view/KeyEvent.html

and you must create / customize your keylayout in /system/usr/keylayout in this mode:

http://source.android.com/tech/input/key-layout-files.html

this is the same way you personalize DroidMote configurations file /system/usr/keylayout/droidmote.kl

if a game support a controller or a keyboard, you can do all that you want. with the keylayouts.

if not support keyboard or conttrollers you must use a touch profile.

this is valid for all, DroidMote, ps3 controller, xbox 360 controller and xperia play hardware controls.
[Android Q&A, Help & Troubleshooting] musarezeq:
Now, after long time of trying almost all common function keys, it seems nothing can control the gangstar rio as my experimental game! so by pressing all these keys, I can't get any movement after its installation on my imito mx1 android TV stick, although the same version is installed on my xperia play and it is fully customized on its gamepad.

So my question is, why I can fully control this game on my xperia play and can't get any movement with the same version installed on my imito mx1 tv stick?

Other question, is it possible to customize a game to work on a specific gamepad ( not a gamepad on specific game)

Thank you
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] rirawin:
wrong thread.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
Galaxy Note 10.1 Accessories

Accessories for the Samsung Galaxy Note 10.1 (cases, screen protectors, batteries, etc)
[T-Mobile, Samsung Galaxy SIII] netfortius:
As of a few days ago, no matter which app I choose from https://play.google.com/apps, although it states that is being installed on the Android SGIII, the app never gets pushed to the phone. I'v used this method for a long time, for things I had found while browsing from my laptop (of course), so it's a bummer if this won't work, anymore. Any ideas / suggestions?!?

TIA,

Stefan
[T-Mobile, Samsung Galaxy SIII] DigitalUnderground:
Weird... I pushed an app to my sgs3 and my sons from the website just a couple weeks ago.

May be a dumb question, but are you logged in to Google on your computer? Have you tried doing it from your mobile browser to see if it works that way? Are u on a custom ROM?
[T-Mobile, Samsung Galaxy SIII] netfortius:
All of the above. As I said - I used to be able to do it before, including older phones, and the SGIII. I tried from the same phone (using Dolphin, FF, built-in), also, aside from my laptop, also using different browsers. Verified the account login (i.e. the Google account being used), etc. No go :(
[T-Mobile, Samsung Galaxy SIII] Hellstyrant:
Check the drop down list of phones linked to your account, occasionally when you flash a ROM the Play Store will recognize it as a different phone. Happened to me a while back, I went to the online play store and it listed 2 S3s, I just had to select the "other" one and it worked.
[T-Mobile, Samsung Galaxy SIII] netfortius:
Good point - thank you, but unfortunately not the case this time. There was no change between ROM or version of such between "before" and "after". So frustrating... :(
[7" Kindle Fire HD Q&A, Help & Troubleshooting] firasjavid:
I put my volume 100% and unmuted it also but still there is no sound I tried playing many games but there is no sound how to make the sound come baack please help
[7" Kindle Fire HD Q&A, Help & Troubleshooting] xiro49:
do you have any audio mangers installed i was use in hide it pro audio manger an it caused that problem for me
[7" Kindle Fire HD Q&A, Help & Troubleshooting] firasjavid:
how to check them

Ow to check them?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] south956:
If anything get an app that mutes then unmutes and that should solve the problem......worked for me......
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Raymond199483:
yes do what south said I also had that problem with my unrooted kindle fire hd
[7" Kindle Fire HD Q&A, Help & Troubleshooting] evildread:
^^This^^

I used quickmute.

I muted/unmuted then did a restart. I had sound, but be sure to check your sound before starting other apps; So you can weed out which apps caused the initial sound loss.

I haven't had an issue with sound since.

Sent from my KF-HD7