I will not take any responsibility if something bad happens to your phone, or if you have to reflash the stock rom. This method is only tested on my own Xperia M2 D2303 and works fine so far.
If you did use the Towel Root method to gain root access to your M2, you probably tried to install Folder Mount or GL2SD in order to move some of your games and apps to your SD card. Unfortunately they will keep rebooting your phone unless you stop the SONY Ric service. Here is a temporary workaround.
Root your device first and follow the Towel Root guide, including the Super SU installation!
Make sure that your SD card is FAT32 formatted and there is sufficient space left to actually move the app/game
First download and install busybox from the play store and make sure that the install path says /system/xbin
Then also install Script Manager from the play store and open the app.
Tap the three dots on the bottom right of your screen to open the menu and select "New Script"
Give it a convinient name, "ric" will do just fine
Select SM Editor from the list
Type in the following (the first line is already there)
Code:
#!/system/bin/sh
mount -o rw,remount /system
stop ric
busybox pkill -f /sbin/ric
Save the file and close it
Now find the newly created "ric" in the list and tap it.
Make sure you select the "SU" and "Boot" icons and that "is script" is selected. Tap the save button.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reboot and try if it works.
There are couple of "rootfixes" here on XDA that will attempt to fix the problem, but since they are all written for different Xperia devices they won't work. Also, this is NOT the same "halfroot" problem as on other Xperia phones since you can freely remount /system in RW mode, change permissions or delete/edit files inside.
This small script will be usable for all rooted M2's with locked bootloaders, while others will get custom kernels with blocked RIC sooner or later.
Remember: When you are done playing, unmount the folder in GL2SD/FolderMount before connecting the USB cable or stuff may happen.
Let me know if it works for you.
Currently, I'm not playing any large file gaming but Many of friends from M2 group experiencing bootloop when trying to folder mount, I'll let them know for this temp fix and post it here how the outcome.
Sent from my D2305 using XDA Free mobile app
Thank you very much !!!!!
Works very well and now, I can move my obb folder !!!!
Great script
it does'nt work
If I write these commands on terminal it work but the script produce no result.
How to instal busybox if system is read only?
Thanks
Related
Hello.
I think, this app is useful for app2sd user. [It's based on Open Manger. just modified the apps for rooting user]
Move a App to SD. and make a symbolic link only "APK files".
1. requirement.
A. Rooted device.
B. App2SD
C. Busybox
2. Usage.
A. After rooting , install a app2sd.. [do not move a apps to SD. just install]
B. select a app , which is big size, sometime using, but do not want remove.
C. move a only APK to SD card. and make a symbolic link by this apps.
3. if you want more detail. visit to here " flywithu.com/entry/rootedexplorer "
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the file status is "lrwx" then, "l" menas "symbolic link" , "r" => "read able". "w" => "write able", "x" => "execute able"
is it just me...
but if i download it, and try to run the apk, it tells me "cant open file" o.o
Works for me on HTC magic 32b running froyo, many thanks.
I don't know why, but I can open all folders I want except /mnt/sdcard. I get a FC when trying. On filemanagers I can open /mnt/sdcard with success.
Using a HTC Desire, rooted and S-off.
Installed and works for me, but it shows my /data/app/ folder as empty.
I have apps2sdext so it should follow the link...
As a workaround I can browse to /sd-ext/app just fine.
Only for Froyo devices right? I'm running 2.1, has anyone figured out how to move apps 2 sd on 2.1? (stock kernal)
Can I change boot screen also from the root?
does not work with my mytouch 4g... had to busy the market version instead
Sorry to dig up an old thread but I'm having a problem moving apps to my SD card. I go into rooted explorer and copy the .apk, I move into the /system folder but there is no SD folder. Everything else looks the same as the screen shot except I'm missing the SD folder. Any ideas?
So I installed widgetlocked from the market and it all runs lovely. However, I wanted to use the Ultralinx mods for it.
I tried a few different ways, extracting it with root explorer. Copying the .apk to my desktop and modding the files there and signing them with signapk, but the modified .apk will not install no matter what I try. It always comes up with 'Application not installed'.
I am a bit newb at this I admit but have installed other apks just fine.
Any help appreciated
Figured it out. HAD to use adb. No other method would I tried would work, but that did first time!
I was trying to PM you, but they weren't going through...
Anyway, is there any chance you could tell me how you did this? I've tried every other method and nothing has happened. Whether it's because I own a Nexus S or a Mac, I don't know, but it's pretty hard (though I am new to this).
Regards,
Jon.
I usually use WidgetLocker, would you mind explaining what the modded one is? Thanks
The modded version I mention is UltraLinx's lovely unlock slider mod as in these pics.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Both available from here: http://www.theultralinx.com
As I mentioned the only method I could get to work was using ADB and Ultralinx actually has a youtube video on his site about how to do it, but I will list it here anyway.
Your phone needs to be rooted to do any of this...
Install WL as normal from market.
Copy the file com.teslacoilsw.widgetlocker-1.apk from data/app to /sdcard somewhere using astro or rootexplorer etc.
Then move that file to your computer desktop into the /sdk/tools dir where adb.exe is.
Add the WL modded files from Ultralinx to that .apk in the /res/drawable-hdpi/ directory using winrar or whatever program you use to open/mod .apk files. Make sure it has overwritten the original files!
Fire up a command promt and change dir to where adb.exe is sdk/tools or whatever.
type these next couple of lines and enter after each one;
abd shell mount /system
adb push com.teslacoilsw.widgetlocker-1.apk /system/app
Then reboot your phone and that should be it done. You can select the new slider from WL options (it modded the iphone slider so select that).
As I say, this is the only way I could get the thing to work.
Coming from windows mobile this whole abd thing of modding stuff seemed a right pain in the arse but I guess like anything once you have done it once you know it for next time and I think this mod is worth it.
Hi,
thanks for the instructions!
I've encountered an issue and would appreciate if you could help. So i follow your steps, however i get the following issue after the push command:
failed to copy 'com.teslacoilsw.widgetlocker-1.apk' to '/system/app/com.teslacoilsw.widgetlocker-1.apk': Read-only file system
I'll really appreciate if you could help, thanks!
Update: So i managed to push it successfully. Problem was I needed to enter the command adb remount beforehand in order for it to let me write.
sage: mount [-r] [-w] [-o options] [-t type] device directory
Red-Teams-MacBook-Prolatform-tools cloakroom$ adb push com.teslacoilsw.widgetlocker-1.apk /system/app
3158 KB/s (1202848 bytes in 0.371s)
However, even after rebooting the phone I am still stuck with the old iphone slider and not the one made by ultralinx. Any thoughts as to why this is?
Do i have to uninstall widgetlocker from my phone before i pushed the modded apk?
I downloaded Quadrant on my HTC One to Benchmark it and then I uninstalled it however when I rebooted my phone I got a UID inconsistency error and I discovered it was this app so I had to manually delete the .apk to resolve it because for some reason it was still lingering anyway the folder for it is still in my Data/Data directory and no matter what I try I'm unable to delete it. I've used Root Explorer and Ftp'd in but no luck yet. Any suggestions are appreciated!!
Hello Sir
Chronos300 said:
I downloaded Quadrant on my HTC One to Benchmark it and then I uninstalled it however when I rebooted my phone I got a UID inconsistency error and I discovered it was this app so I had to manually delete the .apk to resolve it because for some reason it was still lingering anyway the folder for it is still in my Data/Data directory and no matter what I try I'm unable to delete it. I've used Root Explorer and Ftp'd in but no luck yet. Any suggestions are appreciated!!
Click to expand...
Click to collapse
Just make sure you have tap on "Mount as R/W" in Root Explorer
it is mounted a R/W
I just had exactly the same **** happen to me with quadrant. I resolved the uid issues by format cache partition and deleted the apk but that folder in data is not deleteable.
Can't install quadrant either as it says error 24. Well I have no idea what's wrong and also the free space for the folder in data matches the stats for the asec data folder. Weird !
I would put my trust in the original linux/unix command line utilities. I can recommend "Terminal IDE" as a package of a terminal emulator and a base system. Just start it, install the "system", then go to the command line. With
Code:
su
you should get root rights. And with
Code:
rm -r /path/to/whatever
you should either be able to delete it or get a more or less meaningful error message.
@ccxxx i followed your method but remained unable to delete the facebook folder...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have also tried using root explorer...
Any suggestions??
Sent from my GT-N7100 using Tapatalk
Well, I/o error is bad. It usually means that the memory is physically broken but I think it can also be caused when the filesystem is corrupted.
I renamed the folder instead of deleting it and everything worked perfectly... does this still mean the memory is corrupted?
Sent from my GT-N7100 using Tapatalk
my phone can't see its internal storage, though the data is still there. I'm running tin latest developer preview, flashed clean and rooted with code blue. everything was fine, but I dirty flashed xtra smooth 1.5 and then reverted to my stock rooted backup a day later because of battery issues. since then I cannot download any file from the browser, it starts and then says unsuccessful after a second, and I also can't download a file from my google drive. play store works fine however. if I open the aosp gallery the folders for my internal storage images (camera, instagram, vsco, downloaded, etc.) just show as blank, with pictures saying "no thumbnail available." however, videos show blank as well but have the play button, and if I hit it the file will play normally, and if I attach one of the blank images to something like hangouts or an email they will show up. if I try to the back up function of any apps that offer it, like my alarm clock or pedometer it fails. though they can see the old file is there and restore from it. lastly, file explorer programs show my sdcard folder to be empty, though they are obviously not. I generally use es, but have tried several others with the same result. if I view it via twrps file explorer in recovery things are normal. any help?
Read the /sdcard sticky in general
thanks, it is a great sticky, but after reading it i dont see any solution/reference to my problem. the issue is not that data is deleted or corrupt or anything along those lines, it is that my phone- when booted into android- is not seeing my files. the data is there, but something is wrong and i cannot see them. for clarification, its not just /sdcard that is showing as empty in file explorers, /data, /storage and many others are showing empty too, though not everything as folders like /sys and /system are showing up as normal.
Mine is doing the exact same thing and is blowing my mind, it knows the folders are there, it says I have 7 GB full but the folder is emptey in any file explorer
heres the error i get when trying to download a podcast, i get a similar EACCESS permission denied error when trying to back up an app, but like i said, if the app already has a backup on the storage i can restore it no problem
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's like there is something disabling it from being seen by the system
I had a similar issue, doing this resolved it:
adb shell
su
restorecon -FR /data/media/0
Dr-Smith said:
I had a similar issue, doing this resolved it:
adb shell
su
restorecon -FR /data/media/0
Click to expand...
Click to collapse
Thanks bro! This fixed my SD issues!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1.- Requirements:
- Root
- Android 5.1.1
- Unlocked & locker bootloader
- Busybox
2.- Download the file to leave on the following link: Download
3.- and decompressed on your xperia
4.- use applications that leave the pack and install the application and concenden busybox root and give permissions to install
5.- and install the application busybox checker to find out if in your xperia ah busybox installed correctly
6.- now you are going to edit the file located in the /system /etc/
Code:
init.qcom.post_boot.sh
7.- and add the following line in the file opened
Code:
/system/xbin/busybox run-parts /system/etc/init.d
8.- Now create a folder called init.d with the following permissions
9.- the file that I download above comes a place it in the folder init.d the following file permissions
10.- android variable path
Code:
PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
11.- Now just restart your phone and create script as needed to optimize what you want :fingers-crossed: :good:
Note: the script that were never worked before in my terminal with this method that I bring everything works correctly
If you install/flash Xperia M2 5.1.1 RIC disabler, it'll also do all of that for you, so I don't get the point of making another tutorial for it. ¯\_(ツ)_/¯
I did not know there was a tool but carries it another mobile so neither the case with your comments please edit it because it misreads thanks
If ric disable do that work, its useless you tutorial, and for others devices with qualcom they can use the zip on this thread easy and simple
at no time it was to disable ric init.d this is to support the device please read and do not mix topics other than the Xperia M2 thanks
linuxct said:
If you install/flash Xperia M2 5.1.1 RIC disabler, it'll also do all of that for you, so I don't get the point of making another tutorial for it. ¯\_(ツ)_/¯
Click to expand...
Click to collapse
kaiiori said:
I did not know there was a tool but carries it another mobile so neither the case with your comments please edit it because it misreads thanks
Click to expand...
Click to collapse
I don't think I should edit it. I'm just saying that this thread is pretty useless since, for the Xperia M2 (I think we're all talking about the same device, right?), to edit /system in LOLLIPOP and KK, you NEED to disable RIC, and to do that, you need to use that tool. That tool installs the init.d support, so, there's no need to do that all over again since the tool does it for you, either via command line, or via flashable zip, no need to touch the files by your own
I just wanted to clarify this because, I'm pretty sure some people that have flashed/installed the RIC Disabler had no idea they already had init.d, and they're going to follow this and screw something up... Just saying