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.
Related
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?
Is there a permanent way to make /system read and write? I tried hitting the "Mount R/W" button (I think that is the label) in Root Explorer but it doesn't switch from R/O.
I can mount it in a terminal but that's a pain in the butt to do on the NC. Yes, I can do it via ADB but if I'm away from a PC, its not an option.
Am I doing something wrong that it wont let me set it to R/W in Root Explorer?
HotShotAzn said:
Is there a permanent way to make /system read and write? I tried hitting the "Mount R/W" button (I think that is the label) in Root Explorer but it doesn't switch from R/O.
I can mount it in a terminal but that's a pain in the butt to do on the NC. Yes, I can do it via ADB but if I'm away from a PC, its not an option.
Am I doing something wrong that it wont let me set it to R/W in Root Explorer?
Click to expand...
Click to collapse
I know this may sound dumb but are you 100% positive Root Explorer has root? Doublecheck Superuser and verify that Root Explorer is listed as allow.
antoniouslj said:
I know this may sound dumb but are you 100% positive Root Explorer has root? Doublecheck Superuser and verify that Root Explorer is listed as allow.
Click to expand...
Click to collapse
Indeed, I checked Superuser and root explorer is listd.
HotShotAzn said:
Indeed, I checked Superuser and root explorer is listd.
Click to expand...
Click to collapse
It seems there are some versions of RE that aren't fully compatible.
I'm running 2.12.4 and can confirm it works flawlessly.
antoniouslj said:
It seems there are some versions of RE that aren't fully compatible.
I'm running 2.12.4 and can confirm it works flawlessly.
Click to expand...
Click to collapse
Yup, that did it. Thanks!
Now, which version of Titanium Backup works...?
HotShotAzn said:
Now, which version of Titanium Backup works...?
Click to expand...
Click to collapse
Latest Version: v3.6.2
make sure you have busybox installed or it will appear to never gain root access.
You can also tinker in /init.rc. look for where it mounts /system and remounts as ro and comment out that line..
I dont recomend this as rw should not be needed unless you a doing dev work..
soo, i flashed a new rom, after rebooting i realised that my internad sd card is missing
i could find it in mnt/emmc but the phone wasnt using it at all...
long story short i checked some forums and i found out you can edit the vold.fstab and get it working... Now theres another problem, my vold.fstab is Read only ( few failed atempts to change it)
i found another solution which included terminal emulator- this one worked like a charm BUT i have to retype and unmount-mount that everytime i reboot my phone ... i personally find it silly
sooooo is there any other solutions, or some guide how to change the premission on my vold.fstab so i can edit it? or am i forced to buy a SDcard
Everything on /system is read only by default.
'adb remount' will sort that.
Rusty! said:
Everything on /system is read only by default.
'adb remount' will sort that.
Click to expand...
Click to collapse
So how do you remount? Sorry, im new to this stuff
adb remount is a command sent from your PC to the phone. I figured if you were messing about with system files you'd have an idea what you're up to
To make it all simple, get Root Explorer, that has a nice R/W button that you tap, make your changes and tap it again to go back to R/O
Rusty! said:
adb remount is a command sent from your PC to the phone. I figured if you were messing about with system files you'd have an idea what you're up to
To make it all simple, get Root Explorer, that has a nice R/W button that you tap, make your changes and tap it again to go back to R/O
Click to expand...
Click to collapse
THANKS it worked with the root explorer!
Hey man i've been facing the same problem...I've figured out that i'd have to edit the Vold.FSTAB ....But can you plz tell me wat u edited exactly in it that made it working again ??
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]
Hi @all. Adaway doesn't work for me. It can't copy the host files. I don't know why. Root is okay, checked with root checker. Adaway has permission to write on the storage. Can anybody help me?
OOS Nougat
Crazy32 said:
Hi @all. Adaway doesn't work for me. It can't copy the host files. I don't know why. Root is okay, checked with root checker. Adaway has permission to write on the storage. Can anybody help me?
OOS Nougat
Click to expand...
Click to collapse
Is /system mounted r/w?
Sent from my OnePlus 3T using XDA Labs
dustin_b said:
Is /system mounted r/w?
Click to expand...
Click to collapse
I don't know. How can I check this?
dustin_b said:
Is /system mounted r/w?
Click to expand...
Click to collapse
Solid Explorer shows this:
Crazy32 said:
Solid Explorer shows this:
Click to expand...
Click to collapse
Sorry for new post, but with xda app I can't edit posts and add a picture.
And this for system:
Crazy32 said:
Solid Explorer shows this:
Click to expand...
Click to collapse
That's just for the hosts file. You want to know if /system is mounted rw. If you have an app like terminal emulator, open it and type: mount Then look for /dev/block/bootdevice/by-name/system on /system type ext4. In parentheses it will either have ro (read-only) or rw(read-write).
Also, I don't use Solid explorer but it probably has a way to mount the system rw. Someone else would have to help you with that.
Edit: You would have to be rooted to change permissions with a file manager like Solid.
Sent from my OnePlus 3T using XDA Labs
Download version 3.2 or higher and activate "enable systemless mode" in preferences. Then you won't get that error.
gok90 said:
Download version 3.2 or higher and activate "enable systemless mode" in preferences. Then you won't get that error.
Click to expand...
Click to collapse
Thx, this works
I have a problem too looks like this and it cannot load it... help
Check your host sources, too. Here's what I use.
Heloo the same problem herr tried all means mentioned above no help bad enough i don't see systemless in Adaway 3.3
Image
Solution - go to twrp, go to wipe then advanced wipe, select system and then tap on increase size.
The problem is because the partition has no space left to accommodate files. You will not be able to write host files nor change font via ifont because both files need space ~5mb. Hope this solves your problem.