Help Root SM-M305M M305MUBS5CTG4 - Samsung Galaxy M30 Questions & Answers

Hi,
I have tried several methods to root, I am able to get TWRP and Magisk installed. However, when I install smali patcher. I got the red "only official released binaries are allowed to be flashed" error. What am I doing wrong? Thanks.

Smali patcher and Ed-Xposed will probably give bootloop. Also, smali-patcher install to /sbin or /system/xbin, and needs addon-d + deodexed ROM. Ours is not that. You are bound to face that issue. Try smali via Magisk (systemless), if available. You can ask Nanodroid developer on their github to provide one.

Related

Systemless OTA upgrade

I know there are several threads covering similar things, however I still can't find the relevant info for my specific question.
I am on 6.0 Build L
I rooted using systemless root - I have changed nothing in my system partition as far as I know as I wanted root for AdBlock and TitaniumBU.
I am using the stock kernel too.
TWRP 2.8.7.2
I now have a 6.0.1 OTA - but I'm 100pc confused as to exactly how to go about installing this.
Some people seem to say OTA on this setup will work fine on similar setups.
Others say I need to flash 101 things to get it working.
Literally no idea.
How I Did it...
From a site with this in the title:
can_i_manually_flash_601_also_does_ota_work_with
Systemless root doesn't break ota, non-stock recovery breaks OTA.
Unlock bootloader, flash 6.0.1, flash TWRP, flash systemless root...
I did this:
Went back to stock recovery, by flashing via ADB, rebooted downloaded and attempted to install OTA on phone. Process started, rebooted, proceeded and then failed with error . Rebooted, got Factory image.
Extracted and ran flash-all.bat ONLY AFTER Removing the -w from this line:
fastboot -w update image-bullhead-mmb29k.zip
Got latest SuperSU v2.61 zip with auto boot patcher:
See androiding.how/android-6-0-1-root
Copied this to Memory on phone.
Flashed/Installed TWRP Recovery using ADB.
Booted into TWRP Recovery and installed SuperSU.
So now I'm running systemless rooted 6.01 on a Nexus 5X with mmb29k and every thing is working.
I think even though I rooted systemless 6.0, the modified Boot Image was still not letting OTA work.
We shall have to wait and see on the next OTA. Maybe just going back to stock recovery will be all that's needed.
There are some ADB commands that allow you to temporarily select a recovery image, but I'm not sure how that works.
Good Luck!
teapea said:
I know there are several threads covering similar things, however I still can't find the relevant info for my specific question.
I am on 6.0 Build L
I rooted using systemless root - I have changed nothing in my system partition as far as I know as I wanted root for AdBlock and TitaniumBU.
I am using the stock kernel too.
TWRP 2.8.7.2
I now have a 6.0.1 OTA - but I'm 100pc confused as to exactly how to go about installing this.
Some people seem to say OTA on this setup will work fine on similar setups.
Others say I need to flash 101 things to get it working.
Literally no idea.
Click to expand...
Click to collapse

Xposed and systemless root

Hi everyone
I want to root my nexus 5x to have xposed but the main issue is that I wouldn't be able to install otas even if I rooted with systemless root because xposed misses up system partition , so systemless root becomes pointless .
My question is if I rooted with systemless root and installed xposed , if I wanted to install any new ota if i just removed xposed will this be enough to return system to unmodified status and I can now install the ota , or my system will become modified untill I reinstall the whole binary image ??
Hope I made my question clear as possible and sorry for my bad English
Thanks in advance ...
Or, instead of worrying about OTAs, you could just get the images from the Google website since this is a Nexus device, we are supported for something like 3 years I think I read, with security updates persisting 1.5 years after that.
https://developers.google.com/android/nexus/images
(you would use fastboot flash to accomplish this)
I know , but I don't want to flash everytime the whole binary image if I just can install a ~< 10 mb OTA .
If i can Just uninstall xposed then install the ota that will be much easier ...
I don't think you can take ota updates with a custom recovery and without a custom recovery you would have to flash a system image to get it back to stock in order to take the ota
flashing updates manually via TWRP is very easy once youre used to doing it.
No I can install OTAs using flash fire if the system partition is unmodified , so that's why I'm asking if uninstalling xposed return system partition to unmodified status ?
@2x4 installing updates is very easy with chainfire's flashfire only if you have unmodified system partition , and I want to install xposed but at the same time I want to know if I just uninstalled xposed will that make my system unmodified again ...
Running the xposed uninstalled will undo any changes to the system partition. So to answer your question, yes.
@t-r-e you're coming from the angle of keeping your system partition intact for the SOLE purpose of OTAs (you've said nothing about android pay). Given that, it's easier to just update manually via TWRP instead of doing OTAs, so you won't have to worry about xposed or any other mods.

Help With Installing OTA, Root, Xposed, TWRP, and a Process For Future OTAs!

I'm trying to install the new OTA that was just released while keeping Xposed, Root, and TWRP and coming up with a process for the future to apply each OTA going forward without dealing with the mess I'm dealing with now. Any and all help is appreciated . I'm very strong and comfortable with using fastboot commands and flashing and just need someone to help me wrap my head around the process of doing this and step by step instructions of achieving my goal. So currently I have downloaded the new OTA_PERFUME_WL_M60_SENSE80GP_VZW_NA_Gen_Unlock_1.80.617.1_R-1.53.617.5_release_480240aw6u8xea6328m583.zip file. I have the latest TWRP installed on my phone, I have the latest Systemless Root zip (BETA-SuperSU-v2.74-2-forceencrypt.zip), as well as the latest Systemless Xposed zip (Xposed-v85.6-sdk23-systemless.zip). I have also downloaded the TWRP clean system Backup 1.53.617.5_twrp.zip. My phone is a T-Mobile HTC 10 that I've converted into a US Unlocked model by S-Offing it, changing the CID to the super CID (11111111), and installed the 1.53.617.5 RUU. I tried doing different steps on different guides here and now my phone is all sorts of messed up. Root isn't working 100% (es file explorer fails when trying to toggle on root explorer, but fx explorer works fine), and Xposed is broken (modules don't work, Xposed app saying no framework found even though I've flashed it). Can someone help me with what I should do to be able to install the OTA, root, have Xposed, and keep TWRP so that way in the future, I can apply and OTA and keep the rest?
Thanks!
wschamps42 said:
I'm trying to install the new OTA that was just released while keeping Xposed, Root, and TWRP and coming up with a process for the future to apply each OTA going forward without dealing with the mess I'm dealing with now. Any and all help is appreciated . I'm very strong and comfortable with using fastboot commands and flashing and just need someone to help me wrap my head around the process of doing this and step by step instructions of achieving my goal. So currently I have downloaded the new OTA_PERFUME_WL_M60_SENSE80GP_VZW_NA_Gen_Unlock_1.80.617.1_R-1.53.617.5_release_480240aw6u8xea6328m583.zip file. I have the latest TWRP installed on my phone, I have the latest Systemless Root zip (BETA-SuperSU-v2.74-2-forceencrypt.zip), as well as the latest Systemless Xposed zip (Xposed-v85.6-sdk23-systemless.zip). I have also downloaded the TWRP clean system Backup 1.53.617.5_twrp.zip. My phone is a T-Mobile HTC 10 that I've converted into a US Unlocked model by S-Offing it, changing the CID to the super CID (11111111), and installed the 1.53.617.5 RUU. I tried doing different steps on different guides here and now my phone is all sorts of messed up. Root isn't working 100% (es file explorer fails when trying to toggle on root explorer, but fx explorer works fine), and Xposed is broken (modules don't work, Xposed app saying no framework found even though I've flashed it). Can someone help me with what I should do to be able to install the OTA, root, have Xposed, and keep TWRP so that way in the future, I can apply and OTA and keep the rest?
Thanks!
Click to expand...
Click to collapse
I am also just starting this procedure... Just bought my 10 today, and I am starting slowly.. All I know is that if you dont change anything in /system directory and have stock recovery, OTAs perform fine.
So my plan is unlock bootloader, flash TWRP, root, flash ElementalX, install xposed and after that flash stock firmware. Both SuperSU AND Xposed should be systemless. I know that AdAway can also be systemless, but I have to figure out everything beucase I just charged and turn on the phone
Download Xposed for Material Design... I had the same issue with the "framework not found" error.
civicdelslow said:
Download Xposed for Material Design... I had the same issue with the "framework not found" error.
Click to expand...
Click to collapse
Yeah I've downloaded the latest. Now I have an Xposed is installed but not active error :-/
The last version (85.6) doesn't work that well. It's better to install version 85.5 which works fine.

installing xposed on lollipop 5.0.2

Hi, i just unlocked my phone (HTC m9) and rooted it with twrp (2.8.6.0) and supersu 2.76, everything is fine.
But when i try to install xposed (any version) i get an error: Error executing updater binary in zip
What i do is load recovery and try to install the zip file for xposed and then i get this error.
i have tried versions like:
xposed-v68-sdk21-arm64.zip
xposed-v72-sdk21-arm64.zip
xposed-v80-sdk21-arm64.zip
xposed-v86-sdk21-arm64.zip
but no luck with any of them.
Now i am clueless to how to proceed.
i have read somewhere that the code between my phone and what the zip requests are different and that i should open the zip file and edit but i really do not know how to do this.
For some reason my phone will not update to marshmallow (6.0) might be cause i live in norway and this has not been reeleased yet for my region.
anyway, someone know how to fix this?
Most likely the files are corrupt but BE WARNED that you install xposed at your own risk. Take it as an omen that they don't work.
Beamed in by telepathy.

magisk on 5k

i tried to install SuperSu, including the sr5 version, and get caught in the google logo, plus ss will no longer be updated. after unlocking the bootloader, installing twrp are there any tips on installing magisk? i am also unsure on what flashing the "stock rom" is about. is that the oem, custom rom or either. i am mostly looking for the su function but root would be ok to. thanks
dr1445 said:
i tried to install SuperSu, including the sr5 version, and get caught in the google logo, plus ss will no longer be updated. after unlocking the bootloader, installing twrp are there any tips on installing magisk? i am also unsure on what flashing the "stock rom" is about. is that the oem, custom rom or either. i am mostly looking for the su function but root would be ok to. thanks
Click to expand...
Click to collapse
Your best bet would be to do some more reading "new one".... While your misunderstanding of the relation between root and su have me thinking that you are not ready to root yet. On a serious note, Magisk is a excellent alternative for SuperSu. Head over to the Magisk forums and read up for more info.
being a user not developer, i have no intention to modify software code, there for i do not require root. su is useful to run certain apps, like twrp manager to grant permissions. i like the linux sudo command better on my pc, but that is just one operators opinion and my not even be feasible on google firmware. i got into this with a nex 4 wanting to get onboard with ubuntu phone to ditch all the commercial and media bloat. since i had the nex 4 as a development phone why not try a custom rom and update to 7.1? after a few go rounds i got 14.1 installed. my adventures with the nex 5x and 6p and SuperSU both lead to a bricked phone, which i learned to get operational. basically nothing ventured nothing gained.
su is the command used to gain root access. If you've installed either SuperSU or Magisk you have rooted your device.
The current Magisk works well on the current Oreo image for the Nexus 5X. The bonus is that you can use apps that refuse to work if they think the device is rooted.
dr1445 said:
i tried to install SuperSu, including the sr5 version, and get caught in the google logo, plus ss will no longer be updated. after unlocking the bootloader, installing twrp are there any tips on installing magisk? i am also unsure on what flashing the "stock rom" is about. is that the oem, custom rom or either. i am mostly looking for the su function but root would be ok to. thanks
Click to expand...
Click to collapse
For me, stock 8.1, sr5 works. Stock rom is oem, but it doesn't have to be the whole oem, you can have a stock rom and twrp, so basically system and the kernel remain stock but recovery can be something other than stock, and so on...
Sent from my Nexus 5X using Tapatalk

Categories

Resources