[Q] Mount as R/W? - Xperia Z1 Q&A, Help & Troubleshooting

Hey,
I rooted my C6903 a few weeks ago and i want to install BusyBox.
So the installation via both apps is failing, I think its because my System is mounted as R/O.
Is there a way to mount it as R/W? I tried it with Root Explorer and with the ADB Shell (I dont know what i exactly did, just saw a few Tutorials).
Maybe u can tell me what I have to do ! Im very new at the root scene so please dont complain about me.
Greez !

Related

[Q] Easy Root app

Does this app work for milestone?
wwwdroid-lifecom/2010/08/06/android-2-2-on-droid-rooted-with-easy-root/
need to add in the "." as can post links..
It lists milestone so I'm sure it would.
Needs to be >2.1 i believe
i try it .. its really wonderful ..
just seconds then reboot and your phone root ..
i have milestone 2.1
great~!! finally .. the easiest wat to root...!
So this does work then?
Sent from my Milestone using XDA App
yap.. go the homepage and look for the one for milestone..
note: this is only for root only.. nothing more nothing less
got it running. root apps now function.
but root with adb shell doesn't. if I try to remove stock apps like motonav i get permission denied. or if I try to remount with rw option is tells me "remount failed: operation not permitted"
can anyone help?
t.Lancer said:
got it running. worked root apps now function.
but root with adb shell doesn. if I try to remove stock apps like motonav i get permission denied. or if I try to remout with rw option is tells me "remount failed: operation not permitted"
can anyone help?
Click to expand...
Click to collapse
Did you type "su" first?
I love this app it's great. Works great Angevin can now overclock
Sent from my Milestone using XDA App
I did. I googled around and tried to change folder permissions, remount system, data and all that, put none of it works. all shell su commands are denied.
can anyone confirm this, or is it really just me?
t.Lancer said:
I did. I googled around and tried to change folder permissions, remount system, data and all that, put none of it works. all shell su commands are denied.
can anyone confirm this, or is it really just me?
Click to expand...
Click to collapse
Yeah, same for me. The interesting thing is that I was able to delete some system apks step by step, so somehow I had rw at /system but that was only for like 2 mins, then it stopped working. After some reboots, trying to unroot and root again it worked again for some time...too crazy...in the end I messed it up and had to flash the stock sbf, because the market didnt work anymore. Dunno what happened there, but was my first try at rooting anyway
Furthermore shell and /system were denied, remounting to rw didn't work either!

[Q] Root access

Hey I was looking around and I couldn't find anything, but is there any way to root our vogues on android? I'm not too experienced, but I know rooting is phone specific, and since ours are a little mixed up, it probably wouldn't work the same. I want a way to do it without using ADB, my computer won't support it. I want to be able to edit/change some system files, I.E. bootanimation, UI components, and removing stock apps. correct me if I'm wrong on any of this, and thanks for any help.
Android on the vogue is rooted
Yes I know our phones are rooted, but the system acts like it's not. I.E. applications that require Root access claim that the phone isn't.
i may be a little behind on all the terms but im pretty sure for the vogue its not root its NAND.
in that case, try this http://forum.xda-developers.com/showthread.php?t=636024
as a good place to start then move on from there.
good luck and welcome to the club
Strange, programs like root explorer function fine for me, tho the system partition is mounted as read-only by default which may cause problems with some apps?
It's rooted, but my guess is those apps are looking for a feature common on rooted phones and not finding it. they might mean that the system partition is not writable, that can be changed using terminal:
Code:
mount -o rw,remount /system
see if that does it.
mrkite38, I tried using terminal like you said, and it returned" mount: permission denied. (are you root?) "
Also, I can use ES File Explorers' Root Explorer option and edit /system and /data just fine, and that app mounts as writable just fine, but terminal doesn't?
delivery_dragon said:
mrkite38, I tried using terminal like you said, and it returned" mount: permission denied. (are you root?) "
Also, I can use ES File Explorers' Root Explorer option and edit /system and /data just fine, and that app mounts as writable just fine, but terminal doesn't?
Click to expand...
Click to collapse
Terminal will, but you have to
Code:
su
first.
Sent from my DROID2 using XDA App
Thanks I'll try that. hey is there any place I could go to find some kind of shortcut/noob/command list for terminal? I have no knowledge whatsoever of code to use
Its stripped out linux shell, you can google busybox and see what commands are available there.
Sent from my DROID2 using XDA App
the phone is rooted, check to see if you have SuperUser.apk installed. you will need that for apps to access root privileges
Here is the SuperUser.apk file from RLS 17
Need to be logged in to download it I think?

mount -o remount,rw /system mount: Read-only file system

Im on Android M preview 2 with Desparis 3.3 kernel, rooted.
I would like to update build.prop and change user -> userdebug.
Before on Lollipop all I had to do is remount /system in rw and change the file.
Android M doesn't allow me to remount /system in rw.
adb push fails to overwrite the file.
Any solutions please ?
jodvova said:
Im on Android M preview 2 with Desparis 3.3 kernel, rooted.
I would like to update build.prop and change user -> userdebug.
Before on Lollipop all I had to do is remount /system in rw and change the file.
Android M doesn't allow me to remount /system in rw.
adb push fails to overwrite the file.
Any solutions please ?
Click to expand...
Click to collapse
I dont think you can write to system at all anymore, even with root. I do it all in recovery for right now.
Thanks! At least it's one possible solution !
david279 said:
I dont think you can write to system at all anymore, even with root. I do it all in recovery for right now.
Click to expand...
Click to collapse
Actually, can you elaborate how do you do it ?
I've just tried booting into TWRP, then connected the phone to PC, did adb push of changed build.prop into /system, reboot the phone and realized that the phone still has the old build.prop.
jodvova said:
Actually, can you elaborate how do you do it ?
I've just tried booting into TWRP, then connected the phone to PC, did adb push of changed build.prop into /system, reboot the phone and realized that the phone still has the old build.prop.
Click to expand...
Click to collapse
First in twrp make sure you mount system in the mount menu then you should be able to push and pull. You probably pushed the file nowhere even though I think you should've got a error message. I pulled the build.prop straight from twrp edited it then pushed it right back. Did it for the tethering hack. ? ?
david279 said:
I dont think you can write to system at all anymore, even with root. I do it all in recovery for right now.
Click to expand...
Click to collapse
sure you can. all i use is root explorer. i change what i need, save it, then reboot for it to take affect. works every time.
simms22 said:
sure you can. all i use is root explorer. i change what i need, save it, then reboot for it to take affect. works every time.
Click to expand...
Click to collapse
I didn't think write to system was working in the M builds. Must be something wrong with his root method.
david279 said:
I didn't think write to system was working in the M builds. Must be something wrong with his root method.
Click to expand...
Click to collapse
maybe. im using despair and sometimes elementalx kernels. does everything else root work for you? all is working here.
edit.. i should ask him, not you
simms22 said:
maybe. im using despair and sometimes elementalx kernels. does everything else root work for you? all is working here.
edit.. i should ask him, not you
Click to expand...
Click to collapse
Root works great in all apps.
The only problem I have is with RO system. Before M I would use ES explorer to modify and save build.prop and Android Terminal to remount system as RW. But it doesn't work like that anymore in M.
Ive never tried root explorer.
jodvova said:
Root works great in all apps.
The only problem I have is with RO system. Before M I would use ES explorer to modify and save build.prop and Android Terminal to remount system as RW. But it doesn't work like that anymore in M.
Ive never tried root explorer.
Click to expand...
Click to collapse
it works exactly like it did before over here. and ive manuslly changed my build.orop several times already.
I'm on Preview 2, rooted, Despair kernel 3.3.
Still confused as to how to enable mounting /system r/w from within Android and not TWRP. Trying FX file explorer as well as Terminal Emulator with no success. I have Busybox installed and under Applet Manager it shows the "Mount" applet as installed and symlinked to /system/bin/toolbox.
KnifeSkills said:
I'm on Preview 2, rooted, Despair kernel 3.3.
Still confused as to how to enable mounting /system r/w from within Android and not TWRP. Trying FX file explorer as well as Terminal Emulator with no success. I have Busybox installed and under Applet Manager it shows the "Mount" applet as installed and symlinked to /system/bin/toolbox.
Click to expand...
Click to collapse
Haven't tried M as it buggy but have used Root Explorer the grand father of file explorers on everything since TBolt.
prdog1 said:
Haven't tried M as it buggy but have used Root Explorer the grand father of file explorers on everything since TBolt.
Click to expand...
Click to collapse
root explorer since 2009 here
simms22 said:
root explorer since 2009 here
Click to expand...
Click to collapse
Root Explorer FTW. Always works and same file system as shows on PC.
Well Root Explorer wasn't the answer, surprisingly enough haha...
Needed insecure boot.img obtained here flashed with help from this thread, with further reading here for better understanding or doing it yourself.
Also I apparently forgot that adbd insecure by chainfire exists until just now, which could have potentially been another solution.

HTC One M7 - App will not stick on /system

Hi everyone
I'm trying to get the infamous GPS Location Spoofer installed as a system app on my rooted HTC phone, but so far no luck, so I figured I would try to ask for help here, in case anyone went through a similar situation, or knows what I've been doing wrong. This is what I tried so far:
Installed the app from Google App store, and using File Explorer with root , tried to move the app folder to /system/app or /system/priv-app, , but pasting the folder there would result in an instant reboot and the app would not be there.
So I installed lucky patcher , and using apk downloader, downloaded the apk file from the App Store, copied it over to the phone, and used the "Rebuild and Install" option, choosing the option to install it as a system app , and it would process it and say that the installation was sucessfull, needs to reboot to complete, but after the reboot the app would not be there (not only not showing on the apps list, but navigating to the /system folder with File Explorer and checking app and priv-app I could verify that it was not installed).
SO I tried to use adb shell to do the work , and this is what I did:
mount -o remount /dev/block/mmcblk0p35 /system
to mount the /system filesystem as read write , and it did
cp /sdcard/Download/com.incorporateapps.fakegps.fre-55.apk /system/app
to copy the file under /system/app
chmod 644 com.incorporateapps.fakegps.fre-55.apk
to set the permissions as required
and reboot the phone, but after the reboot, the file would not be there. I tried also to create a folder under /system/app named com.incorporateapps.fakegps.fre-55, move the apk inside; installing normally , changing the mount point to read-write and moving it from /data/app to /system/app or /system/priv-app using the shell and chaning ownership / permissions , but the app will not stick , either rebooting or just re-mounting the filesystem as read-only again will cause everything that was done to be lost; and after trying any of the above one time, doing it for a second time would cause the phone to reboot.
I figure that there must be an image of the /system mount point somewhere , which gets installed every time there is a remount to read-only or reboot , or something of that nature, that will cause any changes made under /system to be lost. Maybe I'm wrong but it seems to be related to HTC phones, since there's load of people doing it on other models without issues, or maybe I'm doing something wrong, since I'm no android expert
Does anyone knows what could be the issue, or what can I do ? I searched the net quite a bit for a solution to no avail (here as well), any help is appreciated
Thanks
sasteck said:
Hi everyone
I'm trying to get the infamous GPS Location Spoofer installed as a system app on my rooted HTC phone, but so far no luck, so I figured I would try to ask for help here, in case anyone went through a similar situation, or knows what I've been doing wrong. This is what I tried so far:
Installed the app from Google App store, and using File Explorer with root , tried to move the app folder to /system/app or /system/priv-app, , but pasting the folder there would result in an instant reboot and the app would not be there.
So I installed lucky patcher , and using apk downloader, downloaded the apk file from the App Store, copied it over to the phone, and used the "Rebuild and Install" option, choosing the option to install it as a system app , and it would process it and say that the installation was sucessfull, needs to reboot to complete, but after the reboot the app would not be there (not only not showing on the apps list, but navigating to the /system folder with File Explorer and checking app and priv-app I could verify that it was not installed).
SO I tried to use adb shell to do the work , and this is what I did:
mount -o remount /dev/block/mmcblk0p35 /system
to mount the /system filesystem as read write , and it did
cp /sdcard/Download/com.incorporateapps.fakegps.fre-55.apk /system/app
to copy the file under /system/app
chmod 644 com.incorporateapps.fakegps.fre-55.apk
to set the permissions as required
and reboot the phone, but after the reboot, the file would not be there. I tried also to create a folder under /system/app named com.incorporateapps.fakegps.fre-55, move the apk inside; installing normally , changing the mount point to read-write and moving it from /data/app to /system/app or /system/priv-app using the shell and chaning ownership / permissions , but the app will not stick , either rebooting or just re-mounting the filesystem as read-only again will cause everything that was done to be lost; and after trying any of the above one time, doing it for a second time would cause the phone to reboot.
I figure that there must be an image of the /system mount point somewhere , which gets installed every time there is a remount to read-only or reboot , or something of that nature, that will cause any changes made under /system to be lost. Maybe I'm wrong but it seems to be related to HTC phones, since there's load of people doing it on other models without issues, or maybe I'm doing something wrong, since I'm no android expert
Does anyone knows what could be the issue, or what can I do ? I searched the net quite a bit for a solution to no avail (here as well), any help is appreciated
Thanks
Click to expand...
Click to collapse
Are you using stock kernel?
donkeykong1 said:
Are you using stock kernel?
Click to expand...
Click to collapse
Yes, kernel is the default that comes with the phone (3.4.10.g96cae32 , android 5.0.2)
sasteck said:
Yes, kernel is the default that comes with the phone (3.4.10.g96cae32 , android 5.0.2)
Click to expand...
Click to collapse
And there's your problem. Stock kernel has system write protection, so you can't mount system as writeable. You can, but after reboot, it comes back to read only, and nothing will stick into system partition. You have 2 choices now - disable system write protection on stock kernel, or flash a custom kernel
donkeykong1 said:
And there's your problem. Stock kernel has system write protection, so you can't mount system as writeable. You can, but after reboot, it comes back to read only, and nothing will stick into system partition. You have 2 choices now - disable system write protection on stock kernel, or flash a custom kernel
Click to expand...
Click to collapse
oh I see.. didn't know about that , thanks! I'll check about disabling system write protection , otherwise look for a custom kernel, never did it before but will give it a try
donkeykong1 said:
And there's your problem. Stock kernel has system write protection, so you can't mount system as writeable. You can, but after reboot, it comes back to read only, and nothing will stick into system partition. You have 2 choices now - disable system write protection on stock kernel, or flash a custom kernel
Click to expand...
Click to collapse
Shhhhhh, don't help him, he's going to steal everyone's pokemons
Sent from my HTC One using XDA Labs
alray said:
Shhhhhh, don't help him, he's going to steal everyone's pokemons
Sent from my HTC One using XDA Labs
Click to expand...
Click to collapse
Ooooohhh... That's why he's trying the spoofer.... If I knew, I wouldn't help at all [emoji6]
donkeykong1 said:
Ooooohhh... That's why he's trying the spoofer.... If I knew, I wouldn't help at all [emoji6]
Click to expand...
Click to collapse
Sorry you feel that way, but I appreciate the help anyway. This is something that I never tampered with before, so I still had some doubts about the process, but I am liking the whole thing and will install a custom rom on my own phone, been reading about the Ressurection rom and it looks very nice, will try it as soon as I'm better informed
sasteck said:
Sorry you feel that way, but I appreciate the help anyway. This is something that I never tampered with before, so I still had some doubts about the process, but I am liking the whole thing and will install a custom rom on my own phone, been reading about the Ressurection rom and it looks very nice, will try it as soon as I'm better informed
Click to expand...
Click to collapse
That was a joke mate. I don't care what you do with your phone, but I'm here to help if I can [emoji6]

I cant change /system from ro to rw

Hi guys, I have 1 big problem... I cant change /system partition to rw. I root my phone by DeckerSU thread. Everything works fine, but I cant change this /system to rw... HELP ME :crying::crying::crying::crying:
LaweK said:
Hi guys, I have 1 big problem... I cant change /system partition to rw. I root my phone by DeckerSU thread. Everything works fine, but I cant change this /system to rw... HELP ME :crying::crying::crying::crying:
Click to expand...
Click to collapse
I have a same problem
nobody can help? I cant install xposed ;/
LaweK said:
nobody can help? I cant install xposed ;/
Click to expand...
Click to collapse
Install Magisk then xposed
thanks, i found this yesterday <3 Anyway idk why i cant mount rw on system :/

Categories

Resources