Insainly Slow Partition Update TWRP - OnePlus 3T Questions & Answers

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

Related

something wrong with sd card? and other questions

um, my read/write speeds are TERRIBLE with an adata class 6 sd card, even with the sd card speed boost....
w is about 2.0 or lower(sometimes lucky to 5 but EXTREMELY rare)
read is about 15 or lower(mbs)
and does data2ext2 effect the speed of sdcard?
does data2ext4 have better read speeds?
thanks in advance(using 3/26 gingerbread rom from aosp with stock kernal, and data2ext2)
Ext2 is faster. Make a nand of your setup then I think you should just backup all of your data and format the sd threw your pc/laptop. Then partition yout SD in recovery to 1024 ext2 0swap and rest in fat/system. Also I'd recommend reflashing your recovery. After that
Try the ext2 data2ext. If you need help just pm me. But you should be good after that.
Yea its Me Again With The
Modified Hero
Data2ext is going to slow down your normal sdcard read/write speeds, whether it's ext2 or ext4. My phone used to take forever to get past the "mounting sd card" phase of startup until I stopped using data2ext.
While ext4 is slower than ext2, that's for a good reason -- ext4 is journaled, so you see much less of a chance of data loss when using it.
@jasonM-Well must have been your phone or your sd/card. If you have a class 4,6 or 10 16gb sd/card I can't see a gig partition is going to effect it to much. Because mine flew pass the setup. The longest part of it is the typing of the commands and the reboot. It mounts asap and builds the super blocks asap. Its made my phone ridiculously fast.
@op and Jm
When I downloaded the msnbc app from the market " not recommended " it froze my phone so I had to do a battery pull which is a no do with the mod. All I did was reflash the recovery, restore a nand, flash the data2ext zip and all was back to normal. Even when I wipe cache and dev cache again I just reflash the data2ext zip and I'm good. All apps restore. I've never had any market,gps,or download issues at all. Even after I flashed the sd/card tweak it ran along with it fine. I run your kernel "jm" the darkhorse theme the miui camera & weather app, aosp's 3/26, sprint nav, I can over clock to 806 fine and on and on. My point is the data2ext hasn't effected my user experience in a negative way at all its only improved it. As far as data loss as long as you keep a backup of your sd/card you should be fine.
I say read the thread, post some questions to get some feedback and to gain an understanding of what it does, the negative and positive risks and benefits. Then try it out. If you need any help with it and I can, I will. Just pm me. Not you "jm" I know you don't need help lol. That's for the op.
Yea its Me Again With The
Modified Hero
laie1472 said:
@jasonM-Well must have been your phone. Because when mine flew pass the setup. The longest part of it is the typing of the commands and the reboot. It mounts asap and builds the super blocks asap. Its made my phone ridiculously fast.
Click to expand...
Click to collapse
I'm referring to the process of booting between the phone, between the time that the Launcher first appears and the time that "Preparing SD card..." disappears from the status bar.
jasonmaloney said:
I'm referring to the process of booting between the phone, between the time that the Launcher first appears and the time that "Preparing SD card..." disappears from the status bar.
Click to expand...
Click to collapse
Yea me to man. Lol you know when the screen appears and shows the icon on the status bar.
Yea its Me Again With The
Modified Hero
OMG, my write speeds are better now BUT, read speed is only 14 mbs....(WITH the tweak, my mistake, the reads used to be about 21mbs average)

[MOD] Ext4 4 ALL! Gingerbread AOSP + GingerSense Update: 10/27 Normal dalvik fixed

Ext4 4 ALL!​
Click to expand...
Click to collapse
*** 11/03/11 - CM Nightly flashers please see synisterwolf's post here for how to keep up with the nightlies when using this mod.
First of all I must thank tiny4579 for all of the hours he spent with me on this project and for his kernel that makes it possible for this to work on GingerSense roms. This has been a great team effort.
If you install any of these mods, on a Sense rom, Tiny's 10/15 kernel with wireless "n" support will be installed. On AOSP your currently installed kernel will be used.
There are 3 versions of this mod (choose ONE):
The normal_data mod just converts your /data and /cache partitions to the ext4 filesystem type for better all around real world performance and makes the necessary changes for this to work with your currently installed rom.
The no_data_limit_normal_dalvik mod (no 150MB data limit) does the above conversion but also removes the linking of /data/data to that small 150MB partition that causes the low space issues. It instead uses a subfolder of your 750MB /data partition to hold these files. It copies the data from your datadata partition, to this new subfolder and keeps the permissions in tact so that your phone doesn't know the difference. The old datadata partition is unused after this.
The no_data_limit_dalvik_moved mod does exactly what mod 2 does but then uses the unused datadata partition for your /data/dalvik-cache folder.
*If you use the no_data_limit_dalvik_moved mod and need to wipe your dalvik-cache, flash the wipe_dalvik zip file.​
Prerequisites:
The latest ClockworkMod (Tested on v5.0.2.0)
For AOSP your current kernel needs to support Ext4 (Tested on stock CM7.1 with stock kernel)
Sense users canNOT change kernels after this because the stock kernel does NOT have ext4 support.
Keep in mind this is the first release. It has been tested on CM7.1, In-Sensitive Minimalist and Stock+. It should work on most Gingerbread roms for the Incredible ONLY.
Yes, this should work on Sense 1.0/2.0/2.1/3.0/3.5! Always backup first!
Click to expand...
Click to collapse
**Disclaimer: This mod has a ZERO percent chance of bricking your phone but You, and only YOU, are responsible for what you do to your phone.
Usage:
If you flashed a version lower than v1.0 of the no_data_limit script, READ THIS!
Reboot into recovery and make a good nandroid backup
Either flash the rom you want to use, Restore a nandroid or skip this step to convert for your currently installed rom
Flash either the normal_data convert script or the no_data_limit convert script, depending on what you want
Reboot
Next click the "Thanks" button for Tiny (post #2) and For Me! Then Enjoy!
If you want to confirm that the mod worked, run this from adb shell or teminal emulator:
Code:
mount | grep ext4
If it worked, 2 lines will be displayed. If it didn't, nothing will be displayed.
To Move Dalvik Back to Normal Location:
Flash this. (Thanks cmlusco!)
To Uninstall
Just do a full wipe in CWM
Flash a fresh rom or restore a pre Ext4 backup
If you upgrade your rom after converting (Like a flashover update)
Re-run the mod as the last thing while in recovery after flashing the update.
If you're having issues going to or from the mod, please make sure you're using cwm 5.0.2.0. It would help with wipe data issues as one user reported.
Sorry if I took any more reserves. But just to be clear, the normal data mod is faster than no data limit mod? I've never had the data full message, so I'll just use the first one. Just curious.
BrettApple said:
Sorry if I took any more reserves. But just to be clear, the normal data mod is faster than no data limit mod? I've never had the data full message, so I'll just use the first one. Just curious.
Click to expand...
Click to collapse
You're exactly right Brett. The normal leaves /data/data on it's own partition and should be faster. It should be really noticeable on the newer sense roms like Newt's HD rom.
jermaine151 said:
You're exactly right Brett. The normal leaves /data/data on it's own partition and should be faster. It should be really noticeable on the newer sense roms like Newt's HD rom.
Click to expand...
Click to collapse
Sweet, thanks! I typically run CM7, and it's already crazy fast, I can't imagine it being any faster. But I have run many of the newer Sense ROMs, and there cool, but were always a little to slow for me. Guess I'll have to give them a run again
/Nice updater script, I LOL'd.
So how does this affect wipes in the mounts as far as switching ROMs? Will this work, delete, need reflashed with each new ROM?
Sent from my ADR6300
countryfolk07 said:
So how does this affect wipes in the mounts as far as switching ROMs? Will this work, delete, need reflashed with each new ROM?
Sent from my ADR6300
Click to expand...
Click to collapse
CWM formats as ext3, so it would need to be reflashed after switching roms.
countryfolk07 said:
So how does this affect wipes in the mounts as far as switching ROMs? Will this work, delete, need reflashed with each new ROM?
Sent from my ADR6300
Click to expand...
Click to collapse
You will need to reflash each time you do a full wipe or even wipe data but after flashing the rom.
So I'm curious exactly how this space is distributed. If the Incredible's "internal storage" is 750 MB, does that include everything in the /data folder, or specifically the apps and not their data?
Basically, if you have 200 MB of internal storage free, and 100 MB of stuff in /data/data, then you flash this mod, will it show 200 or 100 MB of internal storage free? Hopefully that's not too dumb of a question.
godsmacked4653 said:
So I'm curious exactly how this space is distributed. If the Incredible's "internal storage" is 750 MB, does that include everything in the /data folder, or specifically the apps and not their data?
Basically, if you have 200 MB of internal storage free, and 100 MB of stuff in /data/data, then you flash this mod, will it show 200 or 100 MB of internal storage free? Hopefully that's not too dumb of a question.
Click to expand...
Click to collapse
Not dumb at all. You would have 100MB remaining because the datadata would become part of the /data partition.
jermaine151 said:
Not dumb at all. You would have 100MB remaining because the datadata would become part of the /data partition.
Click to expand...
Click to collapse
Cool. Just wanted to make sure I don't overflow my storage with my warehouse of apps.
jermaine151 said:
Not dumb at all. You would have 100MB remaining because the datadata would become part of the /data partition.
Click to expand...
Click to collapse
I'm assuming this is if you flash the "no data limit" mod. So what happens to the 150mb that was reserved for data/data? Would we basically lose that 150mb?
CUBENSIS said:
I'm assuming this is if you flash the "no data limit" mod. So what happens to the 150mb that was reserved for data/data? Would we basically lose that 150mb?
Click to expand...
Click to collapse
You're correct; that's the no data limit mod. Yes, that 150MB partition would be just sitting around unmounted. That was the best we could come up with right now.
Tiny (or anyone), do you know if the latest Incredikernel for AOSP has Ext4 support? Really want to try this with MIUI and Incredikernel
TheWhiteBandito said:
Tiny (or anyone), do you know if the latest Incredikernel for AOSP has Ext4 support? Really want to try this with MIUI and Incredikernel
Click to expand...
Click to collapse
Almost positive it does
-My life is a shooting range, people never change-
watt9493 said:
Almost positive it does
-My life is a shooting range, people never change-
Click to expand...
Click to collapse
Incredikernel does, Tiamat does, I found out this morning that stock AOSP CM has Ext4 support.
Running this now. Certain things are clearly faster , eg loading of web pages (especially complicated pages or pages w/ Flash), loading of map tiles in Maps, program loading, and the very end of OS startup (after boot anim is done).
edit: this is on newt's inc hd sense 3.5 v1.05
Sent from my Droid Incredible HD using XDA App
so i get ext3 in the .txt document with 8/15 incredikernel. does anyone know if it supports ext4?
watt9493 said:
so i get ext3 in the .txt document with 8/15 incredikernel. does anyone know if it supports ext4?
Click to expand...
Click to collapse
I just said it does.
Weird. I flashed it but it put me in a Bootloader loop. Going to restore my backup (good thing I made one!) now.

TWRP taking too long to Open

I am facing a issue with TWRP.
TWRP is taking too long to boot into TWRP it keeps showing TWRP boot logo for 1minute before opening.
I dont know whether you all are facing same issue or not.
If not please tell how to fix this problem.
Same here, but for me is above 2 minutes. I wonder what's the cause as it works fine after it (finally) starts.
Push the button
innocentwoolf said:
If not please tell how to fix this problem.
Click to expand...
Click to collapse
When it tooks too long try to push some button: volume or on/off. Moreover, if your device is connected to PC, unplug the cable. Hope it helps.
TWRP is taking too long to boot
innocentwoolf said:
I am facing a issue with TWRP.
TWRP is taking too long to boot into TWRP it keeps showing TWRP boot logo for 1minute before opening.
I dont know whether you all are facing same issue or not.
If not please tell how to fix this problem.
Click to expand...
Click to collapse
I have the same issue on my OP3T.
You guys are probably running f2fs and encrypted. Running ext4 decrypted is the solution.
I'm running f2fs non encrypted and boots fast enough.
LMcR92 said:
I'm running f2fs non encrypted and boots fast enough.
Click to expand...
Click to collapse
Encryption is the main slowdown, then it's f2fs
Seeing as twrp needs to decrypt the storage it needs the time to do so, it's up to the user if it minds that or not. You can decrypt it.. As far as I know flashing stock does encrypt it again though -_-. Or is there a way around that?
so by formating /data, the phone is decrypted. right?
will i lose my internal storage data? like music, downloads, pics?
/data is usually just your personal apps... i thought?
Notor1ouS- said:
so by formating /data, the phone is decrypted. right?
will i lose my internal storage data? like music, downloads, pics?
/data is usually just your personal apps... i thought?
Click to expand...
Click to collapse
Yes, Your internal will be formatted!
what is the solution for this. i have zero file in my phone it takes more than 5min to open twrp. how to convert ext4. i dont know while i am in f2fs and ext4 or encripted or decripted. HOW TO CHECK THIS THINGS?????
vishnu74 said:
what is the solution for this. i have zero file in my phone it takes more than 5min to open twrp. how to convert ext4. i dont know while i am in f2fs and ext4 or encripted or decripted. HOW TO CHECK THIS THINGS?????
Click to expand...
Click to collapse
This phone is F2FS encrypted by default. What you are seeing is normal. I haven't timed it or anything, but yes it takes me a few minutes to boot TWRP. F2FS makes for slightly faster opening of apps (and significantly faster load times for games apparently), and thus effect everyday performance.
Reading this thread, decrypting will have a significant change on TWRP boot time. But at the cost of losing the security of having the phone encrypted.
Unless you are booting into TWRP really often (flashing ROMs or other mods frequently, etc.) it may make sense to leave it alone. Since you will be impacting every day performance and/or security for something (TWRP) that is only used occasionally. But again, it obviously depends on how you use the phone. Personally, for the times I use TWRP, I just boot to recovery and do something else for a couple minutes, then come back and do my ROM flashing.
I'm on ext4 and decrypted and the OnePlus 3t definitely needs more time to boot into twrp than all other phones I had in the past. It's showing about 30sec the twrp loading screen. Never had this problem with other phones.
vishnu74 said:
what is the solution for this. i have zero file in my phone it takes more than 5min to open twrp. how to convert ext4. i dont know while i am in f2fs and ext4 or encripted or decripted. HOW TO CHECK THIS THINGS?????
Click to expand...
Click to collapse
I was on f2fs by default..I faced the same problem ..I changed the partition to ext4..there is no significant change in performance plus the phone boots up faster now and TWRP loads faster than ever..

Improvements for slow Bionic and LOS?

I have the Bionic, and enjoy tinkering on it.
It's rooted, has SafeStrap 3.75 and TWRP 2.7.1.0, and I've tried LineageOS 14.1 on it. I believe I have looked everything over and made sure to get the image on there right. Before installing LOS, I did a full wipe, then set ROM slot (1) I set Partition to 1000MB, Cache to 210MB, and the rest to Data (~8gb), and installed LOS 14.1 + gapps 7.1 (pico).
It's not a daily driver so reimaging is easy. It runs quite slow for me though, and I read others saying it runs smoothly for them. I'm not sure what else to check. Are there any tips anyone has and ideas I may have overlooked to help it run smoothly? Does LOS 13 run more smooth?
Thanks!
nthnu said:
I have the Bionic, and enjoy tinkering on it.
It's rooted, has SafeStrap 3.75 and TWRP 2.7.1.0, and I've tried LineageOS 14.1 on it. I believe I have looked everything over and made sure to get the image on there right. Before installing LOS, I did a full wipe, then set ROM slot (1) I set Partition to 1000MB, Cache to 210MB, and the rest to Data (~8gb), and installed LOS 14.1 + gapps 7.1 (pico).
It's not a daily driver so reimaging is easy. It runs quite slow for me though, and I read others saying it runs smoothly for them. I'm not sure what else to check. Are there any tips anyone has and ideas I may have overlooked to help it run smoothly? Does LOS 13 run more smooth?
Click to expand...
Click to collapse
The ol' Bionic is a great tinker toy, isn't it?
For one, going into SafeStrap and manually formatting the userdata partition to ext4 seems to help a little, though I noticed more performance gain when I threw in a spare 16GB SD card and formatted it as Adoptable Storage. Furthermore, I use HEBF's "Low RAM Device Flag" feature to give it a little extra bump. All of that together, it still exhibits some visual lag, but it's actually pretty tolerable, and does run pretty smoothly for me for an old fart of a phone.
Hope this helps!
J-Lindo said:
The ol' Bionic is a great tinker toy, isn't it?
For one, going into SafeStrap and manually formatting the userdata partition to ext4 seems to help a little, though I noticed more performance gain when I threw in a spare 16GB SD card and formatted it as Adoptable Storage. Furthermore, I use HEBF's "Low RAM Device Flag" feature to give it a little extra bump. All of that together, it still exhibits some visual lag, but it's actually pretty tolerable, and does run pretty smoothly for me for an old fart of a phone.
Hope this helps!
Click to expand...
Click to collapse
Awesome, thanks! I'll try adding a card, and give HEBF a shot, and see what happens.
J-Lindo said:
The ol' Bionic is a great tinker toy, isn't it?
For one, going into SafeStrap and manually formatting the userdata partition to ext4 seems to help a little, though I noticed more performance gain when I threw in a spare 16GB SD card and formatted it as Adoptable Storage. Furthermore, I use HEBF's "Low RAM Device Flag" feature to give it a little extra bump. All of that together, it still exhibits some visual lag, but it's actually pretty tolerable, and does run pretty smoothly for me for an old fart of a phone.
Hope this helps!
Click to expand...
Click to collapse
How did you root on this device if you can't modify boot.img?
ZVNexus said:
How did you root on this device if you can't modify boot.img?
Click to expand...
Click to collapse
This post https://forum.xda-developers.com/dr...4-1-nougat-t3632824/post72932748#post72932748 has a link to an alternate SU addon.

slow internal storage speed

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:

Categories

Resources