Moto X4 rooting/adaptable storage question - Moto X4 Questions & Answers

Ok, so I know that adaptable storage has been locked down because of file based encryption.
I am asking what specifically is needed to be done to remove this so I can enable it. Do I need to just root it and install TWRP, and then I can use ADBshell to unlock it there? Or do I need to do more steps in Shell to get it to do that? I know how to root and install a phone, but it's after that part that I'm asking for help on.

Related

Possible to root within phone??

Is it possible to root within the phone using a terminal emulator as long as all the files are where they need to be in the sd card?
I tried but I'm stuck at the step "cd_sqlite_stmt_journals" it just says permission denied
Do you have to have it hooked up to the pc with adb even if the files are already on the SD card?
I ask because last night the OTA update forced it's way into my phone while I was sleeping and I lost root, I'm not home so I don't have the transfer cable with me
I think you are trying to root without ADB correct or connecting to your PC? If so use this step by step directions to be able to root without ADB. I believe it does require a separate file you may need. Hope this helps!
http://www.youtube.com/watch?v=HwNP5a5ULPs
I did it all from the phone - using the instructions here with success - and then it updated and I still have root... so I am not promising anything other than I rooted with the original OS and then upgraded OTA with no impact to my root or phone in general.
http://www.droidforums.net/forum/droid-x-hacks/62450-how-root-without-using-adb.html
Hope this helps, and looking forward to having the ability to eliminiate the Blur interface and go AOSP (I also have a EVO and think that interface with Sense rules compared, but AOSP is better than that Blur crap in my opinion...)

[question] access /data/data without ROOT or UNLOCK bootloader

I am currently using Nexus 7 (old) with android 4.3
I want to access a folder under /data/data/(AppName)
the permission of that folder is (rwxrwx--x)
I still haven't ROOT or UNLOCKED bootloader.
I want to use ADB to get a file there and put back.
I know that I can use the adb pull and adb push to finish this job
Anyone can help me??
someone told me in android 4.3 NO NEED TO ROOT the device and I can access /data/data/
Nope, you cannot access data/data without root.

[Q] Files access on pc after root

Hi,
First message and glad to be here.
So, here is my problem : I just unlocked my bootloader and rooted using RazriRoot2 (on JB). It went great. But when I connect my phones to my laptop on 7, I have no access to "protected files" such as those in data\data (I can access on my phone with Root Browser).
Morevoer when I copy/paste files from data\data to my SDCard, I can't access them neither with an USB card reader.
So, I tried Android commander, but it tells me it has no root access.
I read on the FAQ there are soft root and hard root, but I don't understand the difference.
Any help or ideas ??
Thanks for reading !
Install Busybox X.
Chamelleon said:
Install Busybox X.
Click to expand...
Click to collapse
Thanks for answer.
I've just installed BuxyBox X app and clicked install in the app, but I don't see any imporvement any change in the phone.
Did I miss something ?
Hmm I had same problem after root and rebular Busybox dind't work so I installed Busybox X and just reastart phone.After that all works fine. Do You can write to system?? If not make flashable package with Busybox and that should fix your problem.

[Q] mounting HTC mini 2's partition

Hello,
I want to remove Vodafone's boot animation but don't want to root my device. To do that, I must either edit /system/customize/CID/VODAP**.xml or push proper VF_bootanimation.zip into /system/customize/resource. I am not able to do it neither from adb nor from adb shell - there is read-only warning or "permission denied".
Is there a way I can access this XML file, like:
a) registering on HTCDev as a developer
b) mount phone internal memory (/dev/block/mmcblk0p43) to a PC as a mounted drive while phone is switched off and then change its content (is this called 'fastboot'?)
BR
Plodozhor
plodozhor said:
Hello,
I want to remove Vodafone's boot animation but don't want to root my device. To do that, I must either edit /system/customize/CID/VODAP**.xml or push proper VF_bootanimation.zip into /system/customize/resource. I am not able to do it neither from adb nor from adb shell - there is read-only warning or "permission denied".
Is there a way I can access this XML file, like:
a) registering on HTCDev as a developer
b) mount phone internal memory (/dev/block/mmcblk0p43) to a PC as a mounted drive while phone is switched off and then change its content (is this called 'fastboot'?)
BR
Plodozhor
Click to expand...
Click to collapse
I think you need S-OFF to edit system files. At the moment not possible
plodozhor said:
Hello,
I want to remove Vodafone's boot animation but don't want to root my device. To do that, I must either edit /system/customize/CID/VODAP**.xml or push proper VF_bootanimation.zip into /system/customize/resource. I am not able to do it neither from adb nor from adb shell - there is read-only warning or "permission denied".
Is there a way I can access this XML file, like:
a) registering on HTCDev as a developer
b) mount phone internal memory (/dev/block/mmcblk0p43) to a PC as a mounted drive while phone is switched off and then change its content (is this called 'fastboot'?)
BR
Plodozhor
Click to expand...
Click to collapse
kativiti said:
I think you need S-OFF to edit system files. At the moment not possible
Click to expand...
Click to collapse
You will have to flash a custom kernel on your phone that removes the write protection. So only unlocking the bootloader and flashing the kernel is sufficient. If you haven't unlocked you bootloader yet, backup all the data from the internal memory because it gets wiped
Thanks for answers everybody. I am little bit afraid of flashing foreign ROM because it replaces phone's existing ROM and warranty might be void. What I want to do is to keep the existing ROM, and alter one XML file in the customize folder.
I would like to rather have a scenario of mounting the phone memory as 'external removable drive' to some other system. For example, couple of years ago I played around with my home router - I was able to mount my home router's memory to PC running Linux and change some tweaks in the resulting /mount directory. Can I do something similar with mini 2? What is fastboot tool from ADB suite?
Maybe there is another, easier way for eradicating ad bootanimation? Currently I see 3 options: change CID so VODAP102.xml is not triggered; post fixed VF_bootanimation.zip; or change VODAR102.xml.
I am a programmer, however I never worked with writing apps for Android. Is there a way HTCDev-enabled developer can access /customize folder? Like remounting /mmcblk0p43 with RW permission etc.
Thanks in advance and sorry for 'noobism'
plodozhor said:
Thanks for answers everybody. I am little bit afraid of flashing foreign ROM because it replaces phone's existing ROM and warranty might be void. What I want to do is to keep the existing ROM, and alter one XML file in the customize folder.
I would like to rather have a scenario of mounting the phone memory as 'external removable drive' to some other system. For example, couple of years ago I played around with my home router - I was able to mount my home router's memory to PC running Linux and change some tweaks in the resulting /mount directory. Can I do something similar with mini 2? What is fastboot tool from ADB suite?
Maybe there is another, easier way for eradicating ad bootanimation? Currently I see 3 options: change CID so VODAP102.xml is not triggered; post fixed VF_bootanimation.zip; or change VODAR102.xml.
I am a programmer, however I never worked with writing apps for Android. Is there a way HTCDev-enabled developer can access /customize folder? Like remounting /mmcblk0p43 with RW permission etc.
Thanks in advance and sorry for 'noobism'
Click to expand...
Click to collapse
I'm not talking about flash a rom, but only just a kernel. Flash the Liberty Sense kernel and then got can customise the boot animation
csoulr666 said:
I'm not talking about flash a rom, but only just a kernel. Flash the Liberty Sense kernel and then got can customise the boot animation
Click to expand...
Click to collapse
Will I be able to flash original kernel back?
Also, the phone will lose warranty?
plodozhor said:
Will I be able to flash original kernel back?
Also, the phone will lose warranty?
Click to expand...
Click to collapse
If you make a backup of your rom via a custom recovery, then yes. And unfortunately unlocking the bootloader and flashing a custom kernel will void the warranty

Date recovery no root advice?

I read many posts and articles the past few hours and realized a few things, would you correct me if they are wrong please.
My phone:
Pixel 4XL, adb reboot recovery gives "no command" it would seem it might have been rooted at some point before I bought it, but now the bootloader is locked and no custom recovery is on it.
Can I not recover data without root?
Saw few articles mention `adb pull' and `dd` to copy block device, which I can't do with no root.
Is it possible to just install busybox with adb and be able to copy block device?
As per this article https://www.andreafortuna.org/2018/...imaging-android-file-system-using-adb-and-dd/
I might have to wait a bit for TWRP as I did upgrade to Android 11 and it seems it is only supports Android 10 at the moment.
In order to put TWRP on my phone I probably need to unlock the bootloader and would that mean lose all user data? Then I really have no hopes of recovering the audio file I'm looking for as then I couldn't decrypt it?
I know the file's mount point and can figure out which block device it was on, but wouldn't the encryption get lost if android was wiped?
Is there a way to get TWRP without factory restore phone, or busybox or something that will help get block devices out.
Someone mentioned that these dm block devices are decrypted, are they? I will attach a screen shot with list of my block devs.
Thanks for any help or pointer, I can't be destroying this phone as I have money on it and other stuff needed for traveling, so I don't even feel like trying to install busybox to see if adb pull would work, and others mentioned if trying to get block dev off the phone while partition is mounted might lose some data, so they advised using TWRP while partition is unmounted and then copy it's image.
I also found this but I would need root, he mentions 'temporary root' is that even a thing?
Extract Android Userdata Partition for Recovery and Forensics - Root101 | Fundamentals of Linux Administration
Open Source and Linux. Guides and Ideas for Designing Highly Available and Scalable Production Environments
www.root101.net
@GogoAkira - Your long, rambling post is very confusing, and you do not clearly state what it is you are trying to do or the current state of your phone. I want to start by saying that if you have not done so already, you need to be on the very latest version of the adb/fastboot binaries. If the phone is working fine and you can access all your files, there are some non-root ways to back up almost all of your data, but you're NOT going to get anything near a nandroid backup. If your phone is working fine on 11 (why would you not be on 12?) you can also enable usb debugging from within the developer options menu and then use it from the RECOVERY mode. You cannot use adb from your PC without first enabling adb debugging. I say this because you claim "adb reboot recovery" won't work. Of course it won't work. You cannot access adb in the FASTBOOT mode. Probably the first thing you need to confirm is that you have enabled USB DEBUGGING and whether or not your ALLOW OEM UNLOCKING toggle can be set to yes. Whether or not you can do this will tell us alot. If it is greyed out in the off position your bootloader is a) currently locked, and b) probably will not be able to be unlocked. Knowing that, then clearly state what it is you are trying to accomplish and people will try to help.

Categories

Resources