maruos
maruos copied to clipboard
How to install root, or install custom recovery without PC
I'm stuck trying to install gapps, or rooting maruos without a PC since my phone is not being detected by my macbook pro as any device, it only charges it. Is there any way to get root access or install a custom recovery from the mobile or desktop version of maruos?
@pdsouza how about switching to TWRP recovery ?
+1. Stock recovery is only necessary for OTA anyway.
It looks like the main issue here is why the macbook pro isn't recognizing the device in the first place, so let's take a look at that.
@ppjuarez What is the output of "adb devices" and "fastboot devices"? Also, how did you install Maru OS on your device in the first place? I'm assuming you already had a custom recovery installed on your device and flashed the update zip with it, or you used the installer with your PC, right?
@NoelMacwan Regarding TWRP: I'd rather stay as close to stock as possible and let users make the decision to flash whatever custom software they would like.
Alright, but I think its better if we have the recovery atleast to flash GApps just after flashing MaruOS, so users don't have to flash the recovery image externally. Moreover, If we talk about Sony devices, they don't have different recovery partition, so recovery has to be combined with kernel itself to get the custom recovery, hence they will require to combine zimage and ramdisk with recovery to get it.
@NoelMacwan Oh, that's interesting to know about Sony devices! And yeah, I agree it would be easier if TWRP is there right after flashing Maru OS for gapps. Hmmm, what would it take to incorporate TWRP into the project? Does TWRP recommend bundling a prebuilt TWRP recovery image per device or to build from source?
@pdsouza, We'll need patches for sepolicy and fetch TWRP, TWRP flags in device tree to compile the recovery. Gimme access, will get the TWRP, 6.0.1_r74 and Sony patches too or PRs.
@NoelMacwan PRs are the way to go so I can review and test everything coming in, thanks! And we can move to android-6.0.1_r77 M4B30Z, it was just released this month: https://github.com/maruos/manifest/issues/4. I can take care of the hammerhead kernel updates for r77.
Yeah ! Lets get things in ;)