Hi.
I've rooted my A70s with chulri's kernel and it seems to work ok.
My next goal is to get more app room ... so I guess I need to resize the app/data partition.
I've thought that having my internal storage formatted on ext4, it would be possible to ln the /data folder to /storage/data without problems, but then I should create a boot script for that. The question is... can I do this with my current root status? What would be the way to do it? I'm don't know enough of linux os to make it on my own.
If the system can't be fooled with a ln, then is there any way to resize the data partition, even if I have to backup/restore my current data?
I don't want to use Urukdroid, since all the versions I tried were very unstable on my machine.
Cheers!!
search the forum: http://forum.xda-developers.com/showthread.php?p=14710945#post14710945
Follow chulri's method, or repartition your internal storage in Linux, mount it on the archos, and copy the data there. Then edit init.rc and change the data mount line. If it gets mounted in the kernel, you'll have to umount it first to remount it to the other partition.
i downloaded the latest link2sd from market.
im on mik's cm7 6.5.7, with franco v19.2
i created a 256 mb ext2 partition using TWRP recovery. ran link2sd, rebooted, didnt mount
everytime i get the messsage: "mount script created, restart ur phone.... If ur getting this message after restarting, this means the 2nd partition cannot be mounted automatically at boot"
i grew suspicious of twrp and prepartioned ext2 uing gparted on my pc (i was using the mount usb storage from the recovery since i dont hv a card reader). no success.
formatted partition as ext3. same result.
formatted as fat32. still nothing.
whats wrong? i can see the 2 partitions clearly when i connect it to pc
if you look in /etc/init.d with root explorer
you can see the the 11link2sd file???
you can try to put the file manually
chalomadek said:
if you look in /etc/init.d with root explorer
you can see the the 11link2sd file???
you can try to put the file manually
Click to expand...
Click to collapse
Just checked.the file is there. To see where's happening, I copied the file to sdcard and ran it manually with script manager.this is the output:
Code:
mount: mounting /dev/block/mmcblk0p2 on /data/sdext2
failed: Device or resource busy
what's this ?
noticed a strange thing. even though that error is occurring, the 2nd partition is actually getting mounted when i manually try the script. but it doesnt get mounted automatically at boot.
is there any way to see the logs or something of the scrpts run at boottime? franco has disabled logcat and dmesg in his kernel. any other way?
I partitioned through clockworkmod and link2sd is working fine.
If I remember right, I think it has to do with the order of partition. The EXT2 partition used by Links2SD had to be the first partition when I put it on my phone.
kannan66 said:
I partitioned through clockworkmod and link2sd is working fine.
Click to expand...
Click to collapse
i tried with cwm, but its not working. the script is right there in init.d folder, it does have executable permissions, and the partition does get mounted on executing the script manually, inspite of the "Device or resource busy" error. only problem is its not getting mounted at boot. doesnt make any sense to me.....
I'm using a 4gb class 2 sd. Does that have anything to do?
Also, after I reboot and mount manually, all the previously linked apps are gone, while I can still see the apks and dexs on my pc, on the 2nd partition
Try this. Uninstall link2sd, reboot, reinstall link2sd and convert your ext partition to ext3.
If by chance you had used some other linking tool like apps2sd etc., before trying link2sd, it could also cause 'loading at boot' problems.
Hope this helps
Reinstalled link 2 sd. Didn't help.finally I had to do a full wipe and reinstall cm7. Now it works
chalomadek said:
if you look in /etc/init.d with root explorer
you can see the the 11link2sd file???
you can try to put the file manually
Click to expand...
Click to collapse
where to put that file??
Tried all the above to no avail
I have an LG-D320. It worked fine when I first rooted it. After months of use, the sd went bad. Bought a new one and partitioned it. Again, everything was fine. Then it just stopped recognizing the second partition- ext2. I have since tried everything from repartitioning, unrooting and rerooting, linux swap partition, ext3, ext4, resetting to factory, upgrading with LG Mobile support tool, Checked out the script in the 11link2sd, installing init.d toggle as the init.d folder didn't exist, ... I still get "the 2nd partition cannot be mounted automatically at boot" no matter how often I uninstall/reinstall link2sd restart and the such. Seems to me that either the permissions are asque or the mount is wrong. I am really over my head with this one. Can anyone offer a solution, please? P.S. It mounts the fat 32.
Maybe the new one is defective.
Sent from my Samsung Galaxy S7 using XDA Labs
Sam
7paulairee7 said:
Tried all the above to no avail
I have an LG-D320. It worked fine when I first rooted it. After months of use, the sd went bad. Bought a new one and partitioned it. Again, everything was fine. Then it just stopped recognizing the second partition- ext2. I have since tried everything from repartitioning, unrooting and rerooting, linux swap partition, ext3, ext4, resetting to factory, upgrading with LG Mobile support tool, Checked out the script in the 11link2sd, installing init.d toggle as the init.d folder didn't exist, ... I still get "the 2nd partition cannot be mounted automatically at boot" no matter how often I uninstall/reinstall link2sd restart and the such. Seems to me that either the permissions are asque or the mount is wrong. I am really over my head with this one. Can anyone offer a solution, please? P.S. It mounts the fat 32.
Click to expand...
Click to collapse
I'm facing the same problem..
I have a init.d script that involves sdcard activity, but the card is obviously not mounted whilst the script is being executed. So is it possible to write a init.d script that would mount an sdcard at boot time?
Im looking for this solution too.. I believe mount sdcard on init will be a great idea.. because i have apps on sdcard so, it will need to be scan only after it boot to the OS.
Same here... could u get the solution ?
I want my script to copy some file from /sdcard to /data at boot time.
i yesterday install a new rom to my rooted s3(intl) today i try to reboot another rom i was stuck in cwm recovery...i wanted to install another rom from my sd card. but it says cant find any file in sdcard.... i cant back restore cz i dnt have back up file in phone as i moved my back up to laptop...when i search abt thz i found out this hapn because my sd card having some issue.
You most probably have an unpartitioned sdcard, clockworkmod however assumes that is partitioned and wants to mount the first partition (/dev/block/mmcblk0p1).
You can fix this by repartitioning your sdcard so that it has a mountable fat-formatted first volume and then retry.
If you don't mind using the commandline, boot to recovery and connect via adb shell to it, then mount your sdcard manually: mount /dev/block/mmcblk0 /sdcard and retry.
Technical explanation:
cat /proc/partitions lists:
/dev/block/mmcblk0 is your FAT formatted volume (no more partitions at all)
should be:
/dev/block/mmcblk0 (whole device)
/dev/block/mmcblk0p1 (1st partition, FAT formatted)
/dev/block/mmcblk0p2 (sd-ext partition, only for those that use SD2ext and such)
im new to rooting and these stuffs plz explain what is adb shell and how i can mount my sd card....
btw i also tried factory reset it didnt wrk too....i dnt want any files i just want my phone back cz i badly need it....plz help me on this guys :crying: plzzz :crying:
In cwm under mounts and storage there should be the option to format sd card...
Adb is android debugging, it's used to connect to, pull/push files, get logs and more from your phone using a terminal or command prompt window.
http://developer.android.com/tools/help/adb.html this site shows the adb commands available including shell which is connecting to your phone via the terminal to allow you to enter commands.
Also maybe try mount USB storage through cwm and see if you can connect you phone to your pc and transfer the files needed.
If I helped you in some way, take a second to hit the Thanks button.
Hi!
I tried to install Android on Samsung Wave GT-S8500. I flashed FOTA and bootloader and got into recovery but since it can't mount /system (same goes for /data and /cache) I can't install any ROM or make any backup.
Is there any way to get those partitions to mount as they should?
wrong kernel. Search Kernel NAND and copy it on SD. You have Kernel SD and u need ro format SD for install any rom