Mystery of disappearing RzR Nandroid and all those MB's - Samsung Galaxy W I8150

Hi, just a little background first....
I'm sure many of us have already tried out the RzRecovery, which was good, but, for me anyway, had a fatal flaw.......
and left a big legacy when I abandoned it.
The inability to successfully see Nandroid on External SD Card, even though Recovery says it made the backup there, after we choose /sdcard/external_sd as back-up path, and in Recovery it appears to be there, even you can erase it.
However, when you looked with File Manager, like Root Explorer, the Nandroid Backup, and associated folders is nowhere to be seen, as shown below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, what you would expect to see there is this:
nandroid/GINGERBREAD.XXKK1-BDCSA-20120115-0052//boot.img/system.tar.gz/data.tar.gz/cache.tar.gz/secure.tar.gz
This is the structure of the nandroid under RzRecovery....a nandroid folder, with a sub-folder for each backup, which contains the files boot.img, system.tar.gz, etc, etc.
However, it must be there, you would think, coz RZRecovery can find it, and even use it to restore, and it can be erased, so where is this data on our devices???
I have discovered where exactly RZrecovery was storing this back-up data, but it is not where we expected to find it.
What I did was go to Storage in Settings, and Unmount SD card....thereby disabling the external storage (SD card).........
this is where RzRecovery was supposed to have put my back-up.....but guess what!!!!!!
Look at the Pic with external storage SD Card unmounted on my device:
Still got /sdcard/external_sd
Properties of /sdcard/external_sd showing 402 MB
/sdcard/external_sd showing nandroid folder
Showing GINGERBREAD..... Backup Folder
Finally, Folder showing Backup Files
Now, I stress, above caps were taken when External SD Card was unmounted, disabled.....
So, when I remount External SD Card, all above become invisible on your device, you will not see the nandroid folder.......
and you do not know where that 402 MB has gone!!!!!
I think this is a fundemental flaw in the RzRecovery, regarding the external SD card, and where it stores back-ups supposedly being saved on External SD.....
Instead they are being saved in a folder/directory, on the Internal Storage/SD....and are not visible when the actual External SD is mounted......
this folder has the same name as the name given to the External SD, but it is not the external SD.
Would anyone with more knowledge of Android file system, as it applies to our device, care to comment????
There has to be a way to distinguish between what is a folder, and what is an external SD drive????

Anyone at all have any comment....
I think this is important for anyone who made a Nandroid backup using RzRecovery and had the external SD card as the target for storage.......
they could possibly be missing 400MB of space.....and have a dodgy folder on their internal Storage.
Sent from my GT-I8150 using Tapatalk

irishpancake said:
Anyone at all have any comment....
I think this is important for anyone who made a Nandroid backup using RzRecovery and had the external SD card as the target for storage.......
they could possibly be missing 400MB of space.....and have a dodgy folder on their internal Storage.
Sent from my GT-I8150 using Tapatalk
Click to expand...
Click to collapse
I don't use RZRecovery, but in your case I would connect my phone as USB-Storage to the PC and search by size all the internal and external storage.
You can also search for nandroid.
greets
THE-E

THE-E said:
I don't use RZRecovery, but in your case I would connect my phone as USB-Storage to the PC and search by size all the internal and external storage.
You can also search for nandroid.
greets
THE-E
Click to expand...
Click to collapse
Thanx for answering.
Like you, I no longer use RzR, but I did at first....and was puzzled by the disappearing nandroid on external SD. Which is why I posted my OP.
As for connecting to PC......
I already did that, as confirmation of my findings above.
The internal storage drive did indeed have the /external_sd folder, which had in it the complete nandroid, as described.
When external SD is mounted on your device, these contents cannot be seen, as what appears under the /sdcard/external_sd will be the actual contents of the external SD.
So, this phantom nandroid and it's contents is masked to the user.
Sent from my GT-I8150 using Tapatalk

Related

[Q] storage problem

Hey Guys,
it's me again haha.
So I have a problem...
I just read this about the memory of our phone:
Vyker said:
There are 3 storage options on this phone...
ROM aka Device Memory = 1GB = Where apps install to.
Internal SD aka USB Storage = 2GB = Extra space
External SD aka SD Card = upto 32gb microSD card.
Click to expand...
Click to collapse
So, I downloaded Backstab and need to download extra data, which are downloaded to SD...
Now I'm getting the message that there isn't enoght memory aviable.
So I looked into the file manager and saw, that all downloads,pictures etc. are saved on the "USB Storage" (→Internal SD).
Now my question is, how I can change the standard storage to "SD Card" (→External SD) , that my downloads, pictures (and of cause the data for Backstab) are saved on my "SD Card" (→External SD), where are 8GB free instead of the 72MB on "USB Storage" (→Internal SD).
Hope you understand what I mean ; my english isn't the best, I know
Thanks in Advance
Julian
I got that same problem when d/l additional data for games, etc.
Any sollution for it?
Sent from my GT-I8150
App 2 SD (move app to SD)
You can find this tool in the android market.
Note not all apps can be moved but this may help.
robin0800 said:
You can find this tool in the android market.
Note not all apps can be moved but this may help.
Click to expand...
Click to collapse
That app only moves apps from the Device Memory to the internal SD, not to the external one.
If your phone is rooted (if it isn't, I'd advise you too, although I reckon you should first research the pros and cons - and your warranty is voided), you can use ROM Manager to change the default path App2SD puts your apps into, or you can flash a ROM with internal/external memory swap.
Short version: both of these solutions require your phone to be rooted. If it isn't, then my post isn't of any help but there might be someone more knowledgeable out there who actually knows another (better) way to do this.
Dusk252 said:
That app only moves apps from the Device Memory to the internal SD, not to the external one.
If your phone is rooted (if it isn't, I'd advise you too, although I reckon you should first research the pros and cons - and your warranty is voided), you can use ROM Manager to change the default path App2SD puts your apps into, or you can flash a ROM with internal/external memory swap.
Short version: both of these solutions require your phone to be rooted. If it isn't, then my post isn't of any help but there might be someone more knowledgeable out there who actually knows another (better) way to do this.
Click to expand...
Click to collapse
That app only moves apps from the Device Memory to the internal SD, not to the external one.
This is not true.......
App2SD moves Apps to External SD, if you have normal /etc/vold.fstab, with mount points as normal, not swapped.
This App is really just a GUI to do what you can do with native Android Apps 2 SD....and it gives Notification if a d/l App can be moved, i.e. coded by dev.
To actually see what Apps are on External SD, if you have moved them, use Storage Analyser free from Market.
See samples from my phone:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can clearly see, I hope, Apps which have been moved to External SD, in /sdcard/external_sd/.amdroid_secure.
These Apps were moved with App2SD.
Also, if you look at the pic below, of Settings/Manage applications/On SD card tab.....this shows those Apps which have been moved to External SD, which have a check-mark, e.g. Google+.....you can also see G+ above, clearly in external .android_secure folder
and it also shows those Apps which can be moved, or are coded to by dev.
btw...the USB Storage message on bottom is just information!!
USB Storage or Internal SD, is intended for Storage of Data relating to Apps, Pics, Music, Game Data, etc.
USB, or Internal SD, cannot be used, normally, for Apps, i.e. as in App2SD
I see. I was wrong then. Thank you for the useful post. It turns out I was fooled by the "USB Storage" bar, since it seems to imply they're stored in the internal memory.
But I don't think that'll really solve his problem, as from what I understood, the application data is still stored in the internal SD. So I still think the internal/external swap would be the best solution for him. Specially since he also complains about the pictures and stuff.
Either way, that ended up being an important piece of info for myself, so I thank you again for correcting me.
Thanx Dusk252
You are correct re OP......
if you wish to store loads a game data or photo stuff....
I think that is what the swap was designed for....it will give you potentially 16/32G for this data....I feel you will need a good SD....like at least Class 6....
And Apps can be moved to the smaller Internal SD....which could be good.....
On my last device I needed to use DT's A2SD..with 1G ext-3 partition on SD for Apps.....so this phone is pretty good.....
Just on the OP....it is a pity that most Apps seem to be written with the /mnt/sdcard as default external Storage....
something devs should keep in mind!!!
Sent from my GT-I8150 using Tapatalk
Hey Guys,
thanks for careing about my problem
But I don't understand how I can swap the internal/external :S
could you please explain it to me.
Thanks in advance
JuLiian.
You have too ways of doing that (technically, three). But please understand before trying any of this that your phone must be rooted!
1. Manually edit the /etc/vold.fstab file (non-recommended unless you can find a good tutorial specifically for Galaxy W, since different devices might have different mount points. I wasn't able to find one, but my research took me 2 min so you might be able to find one.)
2. Replace your vold.fstab file with an already edited one. Here's a nice tutorial on how to do it.
3. Flash a custom ROM which already has this tweak. Like this one, for example.
backstab is gameloft ryt? y not try this http://forum.xda-developers.com/showthread.php?t=1091455 it work on asphalt adrenaline and dungeon hunter, what it does is it changes the file path of the data, so that your data can be save on your external_sd, just follow the steps there, hope that helps
edit: ow sorry that link is for LG but i find one for samsung like: "Auto_Patch_APK_for_Samsung_by_Duero__include_Java_" just search for it
edit2: i found it http://forum.xda-developers.com/archive/index.php/t-1129134.html just try if the download links are still working

backup with CLOCKWORK, is it ok?

i installed clokwork with odin
i've made a backup with this program but at the end appeared this message
No sdcard/android_secure found. Skipping backup of application on external storage
Click to expand...
Click to collapse
No sd-ex found. skipping backup of sd-ext
Click to expand...
Click to collapse
http://imageshack.us/photo/my-images/826/p3290531.jpg
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is it ok? or i have to make something special like formatting sd-card or other
thanks
No the sd card thing is just if you have a partition in it for apps. So the backup you made is perfect. It shows every time when I make one on my phone.
Sent from my SGH-I777 using xda premium
Really, what is happening is that Recovery expects to find that .android_secure folder where the External SD Card normally is for most Android, that is /mnt/sdcard .......
But, things are different on our phone, as our External Card is on /mnt/sdcard/external_sd
AS far as I know, and I am open to correction, there is no back-up of Apps moved to external SD performed by this CWM version.
And, I think that as far as Recovery is concerned, the external SD is on /emmc.....
http://forum.xda-developers.com/showpost.php?p=21816984&postcount=81
arco68 said:
/sdcard/external_sd/.android_secure != /sdcard/external_sd
There is no /sdcard/external_sd/.android_secure as far as recovery is concerned. In recovery, what is /sdcard/external_sd in stock rom, is /emmc - which is the external sd card. I'll see if backing up .android_secure from external sd card can be added.
Click to expand...
Click to collapse
Not sure if the updated Recovery for CM9 has addressed this issue.....back-up of apps moved to External SD???
irishpancake said:
AS far as I know, and I am open to correction, there is no back-up of Apps moved to external SD performed by this CWM version.
Click to expand...
Click to collapse
I understand you here Irish and I read through your discussion with Arco on this issue,but in reality it appears the CWM never had any problems backing up apps; whether moved to to SD or not.I say this because I have many apps on my SD,yet successfully restored them ALL from my nandroid after flashing new stock ROM.
Sent from my Wonder
Tanks to all
in sd card i have some photos mp3 and sysgic maps
2g11 said:
I understand you here Irish and I read through your discussion with Arco on this issue,but in reality it appears the CWM never had any problems backing up apps; whether moved to to SD or not.I say this because I have many apps on my SD,yet successfully restored them ALL from my nandroid after flashing new stock ROM.
Sent from my Wonder
Click to expand...
Click to collapse
Hi again 2g11......
I don't dispute what you are saying at all.....
But, can I propose a reason, with some proof, for my contention regarding no backup of Apps moved to External SD??
My contention is that you are able to restore Apps which have been moved to External SD, for the simple reason that your external SD does not change it's contents, as nothing is written to it by Nandroid restore.....
the .android_secure on external SD is left intact, no back-up, no restore, no change.
As part of Android security, there are asec files in the Phone Internal memory, which are basically sym-links to the Apps which are on External SD.......
these are restored as part of the Nandroid Restore process, so if your external SD has not been corrupted, or destroyed, the Restore will appear to restore those Apps on External SD.
My evidence of no backup of External .android_secure folder/files follows...
[I have made a Nandroid backup with CWM recovery, and also used Titanium BU to back-up all Apps+Data]
By use of Titanium Backup Pro ability to extract Apps from Nandroid, I show that an App, my example is Amazon Kindle, is not included in my Nandroid Backup, but it's data is, which is in Internal Phone memory.
See Extract from Nand option and Nandroid Backup used here.
TBU Extract from Nand Option
Nandroid Backup used
This App, Amazon Kindle, has been moved to External SD:
Storage Analyser showing Kindle in /mnt/sdcard/external_sd/.android_secure
Below is a pic, showing the Legend [Symbols] used by TBU:
Titanium Backup Pro Legend
Now, using the above information, and the fact that Titanium Backup Pro is capable of restoring Apps by extracting from Nandroid, look at the following pic:
Titanium BU showing only Data Backup for Amazon Kindle in Nandroid
As you can see, only Data relating to Amazon Kindle is backed-up.
To check and verify this, I uninstalled Kindle, and attempted to use the Nandroid to restore, as shown above......with no success.
However, as you know, I also had a regular Titanium BU, of Apps+Data, taken at the same time.
With this I restored Amazon Kindle and data without a hitch!!!
My books are still there!!!! Thank God!!!
But, if I was relying on a Nandroid, made with our CWM, to restore this App after a SD card failure or corruption, I would not be able to do it!!!
My advice is, to be sure, always make a back-up of the full contents of your SD card, by connecting to your PC, and using whatever, e.g. Windows Explorer, with all hidden files and folders shown.....make sure all files with . are backed up
You never know when that SD card will fail, so "Be Prepared" as they say in the Boy Scouts....dib..dib...dib!!
Irish,looks to me like there's plenty of life in those 57-yr old brain cells yet.I think your explanation completely 'explains' whats going on here.So keeping apps on the 'external' SD also unwittingly protects them from system wipes as long as you make a nandroid...and as long as your SD doesn't fail you!!Thanks Irish!
Sent from my Wonder
2g11 said:
Irish,looks to me like there's plenty of life in those 57-yr old brain cells yet.I think your explanation completely 'explains' whats going on here.So keeping apps on the 'external' SD also unwittingly protects them from system wipes as long as you make a nandroid...and as long as your SD doesn't fail you!!Thanks Irish!
Sent from my Wonder
Click to expand...
Click to collapse
You are most welcome.....thanx!!!
BTW.....58 last Feb.....
Sent from my SGW GT-I8150 using Tapatalk!!
Just to reiterate:
The best thing to do, and good practice anyway, back up External SD regularly.....maybe when you do other bk-ups.... like Nandroid and TBU.
Make sure that all hidden files and folders are visible ....there is a Windows setting, not sure for Linux or Mac??
This is basically to ensure that the
.android_secure folder is backed up.
The xxxyyy.asec files there are the App files, which are encrypted and "hidden" [asec = android secure]....
and they have sym links to data in Internal Memory.....
Google sure went to a lot of trouble to "protect" App files on removable memory partition.....
Sent from my SGW GT-I8150 using Tapatalk!!
so do you say that my backup is ok?
toroloco73 said:
so do you say that my backup is ok?
Click to expand...
Click to collapse
Yeah.....I'd say your OK.....
As long as you understand moved Apps on External SD are not backed up.....but that is OK as long as you remember to make a back-up of your SD Card, as outlined in my previous post.....just for your own data security.
Sent from my SGW GT-I8150 using Tapatalk!!
Also, just to mention the other error msg. relating to sd-ext.....like ext-3, or ext-2 partitions.
There is no problem here, this refers to Linux partition on external SD, which is used in some ROM's to move Apps, and which then appear to be on your device.
This is A2SD, by Dark Tremor....which is not supported in our ROM's....afaik!!!!
So no worries there!!!
Sent from my SGW GT-I8150 using Tapatalk!!
It's all ok. Happens to me too.
Inviato dal mio GT-I8150 usando Tapatalk
Hey, sorry if I'm being stupid here...
I've got CWM on my phone, and it all seems to work fine...
But at the moment it's storing the backup on my internal SD card. Is there a way to make it store the backup on my external SD card? I've looked around but I can't seem to find the answer... Thanks
MattD1 said:
Hey, sorry if I'm being stupid here...
I've got CWM on my phone, and it all seems to work fine...
But at the moment it's storing the backup on my internal SD card. Is there a way to make it store the backup on my external SD card? I've looked around but I can't seem to find the answer... Thanks
Click to expand...
Click to collapse
Man....you didn't look too far....
you are in a thread that goes to some trouble to answer your question....
did you read the thread before posting
Read it and learn!!!!
Ok I must really be stupid then... :s
I just re-read the whole thread and I still can't seem to find the answer...?
This thread is about whether the apps stored on the external SD card will be backed up.. I'm not asking that. I'm asking is there a way for the nandroid backup to be stored on the external SD card? What settings do I need to change in CWM to do this..?
CWM --> backup and restore --> backup to external sdcard.
Gesendet von meinem GT-I8150 mit Tapatalk
MattD1 said:
Ok I must really be stupid then... :s
I just re-read the whole thread and I still can't seem to find the answer...?
This thread is about whether the apps stored on the external SD card will be backed up.. I'm not asking that. I'm asking is there a way for the nandroid backup to be stored on the external SD card? What settings do I need to change in CWM to do this..?
Click to expand...
Click to collapse
Man you are not stupid.....that honor belongs to me
I am sooooo sorry....
I did what I accused you of doing.....
not read your post properly, please forgive me !!!!!!!
BTW, it is as rom2007 says.......
maybe I should retire again!!!!

[Q] how to move files from ext2 partition from one SD card to another ?

I just recently bought a new 16GB SD card. I previously had a 8GB which I had partitioned. So how to transfer my apps from the ext2 partition of my old SD card to my new SD card ? Please help it's urgent...
And also I have about 1.80GB left on my old SD card. But look at the screenshot below. When I am using root explorer it says i can't overwrite apps(.apks) as I am out of storage (520KB left). But I had already partitioned this SD card dedicating 1GB for internal. Is this because my partition is full ? My internal memory from system/app in settings says I still have 164MB left. So how come root explorer is finding only 520KB free. See screenshot below. I need help guys
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Would really appreciate any help
Any help guys ? My question is very simple: How to transfer my apps and data which is on my partition on my 8GB SD card to my new one ?
Use a windows app like partition wizard, it's free just Google it. Use an adapter for one card, put the new one in your phone and connect to your pc. There's a function to copy a partition, use that.
Can anyone tell me if I can use Titanium back-up or do a nandroid back-up and restore it in my new SD card for this operation ? Which method is the best ?
Teshand said:
Can anyone tell me if I can use Titanium back-up or do a nandroid back-up and restore it in my new SD card for this operation ? Which method is the best ?
Click to expand...
Click to collapse
i just love it when i can help someone:
ok here is the deal
i had the stock 8GB card with 2GB for 2nd partition so i bought a new 32GB and i needed to move the old 2nd partition's data to the new sd's
all you have to do is to do a nananroid to your old sd so that it will backup your 2nd partition
now move your /clockworkmod folder to PC and then partition the new sdcard with any size you wont (2gb is very typical)
move the /clockworkmod folder to the new sd and go to recovery>>backup and restore>>advanced restore and select "sd-ext"
and now you have you 2nd partition data as they were:angel::angel::angel:
pm me if you need help with that or more detail:angel:
omtay2311995 said:
i just love it when i can help someone:
ok here is the deal
i had the stock 8GB card with 2GB for 2nd partition so i bought a new 32GB and i needed to move the old 2nd partition's data to the new sd's
all you have to do is to do a nananroid to your old sd so that it will backup your 2nd partition
now move your /clockworkmod folder to PC and then partition the new sdcard with any size you wont (2gb is very typical)
move the /clockworkmod folder to the new sd and go to recovery>>backup and restore>>advanced restore and select "sd-ext"
and now you have you 2nd partition data as they were:angel::angel::angel:
pm me if you need help with that or more detail:angel:
Click to expand...
Click to collapse
uve alot of stuff that i couldnt understad im slow learner and mad as i need away to move apps to sd card ive just installed ics which is driving me crazy any thoughts about this
Mr.Doc said:
uve alot of stuff that i couldnt understad im slow learner and mad as i need away to move apps to sd card ive just installed ics which is driving me crazy any thoughts about this
Click to expand...
Click to collapse
here is a step by step detail:
1-your device need to be rooted and bootloader unlocked
2-bacup the contents of your sd to your pc
3-go to your clockworkmod recovery
4-go to advanced>>partion sd card>> and chose the size that suit you(2GB is perfect even for an app addict) and after that it will tell you to choose the swamp partition choose 128MB (not more)
5-now install a free app from the market called link2sd and when you open it choose all your user apps and choose (create link) and link every thing
6-now all your apps will be on the 2nd sd partition
pm me if you need more help i will be glad
I think you may have missed a step... don't you need to copy the nandroid backup to the new SD card and the restore it from there, after it has been set up with the partitions?
You can copy partitions easily with MiniTool Drive Copy tool.
use 2 card-readers
same issue
great help man!
If you want to know how to move files from one hard drive to another you can try the freeware of AOMEI Partition Assistant. Within only several clicks you can finish the transfer. Meanwhile, this software is free from bundleware and popup ads.

Is Lineage's adoptive storage a Link2SD rehash?

Does LineageOS's adoptive storage run on Link2SD? I ask because I was looking to get around Lineage's habit of formatting the entire SD card for adoptive storage, so I thought to try to resize the partition using 'gparted' on a Linux box. gparted was unable because it doesn't recognize the partition's format, but more importantly it reports that the label for the partition is "link2sd." Why would it do that if Lineage hadn't name it that itself?
I am aware there is a method for partitioning using ADB and dedicating only a limited portion of the SD card to adoptive storage but as yet I haven't got that process to work. But what's the point beating myself up figuring that out if all I'm ending up with is link2sd, exactly as I have been with pre-adoptive storage Android phones.
So basically it comes down to this. Is adoptive storage simply a convenience so you don't have to install any 3rd-party storage manager apps, or does it have material advantages over the 3rd-party add-ons (in addition to the fact that it is 'native')?
DrWu said:
Does LineageOS's adoptive storage run on Link2SD? I ask because I was looking to get around Lineage's habit of formatting the entire SD card for adoptive storage,
Click to expand...
Click to collapse
That's not a LineageOS habit, but original Android functionality as designed by Google. And no, it's not related in any way to Link2SD.
so I thought to try to resize the partition using 'gparted' on a Linux box. gparted was unable because it doesn't recognize the partition's format, but more importantly it reports that the label for the partition is "link2sd." Why would it do that if Lineage hadn't name it that itself?
Click to expand...
Click to collapse
The contents of the adoptive storage partition are encrypted. I doubt gparted is able to read a label from that, let alone apply changes to it.
Likely, the shown label is only a (wrong) guess based on the 1byte partition type code.
So basically it comes down to this. Is adoptive storage simply a convenience so you don't have to install any 3rd-party storage manager apps, or does it have material advantages over the 3rd-party add-ons (in addition to the fact that it is 'native')?
Click to expand...
Click to collapse
The idea behind adoptive storage is, that the SD card acts as a memory expansion for the internal storage. The user is not supposed to think about which data goes where. and is not allowed to ever remove the card without losing data.
If you want to put data explicitly in a certain space and/or want to use the card for data exchange with a PC, then adoptive storage is not made for you.
hergen66 said:
...If you want to put data explicitly in a certain space and/or want to use the card for data exchange with a PC, then adoptive storage is not made for you.
Click to expand...
Click to collapse
Thank you for clearing that up for me, hergen66.
The references I was referring to in the OP stated that it was possible to format an BD card for adoptive storage using ADB but splitting it into multiple partitions like so:
"adb shell sm partition disk:179,64 mixed 60"
I gather from what you're saying that this either is incorrect or outdated?
Then again, maybe it can be done.
For reasons I have yet to determine, I still can't get my Nook connected to ADB via USB (which is why I didn't try this earlier). However, I have found I can get it to connect by TCP/IP. And I was able to split-partition the SD card through ADB (with 'ADB over network' enabled and 'USB configuration' set to MTP) with the one-liner I posted above. I created a 12gb "adoptable" partition (with it's companion 16mb metadata partition) and a 47gb "portable" storage partition. LineageOS recognizes them as adoptable storage and portable storage and they appear to be functioning accordingly.
Apparently all Lineage cares about to initiate adoptable storage is that the SD card has the two partitions it creates (metadata and encrypted storage) when it formats for adoptable storage. Whatever else is on the card doesn't seem to matter. The process of ADB formatting causes the OS to see the reformatted card as new and asks how you want it used. When I answered 'portable storage,' it apparently did nothing to alter the card but still mounted and recognized and accepted the 12gb partition as adoptable storage, while also accepting the 47gb patition as 'portable.'
To make sure it was operating as adoptable storage I installed 34 new apps and it definitely is writing to the adoptable partition on the external SD card. I don't have Link2SD or anything of the sort installed, this was all the LineageOS' doing:
So just for giggles I removed the SD card, stuck it in a Linux PC, used gparted to shrink the portable storage partition a bit, and added a fourth partition in the freed-up space, 256mb formatted in swap. Put it back in the Nook, selected portable storage (again) and Lineage remounted it as per usual, with adoptable storage still working. I did the 'mkswap/swapon' thing to activate the new swap slice so now I've also got "overflow" VM on the SD card.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So now I've got adoptable storage, portable storage and swap space, all functional and coexisting on the same SD card. I only ever intend apps and data going to adoptable storage because I do most of my mods and management via Airdroid because it allows me the convenience of a PC's full size keyboard. So consequently it's also more convenient for me to add video, music and ebook files via USB connection to a PC (from Linux Nemo or Windows Explorer), which I couldn't have done if the entire SD card had been dedicated to adoptable storage. Which is why I couldn't/wouldn't stop picking at this until I'd found a solution. I don't know that I won't eventually switch to Link2SD anyway, but I like the idea of using a native app versus a 3rd-party add-on, so for the timebeing I'm test-driving the adoptable storage solution.

SD card corruption issue on Lineage OS 14.1 on Harpia Moto G4 Play XT1602

It's been a while since I had been using Lineage OS on my Moto G4 Play and apart from losing VoLTE, everything seemed to work fine EXCEPT my external SD card. On my stock ROM, i had my Sandisk 32 GB Class 10 card formatted as internal storage and it worked flawlessly.
I did the same in Lineage OS but everytime, after a month or even few weeks, the SD card gets permanently corrupted. First time it happened, I thought it was the SD card issue, got a brand new one on RMA. Happened the second time, again got a new one and this is the third time it has happened. I find it really hard to believe that cards which were brand new got totally fried up 3 times as a coincidence or fate.
I think, there is either some problem with the OS itself or the phone. XDA folks, help me out. I feel ashamed sending the card for a third RMA.
sng_shivang said:
It's been a while since I had been using Lineage OS on my Moto G4 Play and apart from losing VoLTE, everything seemed to work fine EXCEPT my external SD card. On my stock ROM, i had my Sandisk 32 GB Class 10 card formatted as internal storage and it worked flawlessly.
I did the same in Lineage OS but everytime, after a month or even few weeks, the SD card gets permanently corrupted. First time it happened, I thought it was the SD card issue, got a brand new one on RMA. Happened the second time, again got a new one and this is the third time it has happened. I find it really hard to believe that cards which were brand new got totally fried up 3 times as a coincidence or fate.
I think, there is either some problem with the OS itself or the phone. XDA folks, help me out. I feel ashamed sending the card for a third RMA.
Click to expand...
Click to collapse
To my experience we have better stability when using SD as portable storage. And it's easier to repair using a PC.
The solution I found is.
1- have rooted phone 2- enable usb debugging 3- format sd card from Android options as portable . 4- format sdcard as fat32 or ext4. (Fat32 preferably- most recommended) 5) Check sdcard current format with app called disk info . Avoid NTFS format ( this could be the reason it's not formatting as internal storage, Android doesn't support NTFS as internal , and works bad with it as portable) Inside the app check the path of your sdcard.
Download app2sd from somewhere.
use the Partition tool ( as adoptable) inside to create 2nd partitions as vext4
Choose adoptable option and create 2nd Partition as ext4 ( it will actually create a virtual ext4 partition)
choose how much size in each Partition Partition 1 will be internal . Partiion 2 will be external.
So give more than 50% size to 1st Partition this way you might avoid more problems
Press create, you're done.
This method persists for me after reboots.
Thank me from your prayers if it helps.
Details --> go check storage & usb or use disk info to see your new expanded storage size with your new unmounted virtual disk and smile. This new Partition can only use installed apps, but you can't browse it's contents through your Android usb & storage options ( since it's virtual and we're tricking the fuse encryption config) If you actually want to browse this new virtual internal Partition and access it's contents you will have to see the path through disk info APK and access it with root file manager like Total Commander.
Also Do a chkdsk /f from Windows on the sdcard or chkdsk /r to see if the problem is the sdcard or try it in another Android Phone as internal. If it doesn't work in other phones then you know it's the card malfunctioning and not the phone.
This is the dumb error preventing you/us from having persistent storage.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is how it looks after applying solution.
That phone came with 16gb storage. Now I added 16gb more with this method , for 32gb total
- Partition 1 with 13gb as virtual internal and Partition 2 as portable with 3 gb remaining. (The virtual Partition cannot be seen, it says 3gb/16gb when actually it should say 0gb/13gb) It's cause I managed to bypassed this encryption

Categories

Resources