hello all
I have been playing around some this weekend since we now have a lot more options open to us, thanks to djrbliss and his new version of Loki that supports our phone
Please donate to bliss if you can
http://goo.gl/zBGb0
and if you can not, that is OK but please show your appreciation to him by writing a nice thank you post for him, the man has done a lot for us
If any of you have read this thread
http://androidforums.com/motion-4g-all-things-root/739805-ok-what-i-think-we-need-now.html
you should know some of the issues we need to deal with, I was pretty drunk when I wrote that thread, but the issues that it mentions still stand, mainly the data partition being wiped if you enter recovery, and my suggestion of using a boot menu is ok, but is a lot of work
i think i have an easier solution
lets just not use the internal data partition
I have created a TWRP and CWM recoveries that supports sd-ext, and a modified stock kernel that mounts sd-ext to data, instead of the internal partition
This should only be used by advanced testers, I have tested it, but not thoroughly
YOUR DATA WILL BE LOST WHEN YOU SWITCH OVER TO THIS
EVEN YOUR DATA ON YOUR SD CARD WILL BE LOST, BECAUSE IT WILL RE-PARTITION THE SD CARD
USE A DIFFERENT SD CARD TO TEST THIS, ONE THAT DOES NOT CONTAIN YOUR BACKUPS
You must be on version F firmware, rooted and have 2nd init recovery installed
MAKE A BACKUP IN 2ND INIT RECOVERY, AND THEN TURN THE PHONE OFF, TAKE THAT SD CARD OUT, AND PUT IT IN A SAFE PLACE, AND PUT ANOTHER SD CARD IN THAT YOU DO NOT CARE THAT IS GETS WIPED
get back into 2nd init recovery
download this
CWM version
lgm-f-cwm-data-sd-ext.zip
or this
TWRP version
lgm-f-twrp-data-sd-extb.zip
and copy it to this new sd card, then install it from 2nd init recovery
then go into the advanced menu and choose reboot recovery
DO NOT TRY TO BOOT TO ANDROID YET
you should now be booted into TWRP 2.5 or CWM 6
go into the advanced menu and choose Partition SD card
make the partition size at least 1024, you can make it bigger if you are using a big sd card
set the Swap size to 0
for TWRP press the EXT4 button
and then swipe the the thing to make the partition
you now have a second partition on your sdcard
the kernel provided is just the stock kernel, i removed wallpaper from it
and I change the mount line for data
from
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata /data nosuid nodev barrier=1 noauto_da_alloc data=ordered errors=continue
to
mount ext4 /dev/block/mmcblk1p2 /data nosuid nodev barrier=1 noauto_da_alloc data=ordered errors=continue
now when you boot into recovery your data will not be lost
I know this is not the best solution in the world, but it is an option
Thank you to djrbliss for Loki
Shabby for letting me use his tree
Koush for Clock Work Mod
TeamWin for TWRP
hK
If I have helped you, and you like my work, please click on the Thanks Button and give my thread a rating by clicking on the stars above.
If you would like to buy me a beer, you can click on the PayPal button

.
I have been playing around some this weekend since we now have a lot more options open to us, thanks to djrbliss and his new version of Loki that supports our phone
Please donate to bliss if you can
http://goo.gl/zBGb0
and if you can not, that is OK but please show your appreciation to him by writing a nice thank you post for him, the man has done a lot for us
If any of you have read this thread
http://androidforums.com/motion-4g-all-things-root/739805-ok-what-i-think-we-need-now.html
you should know some of the issues we need to deal with, I was pretty drunk when I wrote that thread, but the issues that it mentions still stand, mainly the data partition being wiped if you enter recovery, and my suggestion of using a boot menu is ok, but is a lot of work
i think i have an easier solution
lets just not use the internal data partition
I have created a TWRP and CWM recoveries that supports sd-ext, and a modified stock kernel that mounts sd-ext to data, instead of the internal partition
This should only be used by advanced testers, I have tested it, but not thoroughly
YOUR DATA WILL BE LOST WHEN YOU SWITCH OVER TO THIS
EVEN YOUR DATA ON YOUR SD CARD WILL BE LOST, BECAUSE IT WILL RE-PARTITION THE SD CARD
USE A DIFFERENT SD CARD TO TEST THIS, ONE THAT DOES NOT CONTAIN YOUR BACKUPS
You must be on version F firmware, rooted and have 2nd init recovery installed
MAKE A BACKUP IN 2ND INIT RECOVERY, AND THEN TURN THE PHONE OFF, TAKE THAT SD CARD OUT, AND PUT IT IN A SAFE PLACE, AND PUT ANOTHER SD CARD IN THAT YOU DO NOT CARE THAT IS GETS WIPED
get back into 2nd init recovery
download this
CWM version
lgm-f-cwm-data-sd-ext.zip
or this
TWRP version
lgm-f-twrp-data-sd-extb.zip
and copy it to this new sd card, then install it from 2nd init recovery
then go into the advanced menu and choose reboot recovery
DO NOT TRY TO BOOT TO ANDROID YET
you should now be booted into TWRP 2.5 or CWM 6
go into the advanced menu and choose Partition SD card
make the partition size at least 1024, you can make it bigger if you are using a big sd card
set the Swap size to 0
for TWRP press the EXT4 button
and then swipe the the thing to make the partition
you now have a second partition on your sdcard
the kernel provided is just the stock kernel, i removed wallpaper from it
and I change the mount line for data
from
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata /data nosuid nodev barrier=1 noauto_da_alloc data=ordered errors=continue
to
mount ext4 /dev/block/mmcblk1p2 /data nosuid nodev barrier=1 noauto_da_alloc data=ordered errors=continue
now when you boot into recovery your data will not be lost
I know this is not the best solution in the world, but it is an option
Thank you to djrbliss for Loki
Shabby for letting me use his tree
Koush for Clock Work Mod
TeamWin for TWRP
hK
If I have helped you, and you like my work, please click on the Thanks Button and give my thread a rating by clicking on the stars above.
If you would like to buy me a beer, you can click on the PayPal button

.