Root Samsung SM-M015G/DS - General Questions and Answers

My device Model number: SM-M015G/DS
Build number: QP1A.190711.020.M015GXXU1ATD4
Android security Patch: 1 March 2020
Android version: 10
I want to Root this device.
I read many articles but unable to conclude on final procedure.
Procedure 1
1. Unlock Bootloader -> Done
2. Flash twrp ---> Where can i find the twrp for my device ? Can i flash any twrp with Android 10 ?
3. Install Magisk and root --> I'm not able to install magisk, since twrp is not installed
Procedure 2
1. Unlock Bootloader -> Done
2. Install Magisk without root and create a Magisk patched boot image --> Here magisk(ver 7.5.1) is giving error (Magisk not installed)
3. Root using Magisk --> Failed at step 2.
Can someone please help me with any of the above procedure to root my device ?
I'm not able to find twrp for the this device. OR Get Magisk working without root.
Please please help

dhodidarpan said:
My device Model number: SM-M015G/DS
Build number: QP1A.190711.020.M015GXXU1ATD4
Android security Patch: 1 March 2020
Android version: 10
I want to Root this device.
I read many articles but unable to conclude on final procedure.
Procedure 1
1. Unlock Bootloader -> Done
2. Flash twrp ---> Where can i find the twrp for my device ? Can i flash any twrp with Android 10 ?
3. Install Magisk and root --> I'm not able to install magisk, since twrp is not installed
Procedure 2
1. Unlock Bootloader -> Done
2. Install Magisk without root and create a Magisk patched boot image --> Here magisk(ver 7.5.1) is giving error (Magisk not installed)
3. Root using Magisk --> Failed at step 2.
Can someone please help me with any of the above procedure to root my device ?
I'm not able to find twrp for the this device. OR Get Magisk working without root.
Please please help
Click to expand...
Click to collapse
You can only flash TWRP for your specific model number. If there is not a TWRP for your specific model number, you or someone else will have to make one for your device.
Some devices have to use Magisk to patch the stock recovery.img instead of the boot.img.
Sent from my SM-S767VL using Tapatalk

Droidriven said:
You can only flash TWRP for your specific model number. If there is not a TWRP for your specific model number, you or someone else will have to make one for your device.
Some devices have to use Magisk to patch the stock recovery.img instead of the boot.img.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Thank you for your reply. I tried using Magisk to patch the stock recovery.img. But I'm facing problems using Magisk app.
Problems like:
1. Magisk app not installed (I had installed Magisk manager version 7.5.1)
2. Install button not popping up on the app
3. Installed Magisk canary builds, but the app getting crashed.
Working with Magisk without root is giving lot of problems.
I am a newbie and not technical enough to create my own twrp image. Can you help me with any procedure to create the twrp image ?

twrp recovery image required for SM-M015G/DS
Can someone please provide me twrp image for this phone. Please.
My device Model number: SM-M015G/DS
Build number: QP1A.190711.020.M015GXXU1ATD4
Android security Patch: 1 March 2020
Android version: 10

Use this method my friend
https://www.full-repair-firmware.com/2020/10/how-to-root-m015g.html

dhodidarpan said:
My device Model number: SM-M015G/DS
Build number: QP1A.190711.020.M015GXXU1ATD4
Android security Patch: 1 March 2020
Android version: 10
I want to Root this device.
I read many articles but unable to conclude on final procedure.
Procedure 1
1. Unlock Bootloader -> Done
2. Flash twrp ---> Where can i find the twrp for my device ? Can i flash any twrp with Android 10 ?
3. Install Magisk and root --> I'm not able to install magisk, since twrp is not installed
Procedure 2
1. Unlock Bootloader -> Done
2. Install Magisk without root and create a Magisk patched boot image --> Here magisk(ver 7.5.1) is giving error (Magisk not installed)
3. Root using Magisk --> Failed at step 2.
Can someone please help me with any of the above procedure to root my device ?
I'm not able to find twrp for the this device. OR Get Magisk working without root.
Please please help
Click to expand...
Click to collapse
My phone is same,i didnt face any probl
There are few things before flashing or making a .tar file from magisk
1st Download stock rom of your country specific
2nd Extract zip file ,
3rd Download magisk in ur non rooted device and select AP file ,it will create .tar file
3rd Download odin in pc(latest stable version)
4th flash your stock rom(i assume u know basic,like unlocked bootlader)
5th After odin has passed it,go to developer option and on usb debugging(most people forgets to on it after 1st flash)
6th flash ur .tar file in ap section along with other section
7th Any error? Post a image of it

Related

[TESTING] Flash Patched boot.img to achieve Systemless Root

WARNING:
Please do every preparation that could fix your phone to original state before doing this trick.
DOING THIS MAY VOID YOUR WARRANTY, DO IT AT YOUR OWN RISK
I managed to unpack the official firmware of Nokia 7 and 8, and patched their boot.img with SuperSU Systemless Root.
But I don't know if it works on them.
Patched boot.img can be downloaded at:
https://mega.nz/#F!igsBmarT!3rIjD4ZaZN8ueOTVmciGwg
Here's the method you need to do:
1. Install OST LA and patch it, and OPEN IT FROM INSTALLATION DIRECTORY DIRECTLY.
2. Flash required firmware before proceed. If you don't do that, you won't be able to access Wi-Fi after the boot.img flashed.
For Nokia 7, you need to use the firmware "C1N-0430-0-00CN-B05" which I haven't released to public for some reason.
For Nokia 8, you need to use the firmware "NB1-435J-0-00WW-B01" which released in this topic: https://forum.xda-developers.com/showthread.php?t=3678487
If you've already flashed required firmware before proceed, you can skip this part.
Click to expand...
Click to collapse
3. Use the Service Purposed Bootloader trick I've mentioned in the Nokia 6 Root Guide: https://forum.xda-developers.com/showthread.php?t=3702354
4. Type these commands:
Code:
fastboot-android flash boot_a E:\NB1-435J-Boot-Patched.img
fastboot-android flash boot_b E:\NB1-435J-Boot-Patched.img
fastboot-android reboot
For Nokia 7, use C1N-0430-Boot-Patched.img instead. I've attached the Firehose, rawprogram0 and patch0 for Nokia 7 in case you want to use EDL Mode on Nokia 7.
Click to expand...
Click to collapse
5. If it's accepted by the system, the phone will reboot twice, and you'll see SuperSU appeared.
However, if "Verification Failed" appeared on your phone, then the trick failed. You have to flash original firmware to restore your phone to factory state.
If anyone know how to fix that in boot.img, that's a breakthrough of Nokia Android Devices.
You may want to use Flashfire to flash Xposed Framework or something else, but DO NOT RECEIVE ANY OTA UPDATES after your phone rooted.
I'm looking forward to a boot.img manual patcher on PC or Phone available, which could patch boot.img to achieve Systemless Root either SuperSU or Magisk and bypass Verification Boot.
This looks exciting. I have to look deeper into recovery options before I dare this kind of experiment...
Tried on a retail Nokia 8 TA-1052 running 00WW_4_35J_SP01
Boot passed but unfortunately no root
End up having to upgrade to 4390 using 4G
Update: Can't install 4390 even when I download the update multiple times. Flashed 435J using OST and tried flashing the kernel again but still no root.
ansonscleung said:
Tried on a retail Nokia 8 TA-1052 running 00WW_4_35J_SP01
Boot passed but unfortunately no root
End up having to upgrade to 4390 using 4G
Click to expand...
Click to collapse
Thanks for feedback.
I'll check if anything wrong.
Can you check if you can install SuperSU manually from Google Play?
After you installed it, is root available?
hikari_calyx said:
Thanks for feedback.
I'll check if anything wrong.
Can you check if you can install SuperSU manually from Google Play?
After you installed it, is root available?
Click to expand...
Click to collapse
Nope. SuperSU said "Root not available"
Many thanks for your efforts on this patch, I would love to be able to root my Nokia 8.
Having an unlocked bootloader I am not really worried about, but having root access is a big feature for me.
Any chance this patch will become available to firmware version 00WW_4_390 which is the current latest? (And what my phone is currently running)
Not sure if I can downgrade it to NB1-435J-0-00WW-B01 or not, but I can try that if it is not able to be patched to the latest firmware image.
Thnx hikari_calyx for your hard work!
ansonscleung said:
Tried on a retail Nokia 8 TA-1052 running 00WW_4_35J_SP01
Boot passed but unfortunately no root
End up having to upgrade to 4390 using 4G
Update: Can't install 4390 even when I download the update multiple times. Flashed 435J using OST and tried flashing the kernel again but still no root.
Click to expand...
Click to collapse
Did anyone else but ansoncleung tried this meanwhile?
@hikari_calyx I have a self prepatched boot. IMG for TA1012, flashed via fastboot now I have root with Magisk, but WLAN won't work.
Powered by Nokia 8
2WildFirE said:
@hikari_calyx I have a prepatched boot. IMG for TA1012, flashed via fastboot now I have root with Magisk, but WLAN won't work.
Powered by Nokia 8
Click to expand...
Click to collapse
Log
Op please pm me i am developer too we can do this together.
TheKsM said:
Op please pm me i am developer too we can do this together.
Click to expand...
Click to collapse
Hey we need developers here on Nokia!
And what we need to is a dev who build twrp for Nokia8. The recovery is inside the boot. IMG.
If you want build a one for the community. Thanks
Powered by Nokia 8

[GUIDE] How to root your Nokia 8, and keep the ability to do official OTA updates

So as the official bootloader unlock broadened the audience of this from tinkerers/developers to basically everyone I thought this guide might me helpful for some...
PREREQUISITES:
- Unlocked bootloader (official or unofficial)
- latest magisk manager installed on phone (https://github.com/topjohnwu/Magisk/releases)
- latest fastboot and adb binaries from google(https://developer.android.com/studio/releases/platform-tools)
- latest twrp.img to boot (NOT FLASH), zip not needed (https://eu.dl.twrp.me/NB1/)
- Fully stock partitions (if you do not have this reflash latest stock via ostla), as OTA updates will do a integrity check.
- PC with WIN/OSX/LINUX with USB port^^ (on windows you might have to add .exe to the commands)
- disable automatic system updates in developer options, as you will still have to manually root the updated partition, so this makes sure you don't miss it. You still get notifications on available updates and can apply them easily(as you will see)
SETUP_STEPS:
1. Go into Magisk manager and "just download" the latest zip
2.1 Run
Code:
adb reboot bootloader
or reboot into download/fastboot mode via other means
2.2 Run
Code:
fastboot boot twrp-3.2.3-1-NB1.img
(change this when your version of twrp differs)
2.3 Flash the .zip magisk downloaded in 1.)
2.4 Reboot.
Congratulations you now have root!
STEPS_TO_UPDATE:
1. Go into Magisk Manager -> Uninstall -> Restore Images
2. Apply Update, DO NOT REBOOT YET
3. When step to finished and it promts you to reboot go into Magisk Manager -> Install -> Install to inactive Slot
Congratulations you can now reboot and will have an updated Android while keeping full root.
ALTERNATIVE GUIDE (without twrp, using prerooted boot.img)
(works for newest patch level, where twrp isn't working yet)
this guide works on newest patches as long as someone provides a prerooted boot.img.
So basically you either need a boot.img available or twrp...
Hopefully this helps until TWRP is compatible with September Security Patch
LINKS:
stock boot.img: (may to october patches)
https://cloud.vault81.de/s/fnoizKwi8kNF3Rg
prerooted boot.img: (may to october patches)
https://cloud.vault81.de/s/AeHiE5HR2qonb3N
PREREQUISITES:
- same as above minus twrp
- patched/prerooted boot image (either create it yourself or use link provided here)
STEPS_TO_ROOT:
0.
Code:
adb reboot bootloader
or get into download mode otherwise
1.
Code:
fastboot boot NB1_prerooted_boot.img
1.1. The phone will boot into an temporarily rooted state,
2. Use magisk manager-> Install -> "Direct Install" to persist the root.
3. Reboot
Congrats you now have root even on versions where twrp isn't working yet....
Edit1:
Added link to all stock boot images from may to october security
Edit2:
Did the same for magisk prerooted
Edit3:
Added November images thanks to @czupyt
TWRP isnt working right now so whoever updated to September patch cant do anything except unlock bootloader. Unless someone can pull a boot.img from the newest patch so we can all patch it through Magisk and get root.
ironman38102 said:
TWRP isnt working right now so whoever updated to September patch cant do anything except unlock bootloader. Unless someone can pull a boot.img from the newest patch so we can all patch it through Magisk and get root.
Click to expand...
Click to collapse
I can try to do that once I get back home tomorrow...
I have working magisk on september patch so I should have both prerooted and Stock (cause Magisk backups those)
Trissi said:
I can try to do that once I get back home tomorrow...
I have working magisk on september patch so I should have both prerooted and Stock (cause Magisk backups those)
Click to expand...
Click to collapse
That would be much appreciated. Alot of people who just unlocked bootloader cant root and the maintainer of our TWRP will take a couple of days
indeed
ironman38102 said:
TWRP isnt working right now so whoever updated to September patch cant do anything except unlock bootloader. Unless someone can pull a boot.img from the newest patch so we can all patch it through Magisk and get root.
Click to expand...
Click to collapse
Simple Solution: A/B Partition System.
One Slot is the September Update, the other is August Update.
Update to September, Unlock, witch to other Slot with August Update, Boot Offical TWRP 3.2.3-0 (-1 not booting tho).
Now you can Install the Install Zip for the August BL and Magisk.
Bootup and use Magisk for Inactive Slot.
So did I, but I'm still on August Slot, I'll try to root the September Boot Partiton, and Install TWRP later when Fix arrived.
But rooted September doens't seem very... Stable
LoaderFabi said:
Simple Solution: A/B Partition System.
One Slot is the September Update, the other is August Update.
Update to September, Unlock, witch to other Slot with August Update, Boot Offical TWRP 3.2.3-0 (-1 not booting tho).
Now you can Install the Install Zip for the August BL and Magisk.
Bootup and use Magisk for Inactive Slot.
So did I, but I'm still on August Slot, I'll try to root the September Boot Partiton, and Install TWRP later when Fix arrived.
But rooted September doens't seem very... Stable
Click to expand...
Click to collapse
I'm already about to install the September patch again. I downgraded to May so I could root my phone and provide the clean boot.img from the stock September so people can root without twrp. And honestly A/B partition is still new to me that I still don't understand it
ironman38102 said:
I'm already about to install the September patch again. I downgraded to May so I could root my phone and provide the clean boot.img from the stock September so people can root without twrp. And honestly A/B partition is still new to me that I still don't understand it
Click to expand...
Click to collapse
A/B system is not Complex at all. It's just having 2x a Partiton Group (Boot, System, OEM and Recovery I think) and having the ability with Fatboot to simply switch between group A and group B.
You Inital Set up Partiton A (Nokia did for us with Nougat 7.1.1). If you Update, the Update will be extracted to Partition B, aftzer finishing you reboot to Partiton Group B, leaving group A untouched in Case of Error on Partition B.
That's it pretty much.
LoaderFabi said:
A/B system is not Complex at all. It's just having 2x a Partiton Group (Boot, System, OEM and Recovery I think) and having the ability with Fatboot to simply switch between group A and group B.
You Inital Set up Partiton A (Nokia did for us with Nougat 7.1.1). If you Update, the Update will be extracted to Partition B, aftzer finishing you reboot to Partiton Group B, leaving group A untouched in Case of Error on Partition B.
That's it pretty much.
Click to expand...
Click to collapse
No I get that but its just that I forget cuz this is my first phone with a/b partition. Anyway I got the phone to latest patch rooted so I'll see if I can get the untouched img
i'm on september security update and followed the seconde guide, but still show the android logo not booting the phone
eric194 said:
i'm on september security update and followed the seconde guide, but still show the android logo not booting the phone
Click to expand...
Click to collapse
On what step? Was it after you completed the guide? Or did the patched image not boot already?
If the patched image worked but it din't afterwards, you should reflash the stock_boot.img and redo the guide again because you probably flashed twrp and broke your bootloader...
As you can see in the prerequisites this guide requires a stock bootloader to start.
Trissi said:
On what step? Was it after you completed the guide? Or did the patched image not boot already?
If the patched image worked but it din't afterwards, you should reflash the stock_boot.img and redo the guide again because you probably flashed twrp and broke your bootloader...
As you can see in the prerequisites this guide requires a stock bootloader to start.
Click to expand...
Click to collapse
Nop I didn't flash twrp & Im on stock bootloader fresh september no modifications
eric194 said:
Nop I didn't flash twrp & Im on stock bootloader fresh september no modifications
Click to expand...
Click to collapse
So did the prerooted Image Boot?
If so it basically has to be your boot/system partition(I had mine compromised too and couldn't fix it with just flashing boot.img had to reflash everything via ostla)
If even the prerooted Image didnt boot im sorry i don't really know how to help, as I have working root with Magisk on September patch and the Image boots just fine for me....
eric194 said:
Nop I didn't flash twrp & Im on stock bootloader fresh september no modifications
Click to expand...
Click to collapse
Also you could Switch slots to revert back to august Patch and use the normal twrp guide then... And run the September Update via the magisk method
Trissi said:
Also you could Switch slots to revert back to august Patch and use the normal twrp guide then... And run the September Update via the magisk method
Click to expand...
Click to collapse
Ok I will try that hope it'll work
Edit : thanks dude it worked
Hey everyone;
My Nokia TA-1004 is on the July SP (4.88B_SP02) with unlocked bootloader (unofficial method), TWRP and Magisk installed.
Where can I find a stock boot.img to flash? I tried flashing the boot.img on this thread and although I can boot fine my wifi will be broken (I tried and had to restore nandroid backup). I also tried following the guide here but my OSTLA won't get past "Flashing Service Bootloader".
Any help?
Xayar said:
Hey everyone;
My Nokia TA-1004 is on the July SP (4.88B_SP02) with unlocked bootloader (unofficial method), TWRP and Magisk installed.
Where can I find a stock boot.img to flash? I tried flashing the boot.img on this thread and although I can boot fine my wifi will be broken (I tried and had to restore nandroid backup). I also tried following the guide here but my OSTLA won't get past "Flashing Service Bootloader".
Any help?
Click to expand...
Click to collapse
Flash the full Stock build (i think its even may patch), via ostla (https://forum.xda-developers.com/no...ia-8-official-firmware-links-updated-t3678487), then follow this guide then reapply all updates by following the update steps...
So which file do I have to download from https://drive.google.com/drive/folders/1t64iHuQQjmMnzcujZtjYplh6ipbiF6Cw ? I tried with the 488B one and got stuck on "flashing service bootloader"...
Xayar said:
So which file do I have to download from https://drive.google.com/drive/folders/1t64iHuQQjmMnzcujZtjYplh6ipbiF6Cw ? I tried with the 488B one and got stuck on "flashing service bootloader"...
Click to expand...
Click to collapse
Are you trying to use OST LA 6.1.2? Cuz that doesnt work

[SOLVED] OTA with ROOT...

I ask before in "guide to root motorla g stylus":
really is no way to work OTA while Magisk installed? i mean some Magisk Hide Props Config, or not install TWRP or anything? i actualy have Nokia 7 Plus (unlocked via unoficial method) and last year while not installed TWRP is possible check system update, install over air (while Magisk is installed), before reboot run MagiskManager, install Magisk to other slot, reboot, started from updated slot with Magisk installed, without need flash stock boot img before ota and flash manualy patched boot img after OTA... sure have Moto G Pro additional check or limitation and this not work? thanks...
Click to expand...
Click to collapse
without reaction, then try make separated thread, i actualy have one week "Motorola Moto G Pro" (XT2043-7), rooted, and wait for OTA, UpdateCheck in Settings not show me, try LMSA Rescue/Download and show me same version as have installed QPRS30.80-109-2-7...
Questions:
- Have any user of same phone, without root, already showed Octorber OTA?
- Is on rooted posible UpdateCheck with show if OTA avaiable?
- Have any working solution for OTA update on rooted phone without need connected with PC? Similar or same as i write about Nokia7Plus?
(i mean without flash back stock img, make ota, patch new boot.img file in MagiskManager, flash it via TWRP booted...
i think without PC be sure posible flash back stock boot.img to boot partition, before OTA, maybe download zip of full "rom" and extract boot.img, patch via MagiskManager, but not flash patched
EDIT: Sollution here
The answers to your first two questions are yes. When on stock I successfully updated. And while rooted there was a notification for ota update, it would download, but fall to install. I came across a way to do it without having to connect to pc. Some said it was successful but I was not able to try. It has something to do with placing your original boot.img into a a folder on one of the root directories but I had no idea how in the hell they came up with the system path to the file (encrypted??) Because I didn't have any of the folders on my phone and was to lazy at the time to ask for help. It was also an older thread so I didn't feel like bringing up a thread that old.
without root you updated system to higher (with Ocrober security patches) version than QPRS30.80-109-2-7 (this version have September security patches) ?
second part of you answer i think not understand, with rooted phone, put boot.img in "a" directory in one (which?where?) root folder and OTA services flash it before upgrade/reboot???
please, anyone with "Motorola Moto G Pro" (XT2043-7), channel "reteu", have already displayed update notification for "QPRS30.80-109-2-8" ?
Yesterday i finally get OTA notify with QPRS30.80-109-2-8, with Magisk installed, ofcourse failed install, then i find this solution, to update OTA over Air with Magisk installed without need any steps with PC
Code:
1. Settings System/DeveloperOptions/AutomaticSystemUpdate=Disable
2. Settings System/SystemUpdate/.../SmartUpdate=Disable
3. MagiskManager UninstallMagisk/RestoreImages
4. Settings System/SystemUpdate "doing normal update and wait for finish"
5. After OTA Instralled [B]NOT[/B] Restart
6. MagiskManager MagiskInstall/InstallToInactiveSlotAfterOTA/LetsGo "wait for finish"
7. After Magisk installed tap to Reboot button in Magisk Instalation wIndow...
Very nice writeup. With respect to step 3, I never installed Magisk Manager (I simply did the patch of boot.img) so what should I do to restore image? With respect to step 5, how do I get to that point? Is it a prompt after rebooting?
flroots said:
[...] step 3, I never installed Magisk Manager (I simply did the patch of boot.img) so what should I do to restore image?
Click to expand...
Click to collapse
you must have installed Magisk via TWRP (only temporary booted is enough), this make backup image which is latter in MagiskManager used for restore
flroots said:
[...] step 5, how do I get to that point? Is it a prompt after rebooting?
Click to expand...
Click to collapse
this is normal OTA screen, is show if you check update and if available, then show progress about installing, only is need after ota finished, not using reboot button in this OTA screen, but make steps 6 and 7
k3dar7 said:
you must have installed Magisk via TWRP (only temporary booted is enough), this make backup image which is latter in MagiskManager used for restore
Click to expand...
Click to collapse
I installed Magisk Manager via download of apk file (not TWRP). I then clicked on Magisk and chose "Select and patch a file". The end result was getting root. I never actually did a separate install of Magisk or Magisk Manager. I wonder if your step 3 will work in this case.
k3dar7 said:
this is normal OTA screen, is show if you check update and if available, then show progress about installing, only is need after ota finished, not using reboot button in this OTA screen, but make steps 6 and 7
Click to expand...
Click to collapse
Thanks
flroots said:
I installed Magisk Manager via download of apk file (not TWRP). I then clicked on Magisk and chose "Select and patch a file". The end result was getting root. I never actually did a separate install of Magisk or Magisk Manager. I wonder if your step 3 will work in this case.
Click to expand...
Click to collapse
Understand, but as i write, you must have installed Magisk via TWRP, with this method, Magisk make backup of boot image to "/data/magisk_backup_SomeRandomStrings/boot.img.gz", this file is used when you doing step 3, but if you only patch stock boot file, then ofcourse this backup is not created... i sugest you:
- revert boot to stock via same way as you flash patched before, but using stock boot.img
- boot TWRP (NOT flash, use command is section "Boot") and install Magisk.zip oficial release
- if on your phone/touchscreen variant not work touchscreen in TWRP, then (while still is booted TWRP) install it using adb
Thanks.
I have a couple questions:
1. Is it true that one shouldn't do an OTA unless the corresponding firmware can be downloaded due to the fact that you will lose root and not be able replace it until the corresponding boot.img can be obtained?
2. When downloading firmware from LMSA, does it download the latest or does it download your current version?
flroots said:
I have a couple questions:
1. Is it true that one shouldn't do an OTA unless the corresponding firmware can be downloaded due to the fact that you will lose root and not be able replace it until the corresponding boot.img can be obtained?
2. When downloading firmware from LMSA, does it download the latest or does it download your current version?
Click to expand...
Click to collapse
1. NO - i with Magisk installed, receive OTA October (delayed) and November, and hope with december be same
not need wait for avaiable boot.img, because with "Boot TWRP & Flash MagiskZip" is patched onthefly "any" version of boot partition on device.
2. not sure, i not use LMSA
k3dar7 said:
1. NO - i with Magisk installed, receive OTA October (delayed) and November, and hope with december be same
not need wait for avaiable boot.img, because with "Boot TWRP & Flash MagiskZip" is patched onthefly "any" version of boot partition on device.
Click to expand...
Click to collapse
Thanks, that sounds great. Would you mind elaborating the steps involved? I have TWRP and Magisk installed now.
k3dar7 said:
Yesterday i finally get OTA notify with QPRS30.80-109-2-8, with Magisk installed, ofcourse failed install, then i find this solution, to update OTA over Air with Magisk installed without need any steps with PC
Code:
1. Settings System/DeveloperOptions/AutomaticSystemUpdate=Disable
2. Settings System/SystemUpdate/.../SmartUpdate=Disable
3. MagiskManager UninstallMagisk/RestoreImages
4. Settings System/SystemUpdate "doing normal update and wait for finish"
5. After OTA Instralled [B]NOT[/B] Restart
6. MagiskManager MagiskInstall/InstallToInactiveSlotAfterOTA/LetsGo "wait for finish"
7. After Magisk installed tap to Reboot button in Magisk Instalation wIndow...
Click to expand...
Click to collapse
Do these steps cause loss of data? Thanks
flroots said:
Do these steps cause loss of data? Thanks
Click to expand...
Click to collapse
i ofcourse not garant ;-) but for me nothing lost, also installed magisk modules is preserved...
k3dar7 said:
Yesterday i finally get OTA notify with QPRS30.80-109-2-8, with Magisk installed, ofcourse failed install, then i find this solution, to update OTA over Air with Magisk installed without need any steps with PC
Code:
1. Settings System/DeveloperOptions/AutomaticSystemUpdate=Disable
2. Settings System/SystemUpdate/.../SmartUpdate=Disable
3. MagiskManager UninstallMagisk/RestoreImages
4. Settings System/SystemUpdate "doing normal update and wait for finish"
5. After OTA Instralled [B]NOT[/B] Restart
6. MagiskManager MagiskInstall/InstallToInactiveSlotAfterOTA/LetsGo "wait for finish"
7. After Magisk installed tap to Reboot button in Magisk Instalation wIndow...
Click to expand...
Click to collapse
Tried the above steps, but OTA update unsuccessful. Discovered that phone still rooted so obviously step 3 did not work for me. What should I try next? How about fastboot of original boot.img?
flroots said:
Tried the above steps, but OTA update unsuccessful. Discovered that phone still rooted so obviously step 3 did not work for me. What should I try next? How about fastboot of original boot.img?
Click to expand...
Click to collapse
step 3 restore boot image(what show you MagiskManager as output while you restore images??), but without reboot you have ofcourse still root, and you can't reboot if you want patch boot in other slot after ota via MagiskManager....
but i don't know reason why OTA failed anyway restoring original boot.img via fastboot be i think possible (not try in MotoGPro but manytime with Nokia7Plus)
k3dar7 said:
step 3 restore boot image(what show you MagiskManager as output while you restore images??), but without reboot you have ofcourse still root, and you can't reboot if you want patch boot in other slot after ota via MagiskManager....
but i don't know reason why OTA failed anyway restoring original boot.img via fastboot be i think possible (not try in MotoGPro but manytime with Nokia7Plus)
Click to expand...
Click to collapse
Thanks. Magisk simply says, "restoration done". Once I fastboot boot.img will I need to re-install magisk from scratch or should I continue with steps 6 and 7?
flroots said:
Thanks. Magisk simply says, "restoration done". Once I fastboot boot.img will I need to re-install magisk from scratch or should I continue with steps 6 and 7?
Click to expand...
Click to collapse
maybe magisk backup boot.img have already twrp inside if you install twrp before magisk?
anyway, if you flash stock boot.img, then step 6&7 is not applicable, because this need booted rooted system
btw: method above work for me also while i upgrade from Android10 to Android11 ;-)

Question [SOLVED] Samsung A12 / SM-A127F/DSN - Root problem

Hello,
I have problem with patch my boot.img with Magisk manager. After patching I got error : "The phone is not running Samsung's official software". After flash again stock boot.img everything works.
I use Odin to flash.
I tried to install unofficial TWRP from other thread but I got SVD Fail and vbmeta errors during boot.
Somebody have any idea how solve this problem?
Model : SM-A127F/DSN
Baseband version : A127FXXU2AUG7
Android 11 (UI 3.1)
Info from download mode :
KG STATE : Checking
FRP LOCK : OFF
OEM LOCK : OFF(U)
Secure Download : Enabled
RP SWREV : B:2 K:2 S:2
I found similar situation on movie :
But for me recovery mode and factory reset not solve problem. Phone stuck on "Samsung's official software" and reboot after a few minutes.
Best Regards
Patch the boot image of the fimware your phone is currently running.
I used the same boot.img and instructions from This thread
In attachment magisk patching log
I solved this problem by This thread
SM-A127F have a different hardware than for example SM-A125F and working on Exynos 850 the same as Samsung A21s.
Magisk 23 still not working.
Regards
cryptoranger said:
I solved this problem by This thread
SM-A127F have a different hardware than for example SM-A125F and working on Exynos 850 the same as Samsung A21s.
Magisk 23 still not working.
Regards
Click to expand...
Click to collapse
I have same phone A127
Do you rooted your device now ?
If yes how do you root device ?
And thank you
khaledoghlo said:
I have same phone A127
Do you rooted your device now ?
If yes how do you root device ?
And thank you
Click to expand...
Click to collapse
Hi, Yes I have root on this device !
It's very simple, but official Magisk have a bug which prevents the device from booting properly and your phone will be stuck with in bootloop.
1. You must get custom patched Magisk (jn attachment) - from This thread and install it on phone.
2. Get your original firmware from : https://samfw.com/firmware/SM-A127F
3. Unpack your firmware and upload AP_XXXXX file on phone and patch it with magisk.
4. Flash with ODIN and done
You have full instruction : Here but I recommend patch full AP_XXX file not only boot.img. Full AP patch It will allow you to turn off DM-Verity immediately and trouble with vbmeta.
SAMSUNG A127F/DS ROOTED FIRMWARE
Samsung A127F rooted firmware Bit2 hang on logo fixed file is free Enjoyhttps://drive.google.com/file/d/1hX8Jv2FlHHiWWhclqhNEbWncMyO8yiFb/view?usp=sharing
ultratechgeek.com
Here is the pre Rooted firmware buy Ultratech geek Team
you can download free via google drive link
no password
tested by me Working 100%
cryptoranger said:
Hi, Yes I have root on this device !
It's very simple, but official Magisk have a bug which prevents the device from booting properly and your phone will be stuck with in bootloop.
1. You must get custom patched Magisk (jn attachment) - from This thread and install it on phone.
2. Get your original firmware from : https://samfw.com/firmware/SM-A127F
3. Unpack your firmware and upload AP_XXXXX file on phone and patch it with magisk.
4. Flash with ODIN and done
You have full instruction : Here but I recommend patch full AP_XXX file not only boot.img. Full AP patch It will allow you to turn off DM-Verity immediately and trouble with vbmeta.
Click to expand...
Click to collapse
Thanks for this.
I just bought this phone and looking forward to building a custom kernel for it.
marrygsm said:
SAMSUNG A127F/DS ROOTED FIRMWARE
Samsung A127F rooted firmware Bit2 hang on logo fixed file is free Enjoyhttps://drive.google.com/file/d/1hX8Jv2FlHHiWWhclqhNEbWncMyO8yiFb/view?usp=sharing
ultratechgeek.com
Here is the pre Rooted firmware buy Ultratech geek Team
you can download free via google drive link
no password
tested by me Working 100%
Click to expand...
Click to collapse
Nice work
Thanks for the root method.
I've discovered that this phone has the same set of CPU frequencies for big and little
Twrp and custom kernels now being developed.
I'll post as soon as they have been tested.
ROOTed ROM for Galaxy A12 A127F A127FXXU2AUH4 (magisk) (OS11)
AP > https://drive.google.com/file/d/1o4qJCAkqZJ7AmakJ4jcGLsCchTeN9VF7/view?usp=sharing
BL > https://drive.google.com/file/d/1W8BBaNND401qeGFV5chqX6jaE1e9P__Q/view?usp=sharing
CP > https://drive.google.com/file/d/1negTtWBj7pcR0NrW8T_k0Onthc_O-Ac_/view?usp=sharing
CSC > https://drive.google.com/file/d/1_cvoKKUunfjHxBQ1T2Tvtb_ASBPWxaZe/view?usp=sharing
HOME CSC > https://drive.google.com/file/d/1oCYzRTONa2JezHsWxkrPppnwvRNWBYWF/view?usp=sharing
PS . flash patched versions odin3 ... uncheck autoreboot ... manual reboot device when flash finished.
DONE !
Bonus > back original state > boot.img vbmeta.img
boot_vbmeta_orig_auh4_tar.tar
drive.google.com
Twrp and custom kernel now available
physwizz said:
Twrp and custom kernel now available
Click to expand...
Click to collapse
really ? working ?
hesen_89 said:
really ? working ?
Click to expand...
Click to collapse
Yep
See my kernel thread
[ROOT] [TWRP] [KERNEL] [GSI] for SM-A127f (a12s)
Root Method https://forum.xda-developers.com/t/root-for-all-exynos-850-devices.4367799/ Twrp and Kernel https://forum.xda-developers.com/t/custom-kernel-and-recoveries-for-m127f.4361841/ Latest twrp...
forum.xda-developers.com
physwizz said:
Yep
See my kernel thread
Click to expand...
Click to collapse
install twrp but not kernel
kernel need install or not ??
Thanks . great work
hesen_89 said:
install twrp but not kernel
kernel need install or not ??
Thanks . great work
Click to expand...
Click to collapse
kernel dont working ( how i install old kernel ?? i cant find it
hesen_89 said:
kernel dont working ( how i install old kernel ?? i cant find it
Click to expand...
Click to collapse
What do you mean?
hesen_89 said:
kernel dont working ( how i install old kernel ?? i cant find it
Click to expand...
Click to collapse
Not exactly sure, maybe physwizz confirm, I presume, you tried install kernel file by Install button in TWRP. I tried it too, failed it too and
a) you have done backup in TWRP, thats usual reason to setup TWRP - you just in case backup those special partition and if you done it, restore boot from backup will help
b) really not sure about that, but Odin, button BL and flash BL file from original stock ROM.
Can anybody advanced confirm? Maybe it can be helpful to know exactly, what for sure are kernel (AFAIK part of boot partition), "bootloader" and "boot" partion, BL button in Odin
honzazkrumlova said:
Not exactly sure, maybe physwizz confirm, I presume, you tried install kernel file by Install button in TWRP. I tried it too, failed it too and
a) you have done backup in TWRP, thats usual reason to setup TWRP - you just in case backup those special partition and if you done it, restore boot from backup will help
b) really not sure about that, but Odin, button BL and flash BL file from original stock ROM.
Can anybody advanced confirm? Maybe it can be helpful to know exactly, what for sure are kernel (AFAIK part of boot partition), "bootloader" and "boot" partion, BL button in Odin
Click to expand...
Click to collapse
can't do another type. yes i did that type. but twrp does not work and does not mount any unit. install fails. I returned everything. deleted

Question Install official RUI updates from TWRP?

So, I rooted my phone, for which I needed to unlock the bootloader and install TWRP. Now, when I want to install an update on my phone, it downloads and when I want to install it, it jumps to TWRP recovery instead of the phone's recovery, so I can't update my phone. Does anyone know how can I install the updates from TWRP?
Else, reinstall the default recovery. (Only the recovery, not the entire OS since that would un-root my phone)
Thanks.
Edit: After it boots to TWRP, it apparently tries to install the update, since I can see it on the log, but when I reboot my phone it has not installed. It errors: "E3994: This package is for "2169B" devices; this is a "". Updater process ended with ERROR: 1. Error installing zip file '/data/ota_package/OTA/.otaPackage/my_manifest_RMX3370_11.F.04_3040_202302282047.44.36402b59_all.zip'
Edit 2: After failing to install it, it prompts me to re-download it and re-install it, but it jumped from ~500MB update to 4.76GB update.
( may loose data)
I read in telegram channels, this twrp: https://www.pling.com/p/1922292 support installation latest zip. but I haven't tried.
one more thing you can do is ( may loose data)
1. restore twrp backup for recovery partition ( if you don't have backup. search recovery.img in upgrade zip )
2. reboot to recovery to check stock recovery is installed
3. install update
4. then follow steps to install twrp and magisk ( root again )
SanOne+1 said:
( may loose data)
I read in telegram channels, this twrp: https://www.pling.com/p/1922292 support installation latest zip. but I haven't tried.
one more thing you can do is ( may loose data)
1. restore twrp backup for recovery partition ( if you don't have backup. search recovery.img in upgrade zip )
2. reboot to recovery to check stock recovery is installed
3. install update
4. then follow steps to install twrp and magisk ( root again )
Click to expand...
Click to collapse
Your guide is incorrect and will definitely put the device into bootloop.
** The twrp link that you shared doesn't allow system updates to install, it is just a A13 compatable twrp recovery.
1) What if that person has not created any twrp backup of all system partitions? According to his explanation, I'm pretty sure he has not created any backup of the partitions.
2) only flashing recovery image and installing the update will again put the device into bootloop because as confirmed by the OP that his device is rooted and due to root the boot image of the device gets modified so it will put the device into bootloop.
3) unless the OP has stock boot and recovery images at his disposal he should not attempt to install the update to avoid bootloop.
** Kindly avoid sharing incorrect information you aren't sure about the correct procedure.
procedure that I follow to flash updates :
1) in magisk - uninstall magisk - restore images
2) boot device into bootloader and flash stock boot and recovery.
3) boot device and install update.
4) put device again in bootloader and flash twrp and within twrp flash magisk and reboot.
I haven't found any easier way than this. If anyone has, kindly put it below.
There's a way
Rui 4.0 Android 13 f.02
So, any verdict on this new update for the people that did update to it?
forum.xda-developers.com
Recetly I succesfully updated my Realme GT Neo 2 5G via TWRP recovery, the latest version support OTA.
Attention! After update TWPR and Magisk gone. Just reflash twrp and flash magisk normally. No need to reflash modules etc. (Just update from settings, no need to manually flash ota package from TWRP)
Hello mate can u help me with something real quick. Y are there no recent updates for gt neo 2 and if u r using a custom rom based gt neo 2 hows ur experience so far. Thanks in advance
Xemi_KryTeT.pl said:
Recetly I succesfully updated my Realme GT Neo 2 5G via TWRP recovery, the latest version support OTA.
Attention! After update TWPR and Magisk gone. Just reflash twrp and flash magisk normally. No need to reflash modules etc. (Just update from settings, no need to manually flash ota package from TWRP)
Click to expand...
Click to collapse
Which rom r u running and is it good?
Sabirsayed09 said:
Hello mate can u help me with something real quick. Y are there no recent updates for gt neo 2 and if u r using a custom rom based gt neo 2 hows ur experience so far. Thanks in advance
Which rom r u running and is it good?
Click to expand...
Click to collapse
Latest stock (4.0), I'm not going to flash custom roms for now

Categories

Resources