[solved] System partition using 10gb? - Sony Xperia XZ Questions & Answers

Hey guys,
I just unlocked my bootloader (and backed up my TA of course) to remove all of the bloatware preinstalled as I won't accept having just about 16gb to use freely on a 32gb phone. So I deleted multiple apps (Facebook, Amazon etc.) with a system app deleter app which requires root but the storage section in settings still says the system itself takes up about 10gb. I know I'll never be able to use this 32gb but the system taking up so much space seems just odd. I'd say 4-5gb max are acceptable. Am I wrong and have to live with a third being used or is there anything else I can do to free up space?
Thanks in advance
PS: I already tried a factory reset to hopefully free some more space

Way back when senior developer Firerat created what was known as MTD partition.
Which allowed you to repartition the internal Nand so you could in turn reallocate more space to data partition by reducing the system partiton.
However am unsure if such a development has continued to this date. I would have thought not, but worth some research perhaps. Start with MTD partition research and from that I guess you will come to a conclusion if this form of partitioning is still applicable in some form or another

Nice point to start but sounds like it won't work with lb and that's kinda what I want to achieve. I wanted to debloat the stock rom by unlocking the bootloader, flashing the prerooted version of stock, deleting the unwanted apps to free some space and then removing root and restore my ta keys but I can't get it to work :/ I also tried reflashing everything except the system partition using flashtool but it won't boot. Is this even achievable or do I have to live with the bloatware if I want to remain with lb?

Magic-Fabi said:
Nice point to start but sounds like it won't work with lb and that's kinda what I want to achieve. I wanted to debloat the stock rom by unlocking the bootloader, flashing the prerooted version of stock, deleting the unwanted apps to free some space and then removing root and restore my ta keys but I can't get it to work :/ I also tried reflashing everything except the system partition using flashtool but it won't boot. Is this even achievable or do I have to live with the bloatware if I want to remain with lb?
Click to expand...
Click to collapse
Due to se-linux and dm-verity you can't have a LB and root / modified system on the XZ. Restoring your TA keys will relock your bootloader automatically and the device will fail to boot unless the system is completely stock.
Best course of action IMHO is to unlock your bl, flash a kernel that has drm restore and keep your device that way. You can then root, debloat, try to mess with partition sizes, whatever you want

ptmaniac said:
the device will fail to boot
Click to expand...
Click to collapse
Already found that out the hard way. Multiple times :crying: guess I'll just live with it

Related

[SOLVED] Completely format system data cache partitions[making all zeroes]

I know the obvious ans would be to use 4ext superwipe.
What I want is like re-writing those partitions with all memory locations set to zeroes. The 4ext full wipe only works like quick format in windows desktop.
Any ideas how to do it?
____________________
Solved. See post 17 for details.
pushpann said:
I know the obvious ans would be to use 4ext superwipe.
What I want is like re-writing those partitions with all memory locations set to zeroes. The 4ext full wipe only works like quick format in windows desktop.
Any ideas how to do it?
Click to expand...
Click to collapse
Had to search a bit, but found an article that explains how to do this. It links to 3 apps (havn't tested myself, just remember there's no going back), from the description the first one only works on SD card, the second one might (it does not mention which partitions it formats), and the last one seems to be removed.
I did not read the whole article, but I suggest you do that before doing anything.
Good luck.
pushpann said:
I know the obvious ans would be to use 4ext superwipe.
What I want is like re-writing those partitions with all memory locations set to zeroes. The 4ext full wipe only works like quick format in windows desktop.
Any ideas how to do it?
Click to expand...
Click to collapse
Hi,
A RUU will reset everything back to stock, and fix any partition issues.
Is that what you are after?
malybru said:
Hi,
A RUU will reset everything back to stock, and fix any partition issues.
Is that what you are after?
Click to expand...
Click to collapse
As he said, he wants it to be completely formatted, meaning no data can be recovered, which is like a hard full wipe - no way to restore.
RUU does format the data partition, but it only removes records of files, and the data itself is still available and possible to read (until new files will be written over it).
No! I dont want to get involved with RUU stuff.. I just want to completely wipe my phone.. Like complete formatting of the USB drives. All system and data partitions set to zeroes.
In simple words, if you do quick formating on pendrives, you can restore (some or all data before format, depends on what you've put on the drive after format ) using some Data Recovery tools.
What i believe is that recovery just wipes the memory addresses, without putting zeroes on all the memory locations. have been googling for this for almost a week, haven't got any clue yet!
pushpann said:
I know the obvious ans would be to use 4ext superwipe.
What I want is like re-writing those partitions with all memory locations set to zeroes. The 4ext full wipe only works like quick format in windows desktop.
Any ideas how to do it?
Click to expand...
Click to collapse
I would do it this way (this is something I came up with, and if it screws up anything, you are responsible) :
Write a script that reformat your nand rom and then dumps (creates) a huge file containing zeroes. Then reformat using 4ext and repartition.
I am curious, why exactly do you want to do this? The lack of results from Google would suggest that this is not something people would normally do.
JAM THAT THANKS BUTTON.
Happy to help.
I assume you're not going to use the phone after?
If you aren't going to use the phone after, one word. Sledgehammer.
If you are keeping the phone; create a file on the partition filled with rubbish (linux has a command for this). Make sure it fills the entire partition and then run mkfs.ext4 /dev/block/partition. Repeat a dozen times or create a script to do it for you.
It's easier than erasing the whole NAND disk and partitioning it. Mainly because you'll wipe the recovery partition and create an expensive paperweight. Which brings me back to sledgehammer.
Sent from my HTC
pushpann said:
No! I dont want to get involved with RUU stuff.. I just want to completely wipe my phone.. Like complete formatting of the USB drives. All system and data partitions set to zeroes.
In simple words, if you do quick formating on pendrives, you can restore (some or all data before format, depends on what you've put on the drive after format ) using some Data Recovery tools.
What i believe is that recovery just wipes the memory addresses, without putting zeroes on all the memory locations. have been googling for this for almost a week, haven't got any clue yet!
Click to expand...
Click to collapse
On my first commented I linked to an article which gives two ways to wipe your phone (set to zeroes and all). Here are the two apps:
https://play.google.com/store/apps/details?id=com.kovit.p.forevergone
https://play.google.com/store/apps/details?id=ch.ethz.infsyssec.sddroid
Try those to see if they format the Data partition.
Far_SighT said:
I would do it this way (this is something I came up with, and if it screws up anything, you are responsible) :
Write a script that reformat your nand rom and then dumps (creates) a huge file containing zeroes. Then reformat using 4ext and repartition.
I am curious, why exactly do you want to do this? The lack of results from Google would suggest that this is not something people would normally do.
JAM THAT THANKS BUTTON.
Happy to help.
Click to expand...
Click to collapse
Hmm.. My phone has become very laggy.. No matter what ROM flash, what firmware I flash.
DennisBold said:
I assume you're not going to use the phone after?
If you aren't going to use the phone after, one word. Sledgehammer.
If you are keeping the phone; create a file on the partition filled with rubbish (linux has a command for this). Make sure it fills the entire partition and then run mkfs.ext4 /dev/block/partition. Repeat a dozen times or create a script to do it for you.
It's easier than erasing the whole NAND disk and partitioning it. Mainly because you'll wipe the recovery partition and create an expensive paperweight. Which brings me back to sledgehammer.
Sent from my HTC
Click to expand...
Click to collapse
By hearing what you say, i kinda feel little scared to do these steps. Anyway thanks for the suggestion..
astar26 said:
On my first commented I linked to an article which gives two ways to wipe your phone (set to zeroes and all). Here are the two apps:
https://play.google.com/store/apps/details?id=com.kovit.p.forevergone
https://play.google.com/store/apps/details?id=ch.ethz.infsyssec.sddroid
Try those to see if they format the Data partition.
Click to expand...
Click to collapse
Those apps dont work.. By internal data they mean internal sdcard not system or data partition.
BTW just saw this app called lagfix. It says it will discard the unused blocks, but doesnot work on my phone.. Has anyone tried it? For me it's saying trim on system,data and cache not supported! DAMN
DennisBold said:
I assume you're not going to use the phone after?
If you aren't going to use the phone after, one word. Sledgehammer.
If you are keeping the phone; create a file on the partition filled with rubbish (linux has a command for this). Make sure it fills the entire partition and then run mkfs.ext4 /dev/block/partition. Repeat a dozen times or create a script to do it for you.
It's easier than erasing the whole NAND disk and partitioning it. Mainly because you'll wipe the recovery partition and create an expensive paperweight. Which brings me back to sledgehammer.
Sent from my HTC
Click to expand...
Click to collapse
Yeah, I had similar thoughts. I was going for repartition becasue then the whole of nandroid can be wiped in one go.
To clean the phone, sledgehammer / mowing the device with a car (or both, one after the other) are the best methods.
Here's one more idea. Create a pseudo nandroid backup with all of your nandroid partitions(/system /data /cache etc) filled with garbage/zeroes. Then restore that. And bam, the nandroid is hard formatted (after a quick format of course).
Like always, it's your phone. I am not responsible for anything that you do to it.
JAM THAT THANKS BUTTON.
Happy to Help.
pushpann said:
Hmm.. My phone has become very laggy.. No matter what ROM flash, what firmware I flash.
By hearing what you say, i kinda feel little scared to do these steps. Anyway thanks for the suggestion..
Those apps dont work.. By internal data they mean internal sdcard not system or data partition.
BTW just saw this app called lagfix. It says it will discard the unused blocks, but doesnot work on my phone.. Has anyone tried it? For me it's saying trim on system,data and cache not supported! DAMN
Click to expand...
Click to collapse
Tried it yesterday, it's meant for certain devices that did not use the TRIM command like they should (Many Nexus 7 tablets were slowed down by this issue), but it seems the Sensation does not need it (or at least our kernels do not support the command).
What seems as the only way to do so is to create many blank files and delete them (like many already said). you can create a large file and copy it a few times to the Data partition, which will fill it, and then delete it. using a normal file manager will work (or you can use "adb push" command to push the file a couple of times).
Far_SighT said:
Yeah, I had similar thoughts. I was going for repartition becasue then the whole of nandroid can be wiped in one go.
To clean the phone, sledgehammer / mowing the device with a car (or both, one after the other) are the best methods.
Here's one more idea. Create a pseudo nandroid backup with all of your nandroid partitions(/system /data /cache etc) filled with garbage/zeroes. Then restore that. And bam, the nandroid is hard formatted (after a quick format of course).
Like always, it's your phone. I am not responsible for anything that you do to it.
JAM THAT THANKS BUTTON.
Happy to Help.
Click to expand...
Click to collapse
You sure it does complete format while restoring nandroid? BTW i still am not sure how to fill system and data partitions with zeroes or garbage! Anyway thanks for the heads up
pushpann said:
You sure it does complete format while restoring nandroid? BTW i still am not sure how to fill system and data partitions with zeroes or garbage! Anyway thanks for the heads up
Click to expand...
Click to collapse
You shouldn't have to worry about formatting empty space. No one ever, except possibly computer forensics is going to want information from an empty phone. They have access to browsing history from Google, call records from your mobile provider and ban access details from your banks. They wouldn't need your phone. There are things that make it hard for the average person. Including mounting the NAND disk in a way that it can be opened like a normal disk drive, and then running the tools to restore data. If someone really wanted data it's possible but they will not go through all that for 500MB of bank details, porn or whatever people do with phones these days. If you're trying to hinder the police because you did something wrong, then you should just stop.
Theoretically it can be done through an android device but cross compiling tools to recover data is long and tedious to do. There is nothing so important that someone would spend hours creating tools for an Android device to restore data that may already be irrevocably gone. Not to mention the learning curve for new software. If you are worried, burn the device and buy something new. That is the general rule for sensitive data. Make sure it's gone before you move on.
It's safe to click "Format all partitions" and then erase your SD card and give your phone away.
If it helps, install Android on top. Choose something big. Most of your application data is stored on your SDCard FYI.
Lastly, if it's lag you are trying to fix. Go backwards with Android not forwards. JellyBean demands more than ICS and ICS demands more than GingerBread. Having the latest OS doesn't work for everyone. For example, Windows 8.1 doesn't work for me because there's no fastboot support without huge editing of system drivers. The same is true in Android. GingerBread stability may be more important than ICS or JB features, or JellyBean features may be more important. However don't expect lag free 4.2 or 4.3, our devices may work with it, but they were never intended to go above 4.1(Ville C2 updates stop there too I think) due to hardware limitations. Others may argue differently, but you should question the effort they're (including me) putting in with kernel and device tree upgrades. It's amazing work nonetheless but it basically shouldn't have to be done if the device were supported. Buy a new device if you want the latest and greatest. My Sensation has become a trophy for me to the amazing things you can do with one of HTCs first dual core phones. I don't expect it to work without some kinks and bugs or even fatal flaws but I still respect it for having running Sense 3.0 to 5.0 (yes I've tried it).
Sorry for the rant. I'm a little bit grumpy, but hope it helps explains why you can mostly erase and install a new version of android then throw the device away and be relatively safe.
There's probably going to be someone who reads all of this and thinks I'm crazy, to that guy or girl. Thanks for reading all of it!
Sent from my HTC
DennisBold said:
You shouldn't have to worry about formatting empty space. No one ever, except possibly computer forensics is going to want information from an empty phone. They have access to browsing history from Google, call records from your mobile provider and ban access details from your banks. They wouldn't need your phone. There are things that make it hard for the average person. Including mounting the NAND disk in a way that it can be opened like a normal disk drive, and then running the tools to restore data. If someone really wanted data it's possible but they will not go through all that for 500MB of bank details, porn or whatever people do with phones these days. If you're trying to hinder the police because you did something wrong, then you should just stop.
Theoretically it can be done through an android device but cross compiling tools to recover data is long and tedious to do. There is nothing so important that someone would spend hours creating tools for an Android device to restore data that may already be irrevocably gone. Not to mention the learning curve for new software. If you are worried, burn the device and buy something new. That is the general rule for sensitive data. Make sure it's gone before you move on.
It's safe to click "Format all partitions" and then erase your SD card and give your phone away.
If it helps, install Android on top. Choose something big. Most of your application data is stored on your SDCard FYI.
Lastly, if it's lag you are trying to fix. Go backwards with Android not forwards. JellyBean demands more than ICS and ICS demands more than GingerBread. Having the latest OS doesn't work for everyone. For example, Windows 8.1 doesn't work for me because there's no fastboot support without huge editing of system drivers. The same is true in Android. GingerBread stability may be more important than ICS or JB features, or JellyBean features may be more important. However don't expect lag free 4.2 or 4.3, our devices may work with it, but they were never intended to go above 4.1(Ville C2 updates stop there too I think) due to hardware limitations. Others may argue differently, but you should question the effort they're (including me) putting in with kernel and device tree upgrades. It's amazing work nonetheless but it basically shouldn't have to be done if the device were supported. Buy a new device if you want the latest and greatest. My Sensation has become a trophy for me to the amazing things you can do with one of HTCs first dual core phones. I don't expect it to work without some kinks and bugs or even fatal flaws but I still respect it for having running Sense 3.0 to 5.0 (yes I've tried it).
Sorry for the rant. I'm a little bit grumpy, but hope it helps explains why you can mostly erase and install a new version of android then throw the device away and be relatively safe.
There's probably going to be someone who reads all of this and thinks I'm crazy, to that guy or girl. Thanks for reading all of it!
Sent from my HTC
Click to expand...
Click to collapse
I dont wanna sell my phone and I know that my data isnt that valueable that anyone will try to read my data with hard efforts. My sensation used to perform awesome 2-3 months back, and now that I must have quick formatted my system and data partitions more than 1500 times, i think a full wipe may do some help for those nag n lag issues.
And about going back to GB? Man, Everyone feels GB is sad after using ICS/JB. If my phone doesnot stop lagging every second after I format these partitions, i think its time for a new phone!
Anyway thanks for such a detailed reply
pushpann said:
I dont wanna sell my phone and I know that my data isnt that valueable that anyone will try to read my data with hard efforts. My sensation used to perform awesome 2-3 months back, and now that I must have quick formatted my system and data partitions more than 1500 times, i think a full wipe may do some help for those nag n lag issues.
And about going back to GB? Man, Everyone feels GB is sad after using ICS/JB. If my phone doesnot stop lagging every second after I format these partitions, i think its time for a new phone!
Anyway thanks for such a detailed reply
Click to expand...
Click to collapse
The lag isn't from formatting. You can try ARHD ICS if you want. Or probably Sense 4+ with 4.1.2 but anything above that might not work out great.
Sent from my HTC
pushpann said:
I dont wanna sell my phone and I know that my data isnt that valueable that anyone will try to read my data with hard efforts. My sensation used to perform awesome 2-3 months back, and now that I must have quick formatted my system and data partitions more than 1500 times, i think a full wipe may do some help for those nag n lag issues.
And about going back to GB? Man, Everyone feels GB is sad after using ICS/JB. If my phone doesnot stop lagging every second after I format these partitions, i think its time for a new phone!
Anyway thanks for such a detailed reply
Click to expand...
Click to collapse
How old is your Sensation? I could well be that your nand is dying. In that case, repartition your phone and make /system and /data from parts seldom used (like /cache).
If you want data security, full encryption will keep noobs away.
Thanks for the replies guys!
Today i actually did the zeroing of the partitions with Nandroid method.. I download an app called dummy file creator and it created dummy files(files with zeroes all over it. after searching in internet it seemed legit method of fully zeroing out the memory locations) in data partition untill it ran out of memory. Then i copied those files to system partition too manually till it also became full(I had to do this manually because the app didnt support creating dummy files in system partition) and made nandroid of data and system separately then did almost a dozen time 4ext format and restoring the nandroid. Finally i formatted all the partitions and installed Codename Lungo ROM(CM10.1).
HELL YEAH! it feels FASTer. Not sure if its gonna last long.
pushpann said:
Thanks for the replies guys!
Today i actually did the zeroing of the partitions with Nandroid method.. I download an app called dummy file creator and it created dummy files(files with zeroes all over it. after searching in internet it seemed legit method of fully zeroing out the memory locations) in data partition untill it ran out of memory. Then i copied those files to system partition too manually till it also became full(I had to do this manually because the app didnt support creating dummy files in system partition) and made nandroid of data and system separately then did almost a dozen time 4ext format and restoring the nandroid. Finally i formatted all the partitions and installed Codename Lungo ROM(CM10.1).
HELL YEAH! it feels FASTer. Not sure if its gonna last long.
Click to expand...
Click to collapse
Just found something and wanted to add - for future reference - Android Tuner seems to be able to make the TRIM operation on all partitions on our sensation, in a much easier way.
pushpann said:
Thanks for the replies guys!
Today i actually did the zeroing of the partitions with Nandroid method.. I download an app called dummy file creator and it created dummy files(files with zeroes all over it. after searching in internet it seemed legit method of fully zeroing out the memory locations) in data partition untill it ran out of memory. Then i copied those files to system partition too manually till it also became full(I had to do this manually because the app didnt support creating dummy files in system partition) and made nandroid of data and system separately then did almost a dozen time 4ext format and restoring the nandroid. Finally i formatted all the partitions and installed Codename Lungo ROM(CM10.1).
HELL YEAH! it feels FASTer. Not sure if its gonna last long.
Click to expand...
Click to collapse
Can you guide me? i want to do that but i'm noob . how did you do that? pls help me
BSHD666 said:
Can you guide me? i want to do that but i'm noob . how did you do that? pls help me
Click to expand...
Click to collapse
hehe you found it:good:

[Q] Z3 with PS4 problem and memory

Ok I have 1 question and a problem
1st - Question: Why do I only have 11gb of memory? I know that memory does not use as it is called. Like I have a 1TB HDD but only 931GB usable.
but 16gb but only 11gb usable? Is this correct or mine has a problem?
Now to my problem. I already have my Z3 unlocked and rooted. I just figured the I cannot use the remote play with supersu installed. Already removed that and proceeded. But I now have a C-80F80A01 error and I cant find any source to continue. Anyone knows how to pass this?
Thanks
About the first question, your device has a 16gb memory inside. Unfortunately, the Android operational system itself and the applications that Sony pre installed into your device takes too much memory.
The partition that you can write is the /data partition with 11.6GB.
The /system and other Linux partition takes ~4GB.
Your phone is good to go.
Unlocking the bootloader also erased the DRM keys. Those are needed for Remote Play. There is a thread on XDA on using the app on a non-Xperia device which you may try. There is also another thread on possibly getting back the DRM keys I blelieve.
goTouch said:
About the first question, your device has a 16gb memory inside. Unfortunately, the Android operational system itself and the applications that Sony pre installed into your device takes too much memory.
The partition that you can write is the /data partition with 11.6GB.
The /system and other Linux partition takes ~4GB.
Your phone is good to go.
Click to expand...
Click to collapse
Thanks!
Artood2s said:
Unlocking the bootloader also erased the DRM keys. Those are needed for Remote Play. There is a thread on XDA on using the app on a non-Xperia device which you may try. There is also another thread on possibly getting back the DRM keys I blelieve.
Click to expand...
Click to collapse
Yes I've been trying those but still having the same error.
And for the benefit of this thread, I did restore some features of the DRM (not the DRM key itself) from another thread.
Restoring the xreality, super vivid, low light noise reduction. I have yet to confirm regarding the audio. And of course the remote play that I cannot fix

[Q] Unexpected Factory Reset after Bootloader Unlock - Data Recovery

Hello xda community,
I unlocked the bootloader of my friend's Xperia Z3 D6603 earlier and didn't expect a factory reset so no backup of his pictures (and some game saves) exist.
In theory they data should still be there, so using this tutorial http://forum.xda-developers.com/gal...-internal-memory-data-recovery-yes-t1994705 I should be able to recover what can be recovered.
The problem is this requires a rooted device which it isn't yet.
My main question is: Is this way to root http://forum.xda-developers.com/z3/development/root-stock-kernel-twrp-v01-test-28-09-t2889794 the one that causes the least damage to the data I want to recover?
Another smaller question would be if there are any tricks to preserve the data (e.g. using sectors that had no data) while installing the tools to root and to recover?
Would really appreciate your help to salvage this situation
I don't know why it was an unexpected loss of data, it says it will happen right there on the sony website
In order to root, you should just flash a kernel.
In order to preserve data in the future, back it up to your PC
PS, you may have lost more than you thought, if you did not root BEOFRE you unlocked you have also lost your friends DRM keys and so you can say goodbye to decent pictures in low light and other DRM functions
Seems like I f***ed up on multiple fronts…
Managed to get a dump of the SD card yesterday, but there doesn't really seem to be anything left to salvage.(Which I don't understand, why would they overwrite the SD card when they could just reallocate the space?)
Neither did I know about the DRM, but there seem to be ways to circumvent the lack of those, will look into that later.
Well, thanks for the help and the heads up.
Komasa said:
Seems like I f***ed up on multiple frontsâ?¦
Managed to get a dump of the SD card yesterday, but there doesn't really seem to be anything left to salvage.(Which I don't understand, why would they overwrite the SD card when they could just reallocate the space?)
Neither did I know about the DRM, but there seem to be ways to circumvent the lack of those, will look into that later.
Well, thanks for the help and the heads up.
Click to expand...
Click to collapse
Your sd card should not have been touched. Only internal storage and the data partition.
Yes, there is a thread about returning functionality of drm functions, is not 100%, but better than nothing
Flash storage doesn't work the same way hard drives do. Often, when you delete something, it's gone forever "zeroed out" by the flash controller.
This shouldn't be the case with SD card, though, and it shouldn't have even been touched when unlocking. Aren't you confusing the "internal" SD card (phone storage) with an external one?

Recovering Deleted files with unrooted unlocked devices [Android 6.0] [2 Questions]

Hello every one,
I have a complicated situation with deleted files (photos and videos) recovery,
Phone : Nexus 5
Android: M (6.0) BN: (MRA58N)
Root/unlock: Unrooted and Unlocked
Some one has deleted all the files in the camera folder in the gallery, i want to restore these deleted files. After hours of digging the internet, i found a lot of applications that doesn't work (almost all of it either require root or require USB Mass storage), and as you know we are only able to connect to the PC using MTP protocol.
Rooting the device requires unlocking it which will cause the whole phone to be wiped.
I have two questions:
1) Is there any (REAL) way to recover the deleted files (Images and videos) with the current circumstances (Unrooted, Unlocked, MTP Connection) ?
2) If the answer of question 1 is NO, if i unlocked (and for sure wiped) the phone then rooted it, can i still have the ability to recover these files, i mean how badly the wipping process will affect the internal phone storage?
I really appreciate your help in advance.
Best regards,
kldoon said:
Hello every one,
I have a complicated situation with deleted files (photos and videos) recovery,
Phone : Nexus 5
Android: M (6.0) BNMRA58N)
Root/unlock: Unrooted and Unlocked
Some one has deleted all the files in the camera folder in the gallery, i want to restore these deleted files. After hours of digging the internet, i found a lot of applications that doesn't work (almost all of it either require root or require USB Mass storage), and as you know we are able to connect to the PC using MTP protocol.
Rooting the device requires unlocking it which will cause the how phone to be wiped.
I have to questions:
1) Is there any (REAL) way to recover the deleted files (Images and videos) with the current circumstances (Unrooted, Unlocked, MTP Connection) ?
2) If the answer of question 1 is NO, if i unlocked (and for sure wiped) the phone then rooted it, can i still have the ability to recover these files, i mean how badly the wipping process will affect the internal phone storage?
I really appreciate your help in advance.
Best regards,
Click to expand...
Click to collapse
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
opssemnik said:
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
Click to expand...
Click to collapse
Its Unfortunate to hear that , i hoped there will be a small chance to recover the deleted data after wiping the phone and rooting it.
I Would like to hear if there is any other options.
Best thanks @opssemnik
Is the same true for HTC One M8?
opssemnik said:
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
Click to expand...
Click to collapse
The original questioner had a Nexus.
Does your answer also apply to HTC One M8?
Thanks.
PhilBill said:
The original questioner had a Nexus.
Does your answer also apply to HTC One M8?
Thanks.
Click to expand...
Click to collapse
i don´t know about the bootloader unlock part wiping the data on the M8 (since those were never sold here in Brazil) however the rest still applies. on HDDs and other mechanical drives, the deletation process is just removing the file from the index on the drive, so it cant find anymore, thats due to mechanical drives having fragmentation, not instant access times and other things(such as lower read/write speeds, bad sectors, etc). since those dont apply to solid state devices, such as ssds or emmcs, every file operation is permanent

system is using a lot of storage

UPDATE : I MANAGED TO FIX THE PROBLEM​The way is to clean format the system via twrp (switch to ext2 and switch to ext4) or something similar, the storage partition will restore to its original state
Hello everybody, recently I decided to check the storage allocation and saw that system is using a large portion of my storage space
Any suggestions ?
Maybe with root you can debloat some useless apps.
eddieleon7pc said:
Hello everybody, recently I decided to check the storage allocation and saw that system is using a large portion of my storage space
Any suggestions ?
Click to expand...
Click to collapse
That's a bit strange.
I'm pretty sure, though, that stock apps aren't included here, maybe only core system apps. Because I have disabled a lot of pre-installed apps and the system storage space didn't change that much, only App storage. Mine is currently at 10.26GB, and I'm pretty sure it's been like that out of the box as well, maybe a bit less.
And my cache sits around 500MB.
Either way, go to your settings-apps and disable what you don't use. After that use some sort of a cleaning app, like Clean Master and run it. Just make sure you uninstall it after you're done.
If none of that helps, I'd do a complete format and clean flash via FlashTool, or use xperia companion to repair the software.
40GB for system storage seems a bit extreme. Maybe I'm just not that heavy user, but I don't see how the user can even affect the system storage, apart from cache. Even when updating OTA, I'm pretty sure those downloaded packages get deleted afterwards.
For most of the useless stock apps, you don't need root to disable them, it is not the same as completely removing them while rooted, but it will still free up some storage space and prevent them from running in the background.
Atrax2010 said:
"I'd do a complete format and clean flash via FlashTool, or use xperia companion to repair the software...."
Click to expand...
Click to collapse
Brother. I already did that. Nothing changes. The only way is root it and remove ( not only disable ) the apps using titanium backup ( or some program like that ). Don't forget to make a backup from them before remove the apps.
But, i think that this process don't result in alot free space. Maybe when android compile the apk in cache the result naturaly takes this space. I have a 64gb XZ and this issue really annoying me too. If i discovery something i share with you.

Categories

Resources