since the inner storage is limited, i want to move dalvik-cache to sd-card, so i delete /data/dalvik-cache, then create a sym link named /data/dalvik-cache there which point to /mnt/sdcard/cache which is also a folder, this appears to works at first, since some dex files are created at /mnt/sdcard/cache folder which is initailly empty, but after i reboot my android phone, it stayed at boot process, even hours.
i wanna repair my phone, there are still some important data there, such as contact data, messages , and communication log.
Facts:
Now i can adb shell to my android device, but failed to run su command, which works well before i delete the folder /data/dalvik-cache, the error message is as follows:
adb shell
$ su // dollar symbol indicates i can connect to my device
su
[1] Segmentation fault su // why i failed to run this su command now?
Questions:
i can still connect to my android phone using adb shell, but i cannot run su command to get root priority now, if i can have root priority, i can delete that sym link named dalvik-cache, and all the things would be well, but how to delete that sym link now?
Would u mind specifing your device?
Sent from my Nexus 4 using XDA Premium 4 mobile app
sachin.parmar100 said:
Would u mind specifing your device?
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
it's huawei U8800
Have you tried flashing stock ROM
Sent from my Nexus 4 using XDA Premium 4 mobile app
sachin.parmar100 said:
Have you tried flashing stock ROM
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
i still have important data inside the /data folder, so i cannot wipe the data and do factory reset, not saying flashing a new ROM
what i need to do is how to delete the symlink named /data/dalvik-cache
Oh, that's really awkward situation then, what else have u tried?
Tried booting without sd card?
And that's really strange coz i did the same mistake on my previous device (deleting the dalvik-cache folder) but surprisingly it rebooted up normally, took a longer time though.
Sent from my Nexus 4 using XDA Premium 4 mobile app
sachin.parmar100 said:
Oh, that's really awkward situation then, what else have u tried?
Tried booting without sd card?
And that's really strange coz i did the same mistake on my previous device (deleting the dalvik-cache folder) but surprisingly it rebooted up normally, took a longer time though.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
the difference is that i created a symlink named dalvik-cache there, so that the folder named dalvik-cache could not be recreated when the phone is booting. but when i delete that folder named dalvik-cache using gui, and create a symlink which points a folder in sdcard, it seems works well, since some dex files are created in the that folder in sd card, but the device failed when reboot, maybe the problem is that sd card driver is not loaded that the android os cannot load gui dex from sd card, so that i can only connect to my device using adb shell, and the gui just stayed in the process of booting
It's because sd card loading takes a bit of time even after boot, while OS requires the dex files during the booting process, that might the causing the issue as it tries to access sd card b'coz of that symlink, but i have no idea of solving this
Sent from my Nexus 4 using XDA Premium 4 mobile app
sachin.parmar100 said:
It's because sd card loading takes a bit of time even after boot, while OS requires the dex files during the booting process, that might the causing the issue as it tries to access sd card b'coz of that symlink, but i have no idea of solving this
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's not just the fact it takes time, the main problem is it happens way later in the boot process, that's why it won't happen even hours later...
---------- Post added at 09:11 AM ---------- Previous post was at 09:00 AM ----------
dalvikna said:
since the inner storage is limited, i want to move dalvik-cache to sd-card, so i delete /data/dalvik-cache, then create a sym link named /data/dalvik-cache there which point to /mnt/sdcard/cache which is also a folder, this appears to works at first, since some dex files are created at /mnt/sdcard/cache folder which is initailly empty, but after i reboot my android phone, it stayed at boot process, even hours.
i wanna repair my phone, there are still some important data there, such as contact data, messages , and communication log.
Facts:
Now i can adb shell to my android device, but failed to run su command, which works well before i delete the folder /data/dalvik-cache, the error message is as follows:
adb shell
$ su // dollar symbol indicates i can connect to my device
su
[1] Segmentation fault su // why i failed to run this su command now?
Questions:
i can still connect to my android phone using adb shell, but i cannot run su command to get root priority now, if i can have root priority, i can delete that sym link named dalvik-cache, and all the things would be well, but how to delete that sym link now?
Click to expand...
Click to collapse
Did you try anything else?
Can you see all the folders?
Yeah, but what about the solution of it? I have no idea to face this situation without any kind of data loss
Sent from my Nexus 4 using XDA Premium 4 mobile app
sachin.parmar100 said:
Yeah, but what about the solution of it? I have no idea to face this situation without any kind of data loss
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If the CWM recovery is working, you can try to create your own update.zip, which does nothing just removes the symlink and creates a folder.
You can find tutorials about the update.zip all over the net...
Like this one: http://forum.xda-developers.com/showthread.php?t=1610121
Urgent
Got sanei tablet n77 tried putting custom recovery stuck don't want to work tried livesuit also won't work just stuck what must I do
dalvikna said:
since the inner storage is limited, i want to move dalvik-cache to sd-card, so i delete /data/dalvik-cache, then create a sym link named /data/dalvik-cache there which point to /mnt/sdcard/cache which is also a folder, this appears to works at first, since some dex files are created at /mnt/sdcard/cache folder which is initailly empty, but after i reboot my android phone, it stayed at boot process, even hours.
i wanna repair my phone, there are still some important data there, such as contact data, messages , and communication log.
Facts:
Now i can adb shell to my android device, but failed to run su command, which works well before i delete the folder /data/dalvik-cache, the error message is as follows:
adb shell
$ su // dollar symbol indicates i can connect to my device
su
[1] Segmentation fault su // why i failed to run this su command now?
Questions:
i can still connect to my android phone using adb shell, but i cannot run su command to get root priority now, if i can have root priority, i can delete that sym link named dalvik-cache, and all the things would be well, but how to delete that sym link now?
Click to expand...
Click to collapse
try reflashing the stock..!!
tr3w said:
It's not just the fact it takes time, the main problem is it happens way later in the boot process, that's why it won't happen even hours later...
---------- Post added at 09:11 AM ---------- Previous post was at 09:00 AM ----------
Did you try anything else?
Can you see all the folders?
Click to expand...
Click to collapse
i can only see some of them, and my adb failed to get root prioirty now,
i cannot cd /mnt directory
dalvikna said:
i can only see some of them, and my adb failed to get root prioirty now,
i cannot cd /mnt directory
Click to expand...
Click to collapse
As I wrote earlier, creating your own update.zip can work, because it's not just for files, but you can put scripts in it, which will run when you "install" it.
Search for tutorials in this forum, you can find how you can do that...
Simplest and quickest solution.... move to ur recovery (stock or other).... wipe cache partition... this will reset the path and not delete anything in your phone...
Related
Tired of having to redownload and reinstall all of your apps when you reflash your phone? SaveMyApp can help.
This script will setup your phone so that after your flash to your favorite rom, all* of your apps will be install on the first boot. These apps will show up in the market too!
Also, the script will allow you to backup your /data/data folder to your sdcard and then restore it after your reflash. The /data/data is where Most of your user data is stored. This is not guaranteed to fully restore everything. This also does not backup your Google, Android, or Motorola settings; this is to improve compatibility with roms.
*The /preinstall folder is limited to 120MB, so if you have more then of apps this script will not fully work.
This should work with all phones, however it has only been tested on the Droid 2/X.
If you want to test this script on a different phone, let me know the /preinstall size and if it worked or not.
v0.1.4.2 - 11/17/2010
-Improved backup and restore of data
-Improved script usability
v0.1.4.1 - 11/17/2010
-Improve safety of removing /preinstall/app
v0.1.4 - 11/16/2010
-Added option to clear the /preinstall/app folder
-Added messages to support clear /preinstall/app
v0.1.3 - 11/12/2010
-Added backup of /data/data
-Added messages to support Data Backup
v0.1.2 - 11/11/2010
-Added Backup /data/app-private
-Show /data/app size, prompt user for continue
-Additional messages added to improve user experience
v0.1.1 - 11/10/2010
-First Release
-Backup and Restore /data/app
Installation:
WARNING: This steps must be completed as listed, failure to do so may result in unexpected errors which I am not responsible for.
1. Enable USB debugging and make sure Sdcard is mounted on phone
1. adb push apps.sh /data
2. adb shell
3. cd /data
4. chmod 775 apps.sh
5. ./apps.sh
a. Follow the onscreen directions
6. Reboot and proceed to wipe and reflash
7. On boot, wait between 5 and 10 minutes depending on how many apps you have before logging into your account. (30 apps takes about 4-5 minutes)
8. Login to your account
9. Droid 2/X Bootstrapper -> Bootstrap Recovery
10. Enable USB debugging and make sure Sdcard is mounted on phone
11. adb shell
12. tar -xzpf /sdcard/savemyapp/backup.tgz
FAQS:
Market isn't showing apps!
settings->applications->Manage Applications->All->Market->Force Stop, Clear data
Why is there a MACOSX file when I extract the archive?
Because I am lazy and I zipped it using Mac's built in archiver.
The script isn't working right away!
Redownload the newest script, just to make sure
Disclaimer:
You may repost this, but you must quote it as is.
I will only be responding to the threads I started on the Xda-Developers forums.
First!
I'm just holding a parking spot for this post!
What a great idea...thank you for developing this, im so tired of re downloading my apps back and setting everything up...done it about 10 times in the past month between sbfing and updating the fission rom several updates in a row so thank you...will most definitely be using this when I flash roms in the future. Thanks again
Sent from my DROID2 using XDA App
Excellent program! I'm having trouble getting it to work unfortunately. When apps.sh begins to copy files from /data/apps, I get errors saying "No space left on device" after every single file it tries to copy. This is of course not true since this D2 has over 6 gigs free on the system storage.
I am running this through the window's command prompt, but I don't see much in the code that won't run on windows aside from "du" which isn't even relevant unless my app + app-private folders combined size is over 120 MB (it's not).
I'm also running Epic 2.5 if that has anything to with this.
Any ideas? Am I just doing this terribly wrong?
Thanks!
tildaSparky said:
Excellent program! I'm having trouble getting it to work unfortunately. When apps.sh begins to copy files from /data/apps, I get an error saying "No space left on device." This is of course not true since this D2 has over 6 gigs free on the system storage.
I am running this through the window's command prompt, but I don't see much in the code aside from "du" which can't run with windows.
Any ideas? Am I just doing this terribly wrong?
Thanks!
Click to expand...
Click to collapse
If you read the first post it states the /preinstall folder can only hold only 120mb so it you have more than that to backup it won't fully work..I'm guessing that's were the apps are being saved...
Sent from my DROID2 using XDA App
turkeybuzzard said:
If you read the first post it states the /preinstall folder can only hold only 120mb so it you have more than that to backup it won't fully work..I'm guessing that's were the apps are being saved...
Sent from my DROID2 using XDA App
Click to expand...
Click to collapse
Apps are normally saved in /data/app this script copies those apks to /preinstall so that after a wipe they will automatically be installed on the first boot. Yes /preinstall is limited to about 120MB.
tildaSparky said:
Excellent program! I'm having trouble getting it to work unfortunately. When apps.sh begins to copy files from /data/apps, I get an error saying "No space left on device." This is of course not true since this D2 has over 6 gigs free on the system storage.
I am running this through the window's command prompt, but I don't see much in the code aside from "du" which can't run with windows.
Any ideas? Am I just doing this terribly wrong?
Thanks!
Click to expand...
Click to collapse
Do you get the "No space left on device" message instantly or after some apks were copied to the /preinstall folder?
Here's what I get
Working…
cp: /preinstall/app/com.google.android.apps.maps-1.apk: No space left on device
cp: /preinstall/app/com.google.android.apps.translate-2.apk: No space left on device
cp: /preinstall/app/com.google.android.gm-1.apk: No space left on device
cp: /preinstall/app/com.google.zxing.client.android-2.apk: No space left on device
etc.
=(
tildaSparky said:
Here's what I get
Working…
cp: /preinstall/app/com.google.android.apps.maps-1.apk: No space left on device
cp: /preinstall/app/com.google.android.apps.translate-2.apk: No space left on device
cp: /preinstall/app/com.google.android.gm-1.apk: No space left on device
cp: /preinstall/app/com.google.zxing.client.android-2.apk: No space left on device
etc.
=(
Click to expand...
Click to collapse
How big is your /data/app folder?
OK! I sort of have it fixed. In that I'm not getting my original error.
What I did (which in retrospect was not such a hot idea) was delete the /preinstall/ folder and then created a new one with the subfolders /app/ and /md5/. The logic behind was that I saw the script had nothing in it to clean out the original preinstall folder, and I noticed that it had silly things like NFS in it. As I said, in retrospect I should have just deleted specific items from the folder, but that's what I get for acting without thinking too much.
How bad do you think it is that I remade the preinstall folder from scratch?
Now my preinstall folder is properly populated (I think). But the data won't back up for some reason. I think it might have something to do with the if statements being broken. I'm gonna go ahead and modify your script to bypass the if/else statements and see what happens.
SaveMyApp v0.1.2
By csscmaster3
Your app folder takes up
du: not found
If your app folder is more then 114MB I don't recommend continuing
do you want you to continue? (y/n)y
y
[[: not found
Working…
ignore No such file or directory error if you get it
tee: not found
SaveMyApp has completed your apps
Do you want to backup your data? (y/n)y
y
[[: not found
SaveMyApp has completed.
As an aside my app folder is 28 MB and my app-private folder has only the apkinstaller.
tildaSparky said:
OK! I sort of have it fixed. In that I'm not getting my original error.
What I did (which in retrospect was not such a hot idea) was delete the /preinstall/ folder and then created a new one with the subfolders /app/ and /md5/. The logic behind was that I saw the script had nothing in it to clean out the original preinstall folder, and I noticed that it had silly things like NFS in it. As I said, in retrospect I should have just deleted specific items from the folder, but that's what I get for acting without thinking too much.
How bad do you think it is that I remade the preinstall folder from scratch?
Now my preinstall folder is properly populated (I think). But the data won't back up for some reason. I think it might have something to do with the if statements being broken. I'm gonna go ahead and modify your script to bypass the if/else statements and see what happens.
SaveMyApp v0.1.2
By csscmaster3
Your app folder takes up
du: not found
If your app folder is more then 114MB I don't recommend continuing
do you want you to continue? (y/n)y
y
[[: not found
Working…
ignore No such file or directory error if you get it
tee: not found
SaveMyApp has completed your apps
Do you want to backup your data? (y/n)y
y
[[: not found
SaveMyApp has completed.
As an aside my app folder is 28 MB and my app-private folder has only the apkinstaller.
Click to expand...
Click to collapse
The NFS removal is a good call, I will append the script to check the /preinstall folder and prompt to remove the files there
The reason you are having trouble with this script looks it be like because you are not running it on the phone itself...meaning to say you are not running it via a terminal emulator on the phone nor are you running it via adb shell. The backup uses tar, which isn't on windows by default.
Actually I'm running everything through the adb shell. It's puzzling to me too. My terminal emulator for some reason doesn't have root access. At this point I think I'm just going to SBF anyway.
At any rate, I just decided to pull /data/data/ from my phone onto my HD and I will replace it after I reflash and install my programs, but before I log into my google account. Do you see any reason for this not to work?
tildaSparky said:
Actually I'm running everything through the adb shell. It's puzzling to me too. My terminal emulator for some reason doesn't have root access. At this point I think I'm just going to SBF anyway.
At any rate, I just decided to pull /data/data/ from my phone onto my HD and I will replace it after I reflash and install my programs, but before I log into my google account. Do you see any reason for this not to work?
Click to expand...
Click to collapse
Hmmm, you might have to check your superuser app to see if you accidently are denying su access. In adb shell do you have a $ or a #?
Backing up the /data/data folder to your HD then restoring might not work because I am not sure if it will retain the owner, permissions, etc.
I had a # in my shell. There was something slightly wonky about my root I think. At any rate my backup method didn't work so well (as you predicted) - it caused timeriffic to force close when I tried to load in my old settings via /data/data/.
I will try using this again once I've got my shiny new Fission 2.1 set up as I want.
Thanks for your attentiveness!
I'm guessing this script should be run AFTER all of the applications have been installed. Is this correct?
wsfanatic said:
I'm guessing this script should be run AFTER all of the applications have been installed. Is this correct?
Click to expand...
Click to collapse
That is correct
Sent from my DROID2 using XDA App
Ooooo this is getting popularrrr
Is this D2 specific, or would it work on any phone?
theimpaler747 said:
Is this D2 specific, or would it work on any phone?
Click to expand...
Click to collapse
It works with the D2 and should work with the DX, anything else is use at your own risk, if it does work let me know though
csscmaster3 said:
It works with the D2 and should work with the DX, anything else is use at your own risk, if it does work let me know though
Click to expand...
Click to collapse
Might risk it and try it on my hero Regardless, nice work
theimpaler747 said:
Might risk it and try it on my hero Regardless, nice work
Click to expand...
Click to collapse
The only problem I could forsee would be the /preinstall folder being different or something, if you do end up trying the script could you let me know the size of the /preinstall folder?
Rooting
You will need:
A source of Better Terminal Emulator.apk (3.38 works) (From now on called BTE)
A working android dual-boot
How to:
Somehow get BTE onto your netbook
Install it using the provided file manager. (DON'T WORRY THAT PACKAGE INSTALLER CRASHES. THAT IS NORMAL. JUST CLICK FORCE CLOSE AND PICK BTE FROM THE LAUCHER.)
There's no need to install the plugin, just click OK and open and close BTE until it opens a green text on white background.
Exit BTE for now and download busybox
Re-open bte and type cd /sdcard/downloads then cat busybox > /system/xbin/busybox
Get Root Explorer from somewhere and install it with file manager
Open it. Test whether busybox works by clicking the mount r/w button. If it changes, your netbook is rooted!
Installing Apps that give "application not installed" in the package installer
Get the app you want and find it in root explorer
Long click the APK and click copy
Right click > more > home
Click mount r/w at the top (MUST BE ROOTED AND HAVE BUSYBOX INSTALLED, SEE ABOVE)
Go to /data/app and click paste
Find your apk and long click and click rename. Name it com.publisher.appname
Long click on the apk and click permissions
Tick the 1st two boxes on the first row, the 1st one in the second row and the 1st. one on the third row.
Go to your launcher (I use GO Launcher EX) and see if it's installed. The app may still force close. If it has not installed, wait a while and see if it appears or try copying it to /system/app and back again
Installing Market & GApps Progress
Installing Market & GApps so far progress:
Installing GApps from CyanogenMod 5 (Android 2.1) & Toshiba Tablet's Market
WORKING!!!!!!! Download! (How to is in the .zip). Note: You cannot search or browse categories, so I will include the Appbrain app for those purposes.
The market opens, but crashes on search or clicking apps. If you click on a recommended app and click install it doesn't download. Does anyone want a tutorial or know how to stop it crashing?
Sent from my Acer Aspire One D255 Netbook with dual-boot Android 2.1 - Rooted
I'm about to try ripping a whole /system/app folder from LG's official GT540 2.1 and see if the market will install
Sent from my Acer Aspire One D255 Netbook with dual-boot Android 2.1 - Rooted
Help
Hi thanks for the guide I've come across a problem though. I've installed BTE and got to the stage
Re-open bte and type cd /sdcard/downloads then cat busybox > /system/xbin/busybo
But when I type in the second line it says that it cannot create the directory because it is read only.
Any thoughts on why it is doing this?
Thanks
nunbean said:
Hi thanks for the guide I've come across a problem though. I've installed BTE and got to the stage
Re-open bte and type cd /sdcard/downloads then cat busybox > /system/xbin/busybo
But when I type in the second line it says that it cannot create the directory because it is read only.
Any thoughts on why it is doing this?
Thanks
Click to expand...
Click to collapse
This page seems to show you how to mount system r/w, so this should work. Just do the checking from the page first.
Sorry I was late, I only got back from Spain yesterday and had no internet in Spain
Hi,
Thanks that guide fixed the problem. Tried to install Angry Birds though and it installs through the method given but when I run it it forces close. Have i done something wrong or will it never work on the Acer netbook?
Thanks again
nunbean said:
Hi,
Thanks that guide fixed the problem. Tried to install Angry Birds though and it installs through the method given but when I run it it forces close. Have i done something wrong or will it never work on the Acer netbook?
Thanks again
Click to expand...
Click to collapse
It won't work, I've tried also. By the way, don't update to the newest patch, it kills half the apps.
Sent from my GT540 using XDA App
Edited startpost with MARKET!
Sent from my D255 using XDA App
D257
Quinny899, thank you for writing this up. I just bought a Acer Aspire One D257 which dual boots into Android 2.3.1. I tried to follow your instructions but I ran into the same Read-only file system error as nunbean. I tried his solution but i don't seem to have adb, su permission, or applications>developer>usb debugging available to me.
Any suggestions? Have you had any luck hooking your D255 to another computer and running adb?
Thanks
szimman said:
Quinny899, thank you for writing this up. I just bought a Acer Aspire One D257 which dual boots into Android 2.3.1. I tried to follow your instructions but I ran into the same Read-only file system error as nunbean. I tried his solution but i don't seem to have adb, su permission, or applications>developer>usb debugging available to me.
Any suggestions? Have you had any luck hooking your D255 to another computer and running adb?
Thanks
Click to expand...
Click to collapse
With me su is provided. Skip that step and try copying it to/ system/ xbin using root explorer
Sent from my GT540 using XDA App
Sadly, that doesn't work either. Acer/Insyde must have locked it down a bit in between versions. System/xbin is rwxr-xr-x
szimman said:
Sadly, that doesn't work either. Acer/Insyde must have locked it down a bit in between versions. System/xbin is rwxr-xr-x
Click to expand...
Click to collapse
Try putting with on /sdcard and running:
cd /sdcard
su
In bte
Sent from my GT540 using XDA App
cd /sdcard
Permission denied
When I "ls -la" it says that sdcard -> /mnt/sdcard
sdcard is lrwxrwxrwx and mnt is d---------
When booted in Windows the Android partition shows up as D: but only gives me access to /qdisk (which is drwxrwxrwx). I have a SD Card in the netbooks SD Card slot and a USB thumbdrive plugged in. Both are accessible via the File Manager that shipped with the OS and apps such as Gallery, but I haven't been able to find them through BTE.
Thank you so much for helping out with this process. I'm still trying to figure out what Acer/Insyde changed between our two computer models.
szimman said:
cd /sdcard
Permission denied
When I "ls -la" it says that sdcard -> /mnt/sdcard
sdcard is lrwxrwxrwx and mnt is d---------
When booted in Windows the Android partition shows up as D: but only gives me access to /qdisk (which is drwxrwxrwx). I have a SD Card in the netbooks SD Card slot and a USB thumbdrive plugged in. Both are accessible via the File Manager that shipped with the OS and apps such as Gallery, but I haven't been able to find them through BTE.
Thank you so much for helping out with this process. I'm still trying to figure out what Acer/Insyde changed between our two computer models.
Click to expand...
Click to collapse
They changed the mount points as you're using 2.2/2.3 & I'm using 2.1
Sent from my GT540 using XDA App
D257
I've been thinking about getting a D257. Am is reading this thread right?
i.e.,
as things stand, I would not be able to get root and I would not be able to install google apps and google market?
Thanks
EyeTech said:
I've been thinking about getting a D257. Am is reading this thread right?
i.e.,
as things stand, I would not be able to get root and I would not be able to install google apps and google market?
Thanks
Click to expand...
Click to collapse
No, this only works for D255s, sorry
Sent from my D255 using XDA App
All done and sorted.
However when trying to install another app I have run out of system disk space (135.17MB Used, 396k free)
Is there any way to make the system disk larger without having to prune it? Or install to sdcard?
Cheers
stevefwt said:
All done and sorted.
However when trying to install another app I have run out of system disk space (135.17MB Used, 396k free)
Is there any way to make the system disk larger without having to prune it? Or install to sdcard?
Cheers
Click to expand...
Click to collapse
I'm working on an apps2sd method.
You can move to /x-root/app or /sdcard/app (make the folders and move the app apk into it first)
The main code is:
ln -s /data/app/com.whatever.app.apk /x-root/app/com.whatever.app.apk
-or-
ln -s /data/app/com.whatever.app.apk /sdcard/app/com.whatever.app.apk
I've been looking to port newer android versions (possibly honeycomb) to the various android netbook devices, but I need the imgs from the 2.3 devices. Can anyone help by posting the imgs in their downloads for android drive (from windows)
Sent from my Desire HD using xda premium
Any news for d257 ?
I stuck on 2.3.1 ;/
All what i can without root is looking desktop and mozilla, no app's ;/
This has driven me insane. I am close to throwing this tablet out the window. So far I have had nothing but horrible experiences with it. I have a gt3113 and I can't delete several directories on the sdcard. I've tried through file managers, through my pc and through terminal emulator, nothing removes the files.
WTF do I do? I'm rooted, running stock 4.04. Trying to keep it together here.
1-May be through root browser lite and try to long press the files and fix permissions as read and write before delete??
2-or format data in cwm ( be so cautious when doing this)?
3- or as last resort flash a firmware with pit file and repartition ticked in odin? (also be very cautious when doing this)
Sent from my GT-P5100 using xda app-developers app
Mohamedselim said:
1-May be through root browser lite and try to long press the files and fix permissions as read and write before delete??
2-or format data in cwm ( be so cautious when doing this)?
3- or as last resort flash a firmware with pit file and repartition ticked in odin? (also be very cautious when doing this)
Sent from my GT-P5100 using xda app-developers app
Click to expand...
Click to collapse
I tried options 1 and 2, neither worked. 3 may have worked but I found an easier and safer solution.
Not sure if this part helped or not but in terminal I ran:
Code:
su
/system/bin/fsck_msdos -y /dev/block/vold/179:25
reboot
then I was able to delete the files from /mnt/sdcard/ instead of where I was trying to delete them from, which was /sdcard/
and it worked! Thanks a lot for your suggestions! Not sure what caused this in the first place, but if anyone else runs into this problem maybe they'll find this thread.
Bentenrai said:
This has driven me insane. I am close to throwing this tablet out the window. So far I have had nothing but horrible experiences with it. I have a gt3113 and I can't delete several directories on the sdcard. I've tried through file managers, through my pc and through terminal emulator, nothing removes the files.
WTF do I do? I'm rooted, running stock 4.04. Trying to keep it together here.
Click to expand...
Click to collapse
Bentenrai said:
I've had this thing for about a week and haven't even been able to use it yet. It's been in a bootloop or fc loop for the entire time. I finally got it running but the internal SD filled up completely with junk files and directories that couldn't be deleted. I couldn't install any apps since the stock firmware doesn't allow installing to an external card... CM9/10 force close looped because of lack of space I assume. I had narrowed down the problem but couldn't fix it, and of course as soon as you ask for help you figure it out anyway I'll give it a chance now.
Click to expand...
Click to collapse
Hi guys
I recently purchase an MID N900 android tab with ice-cream sandwich.
It already has root access.
i didn't have read/write access so i installed remount and applied it to my external memory card.
I also installed rom toolbox lite to increase performance.
After I rebooted my device , the internal memory shows 0 and now i can't install any apps besides the terminal.
I don't know which app caused this issue but i think its remount.
I also can't access recovery mode.
I did a factory reset and it didn't help.
I don't know if this is of any help but every time i restart the device everything goes back to factory settings. It shows you the guide
when you start your device for the first time.
How can i reset the internal storage back to normal
Any help would be highly appreciated
Thanks a lot
Found Solution
jeewa19 said:
Hi guys
I recently purchase an MID N900 android tab with ice-cream sandwich.
It already has root access.
i didn't have read/write access so i installed remount and applied it to my external memory card.
I also installed rom toolbox lite to increase performance.
After I rebooted my device , the internal memory shows 0 and now i can't install any apps besides the terminal.
I don't know which app caused this issue but i think its remount.
I also can't access recovery mode.
I did a factory reset and it didn't help.
I don't know if this is of any help but every time i restart the device everything goes back to factory settings. It shows you the guide
when you start your device for the first time.
How can i reset the internal storage back to normal
Any help would be highly appreciated
Thanks a lot
Click to expand...
Click to collapse
I found a solution, hopefully this can help someone in the future
The problem was i installed busybox using an installer which causing some file discrepancies.
To fix it :
1. Install Android Terminal Emulator, this app can be installed even if storage shows full.
2. copy /system/xbin/busybox to /system/bin, if busybox is installed the code is "busybox cp /system/xbin/busybox to /system/bin"
When I did the above, all my previous apps and setting came back to normal
jeewa19 said:
I found a solution, hopefully this can help someone in the future
The problem was i installed busybox using an installer which causing some file discrepancies.
To fix it :
1. Install Android Terminal Emulator, this app can be installed even if storage shows full.
2. copy /system/xbin/busybox to /system/bin, if busybox is installed the code is "busybox cp /system/xbin/busybox to /system/bin"
When I did the above, all my previous apps and setting came back to normal
Click to expand...
Click to collapse
Hi! I have almost the same problem. I follow your instruction - i've installed emulator but i cant gain access.It says "cp cant create '/system/bin/busybox' : Permission denied.
Do you know how i can gain access over it?
ps My case is the same like yours. I tried to new rom, but after that it appeared. I cant install busybox, i can use emulator only.
Hi
Firstly I think you made a typing error, it's system/XBIN/busybox not system/bin/busybox
Secondly as soon as you open the terminal type 'su' that will give you root access, then type the command in the previous post.
I'm not an expert but I will try to help if I can.
Let me know if it works
Regards
Sent from my GT-I9000 using xda premium
I wrote commmand "su" and successfully gained root access. After that typed the command like you and no errors appeared. But still I don't have internal memory (cant install any apps). Any suggestions?
psEven i cant download any apps from the market...
Regards
This might be a silly question but did you restart your device after the command?
Sent from my GT-I9000 using xda premium
jeewa19 said:
This might be a silly question but did you restart your device after the command?
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
You are brilliant, thanks! I didn't forget about that, and your method works perfectly. All became as before. Thanks again!
Regards!
Guys I am facing the problem. My tab shows 0 bytes internal storage. I can't install any app from play store.plz help me to get out of this problem..I followed this thread but can't succeed..plz help me
Sent from my GT-I9100 using xda app-developers app
Internal storage error
jeewa19 said:
I found a solution, hopefully this can help someone in the future
The problem was i installed busybox using an installer which causing some file discrepancies.
To fix it :
1. Install Android Terminal Emulator, this app can be installed even if storage shows full.
2. copy /system/xbin/busybox to /system/bin, if busybox is installed the code is "busybox cp /system/xbin/busybox to /system/bin"
When I did the above, all my previous apps and setting came back to normal
Click to expand...
Click to collapse
I install Terminal Emula but where i will give this coding? plz inform me.
can it posible to fix this problem to bring it service center??
first of all jeewa19... U R THE MAN!!!!!! Thx!!!
aman.upadhyaya said:
Guys I am facing the problem. My tab shows 0 bytes internal storage. I can't install any app from play store.plz help me to get out of this problem..I followed this thread but can't succeed..plz help me
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I had the same problem and I couldn't install anything... I fixed it by downloading a root explorer apk, open comand promt with adb and stuff,copy the apk to the same folder as adb, and type:
adb push (appsName).apk /system/app
from that point on, I just did what jeewa19 said!!!
Thank you thank you thank you!!!
jeewa19 said:
I found a solution, hopefully this can help someone in the future
The problem was i installed busybox using an installer which causing some file discrepancies.
To fix it :
1. Install Android Terminal Emulator, this app can be installed even if storage shows full.
2. copy /system/xbin/busybox to /system/bin, if busybox is installed the code is "busybox cp /system/xbin/busybox to /system/bin"
When I did the above, all my previous apps and setting came back to normal
Click to expand...
Click to collapse
Thanks YOUR THE BEST!!!
For those who got a little confused check out my video its the same as this guys way trust me it works! :good:
Link to video: (XDA will not let me post link...) ALTERNATIVE: Youtube>namz123uk or Youtube>HOW TO FIX ANY ANDROID WITH 0.00GB INTERNAL MEMORY
Internal memory low
I tried it and I got an error message saying "cp: can't create '/system/xbin/busybox' : Read-only file system
"cp: can't create stat 'to' : No such file or directory
jeewa19 said:
I found a solution, hopefully this can help someone in the future
The problem was i installed busybox using an installer which causing some file discrepancies.
To fix it :
1. Install Android Terminal Emulator, this app can be installed even if storage shows full.
2. copy /system/xbin/busybox to /system/bin, if busybox is installed the code is "busybox cp /system/xbin/busybox to /system/bin"
When I did the above, all my previous apps and setting came back to normal
Click to expand...
Click to collapse
i have the same issue :laugh: ill try the video fix.. :good::good::good:
Q88 tablet internal storage 0
Hello,
I have an q88 allwinner tablet and tryed to root it. This went wrong because after rooting it (wich i have done succesfully before) my inetrnal storage says 0. I tryed to get it back with Android Terminal Emulator. When i installed it (trough a sd card) i tryed to give the command su like you sayed. The only thing i get is Permission Denied.
Please help how toi get my storage back.
THANKS
I just wanted to say thank you, had to join the site lol.
model # a13mid - Android os 4.0.4 - Baseband 4.0.15 - kernal 3.0.8+ - build is nuclear
After buying my cheapy tablet , I went install crazy and ended up with a stinky 0.0mb of space. Having spent countless hours of how to increase the memory with an sd card I found your guide.The guide was spot on and helped me out tons, lol even the reboot comment . Thank you again, and I hope this helps other people.
Special thanks
jeewa19 said:
I found a solution, hopefully this can help someone in the future
The problem was i installed busybox using an installer which causing some file discrepancies.
To fix it :
1. Install Android Terminal Emulator, this app can be installed even if storage shows full.
2. copy /system/xbin/busybox to /system/bin, if busybox is installed the code is "busybox cp /system/xbin/busybox to /system/bin"
When I did the above, all my previous apps and setting came back to normal
Click to expand...
Click to collapse
mi_ko said:
You are brilliant, thanks! I didn't forget about that, and your method works perfectly. All became as before. Thanks again!
Regards!
Click to expand...
Click to collapse
You are a great!
I had this annoying problem but thanks to jeewa19 and mi_ko
I solved the problem ... great.
THANKS BRO : D: D: D: D: D
nionios90 said:
first of all jeewa19... U R THE MAN!!!!!! Thx!!!
I had the same problem and I couldn't install anything... I fixed it by downloading a root explorer apk, open comand promt with adb and stuff,copy the apk to the same folder as adb, and type:
adb push (appsName).apk /system/app
from that point on, I just did what jeewa19 said!!!
Click to expand...
Click to collapse
thnx to jewwa19 for giving me an idea
Fixing 0 bytes on internal storage on tablet
1. First Install root explorer! (Pro Much Better)
I found a solution, The problem was I rooted my tab then internal storage crashed.
To fix it :
1. Install Root explorer , this app can be installed even if storage shows full, it will directly install on your sd card or external storage .(its more easier if you download it to your pc then transfer it to your sd card
open root explorer find or copy /system/xbin/busybox then pastethis folder to /system/bin
2. Before you copy the /system/xbin/busybox to /system/bin, make sure or check the /system/bin is set to rw, if the permission of the folder is ro ( read only)set it to rw(read/write) for you to able to copy those files, it is needed to follow this steps for you to paste /system/xbin/busybox to /system/bin
When I did the above, all my previous apps and setting came back to normal.. it is important to read and analyze this steps carefully, I consumed 2 hours to solve this problem. But worth it !!
Philippine I.T. Mabuhay
bejaymp said:
thnx to jewwa19 for giving me an idea
Fixing 0 bytes on internal storage on tablet
1. First Install root explorer! (Pro Much Better)
I found a solution, The problem was I rooted my tab then internal storage crashed.
To fix it :
1. Install Root explorer , this app can be installed even if storage shows full, it will directly install on your sd card or external storage .(its more easier if you download it to your pc then transfer it to your sd card
open root explorer find or copy /system/xbin/busybox then pastethis folder to /system/bin
2. Before you copy the /system/xbin/busybox to /system/bin, make sure or check the /system/bin is set to rw, if the permission of the folder is ro ( read only)set it to rw(read/write) for you to able to copy those files, it is needed to follow this steps for you to paste /system/xbin/busybox to /system/bin
When I did the above, all my previous apps and setting came back to normal.. it is important to read and analyze this steps carefully, I consumed 2 hours to solve this problem. But worth it !!
Philippine I.T. Mabuhay
Click to expand...
Click to collapse
Hi..
In my /system/xbin/ there is no busybox
What can I do?? please help!!
andreas_sergides said:
Hi..
In my /system/xbin/ there is no busybox
What can I do?? please help!!
Click to expand...
Click to collapse
Can you tell what happened to your device, so I can analyze and solve your problem, is your device rooted?
but i suggest to try reflashing yout tab.. download the suitable android os for your device. then reflash it! !
jamithtm said:
I install Terminal Emula but where i will give this coding? plz inform me.
can it posible to fix this problem to bring it service center??
Click to expand...
Click to collapse
Thank you, it works for me. Now I'm out of trouble (for now )
Hi together,
earlier I wanted to finally give the L-Preview a shot so I downloaded it and installed it as it was mentioned in the thread's instructions. Everything was fine until I was forced to reinstall it because Wifi kept getting stuck at switching (which didn't fix itself after a reboot) and some other things. So I did everything again like I did before but after I booted it up again and set up everything I noticed that in ES-File manager I couldn't access my sdcard directory. So I booted back into my recovery and saw that even there my usual sdcard directory was nearly gone except for a few folders (0, clockwordmod, legacy, obb and TWRP) which I couldn't see in ES-File explorer before. Because I was a little confused (and angry because I never had something like this happening) I just rebooted my device and connected it to my pc to see what I can access from there. But it was the same result like with the manager, there were no folders at all . So I went back into my recovery and just looked a bit around and after a while I found out that the whole /sdcard files just moved to the "0" folder that is inside the "old" sdcard-directory. And this is kind of where I am at right now not knowing what to do to get everything back to normal. I hope there is a way I can recover all of my files or at least a way that I can move them to my pc (had a few backups on there that I was too lazy to move which I do regret now...). If there is someone who understood my post and knows a solution to my problem please help me! I am actually quite lost right now because I can't even use Whatsapp without loosing all of my messages
I am sorry that I can't give you any pictures of my phones status but I don't know how I could do a screenshot/video in TWRP :/
Edit: I found an older device of myself with which I was able to take some pictures (has very bad quality because it has a little crack in the camera)
On InternerSpeicherSeite1 you can see that on my pc it shows that storage is used up but on InternerSpeicherSeite2 you can see that it is empty if I open it.
In ES you can see that there is this /legacy instead of /sdcard.
In TWRP1 you can see that the whole /scard directory is nearly empty.
In TWRP2 is the /sdcard direcory that is now in /sdcard/0 but unaccesable from anywhere except TWRP.
R4gi3X said:
Hi together,
earlier I wanted to finally give the L-Preview a shot so I downloaded it and installed it as it was mentioned in the thread's instructions. Everything was fine until I was forced to reinstall it because Wifi kept getting stuck at switching (which didn't fix itself after a reboot) and some other things. So I did everything again like I did before but after I booted it up again and set up everything I noticed that in ES-File manager I couldn't access my sdcard directory. So I booted back into my recovery and saw that even there my usual sdcard directory was nearly gone except for a few folders (0, clockwordmod, legacy, obb and TWRP) which I couldn't see in ES-File explorer before. Because I was a little confused (and angry because I never had something like this happening) I just rebooted my device and connected it to my pc to see what I can access from there. But it was the same result like with the manager, there were no folders at all . So I went back into my recovery and just looked a bit around and after a while I found out that the whole /sdcard files just moved to the "0" folder that is inside the "old" sdcard-directory. And this is kind of where I am at right now not knowing what to do to get everything back to normal. I hope there is a way I can recover all of my files or at least a way that I can move them to my pc (had a few backups on there that I was too lazy to move which I do regret now...). If there is someone who understood my post and knows a solution to my problem please help me! I am actually quite lost right now because I can't even use Whatsapp without loosing all of my messages
I am sorry that I can't give you any pictures of my phones status but I don't know how I could do a screenshot/video in TWRP :/
Click to expand...
Click to collapse
Move all your folders and files back to the old place, or get them to your pc with adb pull (use google if you want to now how) and flash the factory image for safety
You can learn to adb pull by clicking the link in my signature and then locating the adb and fastboot thread
Don't adb push your data back though. Adb pushing your entire sdcard back will cause permissions problems so use MTP to transfer data back
Sent from my Nexus 5 using Tapatalk
its a common issue with L, i even experienced it myself. first, there is a short terminal emulator command you can use. i dont know what it is, but a search should find it for you. itll move all back to where it should be. or secondly, you can do what i did. i didnt know there was a terminal command, so i used root explorer to move everything back manually. took me about 15-20 minutes.
GtrCraft said:
Move all your folders and files back to the old place, or get them to your pc with adb pull (use google if you want to now how) and flash the factory image for safety
Click to expand...
Click to collapse
rootSU said:
You can learn to adb pull by clicking the link in my signature and then locating the adb and fastboot thread
Don't adb push your data back though. Adb pushing your entire sdcard back will cause permissions problems so use MTP to transfer data back
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I already know how to adb pull but it just gives me the output seen on the picture...
there appears to be 3 different terminal emulator scripts people have been using, one for for some but not for others. heres one that i found, try it out in a terminal emulator app..
su(press enter)
restorecon -r /data/media/0/*(press enter)
simms22 said:
there appears to be 3 different terminal emulator scripts people have been using, one for for some but not for others. heres one that i found, try it out in a terminal emulator app..
su(press enter)
restorecon -r /data/media/0/*(press enter)
Click to expand...
Click to collapse
I've tried your command but it did nothing.
But I found a way simpler solution now, as I could still access my data in TWRP I was able to flash a 4.4.4 Rom (that I luckily still had on my phone^^) and now I can access everything including the "0" Folder on my pc again. So I'll move everything on my pc now and then copy it to the /sdcard directory
Thanks though for your help, really appreciate the support from the xda-community!!
But I gotta say good night now as it is already 1am but I will update this post one more time tomorrow giving a final result.
You already know /sdcard isn't working properly. Pull /data/media/0