Related
Hi. First of all thanks guys for the CWM and instructions. Everything went smooth, and I'm already after my first backup, but I would appriciate a small clarification for me.
When I do "mount", does it mean that I tick the things I want to find it's way in this backup? If so, I have following question:
What does
1. eccm
2. sdcard
3. USB Storage
mean?
Many places call each differently, and it's worse that it changes when we talk in CWM terminology, so I would appriciate some clarification.
Also, I don't have "ext-sd" option in my mounting options, which some tutorials give, and I wanted to ask about that as well.
As for technical details. I have rooted phone, with Open Rom 2.3.6. The things I have in my backup directory I made are:
boot.img
recovery.img
system.ext4.tar
data.ext4.tar
.android_secure.vfat.tar
cache.ext4.tar
nandroid.md5
I chose everything but USB Storage, going with my gut. Was I correct?
cheers
Lucas
Man I thing this link is useful:http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/
umarian said:
Man I thing this link is useful:http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/
Click to expand...
Click to collapse
Thanks for the link and good reading. I learned much from it.
However, in the guide there, the terms used are still sdcard as the INTERNAL card. So while I know now what USB Storage in mounting option means, I still don't know, and there is no explanation in the guide in that linke, what these 2 reffer to:
What does
1. eccm
2. sdcard
cheers
emmc is your internal sdcard. Normally, it is mounted to /sdcard.
sdcard is your external micro sd card. In Android, it is mounted to /sdcard/external_sd.
wintel_mac said:
emmc is your internal sdcard. Normally, it is mounted to /sdcard.
sdcard is your external micro sd card. In Android, it is mounted to /sdcard/external_sd.
Click to expand...
Click to collapse
Awsome, thanks a lot for clarification.
One follow up question. If I mount the sdcard, so my external card, it won't backup the content of ext sd card as well into my backup? What I mean is, I don't want to break something, by trying to make a backup that includes over 20GB of stuff on my external memory card.
Also, I looked over polish forum of android, and someone told me, that there is no need to mount/unmount stuff as the backup that is made, is made all the time the same, no matter the mounting options. Strange a bit. Is it true what he said?
cheers
Lucas
Don't know exactly how it is implemented for your device (9000, I'm on 9001) but external SD cards are normally never backed up (which would not make any sense at all btw, since you might even backup the backup you're doing at that moment^^).
When you take a look at the structure of an CWM backup folder, you realize that also your internal sd card is not backed up (aside from .asec).
And yes, it is not ncecessary to mount anything for backup or restore purposes. CWM does what is necessary to perform the desired actions.
wintel_mac said:
Don't know exactly how it is implemented for your device (9000, I'm on 9001) but external SD cards are normally never backed up (which would not make any sense at all btw, since you might even backup the backup you're doing at that moment^^).
Click to expand...
Click to collapse
I'm on i9001 as well
When you take a look at the structure of an CWM backup folder, you realize that also your internal sd card is not backed up (aside from .asec).
And yes, it is not ncecessary to mount anything for backup or restore purposes. CWM does what is necessary to perform the desired actions.
Click to expand...
Click to collapse
I see...
But if that is the case, what's the point of mounting the eccm as well as sdcard if they are not backed up to begin with?
cheers
You can connect over adb to the phone and perform varous actions. And it makes no sense to mount every partition you may need with commands such as
"mount -o rw /dev/block/mmcblk0p15 /system" as you would have to remember where each file system resides.
So you can do it with few keypresses on the phone.
Moreover, there are some custom update-zips that do not do the mounting for you, so it would be necessary to apply them, too.
wintel_mac said:
You can connect over adb to the phone and perform varous actions. And it makes no sense to mount every partition you may need with commands such as
"mount -o rw /dev/block/mmcblk0p15 /system" as you would have to remember where each file system resides.
So you can do it with few keypresses on the phone.
Moreover, there are some custom update-zips that do not do the mounting for you, so it would be necessary to apply them, too.
Click to expand...
Click to collapse
I think I know what you mean. You are saying that there are other actions that require mounting, not backup in this case, and it's much easier to do it automaticly through cwm, rather than doing it manualy with linux lingo.
Thanks for the explanations.
Just one clarrification at the end. When I do backup with CWM, do I need to do any mounting, or it's done automaticly now and it mounts everything it needs to, to do backup?
cheers
Lucas
wintel_mac said:
And yes, it is not ncecessary to mount anything for backup or restore purposes. CWM does what is necessary to perform the desired actions.
Click to expand...
Click to collapse
As I wrote before
wintel_mac said:
As I wrote before
Click to expand...
Click to collapse
Awsome. Thank you wintel_mac so much, for very detailed answers.
cheers
The topic can be closed.
I'll try to make the story short:
Had CM 7.2, Used S2E and by accident also transfered all data to SD-EXT3.
After a week or so, Problems finding apps, missing widgets and eventually nothing... the phone is like after a wipe.
I used miniTool and it finds the ext but I can't browse it.
There are very important files and pic in that EXT partition.
Question:
Is there any way I will be able to browse the folders that used to be on the EXT partition and copy some of the content?
Thanks a lot, it's realy important to me.
mackstein said:
I'll try to make the story short:
Had CM 7.2, Used S2E and by accident also transfered all data to SD-EXT3.
After a week or so, Problems finding apps, missing widgets and eventually nothing... the phone is like after a wipe.
I used miniTool and it finds the ext but I can't browse it.
There are very important files and pic in that EXT partition.
Question:
Is there any way I will be able to browse the folders that used to be on the EXT partition and copy some of the content?
Thanks a lot, it's realy important to me.
Click to expand...
Click to collapse
I had used the S2E before but didn't like it. I think there is an option in S2E that you can check to have the data transfer back to internal. Or uninstall the S2E app and reboot, the data will be back to where it was.
Thanks but it's not working...
I tried that before I posted the thread.
First - S2E didn't let me to transfer back.
2nd - The app was uninstalled but it didn't help.
Now I'm only trying to find a way to see the content of the EXT3 partition on my computer in order to save important files.
Any ideas...?
Thank in advance,
MG.
hi, i think u'll get the info that u need in this page
http://www.howtoforge.com/access-linux-partitions-from-windows
gud luck
edit: i checked this software " DISK INTERNALS - LINUX READER" http://www.diskinternals.com/linux-reader/ and was able to access and copy ext files to pc
video - http://www.youtube.com/watch?v=vRftHZTWnWA&feature=watch_response
Well...
I tried "DiskInternals" but when I click the Ext-SD I don't see any files and the window says:
"There are no recoverable files in this folder".
Does it mean that my Ext3 partition is damaged?
mackstein said:
I tried "DiskInternals" but when I click the Ext-SD I don't see any files and the window says:
"There are no recoverable files in this folder".
Does it mean that my Ext3 partition is damaged?
Click to expand...
Click to collapse
Thats strange. i can see the folders and copy the files without any issue. are you sure you didnt delete the files or format ur ext???
On the Top pane, there is an option called "Deleted Files", check it and see if that can help. gud luck
peple, i can't believe is so hard to find information about this big problem.
HOW CAN I MOVE INSTALLED APPS TO MY EXTERNAL SD??
I tried all "App2SD" in google play, but looks like Optimus 2x mount its SD in a different way, so what these apps does is move apps to/from internal memory (it is not the same as internal sd??? why 2?) and internal sd.
So i boght a 32GB sd for just videos and mp3???
I googled and found a link talking about "Mod Install Location".
Well, this "Mod Install" doesn't work too. I can't install news apps in external sd nor can i move installed apps.
No one bottered with this situation too???? Is impossible to move installed files in Optimus 2x do the external SD?
install CM7 Custom ROM
siibel said:
install CM7 Custom ROM
Click to expand...
Click to collapse
What exactly that does?
But i want to try another ROMs. There is not another way?
Another question about this SD problem: looks like that after flash roms and firwares the internal sd will be totally wiped. Well, so Titanium Backup is useless for Optimus 2x, as it doens't let choose directory for backups. Solution?
presuntinho said:
What exactly that does?
But i want to try another ROMs. There is not another way?
Another question about this SD problem: looks like that after flash roms and firwares the internal sd will be totally wiped. Well, so Titanium Backup is useless for Optimus 2x, as it doens't let choose directory for backups. Solution?
Click to expand...
Click to collapse
+1 on CM7. That ROM will render your internal SD useless as EVERYTHING can be thrown to the external SD.
I have Titanium Backup Pro and there's an option to choose the backup location in preferences. I'm pretty sure it's also present in the free version.
(TB is very useful for me. Enough for me to purchase it.)
If you are using app2sd from market to move your application to sdcard, meaning you can do it manually from your application manager, each and every app you click will have a button to move to sd. App2sd market app just simplifies this process. Please note that this method only moves some app files to the sdcard not all of it, it will still leave app dalvik and app user data on the internal memory.
The real app2sd/app2sd+/data2sd that creates a link from your internal phone data partition and relocate your data folder to external sd are script based, and you have to make a ext3/4 partition on your external sdcard in addition to your fat32 partition. This is what you need If you want to totally move all data to external sdcard.
I have not seen ppl making tutorials using this script in o2x forum, because the 1.5gb app space is good for most people, unless if you have alot of games in your phone. For what I know the app2sd+ script is universal for all phones, you may just need to make some modifications to the script to make it work on every specific phone type/model.
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
TB doesn't let you change the backup folder like that. You have to copy the "TitaniumBackup" folder with a few backup files to where ever you want and then the app scans for folders with backups.
salisbury_steak said:
+1 on CM7. That ROM will render your internal SD useless as EVERYTHING can be thrown to the external SD.
Click to expand...
Click to collapse
But i will lost the 8 GB of this "internal SD" or i can still use it?
You have games installed in the external SD? They run as faster as in the internal?
Thanks
Chris4evernoob said:
TB doesn't let you change the backup folder like that. You have to copy the "TitaniumBackup" folder with a few backup files to where ever you want and then the app scans for folders with backups.
Click to expand...
Click to collapse
After flashing a ROM or firware i just open TB and it will recognize the old backups? I just install TB and then overwrite with the old folder?
Thanks
tablighs said:
If you are using app2sd from market to move your application to sdcard, meaning you can do it manually from your application manager, each and every app you click will have a button to move to sd. App2sd market app just simplifies this process. Please note that this method only moves some app files to the sdcard not all of it, it will still leave app dalvik and app user data on the internal memory.
The real app2sd/app2sd+/data2sd that creates a link from your internal phone data partition and relocate your data folder to external sd are script based, and you have to make a ext3/4 partition on your external sdcard in addition to your fat32 partition. This is what you need If you want to totally move all data to external sdcard.
I have not seen ppl making tutorials using this script in o2x forum, because the 1.5gb app space is good for most people, unless if you have alot of games in your phone. For what I know the app2sd+ script is universal for all phones, you may just need to make some modifications to the script to make it work on every specific phone type/model.
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
Click to expand...
Click to collapse
If i use the external sd with ext3/4 using the entire space, i will able to send file using usb, bluetooth, etc? I mean, there is any colateral?
Moving all data to MicroSD make the apps run slowly?
2 big games are enough to almost fill the entire internal memory.
tablighs said:
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
Click to expand...
Click to collapse
Well, maybe is my enlglish that is horrible, but that is what i understand reading this:
http://forum.xda-developers.com/showpost.php?p=26191714&postcount=3
"Installing this file WILL fully wipe your device, including the Internal SD. Back up!"
So:
1 Changing the ROm will wipe the internal sd?
2 Changing the firware (firmware and baseband are the same thing, correct) will?
presuntinho said:
If i use the external sd with ext3/4 using the entire space, i will able to send file using usb, bluetooth, etc? I mean, there is any colateral?
Moving all data to MicroSD make the apps run slowly?
2 big games are enough to almost fill the entire internal memory.
Click to expand...
Click to collapse
If you use app2sd+ script method, everything will function normally. A class 6 or 10 sdcard can perform as fast as your internal phone storage. You may wear your sdcard faster though since it is being regularly used and accessed.
The only problem is to fine the script itself that is specifically customised for o2x, I myself do not know how to do it, although I used it before for my HTC Desire phone, but that was long time ago and the script was integrated in custom roms since htc desire only has 150mb app space.
presuntinho said:
Well, maybe is my enlglish that is horrible, but that is what i understand reading this:
http://forum.xda-developers.com/showpost.php?p=26191714&postcount=3
"Installing this file WILL fully wipe your device, including the Internal SD. Back up!"
So:
1 Changing the ROm will wipe the internal sd?
2 Changing the firware (firmware and baseband are the same thing, correct) will?
Click to expand...
Click to collapse
Yes, all threads will say that, its just cautionary purposes. I just recently reflashed my baseband to v20c a a month ago using smartflash, it did wipe my rom data, but not my internal sd. But just incase, make a backup of everything, it doesn't hurt to do that.
tablighs said:
If you use app2sd+ script method, everything will function normally..
Click to expand...
Click to collapse
but to use apps2sd +script i need to have a partition ext3 or ext4, right? This partition in ext3 will work with usb, bluetooth, etc?
It is a good option to have the enitre microsd in ext3 instead 1 partition in ext3 and 1 in fat32?
Thanks
presuntinho said:
but to use apps2sd +script i need to have a partition ext3 or ext4, right? This partition in ext3 will work with usb, bluetooth, etc?
It is a good option to have the enitre microsd in ext3 instead 1 partition in ext3 and 1 in fat32?
Thanks
Click to expand...
Click to collapse
The ext partition will always be mounted for android system, so you cannot access via pc. You need a fat32+ext3/4 partitions combo.
First you need to know how much storage do you need for apps, please note that I think the internal 1.5gb app storage will be left unused if you decide to link your data (which will fool android system thinking it is phone memory) folder to your external sd.
We have talk too much on this topic but I myself is unsure whether you can find the script to run on o2x. Maybe its time for you to take some time on how to actually find and modify one so it works for o2x. I cannot help you on that at all. Keep us posted if you have any progress.
tablighs said:
The ext partition will always be mounted for android system, so you cannot access via pc. You need a fat32+ext3/4 partitions combo.
First you need to know how much storage do you need for apps, please note that I think the internal 1.5gb app storage will be left unused if you decide to link your data (which will fool android system thinking it is phone memory) folder to your external sd.
We have talk too much on this topic but I myself is unsure whether you can find the script to run on o2x. Maybe its time for you to take some time on how to actually find and modify one so it works for o2x. I cannot help you on that at all. Keep us posted if you have any progress.
Click to expand...
Click to collapse
But can i alternatively make a backup of big games in the sd so i don't need to download 700 MB every time i want to install it again? As already said Titanium Backup will not do that. I could cut and paste only the backup of the game i want to sd, but Titanium show the name of backups in a way wich is dificult to read among many files. Plus i am not sure TB will backup all data of the game.
Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card(EDIT: PS: both partitions should be Primary). Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Edit:
Simplified installation if you do not care for easy accessibility to your orig internal memory:
Use this video tutorial by ashwin123:
The only exceptions are that, you need to partition your card,
and you have to use the file 'mountSdFailSafe.txt' instead of the file in the package mentioned by him.
Nice
Waiting for someone to test it n confirm it successfully works
Still here
N!geR -> E!ch0
NisJ said:
Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card. Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Click to expand...
Click to collapse
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
grim_ripper said:
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
Click to expand...
Click to collapse
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
NisJ said:
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
Click to expand...
Click to collapse
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
grim_ripper said:
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
Click to expand...
Click to collapse
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
grim_ripper said:
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
Click to expand...
Click to collapse
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
E!ch0 said:
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
Click to expand...
Click to collapse
Creating a video will take time at least til sat... prob more.
Will see if I can create a simplified install instructions once i reach home.
NisJ said:
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
Click to expand...
Click to collapse
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
grim_ripper said:
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Click to expand...
Click to collapse
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
grim_ripper said:
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
Click to expand...
Click to collapse
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
NisJ said:
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
Click to expand...
Click to collapse
For whatever reason, my /etc folder is actually a link from /system/etc
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
grim_ripper said:
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
Click to expand...
Click to collapse
The apps are behaving funny because you have lost their data as I had warned in the original post.
To fix do either of the foll:
1. reinstall app, and start fresh.
or
2. restore from Titanium backup if you had created...
or
3. copy paste 'Android' folder from sdcard2 if it is created to 'sdcard0'
To remove and revert, just delete the files from int.d, and stop scheduling it in SManger.
Note: to un schedule it from smanager, you first have to remove memory card, un schedule and then put in your memory card (this is coz when phone boots up, it is in standard way, with 8gb internal but, after script is executed SManager looses its data too.
How complicated will it be to make this compatible with 4.2.2?
grim_ripper said:
How complicated will it be to make this compatible with 4.2.2?
Click to expand...
Click to collapse
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
NisJ said:
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
Click to expand...
Click to collapse
I did try but nothing happened, am guessing it has permission issues or something on those lines
grim_ripper said:
I did try but nothing happened, am guessing it has permission issues or something on those lines
Click to expand...
Click to collapse
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
NisJ said:
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
Click to expand...
Click to collapse
on the 4.2.2 update, it doesnt recognize the second partition even if it is formatted to primary and set to active. there r definitely some updates done in that field and plus i cant get the init.d rights on the phone as the test.log file is absent in the data folder..no matter what i do i just cant get it straight with the present procedure. please try it on 4.2 and there r more frequent updates on the nordiac then the local version. so i decided to flash it rather than waiting for ota update
Hi guys, I updated my P880 to V20B and now have problems with using the external SD properly. I found it being mountend to storage/external_SD and I can read/write there. BUT: I can't set a folder on it as the backup location in Super Backup (as I could before), my LG notes aren't backed up automatically to the external SD location (as it was before), and I expect many similar problems to arise with time.
Formerly, the external SD was mounted to mnt/sdcard/external_sd, if I remember correctly. Now this symbolic link (?) is missing. When I performed the update and then first booted the updated device, I had the external SD removed to make sure my backups were safe. Might that be the reason for the missing link? My questions are:
1. Should I flash the kdz again with the SD card inserted? Or at least perform a factory reset?
2. Or could the link be created afterwards, preferrably without rooting my device? Would that solve the problem, at all?
Any suggestions would be greatly appreciated!
Nothing?
How about formatting SD card ? Did you tryed that ? On 20a my card is read as storage/external_SD just fine.
dimi89 said:
How about formatting SD card ? Did you tryed that ? On 20a my card is read as storage/external_SD just fine.
Click to expand...
Click to collapse
Hey dimi, thanks for the suggestion! However, I am afraid you didn't read my post very carefully. I wrote that I actually CAN read/write to my external SD. But I cannot set the path in applications like Super Backup (when I navigate to some folder on storage/external_SD, the button "Select this folder" is inactive). And I suspected it is because it is no subpath of mnt/sdcard anymore. Also, some apps like LG notes don't write/backup to the external SD by default any more, and some of them unfortunately are not configurable.
That's the reason why I thought creating a simbolic link for mnt/sdcard/external_sd (as it was before) might solve the problem. However, I am absolutely not sure of this (plus: how to achive it) and would be happy about an expert's opinion.
pegnose said:
Hey dimi, thanks for the suggestion! However, I am afraid you didn't read my post very carefully. I wrote that I actually CAN read/write to my external SD. But I cannot set the path in applications like Super Backup (when I navigate to some folder on storage/external_SD, the button "Select this folder" is inactive). And I suspected it is because it is no subpath of mnt/sdcard anymore. Also, some apps like LG notes don't write/backup to the external SD by default any more, and some of them unfortunately are not configurable.
That's the reason why I thought creating a simbolic link for mnt/sdcard/external_sd (as it was before) might solve the problem. However, I am absolutely not sure of this (plus: how to achive it) and would be happy about an expert's opinion.
Click to expand...
Click to collapse
In super backup i couldnt set path since first day i downloaded it and today i tryed again with new version of app and it is the same.SMS backup is working fine so i suppoust it is problem with app (maybe in pro version it will work).
dimi89 said:
In super backup i couldnt set path since first day i downloaded it and today i tryed again with new version of app and it is the same.SMS backup is working fine so i suppoust it is problem with app (maybe in pro version it will work).
Click to expand...
Click to collapse
I can set path anywhere on storage/sdcard, but not on storage/external_SD. Also the Notes application doesn't back up to external SD, as it did before. Coincidence? Maybe. I will find out with time using other applications.
Am I right that creating symbolic links without root access is not possible?
pegnose said:
I can set path anywhere on storage/sdcard, but not on storage/external_SD. Also the Notes application doesn't back up to external SD, as it did before. Coincidence? Maybe. I will find out with time using other applications.
Am I right that creating symbolic links without root access is not possible?
Click to expand...
Click to collapse
Idk about creating links but it is not coincidence that you and me cant select any folder on external_SD i guess it is app bug or maybe as i sad premium version requirement.
dimi89 said:
Idk about creating links but it is not coincidence that you and me cant select any folder on external_SD i guess it is app bug or maybe as i sad premium version requirement.
Click to expand...
Click to collapse
It worked on 4.0.3.
Hi again, I made some progress here!
I managed to create a symbolic link to my external SD (I am on a rooted CM10.1.3 now), but that didn't help. I could use it within the ES file explorer for navigation, but not within Super Backup (didn't see it). So I tried to MOUNT the external SD instead. Here is the command I finally used:
mount -t vfat -o rw,umask=000 /dev/block/mmcblk1p1 /data/media/0/extSD
No errors, I can access my SD via this mount point with ES file explorer, and I can navigate into this top folder now with Super Backup and select it as backup location. BUT I can't actually back up here, as Super Backup can't write, I guess ("backup failed").
I was hoping that this "umask" parameter would do the trick, but unfortunately not. Interestingly: when I navigate with Super Backup to this new backup location, all the subfolders of my external SD card appear as files, not folders.
I am pretty sure, it is nearly done and only has to do with setting the right permissions.
Does anyone have an idea what I could try now?
EDIT: I just unmounted, applied "chmod 777 /data/media/0/extSD" and remounted again (this time with "rwx" parameter). No changes.
Ok, I am back to 4.0.3 ICS and everything is fine.