Related
Hey guys can you suggest me the perfect settings for my 2GB sd?
Do I need to use Swap? (now I have 64 mb of swap)
What kind of EXT it's best? (now I have ext4)
Thank you!
Krishath said:
Hey guys can you suggest me the perfect settings for my 2GB sd?
Do I need to use Swap? (now I have 64 mb of swap)
What kind of EXT it's best? (now I have ext4)
Thank you!
Click to expand...
Click to collapse
I believe ext4 is best, as it's the newest linux filesystem. I'm currently using ext3, because most ROMs don't support ext4, but I'll probably upgrade soon.
As for swap, I also have a 64mb swap partition, but default it isn't utilized. CompCache is already enabled, but I'd also like to know how to enable it.
EDIT: Swap requires a userinit.sh I'm about to try it out...
AdrianK said:
I believe ext4 is best, as it's the newest linux filesystem. I'm currently using ext3, because most ROMs don't support ext4, but I'll probably upgrade soon.
As for swap, I also have a 64mb swap partition, but default it isn't utilized. CompCache is already enabled, but I'd also like to know how to enable it.
EDIT: Swap requires a userinit.sh I'm about to try it out...
Click to expand...
Click to collapse
Yeah but what it's the best setting for this ROM?
EXT4 + SWAP 64MB are alright?
So swap partition isn't used by default? How we "activate" it?
Krishath said:
Yeah but what it's the best setting for this ROM?
EXT4 + SWAP 64MB are alright?
So swap partition isn't used by default? How we "activate" it?
Click to expand...
Click to collapse
Isn't much difference between ext3 and ext4. Cyanogen himself uses ext4, so...
You need to make a custom userinit.sh, follow that guide I posted.
Swap size probably doesn't matter too much, as long as it's not too big. 64 will be fine, any speed increase from a different size will be minimal.
This is how I'm running 4.0.4...
- 32MB Linux Partition - enabled using Swapper.
- 528MHz set ALL the time - enabled using SetCPU(Makes the UI sooo much smoother. Didnt really notice a difference in battery life either).
Using userinit.sh I enabled CompCache with linux swap on a 64 partition and it does seem smoother. Also switched to ext4 now, don't really see a difference.
Will try it now
AdrianK said:
Using userinit.sh I enabled CompCache with linux swap on a 64 partition and it does seem smoother. Also switched to ext4 now, don't really see a difference.
Click to expand...
Click to collapse
Can you post your usernit.sh?
AdrianK said:
Using userinit.sh I enabled CompCache with linux swap on a 64 partition and it does seem smoother. Also switched to ext4 now, don't really see a difference.
Click to expand...
Click to collapse
i would suggest you stick to ext3 because it's more commonly used as of right now... also 64mb is a good sized partition, and linux swap is good, but compcache and Backing Swap is a lot better...
prince.siraj said:
i would suggest you stick to ext3 because it's more commonly used as of right now... also 64mb is a good sized partition, and linux swap is good, but compcache and Backing Swap is a lot better...
Click to expand...
Click to collapse
Can I have some "made" files to put in my SD card? I have a "normal" 2GB microsd card with 64 mb of swap... I'd be glad for this
I really dont see anything wrong with ext4, Ive had a look in a few rom release threads and most of them have support for it. I use cyanogen mod 99% of the time anyway...
Krishath said:
Can I have some "made" files to put in my SD card? I have a
"normal" 2GB microsd card with 64 mb of swap... I'd be glad for this
Click to expand...
Click to collapse
Are you talking about userinit.sh and user.conf? Just follow the link I posted earlier, took me about 10 minutes to set up.
for swap dont go over 45mb. i honestly can notice the dif. i us my g1 as a test dummy. ext2,3,4 honestly does not make a dif in my eyes. i have tried all. i use linux mint to partition my sd. which by the way is the easiest and sickest way to partition. just had to put that out there for lin users. root root lol!! but ya. over 45mb makes me feel its really trying to find the swap space. try it and give me your opinion. i have partitioned my sd from recovery mkpartfs, windows partition to linux partition editor. ya. trust me. i currently use 40mb swap. that is what really matters. use at ur comfort and day to day usage. fosho!!
I have a S2 16gb with 11.5gb usable "usb internal storage". Will Htc One have at least 28gb?
bubu_bubu said:
I have a S2 16gb with 11.5gb usable "usb internal storage". Will Htc One have at least 28gb?
Click to expand...
Click to collapse
It's about 26GB.
Jesus 6gb used?
bubu_bubu said:
Jesus 6gb used?
Click to expand...
Click to collapse
Indeed this has been confirmed. Bearing in mind if you install a custom Rom you can probs decrease this amount.
Sent from my Incredible S using Tapatalk 2
It is fine in my opinion. Most of the apps you install goes into that occupied 6 gigs anyway
I would get the 64gb version but I don't think the carriers in my country will have it
Dharkan said:
It is fine in my opinion. Most of the apps you install goes into that occupied 6 gigs anyway
Click to expand...
Click to collapse
No, storage is unified: apps go in the 26. (I think).
Oh if that's the case it really don't make much sense. I mean what would they use 6 gigs for, I don't believe smartphones are getting that big updates.
26.1gb is free to be precise lol and 1.5gb RAM
Dharkan said:
It is fine in my opinion. Most of the apps you install goes into that occupied 6 gigs anyway
Click to expand...
Click to collapse
source of your information?
If it has 2 partitions and one acts like the onboard (6gigs), and the other one (26) acts like a sd or whatever it would be ok ..
otherwise it's just like with the surface tablets .. well not quite as bad, but still a bit silly^^
If im correct on my HTC One X which was 32GB, i only had 22GB free after jelly bean update and 6GB or so for apps..
so the apps and sd storage is split
Shasarak said:
No, storage is unified: apps go in the 26. (I think).
Click to expand...
Click to collapse
Wrong
Got this from the stock recovery posted here on dev section when I extracted it.
Code:
# mount point fstype device [device2]
/boot emmc boot
/cache ext4 cache
/data ext4 userdata
/misc emmc misc
/recovery emmc recovery
/sdcard vfat /dev/block/sda1 /dev/block/sda
/system ext4 system
/devlog ext4 devlog
/reserve vfat reserve
Shows that /data(userdata) partition where apps get's installed has a seperation partition that needs to be mounted. So nope it's not unified.
and yeah for the developers who plan on extracting kernels/recovery of HTC One here are the info you need.
Code:
BOARD_KERNEL_CMDLINE is "console=ttyHSL0,115200,n8 androidboot.hardware=m7 user_debug=31"
BOARD_KERNEL_BASE is "0x80600000"
BOARD_PAGE_SIZE is "2048"
26 gigs is more than enough for me, I take up 5 to 6 on music alone and the rest on pictures and videos taken on phone, not much is taken with apps downloaded at the most 1gb so I'm quite comfortable with the amount of space on the phone although it would be awesome to have 28 or 29gb free
P.s. I do listen to all that music that takes up 5 to 6gb of space on my current phone in case some of you are wondering whether I listen to most of it wasting space on all that music
Sent from my HTC One S
I think it would be possible to repartition the /system partition to reduce it's size and merge it with the sdcard partition. Depends on the partition table. But if it's not possible I think we could also split the system partition and make a sd-ext there instead. But of course that's very dangerous and is not recommended on average users.
Riyal said:
Wrong
Got this from the stock recovery posted here on dev section when I extracted it.
Code:
# mount point fstype device [device2]
/boot emmc boot
/cache ext4 cache
/data ext4 userdata
/misc emmc misc
/recovery emmc recovery
/sdcard vfat /dev/block/sda1 /dev/block/sda
/system ext4 system
/devlog ext4 devlog
/reserve vfat reserve
Shows that /data(userdata) partition where apps get's installed has a seperation partition that needs to be mounted. So nope it's not unified.
and yeah for the developers who plan on extracting kernels/recovery of HTC One here are the info you need.
Code:
BOARD_KERNEL_CMDLINE is "console=ttyHSL0,115200,n8 androidboot.hardware=m7 user_debug=31"
BOARD_KERNEL_BASE is "0x80600000"
BOARD_PAGE_SIZE is "2048"
Click to expand...
Click to collapse
I stand corrected.
Though, also a little surprised. Weren't HTC's flagship phones last year unified? That seems a retrograde step.
Shasarak said:
No, storage is unified: apps go in the 26. (I think).
Click to expand...
Click to collapse
In HOX the memory WAS NOT unified.
Anybody knows how many storage is free for apps?
P.D. Sorry, I reply to the post before full read the thread. Cancelling my reservation.
JmJ17 said:
In HOX the memory WAS NOT unified.
Anybody knows how many storage is free for apps?
P.D. Sorry, I reply to the post before full read the thread. Cancelling my reservation.
Click to expand...
Click to collapse
Wild guess is 2GB.
2GB data partition
12mb devlog
17mb kernel
17mb recovery
120mb cache
rest is system partition
On my one x i had around 11 usable, and i still have 2 gb free. so if i get the one , ill have around 17 gb of free space holy moly .. what can i do with so much free space, can i rent it out?
jags_the1 said:
On my one x i had around 11 usable, and i still have 2 gb free. so if i get the one , ill have around 17 gb of free space holy moly .. what can i do with so much free space, can i rent it out?
Click to expand...
Click to collapse
give it to me I need more extra space.
That's awful. Why did they go back from the awesome unified space in the HOX+. Thats was so great. If you had free space you could install apps. If the One really has an apps partition again, I'm going to have to move apps to sd-card again the whole time
Why did they make a step backwards?
I would like to repurpose my N1 as a little WiFi capable storage device. I have been combing the internet for solutions and tried a few things. I can't seem to get a combination of android OS partition scheme and file system to accomplish this. Can somebody point me in the right direction. I am not picky about any of the details but it would be nice to be readable from windows. I am currently messing around with ext4 and using ext2fsd but I am not really getting anywhere.
Thanks if u can help me out
dasbooter said:
I would like to repurpose my N1 as a little WiFi capable storage device. I have been combing the internet for solutions and tried a few things. I can't seem to get a combination of android OS partition scheme and file system to accomplish this. Can somebody point me in the right direction. I am not picky about any of the details but it would be nice to be readable from windows. I am currently messing around with ext4 and using ext2fsd but I am not really getting anywhere.
Thanks if u can help me out
Click to expand...
Click to collapse
You can flash a custom ROM (I recommend Evervolv KitKat) and use a2sd. Then you'll have up to 32 G on the external sdcard (which becomes a virtual "internal" sdcard.
Sent from my Nexus One
PhilipTD said:
You can flash a custom ROM (I recommend Evervolv KitKat) and use a2sd. Then you'll have up to 32 G on the external sdcard (which becomes a virtual "internal" sdcard.
Sent from my Nexus One
Click to expand...
Click to collapse
Hey thanks I already had a custom rom going with jelly bean and have a ext4 partition with a2sd install but it to make it visible even to linux seems to be a challenge and I dont know why. I also seem to get errors when downloading files bigger than 4gb which makes no sense. I dunno maybe i should get an otg card reader and put the old 4gb back in the phone and put the 32 gb in the card reader and use paragon software. Any body think this might work or have another suggestion.
dasbooter said:
Hey thanks I already had a custom rom going with jelly bean and have a ext4 partition with a2sd install but it to make it visible even to linux seems to be a challenge and I dont know why. I also seem to get errors when downloading files bigger than 4gb which makes no sense. I dunno maybe i should get an otg card reader and put the old 4gb back in the phone and put the 32 gb in the card reader and use paragon software. Any body think this might work or have another suggestion.
Click to expand...
Click to collapse
How about partitions sizes?
Sent from my Nexus 5
PhilipTD said:
How about partitions sizes?
Sent from my Nexus 5
Click to expand...
Click to collapse
Thnks again, The fat 32 partition is aprox 6gb and the ext4 partition is aprox 22gb so ya the ext4 is much bigger than the fat32 but that is what would make it practically useful. Right now I seem to be getting i/o errors around the 4 gb size area of a torrent? for a vmware image of a linux distro.
Does anyone else have madly slow "... Updating partition" in TWRP. my boot time is really quick, I boot in to TWRP, screen in seconds. But after it decrypts which is handed quickly I have to wait aggges for it to update partition.
Again same with flashing stuff. Flashing is quick until it comes into updating partition takes so so long. Anyone else have this problem??
128gb oneplus3t (is this normal)
I have the same issue. Not sure if it is a bug or not
I guess it's because of the f2fs filesystem. I switched to ext4 and I never had any issues.
That's the power of F2FS, or the lack of rather ?
G4B33 said:
I guess it's because of the f2fs filesystem. I switched to ext4 and I never had any issues.
Click to expand...
Click to collapse
What did you switch to ext4? Data partition? System.
Archtects said:
What did you switch to ext4? Data partition? System.
Click to expand...
Click to collapse
Both of them.
G4B33 said:
I guess it's because of the f2fs filesystem. I switched to ext4 and I never had any issues.
Click to expand...
Click to collapse
Do you lose data by doing this or are there any side effects of changing it to ext4? I'll be getting my OP3t today so just wandering around.
DawoodSahi said:
Do you lose data by doing this or are there any side effects of changing it to ext4? I'll be getting my OP3t today so just wandering around.
Click to expand...
Click to collapse
You will lose everything in the data partition, including internal storage. The advantage is that the reading speed will be slightly faster, and the boot speed won't slow down after filling the storage up.
DawoodSahi said:
Do you lose data by doing this or are there any side effects of changing it to ext4? I'll be getting my OP3t today so just wandering around.
Click to expand...
Click to collapse
Opening apps will be slower, although probably only noticeable in some games: https://www.xda-developers.com/clearing-up-misconceptions-regarding-op3-and-op3t-storage-speed-differences-and-f2fs/
Unless you are a flashaholic and booting to TWRP a lot, I personally don't see much benefit in switching to a file system which may impact performance during normal everyday usage (just for faster TWRP boot). But folks will probably say that EXT4 is still plenty fast (the OP3 had it, after all). So it's just a personal preference and decision.
G4B33 said:
You will lose everything in the data partition, including internal storage. The advantage is that the reading speed will be slightly faster, and the boot speed won't slow down after filling the storage up.
Click to expand...
Click to collapse
goatta wipe phone anyway so ill end up doing this
Hey guys, I have an old xperia sp(4+ years old), But recently it got laggy. I tested some roms such as `android 7.1 and 9 and original 4.3`. In android 4.3 using phone doctor plus i got 3Mb/s for write speed and 12Mb/s for read but in android 9 i got 3Mb/s for write and 2Mb/s for read Can anyone help me how to fix this? Is there any way to use SD-card as internal storage? Thanks in advance.
That's so slow, strangely slow really. Could be that the flash cell is finally succumbing to its age.
You can try to use the Adoptable Storage feature. It is unknown of how fast the sdcard reader of XSP can reach, but of course please use a high speed card, preferably with label A1 (or if old card, U2). This is to ensure an acceptable experience.
If doesn't remedy, you could try something a little bit advanced, formatting sdcard as ext4 and use it exclusively for /data partition. It is however unknown if this could be done easily, or if it possible for recent Android versions (this trick was used in the old days of JB era)
TechnoSparks said:
That's so slow, strangely slow really. Could be that the flash cell is finally succumbing to its age.
You can try to use the Adoptable Storage feature. It is unknown of how fast the sdcard reader of XSP can reach, but of course please use a high speed card, preferably with label A1 (or if old card, U2). This is to ensure an acceptable experience.
If doesn't remedy, you could try something a little bit advanced, formatting sdcard as ext4 and use it exclusively for /data partition. It is however unknown if this could be done easily, or if it possible for recent Android versions (this trick was used in the old days of JB era)
Click to expand...
Click to collapse
Thanks, I can format sdcard as ext4 but where can i mount sdcard to /data folder? or how to mount internal storage as read-only after mounting sdcard as data folder?
alirezaafzalaghaei said:
Thanks, I can format sdcard as ext4 but where can i mount sdcard to /data folder? or how to mount internal storage as read-only after mounting sdcard as data folder?
Click to expand...
Click to collapse
Okay i looked up a bit but it seems this is not possible due to a myriad of changes and features. The only possible way to make this work is by the means of kernel modification. But I'm sure me if not both of us, aren't even a "newbie" in that aspect.
TechnoSparks said:
Okay i looked up a bit but it seems this is not possible due to a myriad of changes and features. The only possible way to make this work is by the means of kernel modification. But I'm sure me if not both of us, aren't even a "newbie" in that aspect.
Click to expand...
Click to collapse
You are right, I think so, i'll wait for someone professional who can help me. Thanks:highfive: