Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I'll assume you got no errors after each step. So that means files are installed but the script won't copy your files. My guess is the script can't mount the partition. By the way, the three "exit"s thing: The 1st exits the superuser mode, the 2nd exits adb, and the 3rd (if you typed it) exits Windows' command window.
There's an init_debug.sh script you can try, post #256. Check the post to see if it helps you solve the problem. If you need further assistance, let me know where you get stuck.
You can also debug it manually, since you have adb. Start with "su" to get a "#" prompt. In the following, text following the "#" prompt is command and expected output follows that.
Check the absence of the temporary directory:
If the script has aborted, you might get this instead:Code:shell@android:/ # ls -ld /cache/DataOnSD /cache/DataOnSD: No such file or directory
If so, clean up:Code:shell@android:/ # ls -ld /cache/DataOnSD drwxrwxrwx root root 2014-11-07 17:20 DataOnSD
If you get any "No such file or directory" message, don't worry about it. If a command returns some other message you can't figure out, let me know.Code:shell@android:/ # rmdir /cache/DataOnSD/vfat shell@android:/ # rmdir /cache/DataOnSD/ext4 shell@android:/ # rmdir /cache/DataOnSD
Check installed files:
Check partitions exist:Code:shell@android:/ # ls -l /system/bin/vold* -rwxr-xr-x root shell 13660 2014-09-07 04:07 vold -rwxr-xr-x root shell 87580 2014-03-24 05:21 vold-original shell@android:/ # ls -l /system/etc/DataOnSD -rwx------ root root 1220 2014-09-11 15:42 vold
Make temporary directories:Code:shell@android:/ # ls -l /dev/block/mmcblk1p* brw------- root root 179, 33 2014-11-07 16:45 mmcblk1p1 brw------- root root 179, 34 2014-11-07 16:45 mmcblk1p2
Try to mount partitions:Code:shell@android:/ # mkdir /mnt/asec/temp1 shell@android:/ # mkdir /mnt/asec/temp2
If the commands return any error message, something's not right. Otherwise, check partition contents:Code:shell@android:/ # mount -t vfat /dev/block/mmcblk1p1 /mnt/asec/temp1 shell@android:/ # mount -t ext4 -o nosuid,nodev /dev/block/mmcblk1p2 /mnt/asec/temp2
Directory listing of the fat32 partition should show an empty file "LGF6DataOnSD_INIT" if the script never got to deleting it.Code:shell@android:/ # ls -la /mnt/asec/temp1 <... DIRECTORY LISTING OF YOUR FAT32 PARTITION ...> shell@android:/ # ls -la /mnt/asec/temp2 <... DIRECTORY LISTING OF YOUR EXT4 PARTITION ...>
If everything looks okay, reboot and see if it works. If something doesn't look right, let me know what you get.
Good luck.
So that means the binary file was not installed. I notice you did "ls -l /dev/block/mmcblk1p*" twice. The first time it didn't work but the second was fine. Weird. Anyway, since it looks like your partitions can be mounted, they are okay. So let's figure out why your installation has failed.The main deviation I noticed is that when I entered "ls -l /system/bin/vold*" it only listed the 87580 entry, not the 13660 or 1220 ones.
cd /storage/external_SD/
touch LGF6DataOnSD_INIT
cd DataOnSD
sh installer.sh both
shell@android:/ # cd /storage/external_SD/
shell@android:/storage/external_SD # touch LGF6DataOnSD_INIT
shell@android:/storage/external_SD # cd DataOnSD
shell@android:/storage/external_SD/DataOnSD # sh installer.sh both
Making /system writable ...
Installing executable to /system/bin ...
Installing script to /system/etc/DataOnSD ...
Making /system read-only ...
Reboot to apply changes.
ls -l /system/bin/vold*
ls -l /system/etc/DataOnSD
ls -l /storage/external_SD/LGF6DataOnSD*
shell@android:/storage/external_SD/DataOnSD # ls -l /system/bin/vold*
-rwxr-xr-x root shell 13660 2014-11-13 12:17 vold
-rwxr-xr-x root shell 87580 2014-03-24 05:21 vold-original
shell@android:/ # ls -l /system/etc/DataOnSD
-rwx------ root root 1220 2014-11-13 12:17 vold
shell@android:/ # ls -l /storage/external_SD/LGF6DataOnSD*
-rwxrwxr-x system sdcard_rw 0 2014-11-13 12:17 LGF6DataOnSD_INIT
Good news! I followed your instructions and it worked exactly as you said. Played around with it a bit last night, and gave it to my daughter to use today. It did sporadically crash on me last night, not sure why, I couldn't find a pattern to it. The initial boot after following your instructions was very lengthy and it started to boot loop so I had to shut it down after about 15-20 minutes of waiting to see if it was going to resolve itself. After that it booted up properly and appeared to work correctly. I'll keep my eye on it.So that means the binary file was not installed. I notice you did "ls -l /dev/block/mmcblk1p*" twice. The first time it didn't work but the second was fine. Weird. Anyway, since it looks like your partitions can be mounted, they are okay. So let's figure out why your installation has failed.
The easiest way is probably to use TWRP plus the -copy.zip and -install.zip in post #319 (and the -uninstall.zip if you need it). Start by reading post #251, though.Is there a version that a noobie could use. I have a class 10, 32 GB sd card, Rooted with towelroot.
It's possible your files weren't fully copied. Normally, when you reboot the first time after installation, it goes like this. The contents of your internal /data partition get copied to the SD card by my script. During this time, the screen stays on the metropcs graphics (or whatever equivalent on your phone). After files are copied, the script will reboot the phone automatically. This is normal. The external partition should be mounted as /data at this point, after this second boot-up. As I've said before, file copying will take a while. If you have a lot of apps and data already in the internal storage, the time it takes will obviously be long. You can get an estimate of the time it might take if you know the amount of data to copy and the writing speed of the SD card. I keep my internal storage relatively empty, and with a class 6 Samsung, it takes maybe about 2-5 minutes. If your phone truly boot loops (rebooting over and over without intervention), let me know because something isn't right.It did sporadically crash on me last night, not sure why, I couldn't find a pattern to it. The initial boot after following your instructions was very lengthy and it started to boot loop so I had to shut it down after about 15-20 minutes of waiting to see if it was going to resolve itself. After that it booted up properly and appeared to work correctly. I'll keep my eye on it.
touch /storage/external_SD/LGF6DataOnSD_INIT
rm /data/.LGF6DataOnSD_DO_NOT_REMOVE
Like the file name says, DO NOT REMOVE the file under normal usage. That file is like a tag. It's there to tell my mounter binary that the partition is a copy of /data partition so it's okay to use it as /data . You only delete that file when you no longer want the external ext4 partition to act as your /data .Hey warranty I noticed that u said delete lgf6dataonsd_do_not_remove if it exists but when I did that it went back to normal internal of 1.27 gb meaning that your copydata.zip put it there? So how can I delete it if it needs it?
What appsI got two apps that won't connect to the internet to download the additional files they need. They worked before this mod, but not since I got this mod working. I'm on the Carbon Rom, KK 4.4.4.
Family Guy game, spiderman unlimited. Haven't had any issues with other apps.