HI guys,
Last night, got my new 8gb class 6 card, and took it into ubuntu and recreated all my partitions. Then did a copy from the old partition to new one...
Then did a reset ext security thing from the recovery console, however one issue is still out there... 4 apps didn't copy across correctly. They can't be uninstalled or reinstalled and are just refusing to work at all anymore.
When I try to reinstall from ADB, it spits out:
INSTALL_PARSE_FAILED_NO_CERTIFICATES
Any ideas how I can fix it?
they should just auto delete any new thread that ends with a question mark in the dev forums....
gunigugu if your too dull to get what im saying, POST IN TH PROPER PLACE
( Capslock is cruise control to success)
I've had issues of not being able to uninstall something, the only solution I found was download the apk file off the internet then installing, then uninstalling.
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
lbcoder said:
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
Click to expand...
Click to collapse
I just did a copy and paste within the ubuntu explorer
Everything works, except I think the protected apps.... and I would uninstall / reinstall them, but the option to uninstall the apps is grayed out.
I install a lot of application so I constantly run out of space on NAND. So I tried to install Myn's Warm Donut using the following method so the system stuffs will be on NAND and the data will be on the sdcard. It is slower but I can install lots of applications now.
Requirement:
-You have to have Myn's Warm Donut or other android rom installed already on NAND. This means that both the system and the data is on NAND.
-A USB reader for your micro sdcard
Overview:
The main steps are 1) install adb 2) partition your sdcard into three partitions 3) reinstall the rom.
Steps:
1- Install the Android SDK here http://developer.android.com/sdk/index.html. This will give you the adb tool which is a remote terminal program. You will have to locate the adb binary to run it.
2a- Connect you vogue to the desktop. Make sure that USB debug is enable on the vogue. It should be by default.
2b- Run the adb:
Code:
adb shell
2c- Repartition the sdcard using parted. You need some experience with parted which is very popular in linux. Remember, this step will destroy the data on the sdcard.
Code:
parted /dev/block/mmcblk0
print
At this point you should see the list of all partitions on the sdcard. For most of you, there will be one partition. Remove all the partition using the rm command with the partition number.
Code:
rm 1
Now your print should return empty. So create three partitions using the following commands. Basically, you want three partitions. The first one is your sdcard folder which you always had. The third one is for your data. The second one is just filler because the current installer only install to the third partition.
Code:
mkpartfs primary fat32 0 6500
mkpartfs primary linux-swap 6500 6756
mkpartfs primary ext2 6756 8168
set 1 lba
Note that the size is depended on you. I want around 6.5GB on my 8GB card to be the sdcard partition for musics and videos. So what's left is around 1.5GB for the data partition. I just give the filler 256MB so maybe I can do something with it later. The partition number might be different with other rom. You have to play with it.
After this step you should see something like this when you do print:
Code:
Number Start End Size Type File system Flags
1 32.3kB 6500MB 6500MB primary fat32 lba
2 6500MB 6756MB 256MB primary linux-swap(v1)
3 6756MB 8168MB 1412MB primary ext2
Now you can quit parted and exit the console by:
Code:
quit
exit
3a-Turn off your phone and put the sdcard into a USB reader so you can copy the andboot installation files over.
3b-Put the card back, run the installer and choose the data on sdcard option. You should be good to go.
As you usual, you are solely responsible for your phone and your data.
Hope this helps.
I have another solution in the works that will solve the out-of-space on data very easily on ANY build and also have some other nice advantages: http://forum.xda-developers.com/showthread.php?t=750768
So you put the apps on to ext2 partion and the data stay in NAND? In that case it would be better. The problem for the vogue is that the installer on the Myn's rom only put everything on the data partition on to an ext2 partition. On the vogue other rom is slow IMO. Maybe someone can separate the data and apps in the next build?
Anyway, do you know how can I extend the system partition so it can span to 256MB? Right now it is only 128MB because the data presumably should extend the other 128MB.
kallt_kaffe said:
I have another solution in the works that will solve the out-of-space on data very easily on ANY build and also have some other nice advantages: http://forum.xda-developers.com/showthread.php?t=750768
Click to expand...
Click to collapse
Hi csbert,
I am new to ADB. When I typed adb shell, I got device not found. Maybe I need a driver or something? thanks
update: I think I found the instruction on how to obtain the usb driver, going to try now
When you connect to vogue to your computer, it has to say "USB debugging connect". If it doesn't, maybe you need to enable USB debugging in Settings -> Application Settings -> Development.
Cookiekaikai said:
Hi csbert,
I am new to ADB. When I typed adb shell, I got device not found. Maybe I need a driver or something? thanks
update: I think I found the instruction on how to obtain the usb driver, going to try now
Click to expand...
Click to collapse
partition program
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Hi,
I don't think you can partition the sdcard for the phone using an xp computer. That's why I wrote this instruction. The partition android uses is from linux. You can try a linux machine but i heard that doesn't work. You can still connect to the phone using adb and format the sdcard as I explained.
Cheers
evilclosetmonkeynate said:
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Click to expand...
Click to collapse
evilclosetmonkeynate said:
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Click to expand...
Click to collapse
You could boot from a Live CD of any Linux distro. Or download and burn Gparted Live CD, all free
Ok, so I got an 8g sd card for my nook. It was blank so I didn't do anything to back it up. After writing the nooter image to it, it shows up as a 39m disk, and the windows disk utilities won't reformat it to 8g. How are other people doing it?
I used the following software: partition-tool.com/personal.htm
It is free for home use.
I used a partition software like JoshMiers did, but somewhere on here under the android development section other people were just using the NC itself. Remove the SD card, boot up the NC, put back in the SD card, then unmount and format the SD card.
OK got this solved. Here's what I did:
- Put the sd card into the nook & go to an adb shell
- `mount` to get the device file for the sd card. Mine was at /dev/block//vold/179:17
- unmount /sdcard
- `dd if=/dev/zero of=/dev/block//vold/179:17 bs=1024 count=2` to wipe the header
- Insert into a windows machine and format
It's all good after that.
edembowski said:
OK got this solved. Here's what I did:
- Put the sd card into the nook & go to an adb shell
- `mount` to get the device file for the sd card. Mine was at /dev/block//vold/179:17
- unmount /sdcard
- `dd if=/dev/zero of=/dev/block//vold/179:17 bs=1024 count=2` to wipe the header
- Insert into a windows machine and format
It's all good after that.
Click to expand...
Click to collapse
or just put it into the nook and go to settings>device info>sd card> unmount, then format from the same screen
You can also use diskpart in windows to fix the sd card.
If your running windows 7 you should have it.
califrag said:
or just put it into the nook and go to settings>device info>sd card> unmount, then format from the same screen
Click to expand...
Click to collapse
This is what I did.
jameswei said:
You can also use diskpart in windows to fix the sd card.
If your running windows 7 you should have it.
Click to expand...
Click to collapse
Yeah I was kinda irked at this as well. Diskpart fixed it up right quick and in a hurry. Amusingly enough I bought this thing specifically to read the Windows 7 Admin guide and happened to come across the info about diskpart for USB installs of Win 7, helped out quite nicely.
OK... Since nobody else has posted this, I will...
The reason that your SD shows up as 40M (no matter what its physical size) after going through the nooter rooting process is:
The .img file that you dd to your SD card writes not only the data on the SD card but also the partition table. The partition in the nooter .img file is ~40M in size. The Nook Color doesn't look at the physical device but rather the partitions on the device. Since the partition is ~40M, that's what shows up.
/me is praying for the day that people RUN SCREAMING away from Microsoft operating systems.
Just FYI... Android == Linux. Embrace your inner n3rd.
johnopsec said:
/me is praying for the day that people RUN SCREAMING away from Microsoft operating systems.
Just FYI... Android == Linux. Embrace your inner n3rd.
Click to expand...
Click to collapse
I'd rather use both. Anything Linux based I can load up in VMware and use. Of course I have a vested business interest in MS, they help pay the bills at the very least.
I used WinImage to copy the image file, can you use that to remove the partition as well? Windows 7's option to delete the partition is grayed out for me.
Okay in the disk management MMC snap in check the volume number of your SD card. It'll say something like Disk 1 or something similar. Make sure you get the right one cause this is pretty much a low level format that you'll do.
Open up a command prompt in Win7
Type diskpart into your command prompt
once you see the diskpart prompt type - select disk - n being the volume number 0,1,2,3 etc. and hit enter
once you've selected it just type format and hit enter
it'll take it a few minutes to go through, once done just type exit and you're done.
Now you'll be able to re-create a partition in your disk management MMC.
You can do all that stuff in diskpart as well, just type a ? and it'll give you a list of things you can do with it.
Any way to transfer Froyo from one SD card to another?
I would like to move it to a larger card but on my mac only 2 partitions mount but would love to put it on different device
Can this be done with adb?
is there a tool?
For windows you can use Win32DiskImager. You just select the letter of the drive containing the sd card (must be on an sd reader, not nook itself).
For linux you can use the command dd. You just have to do:
dd if=/dev/sd"letter of mount point here" of=/home/User/Desktop/SD_Backup.img
(to check for the letter you can use gparted, it can be gotten from the synaptic package manager if running ubuntu)
As for Mac, i have no clue. That being said you can easily download an Ubuntu live cd and use that to back it up
MattJ951 said:
For windows you can use Win32DiskImager. You just select the letter of the drive containing the sd card (must be on an sd reader, not nook itself).
For linux you can use the command dd. You just have to do:
dd if=/dev/sd"letter of mount point here" of=/home/User/Desktop/SD_Backup.img
(to check for the letter you can use gparted, it can be gotten from the synaptic package manager if running ubuntu)
As for Mac, i have no clue. That being said you can easily download an Ubuntu live cd and use that to back it up
Click to expand...
Click to collapse
How do I know the mount points? Can I just make one. Img file that will expand to the 4partitions?
From 1.1 Nook Color with 1.1 ghz overclock
Load up gParted once in ubuntu, in the top right it will have an arrow pointing down that lets you switch physical Hardrives (or in our case an SD card). Unless you have multiple HDD that are 2GB or 4GB (whatever size your SD card is) it should be easy to be able to find which one is the SD card. It will be /dev/sdX where x is the letter its mounted under.
Once you get that letter open up a terminal and type
dd if=/dev/sdX of=/home/"You User Name Here, exclude quotes"/Desktop/Backup.img
again, where X is the mount letter
Once it's done it you will have all 4 partitions backed up into one img file, so once you wish to restore it you just type
dd if=/home/"You User Name Here, exclude quotes"/Desktop/Backup.img of=/dev/sdX
(and again, X being the mount letter)
If you just wanted to say backup your /system partition you would do
dd if=/dev/sdX2 of=/home/"You User Name Here, exclude quotes"/Desktop/Backup.img
no number = backs up entire card
1 = backs up boot
2 = backs up system
3 = backs up data
4 = backs up media (stuff that your nook see's as being on the sd card such as what you download from a browser)
Canadoc said:
How do I know the mount points? Can I just make one. Img file that will expand to the 4partitions?
From 1.1 Nook Color with 1.1 ghz overclock
Click to expand...
Click to collapse
Is there a way to make a working backup (that can be recopied to a different card) without switching out of Windows Vista 32 bit? The backups I made with Win32DiskImager or WinImage don't let the NookColor get any farther than the flashing 'android_' screen at start when I copy them to a different card.
Try packing your boot, system, data and sdcard partitions into a .img file then use winimage/win32 or dd to write the image to a new sd card. (Kinda like making your own custom ROM image.)
RileyGrant said:
Try packing your boot, system, data and sdcard partitions into a .img file then use winimage/win32 or dd to write the image to a new sd card. (Kinda like making your own custom ROM image.)
Click to expand...
Click to collapse
@ RileyGrant - Thanks for the quick reply. I haven't done much coding in years and the Nook is my first attempt at rooting/roms/etc (better to brick a $250 toy than a $500 one...). Anyway, I don't have any problems following instructions - can you point me to somewhere that would explain the above procedure in more detail?
Thanks!
ShadowKatcher said:
Is there a way to make a working backup (that can be recopied to a different card) without switching out of Windows Vista 32 bit? The backups I made with Win32DiskImager or WinImage don't let the NookColor get any farther than the flashing 'android_' screen at start when I copy them to a different card.
Click to expand...
Click to collapse
I have the same problem. I 'm trying to move froyo to a 16GB sdcard but it keeps getting stuck on the "Android_" text. Any advice?
You probably failed to reproduce system permissions while copying files.
An easy way of transfering a working OS from one SD to another would be to:
- Download my USB mass storage utility in dev forum
-Install it
- Mount each partition of your SD to your PC, one at a time.. And do the following for each of them:
- Make tar/zip files of partition content
- Then uncompress the files on each new partition of the new SD..
Don't forget to expand 4th partition for maximum SD capacity...
Sam
Sent from my HTC Desire using XDA App
Worked like a charm! Thanks Sam!
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