64GB Kernel Script Patch for Z1 - Xperia Z1 General

Hey Guys,
I asked @kokotas to help me figure out a way to make a Patch to extend the Internal Memory as for me, due to the size of the high-end Applications and Games, is too limited 16GB, 11,70GB available only, on our Z1.
So my first Idea was to sacrifice 16Gb Internal Memory and use 64GB External SD Memory formatted in EXT4 where all the Data will be stored.
To do so we have to understand few thing and how is the structure of the Z1 Kernel is made and try to extract "ramdisk.cpio" where we can edit "init.rc" and change the line "/data mount"
As for the kernel "Autopsy" we used @krabappel2548 kernel build, I hope he is fine with that.
From what we know, the recovery is injected in the boot.img and this makes things more complicated.
Are all kernels built in this way? Even the stock ones?
Also, is there a specific rule in the way of naming the included ramdisks?
I attached a picture to make things more clear.
Any help will be appreciate.

eclyptos said:
Hey Guys,
I asked @kokotas to help me figure out a way to make a Patch to extend the Internal Memory as for me, due to the size of the high-end Applications and Games, is too limited 16GB, 11,70GB available only, on our Z1.
So my first Idea was to sacrifice 16Gb Internal Memory and use 64GB External SD Memory formatted in EXT4 where all the Data will be stored.
To do so we have to understand few thing and how is the structure of the Z1 Kernel is made and try to extract "ramdisk.cpio" where we can edit "init.rc" and change the line "/data mount"
As for the kernel "Autopsy" we used @krabappel2548 kernel build, I hope he is fine with that.
From what we know, the recovery is injected in the boot.img and this makes things more complicated.
Are all kernels built in this way? Even the stock ones?
Also, is there a specific rule in the way of naming the included ramdisks?
I attached a picture to make things more clear.
Any help will be appreciate.
Click to expand...
Click to collapse
1. Sony doesn't have a recovery partition in their phones hence developers add the recovery in the ramdisk. Also stock sony kernels doesn't have a recovery included by default only bootloader/flashmode.
2. You can't adjust the 16gb internal partition without diving deeply into the bootloader. The NAND partition profiles are hardcoded in the bootloader so modifying even just a little bit of info in the partition of the NAND would brick your device. The only way I could possibly suggest to try is hijacking the fstab and ramdisk to unmount the internal storage and mount the external storage on init. But if your issue is only about disk space I suggest you leave the internal storage and just symlink the obb folder instead of hijacking the whole internal storage. And BTW the disk IO of the internal storage is worlds apart compared to your microsd card no matter what class it is so it would be very unefficient if you use your microSD card as internal. IMHO reading the dalvik-cache 1 by 1 on startup would be pretty slow! Same goes for reading the byte code of an app once you open it.

Riyal said:
1. Sony doesn't have a recovery partition in their phones hence developers add the recovery in the ramdisk. Also stock sony kernels doesn't have a recovery included by default only bootloader/flashmode.
Click to expand...
Click to collapse
We know that. If there will be a Partition for recovery it will be much more easy and safe. That why we also used a Kernel with recovery implemented.
Riyal said:
2. You can't adjust the 16gb internal partition without diving deeply into the bootloader. The NAND partition profiles are hardcoded in the bootloader so modifying even just a little bit of info in the partition of the NAND would brick your device.
Click to expand...
Click to collapse
We trying and this is the risk of everybody who flashing a Custom Kernel.
Riyal said:
The only way I could possibly suggest to try is hijacking the fstab and ramdisk to unmount the internal storage and mount the external storage on init. But if your issue is only about disk space I suggest you leave the internal storage and just symlink the obb folder instead of hijacking the whole internal storage.
Click to expand...
Click to collapse
Maybe not the whole internal storage but implement the external SD with the internal?
Riyal said:
And BTW the disk IO of the internal storage is worlds apart compared to your microsd card no matter what class it is so it would be very unefficient if you use your microSD card as internal. IMHO reading the dalvik-cache 1 by 1 on startup would be pretty slow! Same goes for reading the byte code of an app once you open it.
Click to expand...
Click to collapse
I know the difference between Internal and External Storage. Yes the internal bandwidth is higher but like I said is worth the sacrifice, or try. Best solution will be System and Apk on Internal and link the SD to use there all Data. This is more efficient that a third Apps like Link2sd or kind of. BTW, I don't think it will be so slow but we have to try. The idea have to be made to improve what next.
So we need more Ideas, do you have any?

We know that. If there will be a Partition for recovery it will be much more easy and safe. That why we also used a Kernel with recovery implemented.
We trying and this is the risk of everybody who flashing a Custom Kernel.
A: This isn't about risk this is a fact. Once you successfully manage to alter the partition table of the built in NAND you're sure to get a hard brick from doing this.
Maybe not the whole internal storage but implement the external SD with the internal?
A: Implementing internal storage with external to support it is possible but limited. Like I said you could symlink the obb and Android folder to the external storage. That way you can allocate some of the storage space to data, dalvik etc. and the data files to the external SD which uses the most resources.

Hmm, changing the partition table has been successfully done on the xperia T
http://forum.xda-developers.com/showthread.php?t=2147997
I am not an expert here, but is this what you are talking about,

What benefit would this give a user?
Sent from my C6903 using xda app-developers app

gregbradley said:
I am not an expert here,
Click to expand...
Click to collapse
Me either, @kokotas is the Master here and all thanks should go to him for help me with this, actually the picture is of his work.
gregbradley said:
Hmm, changing the partition table has been successfully done on the xperia T
http://forum.xda-developers.com/showthread.php?t=2147997
Click to expand...
Click to collapse
We do not try to repartitioning the Sony Z1 internal memory to get a recovery bootable from different partition, which still a very good idea to develop for Z1. We try to mount the External SD instead of the Internal to expand the storage for the Z1, and here we need a patch. If kind of patch like that will really work, with some help, anyone just will format the SD in EXT4 and use what like he like, 32/64GB.
So we will be glad even to involve more "Programmers" to help us make it true.
So any way to let this work?

Jay794 said:
What benefit would this give a user?
Click to expand...
Click to collapse
Expand storage. You will be able to format a 64GB, micro SD in 2 Partitions and use 32GB by the System and 32GB like a normal SD, for example, and it will be managed by the system and not by Apps. So instead of 11,70GB you will have 30GB in System.

Surely this will just make accessing the SD card data really slow? Even with a class 10 running games off the SD card would be laggy as hell
Sent from my C6903 using xda app-developers app

Jay794 said:
Surely this will just make accessing the SD card data really slow? Even with a class 10 running games off the SD card would be laggy as hell
Click to expand...
Click to collapse
Thank you for your Opinion. Is not your problem.

Expert Request Please..
Can someone who know more than me just have a look on the attachment and answer few question, unanswered form post 1.
..for Z1
1) Are all kernels built in this way? Even the stock ones?
2) Also, is there a specific rule in the way of naming the included ramdisks?
3) Do all kernels use the sbin folder?
4) Is ramdisk.cpio the default name used in all kernels

Hey, I support the idea, I just don't see how useful it will be
Sent from my C6903 using xda app-developers app

gregbradley said:
Hmm, changing the partition table has been successfully done on the xperia T
http://forum.xda-developers.com/showthread.php?t=2147997
I am not an expert here, but is this what you are talking about,
Click to expand...
Click to collapse
Yes it is possible but not easy... I'm pretty sure the dev that made that had a hard time before he successfully got it. Also I'm pretty sure he has a JTAG box so in case his phone got hard bricked he can easily fix it again. Also IMHO that was already patched by sony on the latest s1boot so I'm sure it's alot harder than before.

Riyal said:
Yes it is possible but not easy... I'm pretty sure the dev that made that had a hard time before he successfully got it. Also I'm pretty sure he has a JTAG box so in case his phone got hard bricked he can easily fix it again. Also IMHO that was already patched by sony on the latest s1boot so I'm sure it's alot harder than before.
Click to expand...
Click to collapse
Yes, he did brick his Xperia T a few times, and the LK kernel was never really taken up because of the risks.
But it does show that it was possible to change the partition table.
As for on the xperia Z1, I don't know

gregbradley said:
Yes, he did brick his Xperia T a few times
Click to expand...
Click to collapse
I can do that.

Only problem with having the SD used all the time for system files is the risk of corruption and or a failed card.
Saying that I had it on the S3 and it worked brilliantly, was a relatively simple script which required init'd support from a custom kernel.
In all fairness, after using folder mount the worries i've had with my internal memory have gone, i'm always over 10GB of space with several really big games installed which would easily take over the whole internal memory.

dladz said:
Only problem with having the SD used all the time for system files is the risk of corruption and or a failed card.
Click to expand...
Click to collapse
Here you sound like Google.
dladz said:
Saying that I had it on the S3 and it worked brilliantly, was a relatively simple script which required init'd support from a custom kernel.
Click to expand...
Click to collapse
I had it on HD2 as well and never had any issues and I had full control of my device, this is what also we looking at, no restrictions and no storage limit on a high-end device. I will be glad to see 64GB recognized as my System Storage instead using Apps on Apps like the Mount Folder.
I play Most Wanted, of curse a bit slow, on mine HD2 so if we get this work we will have 40mb/s in writing and reading, instead of 70mb/s in internal, due to the limitation of the slot. I think even with a kind of transfare like that you will never see any slow down of the performance on your device.
Some Smart One will say now to me "Why then you don't go back to HTC". That's the point! Imagine have Z1 with such a Development and full control of you device.
At last it's a choice of the user if he want apply that patch or not, but I think if this will be possible many will be happy, but like I can see, we don't have much support due to the risk and any Developer will not take this in consideration, or maybe will, but apparently not now.

eclyptos said:
Here you sound like Google.
I had it on HD2 as well and never had any issues and I had full control of my device, this is what also we looking at, no restrictions and no storage limit on a high-end device. I will be glad to see 64GB recognized as my System Storage instead using Apps on Apps like the Mount Folder.
I play Most Wanted, of curse a bit slow, on mine HD2 so if we get this work we will have 40mb/s in writing and reading, instead of 70mb/s in internal, due to the limitation of the slot. I think even with a kind of transfare like that you will never see any slow down of the performance on your device.
Some Smart One will say now to me "Why then you don't go back to HTC". That's the point! Imagine have Z1 with such a Development and full control of you device.
At last it's a choice of the user if he want apply that patch or not, but I think if this will be possible many will be happy, but like I can see, we don't have much support due to the risk and any Developer will not take this in consideration, or maybe will, but apparently not now.
Click to expand...
Click to collapse
I actually probably will be going back to HTC after this phone. Doubt it'll be the M8, although i do like it, the camera is sup par though and i've come accustomed to a decent picture.

dladz said:
I actually probably will be going back to HTC after this phone. Doubt it'll be the M8, although i do like it, the camera is sup par though and i've come accustomed to a decent picture.
Click to expand...
Click to collapse
I know, I try to don't give up on it too but to much to deal with. The camera is good but I was disappointed anyway. So I was thinking about 64GB HTC One, or wait for the next release and I will finally be fine. For the moment I try to deal with Z1, I hope somewhere we will have 64GB system storage , this maybe will change my mind, everything is possible.

eclyptos said:
I know, I try to don't give up on it too but to much to deal with. The camera is good but I was disappointed anyway. So I was thinking about 64GB HTC One, or wait for the next release and I will finally be fine. For the moment I try to deal with Z1, I hope somewhere we will have 64GB system storage , this maybe will change my mind, everything is possible.
Click to expand...
Click to collapse
Have you used folder mount before? It really is a great app and i've not needed the larger internal storage since using it.

Related

[Q] Sd reader

Does anyone know exactly why the sd reader is not working.... like i know we need a firmware update for it, but why exactly hasn't it shipped with the ability to use hardware already installed?
I may be wrong, but i would assume that it couldn't be that hard to just have the software (or w/e it is that would get it to be active) already installed.
Has to do with putting everything on the internal storage. The system needs to be setup for essentially 2 sd cards, I think. I'm probably wrong, but I know it has to do with a change in how Android manages the storage.
Sent from my PC36100 using XDA App
From what I understand honeycomb just doesn't support sd cards yet.
Sent from my MB860 using Tapatalk
eallan said:
From what I understand honeycomb just doesn't support sd cards yet.
Click to expand...
Click to collapse
I wonder if that's true for the HC preview that's on my Nook Color right now... I should check and post my findings! But I think I couldn't see any SD card.
UPDATE: I just booted the Nook into HC v0.4 and I can access the SD after going into Setting -> Storage and mounting the SD. Whatever HC I have it can find the SD card!
Sirchuk said:
Has to do with putting everything on the internal storage. The system needs to be setup for essentially 2 sd cards, I think. I'm probably wrong, but I know it has to do with a change in how Android manages the storage.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
This basically sums it up. Motorola, and probably others with Honycomb, are cheating and mounting some of the internal storage at /sdcard, which is typically reserved for sdcards.
I haven't rooted my device yet, but if someone could put an sd card in the slot and pull the dmesg logs and post them that would be awesome. If the sdcard shows up in dmesg, but isn't mounted I bet we can find a solution. With root privs, you could modify the rc.local file to mount the sd card to /sdcard/realsdcard (probably).
On second thought, this gives me a good reason to root my device....
nindoja said:
This basically sums it up. Motorola, and probably others with Honycomb, are cheating and mounting some of the internal storage at /sdcard, which is typically reserved for sdcards.
Click to expand...
Click to collapse
That's possible! I just saw the /sdcard in the file explorer and assumed it's the SD card. My bad!
funnycreature said:
That's possible! I just saw the /sdcard in the file explorer and assumed it's the SD card. My bad!
Click to expand...
Click to collapse
Potentially. I'm not familiar with the HC port on the Nook, but do this for me. Pull out the SD card and open up an adb shell on the device. If you can cd to /sdcard they are cheating. If it doesn't exist they are actually using your sdcard.
This doesn't prove anything conclusively though about honeycomb support for sd card readers.
Also, I did a few checks yesterday with the sd card slot and the card doesn't show up in dmesg when you pop it in and out, so it's not exactly going to be easy to get this working.
has there been any word about when it will be released for use?
I'm a little confused, is it going to be honeycomb that is upgraded for us to be able to use it. I dont know as much about mobile devises as I do computers, for some reason I was under the assumption that the firmware of a phone was more like a BIOS of a computer and honeycomb was the os. But is the firmware the os? And the bootloader more, like the BIOS?
RadDudeTommy said:
has there been any word about when it will be released for use?
I'm a little confused, is it going to be honeycomb that is upgraded for us to be able to use it. I dont know as much about mobile devises as I do computers, for some reason I was under the assumption that the firmware of a phone was more like a BIOS of a computer and honeycomb was the os. But is the firmware the os? And the bootloader more, like the BIOS?
Click to expand...
Click to collapse
Back in the day mobile devices used ROM (read only memory) to store the operating system, it was flashed on there and it would stay between wipes. That's a more appropriate use of the word 'firmware', but it stuck around for today's devices which are little more than a unix based OS on an ARM processor.
The bootloader is not the bios, but it does find the boot partition and tell the kernel to load... the kernel then mounts other partition and starts up the OS. Everything is in simple NAND flash memory now.

[mod request] totally disable the nonsense "internal sdcard"

The "internal sd card" is seriously doing damage to aosp android development.
The reason i say that, is I have read lots of posts saying "the only thing stop me from using XXXX aosp rom, is I can not use my sdcard as a internal sdcard"
And sadly, same thing happened to me as I tried "PARANOIDANDROID“, tried "CarbonRom", I love them so much. But the next day I have to switch back to SAMMY's rom, since the ext2int only works on SAMMY roms. And the build-in 16G storage is way too little for my game data.
The question is, can we modify like bootloader or patition or something to TOTALLY DISABLE INTERNAL SDCARD? so the phone will recognize 32G or 64G sdcard exactly same as its on HTC, LG and many other android phones?
Anyone have a clue?
+1
Yes, It's better to completely remove the memory than the pain it causes at the moment.
I use DirectoryBind, but therefor I hesitate to change to another kernel/ROM. I don't know if Titanium backups are correct etc.
Memory management is a mess!
I also know the multi-user of the new ROMs interfere with all options to swap SdCard (internal memory) and ExtSdCard (external Micro SD card) so these ROMs are off limit too.
Bright.Light said:
+1
Yes, It's better to completely remove the memory than the pain it causes at the moment.
I use DirectoryBind, but therefor I hesitate to change to another kernel/ROM. I don't know if Titanium backups are correct etc.
Memory management is a mess!
I also know the multi-user of the new ROMs interfere with all options to swap SdCard (internal memory) and ExtSdCard (external Micro SD card) so these ROMs are off limit too.
Click to expand...
Click to collapse
Yea man, I'm getting sick of writing and testing scripts trying to make it work.
Now I want to find a permanent solution to it. I will try to modify the bootloader to remove the "internal sdcard" partition before loading the kernel.
kylechen said:
Yea man, I'm getting sick of writing and testing scripts trying to make it work.
Now I want to find a permanent solution to it. I will try to modify the bootloader to remove the "internal sdcard" partition before loading the kernel.
Click to expand...
Click to collapse
I guess you will have to make other bindings too; the internal SD card binding must bind to other hardware, so I don't think this is as easy as it sounds. Maybe you need a kernel which supports init.D
But, please try! When it works, I might try another kernel/ROM with this changed binding.
One thought though... Many apps already know this stupid decision of Samsung, so they expect internal and external SD cards when installed on a Note 2.

Mod for Encreasing The internal memory??

Excuse me, is there any mod for increasing your internal memory like galaxy s3 having your micro sd like internal memor??
Thanks!!
23Kie said:
Excuse me, is there any mod for increasing your internal memory like galaxy s3 having your micro sd like internal memor??
Thanks!!
Click to expand...
Click to collapse
nope, that requires repartitioning so that the sizes are split differently in the internal memory...i don't think anyone cares about this as long as the phone supports 64GB external.... the method was used for reviving the superbricked phone a year ago on ICS smaller system partitions resulted in a successful booting rom but with less storage.
But is there any way for installing all app and games in micro sd like kernel perseus whick allow install all in microsd whatever app or game
Thanks!!!
REVERSiN said:
nope, that requires repartitioning so that the sizes are split differently in the internal memory...i don't think anyone cares about this as long as the phone supports 64GB external.... the method was used for reviving the superbricked phone a year ago on ICS smaller system partitions resulted in a successful booting rom but with less storage.
Click to expand...
Click to collapse
That's the ****ty thing with the S4, can't move apps to SD card
23Kie said:
But is there any way for installing all app and games in micro sd like kernel perseus whick allow install all in microsd whatever app or game
Thanks!!!
Click to expand...
Click to collapse
I've had luck with the FolderMount, liked it and bought the full version. There's a thread for it in the themes and apps section
PS. You should open new threads in the right sections :good:
There was a mod on the S3 that swapped the internal and SD memory - i.e. it fooled the system in thinking the SD card was internal.
Give it time, im sure the mod will become available - you will probably need to root
xmsnx said:
That's the ****ty thing with the S4, can't move apps to SD card
I've had luck with the FolderMount, liked it and bought the full version. There's a thread for it in the themes and apps section
PS. You should open new threads in the right sections :good:
Click to expand...
Click to collapse
funny thing is i didn't know that hehe i have the phone in my closet for about two weeks now i don't use it since iam waiting for my case and SP to arrive since i ordered them from ebay.... bad luck XD
ardsar said:
There was a mod on the S3 that swapped the internal and SD memory - i.e. it fooled the system in thinking the SD card was internal.
Give it time, im sure the mod will become available - you will probably need to root
Click to expand...
Click to collapse
AFAIK the trick was modifing the vold.fstab file in system/etc/ still i think its useless since the most space is set on internal sd and not the system swapping them makes your storage space even less than it already is...who wants that to happen ?
he can get a light ROM i've seen one in the forums calles biochemical TW i think not quite sure which is 800MB well stripped but still he can add what he needs only and not get to the crazy 1.5 GB system

Apps on SD Card

I loved Stock Android around when KitKat was out, but I came to hate it when Lollipop came out. I decided to get the Moto X and try out Marshmallow, but I'm already running into problems with/hating Google's (and Motorola's) oversimplified features.
Usually when I get a phone a put in an SD card so I can store some apps and data on there, as well as music, pictures, files, etc. that has been on the card for years. I pop in the SD card to the 16 gig phone ready to move Spotify and some other apps to the card, but then I run into that whole "format as internal storage. It says that formatting it will wipe the card (obviously), but it also says once I do I will only be able to use the SD card with this device, and when I asked a friend for help, she said I wouldn't be able to transfer data from the card anymore either.
I started searching everywhere on the internet for a workaround, but I can't find anything. Is there any workaround with this? I'm already rooted and on a ROM so I'm open to any suggestions. If not I'm just going to sell the phone or downgrade to lollipop.
Which version of twrp are you using ?
You need to make sure you have this version of twrp.
http://forum.xda-developers.com/showthread.php?t=3200520
Prior to this version, twrp was broke in regards to the new adaptable storage that came in Android M, then finally a few weeks ago, 3.0.0 came out, fixed that, and also a few other things. I can not use the combined/adaptable storage feature in Marshmallow like it was intended. To be honest, it was the major reason I got this phone and bought the 16gb version. Its all good now tho.
Sent from my XT1575 using Tapatalk
Sheetzie03 said:
Which version of twrp are you using ?
You need to make sure you have this version of twrp.
http://forum.xda-developers.com/showthread.php?t=3200520
Prior to this version, twrp was broke in regards to the new adaptable storage that came in Android M, then finally a few weeks ago, 3.0.0 came out, fixed that, and also a few other things. I can not use the combined/adaptable storage feature in Marshmallow like it was intended. To be honest, it was the major reason I got this phone and bought the 16gb version. Its all good now tho.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Yeah I have 3.0.0 installed on my phone, should I reinstall it or install 3.0.1?
coolwiththecool2 said:
Yeah I have 3.0.0 installed on my phone, should I reinstall it or install 3.0.1?
Click to expand...
Click to collapse
Can you explain what the problem is again? Starting with twrp 3.0 , adaptable storage should work as its suppose to.
And yeah I just seen 3.0.1 is out I'm thinking just flashing the .IMG will work, I used flashify
Sent from my XT1575 using Tapatalk
Sheetzie03 said:
Can you explain what the problem is again? Starting with twrp 3.0 , adaptable storage should work as its suppose to.
And yeah I just seen 3.0.1 is out I'm thinking just flashing the .IMG will work, I used flashify
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
The problem is Marshmallow wants me to format my SD card as internal storage just to store apps on it, and I am trying to find a way to store apps on there without formating it, as I've been doing with all previous Android versions.
I don't get why you wouldn't want to use the adaptable storage option. What's wrong with backing ur sd up to pc, format as internal(adaptable storage? , and then copy back from pc. If I'm missing something, my bad.
Otherwise,
Pretty sure there isn't way to do what you want on 6.0... But again, I don't know what you are actually losing out on other than having to back the card 1st, format, and copy back. A small hassle
Sent from my XT1575 using Tapatalk
Sheetzie03 said:
I don't get why you wouldn't want to use the adaptable storage option. What's wrong with backing ur sd up to pc, format as internal(adaptable storage? , and then copy back from pc. If I'm missing something, my bad.
Otherwise,
Pretty sure there isn't way to do what you want on 6.0... But again, I don't know what you are actually losing out on other than having to back the card 1st, format, and copy back. A small hassle
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
I don't want to use the adaptable storage because I will only be able to use the SD card with this phone and I won't be able to transfer data from it either.
This is a problem because I currently use the SD card between two phones, as a makeshift flash drive, and as storage for my DSLR so I can edit photos with my phone.
I went through this whole ordeal myself recently.
You can't have it both ways. I chose to format my card as portable storage so it will remain readable in any card reader. The draw back is apps can't be stored on it, nor most app data.
To work around this i'm making every app a system app. This will alleviate some of the burden of the internal storage. Some apps will just not work as system apps. I think swype is one example.
Some apps will require their .lib to be placed in the appropriate lib folder under system (lib or lib64 for 64bit binaries). Google maps and hangouts are two examples that come to mind. You'll know if you need this if the app crashes when starting.
The ideal solution is to have a phone with at least 32GB storage or more. This becomes a non issue then.
Yeah, Motorola removed the Move to SD card feature in favor of "the richer experience natively provided by Android."
I think you can use TWRP "Partition SD Card" to create 2 partitions on the SD, though... a FAT32 partition to share with your other devices and an EXT4 partition that you can use to store apps. You'll need an android app like Mounts2SD to copy apps to/from the external storage.
The other option is to downgrade to 5.1.1 or use a 6.0 ROM that still has the old Move to SD card feature. I'm not sure if there are any, though.
gpz1100 said:
I went through this whole ordeal myself recently.
You can't have it both ways. I chose to format my card as portable storage so it will remain readable in any card reader. The draw back is apps can't be stored on it, nor most app data.
To work around this i'm making every app a system app. This will alleviate some of the burden of the internal storage. Some apps will just not work as system apps. I think swype is one example.
Some apps will require their .lib to be placed in the appropriate lib folder under system (lib or lib64 for 64bit binaries). Google maps and hangouts are two examples that come to mind. You'll know if you need this if the app crashes when starting.
The ideal solution is to have a phone with at least 32GB storage or more. This becomes a non issue then.
Click to expand...
Click to collapse
To the op Sorry man, I didn't really know all this. But this post seems to explain it pretty well. Looks like you may have to sell or downgrade. That sucks.
As far as this specific post is concerned, I'm trying to follow my best. As you said, best would be to buy at least at 32gb well some, including me have already bought a 16gb, unfortunately. Personally, iv chose to use adaptable now that twrp 3.0 is out. When i Install apps, wherever they go is where they go. After seeing this thread, I'm thinking maybe there is way to do things a different way to save some space. I went ahead and went into apps and tried moving Spotify from internal to SD card. but after I did this, I noticed every time I close the app it signs me out lol wth... that's a problem. I didn't know why it was doing that. Is this an example of an app not being able to run correctly on the SD rather than internal? Also, i tried moving maps from internal to sd, seemed to be running fine, but shortly after, i noticed on a reboot, it somehow uninstsalls. Its gone as if i uninstalled it manually but i obv did not. Like what? How is this even possible. I wanted to give you a few examples of what i tried and what was happening. But I asked myself why am I even doing this, is it to save space? If it is, that's fine.
But yeah man, it seems you know more than me about this , that's safe to say. But based on what iv written here, can you give me some advice on things to do if I'm using the adaptable storage option. Should I be moving apps? Why? Which ones? Or just leave things as is? Again i have a 16gb model with a 32gb card running adaptable storage. If there are ways to save space by moving apps certain places I'm fine with that. I'd just like to get your opinion on what exactly I should be doing based on the model I have, size card, and running adaptable storage. Hey sorry too bother you about this. I had noticed you replied to the op of this topic and you know what you are talking about.
And to the op, sorry if iv hijacked your post man.
Peace
Sent from my XT1575 using Tapatalk
gpz1100 said:
<snip>
Click to expand...
Click to collapse
Yeah I should have gotten the 32gb version, although it's kind of my fault because I already had a negative opinion of post-kitkat stock Android yet I got the device anyways. Maybe I can resell the device on swappa and get a 32gb version instead of buying a new one, mainly because the only two phones of the 2015 generation I have interest in is the Moto X Pure and the One M9. Worst case scenario is settling for Samsung (as oneplus said, never settle)
To make matters worst, I temporarily moved all the data to my computer and formated the SD card as internal as a test, only to find out the two apps I put on there don't want to act properly because the SD card is too slow (which is why the feature shouldn't even be here in the first place).
divinemyth99 said:
<snip>
Click to expand...
Click to collapse
If I do do one of those options it would most likely be the second one because last time I messed with partitions on an SD card I, somehow, bricked the phone. I could look for a tutorial somewhere, but this phone's XDA forums is relatively quiet compared to other phones I've had (especially Android development).
@Sheetzie03, I can't help you with adoptable space as it's not something I have much experience with. It could be spotify relies on other components which are not accessible when on the sd.

Micro SD partition

The dual boot 6 thread says it creates a secure micro SD partition but Its only for the 128gb devices. I have the 240gb device and I'm wondering if there is another way to make a partition like that.
Unfortunately, I'm not sure what you mean. Do you want to have a split SD partition or reformat the internal "SD card" (storage)?
I want to create a new separate partition one that would not be wiped when you format data. In the dual boot thread it says that it creates a new partition so there is a way I'm just wondering how to do it. Unfortunately the dual boot only works on 128gb device I got the 240...
Macusercom said:
Unfortunately, I'm not sure what you mean. Do you want to have a split SD partition or reformat the internal "SD card" (storage)?
Click to expand...
Click to collapse
jessejamesd2i said:
I want to create a new separate partition one that would not be wiped when you format data. In the dual boot thread it says that it creates a new partition so there is a way I'm just wondering how to do it. Unfortunately the dual boot only works on 128gb device I got the 240...
Click to expand...
Click to collapse
I'm not sure if this is easily possible due to how the super partition works. Unfortunately, this is out of my knowledge. There are ways of repartitioning your device but I'm not sure how it plays together with encryption
I found a guide for doing it but i cant because i need a twrp that has the commands to create or modify partition sizes. I have some knowledge about how to do it because i used to play with linux alot when i was younger. I know how to do it but im worried about encryption & whatever else that i dont know. All i know is they figured out how with the dualsix, I sent him a pm asking how hopefully it was him who compiled the scripts & knows exactly what to do. I really appreciate you taking the time to try to help. I love XDA & its members everyone is quick to try and help and there is not very many people who talk **** and act disrespectful. Thanks for being one of those awesome people!
Macusercom said:
I'm not sure if this is easily possible due to how the super partition works. Unfortunately, this is out of my knowledge. There are ways of repartitioning your device but I'm not sure how it plays together with encryption
Click to expand...
Click to collapse

Categories

Resources