SDcard as internal storage in Redmi note 8 AOSP - Redmi Note 8 Questions & Answers

How to use sdcard as internal storage on my redmi note 8, currently i'm using PixelOS rom. when I go to the setup settings for the sdcard there are two options, using the sdcard as portable storage and as extra phone storage. but when I choose as extra phone storage the formatting process stops at 40% and an error appears "attempt to invoke virtual method 'int java.util.arraylist.size()' on a null object reference". is there a way to solve this error or use sdcard as internal in this aosp?
{
"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"
}

If you have Magisk, you could try this module: https://forum.xda-developers.com/t/4078731/ (look for its latest version on page #7).
It helped me solve a similar problem on another device -- a tablet, not a RN8.

pnin said:
If you have Magisk, you could try this module: https://forum.xda-developers.com/t/4078731/ (look for its latest version on page #7).
It helped me solve a similar problem on another device -- a tablet, not a RN8
Click to expand...
Click to collapse
Still getting the same error, this module not working. Or is there a specific way to use this module?

Sorry, can't answer, no idea.
Are you on A11 firmware, by any chance?

Setsunao said:
Still getting the same error, this module not working. Or is there a specific way to use this module?
Click to expand...
Click to collapse
that module is for enabling rw permission on SCcard ,it's not what you look for ...
this problem may be a PE thing, another member also reported same error
try removing partition
or report to rom dev

pnin said:
Sorry, can't answer, no idea.
Are you on A11 firmware, by any chance?
Click to expand...
Click to collapse
loopypalm said:
that module is for enabling rw permission on SCcard ,it's not what you look for ...
this problem may be a PE thing, another member also reported same error
try removing partition
or report to rom dev
Click to expand...
Click to collapse
Looks like it's a problem from PixelOS rom, I tried to use another rom and format sdcard it works fine.
Thank you everyone for helping me

Partition your SD Card for installing apps and storing other files at same time.
Make sure you have a root shell. If not, root your device with Magisk first.
Start a terminal, and run su to switch to root shell ($-->#) .
Partition your sdcard. Follow the instructions below.
1. Check your sdcard number.
Code:
sm list-disks adoptable
You will get the output like this:
Remember the disk number for further use.
2. Run the partition command to seperate your sd card space. Some space are used to store apps and their data. And the rest space keeps as external sdcard space.
Use this command to seperate your sd card:
Code:
sm partition "disk_number" mixed "reserved_percent"
Replace "disk_number" with your real disk number. Also you can control how much space goes for storing apps and their data and how much you want to reserved. For example you want 70% of SD Card for storing apps and 30% for original external storage, then "reserved_percent" is 30.
Code:
Example 2: Want 60% of sdcard goes to store apps, 40% as external storage.
sm partition "disk number" mixed 40
Press ENTER to execute your command. All data on your sdcard will be destroyed. Back up all data on sdcard first if needed.
Right now the sdcard has the ability to store apps. Move your apps to sdcard as you like.
Voila!
EDIT: I made a detailed guide here. Check it for more details. Press "like" button if helped you.

Setsunao said:
Looks like it's a problem from PixelOS rom, I tried to use another rom and format sdcard it works fine.
Thank you everyone for helping me
Click to expand...
Click to collapse
Just face the same problem as you. Tried some custom roms looks like only Android 11 have this issue. Wondering if you rollback to Android 10 to avoid this?

Jamisonlu said:
Just face the same problem as you. Tried some custom roms looks like only Android 11 have this issue. Wondering if you rollback to Android 10 to avoid this?
Click to expand...
Click to collapse
I'm still using android 11. To fix this, I use link2sd plus with magisk, until now this method works well

Related

[Q] Internal memory full

Hello everyone.
I'm running Oxygen 2.0.1 with A2SD enabled.
My internal memeory seems to be almost completely full though i have nothing installed in it.
I cleared the cache a look through almost all my apps, but i really can't figure out why i have no space left.
Usually i have more than 100MB free space even with many more applications installed, so something must be using all my internal mem.
Do i have to clean my internal memory each time i flash a new ROM or something like that?
When you flash a new rom you do a factory reset and clear dalvik cache. As for your memory being almost full, depending on how the a2sd script works and what it puts onto the SD card, data can still install to internal memory. Like the dalvik cache. If you can, use a file manager to see what is using memory.
Sent from CM7
could you please tell me how i use a file manager to check what's using my memory?
lll
Use root explorer. It will show the space available on each nand partition.
nagypapi said:
Use root explorer. It will show the space available on each nand partition.
Click to expand...
Click to collapse
Okay thank you all guys.
I bought root explorer and look around a bit, and ofcause i came across the dalvik-cache.
The Dalvik-cache is nothing less than 85mb, which is pretty huge right?
is there any way i can shrink the case/is it possible that the cache contains information from my old rom, which does nothing else than using the space?
You could wipe it through recovery then reboot and see what it looks like then..
Sent from my HTC Desire using Tapatalk
Yea thank you.
That's probably what i'm gonna do
Acer has a fix for the memory issue
DOWNLOAD FOR FIX
This isthe download for the gps files filling the memory on your tablet.
Simple directions.
igwtapc said:
DOWNLOAD FOR FIX
This isthe download for the gps files filling the memory on your tablet.
Simple directions.
Click to expand...
Click to collapse
Cool, only 2 years late..
RSK Sattelite SuperSense4.1
igwtapc said:
DOWNLOAD FOR FIX
This isthe download for the gps files filling the memory on your tablet.
Simple directions.
Click to expand...
Click to collapse
{
"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"
}
I have a problem similar to this, but I had installed Intercepter-NG, and forgot to tell the program to use my SD card, and it filled up the internal memory with logs.
Now I can't get to the logs, because I have lost my USB cable.
Is there a free program for the Galaxy Y S5360 that will let me look in Internal Memory and delete the logs??
unclechicken said:
I have a problem similar to this, but I had installed Intercepter-NG, and forgot to tell the program to use my SD card, and it filled up the internal memory with logs.
Now I can't get to the logs, because I have lost my USB cable.
Is there a free program for the Galaxy Y S5360 that will let me look in Internal Memory and delete the logs??
Click to expand...
Click to collapse
You don't need your usb cable to browse your own phone
There are many free programs, search the play store for a file manager...
Uninstall some apps if you need to make space
Or...is there an option within this interceptor app to delete the logs directly?

[Q] Internal storage on tommytomatoes Classic Rom

I'd love to post directly to the thread in the developers section to ask this, but until then, can someone testing The Classic v0.0.9 let us know how internal storage is with the latest update?
I'm currently on Classic v0.0.6 with a substantial number of apps moved to SD card with Apps2SD Pro, and still only have about 47 mb of available space in Internal Storage. Just wondering if the latest version has more/less/or about the same amount of internal storage than v0.0.6?
Thanks
{
"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"
}
I'm running 0.0.9 and have a ton of free storage, however I'm using dta2sd on a partitioned SD card. I'm not familiar with apps2sd pro.
sent using a freaking pigeon, with a note tied to its leg.
Apps2SD Pro just moves part of the app. Data and cache still stay in the internal storage of the phone for the apps. If you use a lot of apps you may want to partitioned your sd card and flash dta2sd. This way the app and data will be moved to sd partition. You can even move the cache if needed. Hope that helps.
I wasn't familiar with dta2sd. Just read some posts stating that this rom already has it. Should I move the apps back to phone using Apps2SD, uninstall Apps2SD, then move to apps back again with dta2sd?
hornmich said:
I wasn't familiar with dta2sd. Just read some posts stating that this rom already has it. Should I move the apps back to phone using Apps2SD, uninstall Apps2SD, then move to apps back again with dta2sd?
Click to expand...
Click to collapse
Is your sd card partitioned? If not you must do so to use dta2sd. Just make sure to backup all data from your sd card to your pc before doing so.
Sorry. I did mean to include in earlier post that my SD card is partitioned already. Thanks for all of the help.
Sent from my PC36100 using xda premium
hornmich said:
Sorry. I did mean to include in earlier post that my SD card is partitioned already. Thanks for all of the help.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Then all you need to do is go into terminal emulator. Type su. Then type a2sd reinstall. This will activate A2SD and move your apps and data to the sd partition. This is if the rom you have has a2sd baked in already. If not you will need to flash it. http://forum.xda-developers.com/showthread.php?t=715938
Thanks, this worked for me as well!
I'm not sure if it's related, but after flashing DT a2sd, I was able to reinstall the google search box widget on Classic Rom. For some reason, I kept getting errors about a month or 2 ago. So I tried to uninstall/reinstall. For the past month or so, when tried to reinstall/download from Play, I kept getting error message.
Thanks again for this recommendation on a2sd.
hornmich said:
I'm not sure if it's related, but after flashing DT a2sd, I was able to reinstall the google search box widget on Classic Rom. For some reason, I kept getting errors about a month or 2 ago. So I tried to uninstall/reinstall. For the past month or so, when tried to reinstall/download from Play, I kept getting error message.
Thanks again for this recommendation on a2sd.
Click to expand...
Click to collapse
What's the error you were getting? I was getting the error (error processing purchase). I used this method to fix it. http://forum.xda-developers.com/showthread.php?t=1566447
View attachment 1033483
This is by far the smallest internal storage usage I've had with any ROM. I also have my SD partitioned
and use ROM Toolbox's App2SD...
...and I know its off subject but I would like to share...
...this blows away any battery life I've had with other ROMs and kernels and tweaks.
sorry, missing link

How to define the path of an external card

Hello
I installed an application that gives me the option to install its database on a path of my choice.
So I would like to install it on the external memory but I can not set the path to the external memory.
Knowing that the default path is / sdcard / My application. This makes the database to be installed in the internal memory.
I tried /storage/extSDCard/ but I get the message 'no such directory'.
My phone is S4 mini Duos i9192
thank you
Please help me
newbyman said:
Please help me
Click to expand...
Click to collapse
Try the App Root explorer to find it, on my device the path is /external_sd
Flatric said:
Try the App Root explorer to find it, on my device the path is /external_sd
Click to expand...
Click to collapse
Thanks for the reply
I tried but I get the message: No such directory
/storage/sdcard1
If you wanna dig deeper I wrote a quick reference about KK storage including paths, variables and permissions http://forum.xda-developers.com/showthread.php?p=53313081#post53313081
aguaz said:
/storage/sdcard1
If you wanna dig deeper I wrote a quick reference about KK storage including paths, variables and permissions http://forum.xda-developers.com/showthread.php?p=53313081#post53313081
Click to expand...
Click to collapse
thank you for the help but I did not understand what to do
.
Install a file explore such as Root Explorer or cyanogenmod file explorer. It will show you the path.
TNCS said:
Install a file explore such as Root Explorer or cyanogenmod file explorer. It will show you the path.
Click to expand...
Click to collapse
the path in root explorer is: /storage/extSDCard
but when I put this path in the application I get a message of error.
newbyman said:
the path in root explorer is: /storage/extSDCard
but when I put this path in the application I get a message of error.
Click to expand...
Click to collapse
Ok, how about create a folder and point to there? Example create a folder called "Myfile" than use /storage/extSDCard/Myfile/ <-- give it a shot. If it still not working, them it most likely the app itself or Kernel/rom related issue.
TNCS said:
Ok, how about create a folder and point to there? Example create a folder called "Myfile" than use /storage/extSDCard/Myfile/ <-- give it a shot. If it still not working, them it most likely the app itself or Kernel/rom related issue.
Click to expand...
Click to collapse
I did so but it didn't work
I need someone who has galaxy s4 mini and try himself on his phone.
https://play.google.com/store/apps/details?id=tool.offline.translation.dictionary&hl=fr
In fact the application is small and looks like 'google translate'. I can move the application to the sd card without difficulty.
the problem is that once the application is installed, I have to download language packages which are a bit big.
By default, the application installs these packages in the internal memory. But it gives me the option to change the path to another directory.
What I seek is to define a path that will allow the application to install these packages in the external sd card.
thanks
Are you on official kk ROM? You need root and sdfix
For me it's working (cm11) use the path
/storage/sdcard1/xxxxx
I think on jb 4.2.2 should be the same
{
"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"
}
fburgos said:
Are you on official kk ROM? You need root and sdfix
For me it's working (cm11) use the path
/storage/sdcard1/xxxxx
I think on jb 4.2.2 should be the same
Click to expand...
Click to collapse
Thanks a lot for testing the application
I'm on jb 4.2.2 I tried /storage/sdcard1/xxxxx but didn't work
newbyman said:
Thanks a lot for testing the application
I'm on jb 4.2.2 I tried /storage/sdcard1/xxxxx but didn't work
Click to expand...
Click to collapse
The workaround i could think would be to use folder mount and root and its very useful not only on this app
fburgos said:
The workaround i could think would be to use folder mount and root and its very useful not only on this app
Click to expand...
Click to collapse
Thanks a lot
problem solved
/mnt/extSdCard/MyApplication/
Thank you all

Rooting Huawei Y560-L01 (alias Y5)

Hi!
Has any routed this phone successful? I've tried Kingo ROOT yet. (Android version: 5.1.1)
How can I root this device a step-by-step method?
Thanks!
Anyone? There's like zero information about this phone anywhere, can't even navigate the strange chinese custom reovery menu nor can I find any pictures/translations of it
edit: I can access the normal recovery menu with volume up + power which is also in English, my bad, but when I press volume down + power I get this strange menu and since pressing or holding the power button didn't do anything I had to remove the battery to exit it: imgur.com/a/eE3hb
edit2: reddit.com/r/translator/comments/3u1hwj/chinese_english_huawei_y560l01_smartphone_custom/
I just got one of these today. Got it rooted with KingRoot:
{
"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"
}
Looks like this thing is unlocked too, which is nice: (Well, at least it doesn't say that it is locked. I have used only Samsung devices to this point, so I am not too familiar with fastboot yet)
Code:
~ > fastboot oem get-bootinfo
...
(bootloader) Device UNROOT
OKAY [ 0.003s]
finished. total time: 0.003s
I can't seem to find the kernel sources anywhere though.. Oh well, trying to get TWRP running with the stock one then..
EDIT: Found it here: http://m.huawei.com/enmobile/consumer/support/downloads/index.htm
EDIT2: It doesn't seem to have the device specific code in it.. :I
EDIT3: Well, here is the completed TWRP-port: http://forum.xda-developers.com/android/development/recovery-twrp-huawei-y5-t3279477 Took a day to get it working and couple of days to get the bugs out.
Thanks Nikiz for your TWRP, I got one of these last week but didn't want to use an exploit app so being able unlock the bootloader and root with TWRP is great.
Unfortunately I didn't make a backup of the Huawei recovery first but am downloading firmware from here:
consumer.huawei.com/at/mobile-phones/support/downloads/detail/y5-at.htm?id=56623
so hopefully this works if I want to make it 'official' again.
johnrowley77 said:
Thanks Nikiz for your TWRP, I got one of these last week but didn't want to use an exploit app so being able unlock the bootloader and root with TWRP is great.
Unfortunately I didn't make a backup of the Huawei recovery first but am downloading firmware from here:
consumer.huawei.com/at/mobile-phones/support/downloads/detail/y5-at.htm?id=56623
so hopefully this works if I want to make it 'official' again.
Click to expand...
Click to collapse
It doesn't have the recovery image.. But I usually do a full backup of everything before doing any modifications. https://www.androidfilehost.com/?fid=24352994023702816
EDIT: Added to the TWRP-thread.
All I wanted to do was move my apps to the SD Card. Hopefully this does not brick my phone.
Lord Master said:
All I wanted to do was move my apps to the SD Card. Hopefully this does not brick my phone.
Click to expand...
Click to collapse
I though the stock ROM has native App 2 SD? Just go to Settings, Manage apps, select the application, Move to SD card. Not sure how well it works, as I haven't used it. Rooting your phone can't brick it. Stupid things you can do with root can brick it.
Nikiz said:
I though the stock ROM has native App 2 SD? Just go to Settings, Manage apps, select the application, Move to SD card. Not sure how well it works, as I haven't used it. Rooting your phone can't brick it. Stupid things you can do with root can brick it.
Click to expand...
Click to collapse
I can move it but the obb files remains on the phone and those are the the files I want moved. I wanna test out how slow GTA San Andreas plays on this phone
If i unlock bootloader and root my Huawei Y560-L01, 64Gb µsd card is supported?
Edit 2: yes my huawei Y560-L01 support 64Gb µsd card with Cyanogen

Havoc OS: Why my internal storage now is 16 GB only

Hi,
I was using the official stock ROM of Xiaomi and rooted it .. but I wanted to try different ROM that is not of Xiaomi, and I choose Havoc OS to try this time.
My device storage is 32 GB .. so with stock ROM it was shown as ~22 GB from the file manager .. after I installed Havoc OS, it is shown now as 16 GB .. is that Okay? I thought I should have more space with Havoc ROM than stock ROM without all Xiaomi stuff .. did I corrupt something or Havoc ROM is heavy anyway and I should replace it with lightweight good-reputation ROM?
cerahmedshendy said:
Hi,
I was using the official stock ROM of Xiaomi and rooted it .. but I wanted to try different ROM that is not of Xiaomi, and I choose Havoc OS to try this time.
My device storage is 32 GB .. so with stock ROM it was shown as ~22 GB from the file manager .. after I installed Havoc OS, it is shown now as 16 GB .. is that Okay? I thought I should have more space with Havoc ROM than stock ROM without all Xiaomi stuff .. did I corrupt something or Havoc ROM is heavy anyway and I should replace it with lightweight good-reputation ROM?
Click to expand...
Click to collapse
Go to Settings/storage and see the total storage
Havoc is 1gb at best and even with Gapps it's still smaller than Miui
If you have Mixplorer it can show you how much space the rom is taking like this :
{
"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"
}
loopypalm, it says it is 16 GB in settings .. it cannot be .. I have the box of this phone and I remember when I bought it .. it is 32 GB storage.
I don't have this app, I am searching for alternative to get this info.
also, on a fresh havoc install it showed 7 GB free space.
loopypalm​
I couldn't find any file explorer to show more info .. but I tried several apps that list device information .. all I tested showing that my internal storage is 10 GB, except one app I took some screenshots from it and as you can see it says "Flash Size" as 32 GB, but the partitions tab not showing details about all 32 GB:
cerahmedshendy said:
also, on a fresh havoc install it showed 7 GB free space.
Click to expand...
Click to collapse
Wat ? Havoc is on some ****
do a clean flash with format
if still show incorrect size use one of those
And here is what I am saying about other apps showing my internal storage is 10 GB, I hope I didn't do any mistakes:
loopypalm, you mean I should use another custom ROM if problem still exist? I am thinkin of ArrowOS, what do you think?​
cerahmedshendy said:
you mean I should use another custom ROM if problem still exist?​
Click to expand...
Click to collapse
yes
cerahmedshendy said:
I am thinkin of ArrowOS, what do you think?​
Click to expand...
Click to collapse
do what you like
my top4 are the one i linked ...
Alright loopypalm .. thank you for your help .. I will do my best following your notes and get back here with the result.
@loopypalm,
I works now and the storage is 22GB as it was with the stock ROM.
I didn't have time to try havoc os, so I went with ArrowOS.
I found one issue, SafetyNet's attestation failed and actually I didn't get from Google what is the use of it but I used to check it and never failed.
I followed steps in this video:
After I enabled MagiskHide and installed "BusyBox" & "MagiskHide Props Config" then rebooted, SafetyNet works successfully ..
In the video he installed terminal emulator, and started to do something with props command, I stopped here and thought to ask if I should go further or no need for that.
cerahmedshendy said:
SafetyNet's attestation failed and actually I didn't get from Google what is the use of it
Click to expand...
Click to collapse
Bank apps use it to check if your phone is "safe" or not ...
cerahmedshendy said:
After I enabled MagiskHide and installed "BusyBox" & "MagiskHide Props Config" then rebooted, SafetyNet works successfully ..
Click to expand...
Click to collapse
If it work for you then good
people recently start to use Riru+xposed to pass it ...
cerahmedshendy said:
In the video he installed terminal emulator, and started to do something with props command, I stopped here and thought to ask if I should go further or no need for that.
Click to expand...
Click to collapse
He executed the prop module to customise the phone name and the rom used ...
@loopypalm, okay then I think no need for more actions ..
Thank you for the help @loopypalm

Categories

Resources