Root Samsung Galaxy J2 SM-J200F using TWRP and SuperSU. - Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth

Hi,
This rooting method is for Samsung SM-J200F.
THIS WILL VOID YOUR WARRANTY AND WILL DEFINITELY TRIP YOUR KNOX
First of all Go to Settings>About Device and tap on Build Number 5-7 times.
Developer option will appear in Settings, open it.
Enable OEM-Unlock and enter your PIN (if you have any).
Download latest Odin
http://odindownload.com/SamsungOdin/
then download the attached file
View attachment 3969330
extract it and you'll get recovery.tar.md5
Now, Open Odin on PC
Click on AP and select recovery.tar.md5 which you extracted.
Shut Down your Phone, After that Press VOLUME DOWN+HOME+POWER BUTTON
Press VOLUME UP to continue, Odin Mode will open.
Then connect your phone with PC
Press Start to flash the Recovery
When Recovery is successfully flashed you phone will Reboot.
Now to enter recovery Press VOLUME UP+HOME+POWER BUTTON
TWRP will Open.
Then Download Latest SuperSU
https://download.chainfire.eu/1014/SuperSU/SR5-SuperSU-v2.78-SR5-20161130091551.zip
And flash this file using TWRP.
then your device will restart at least 2-3 times.
when it Boots up you are Rooted.
Special Thanks for
TWRP
Chainfire
and whoever developed Odin...

Root was rejected by F.R.P

Twrp file doesnt work. It does not extract.
---------- Post added at 06:51 AM ---------- Previous post was at 06:47 AM ----------
I found twrp in another site.
I flashed it using odin3.
But when I went to recovery, after many seconds of work, the showed me the stock recovery.!!!
What's the problem?

Thanks for this wonderful support

Dndndn

yamenmolla77z said:
Root was rejected by F.R.P
Click to expand...
Click to collapse
Unlock OEM lock in developer options then it works

Anyone have Custom Touchwiz rom for this device.?

yamenmolla77z said:
Root was rejected by F.R.P
Click to expand...
Click to collapse
Method 1 :- keep unlock your phone. Don't use any security (pattern,pin,password) wile rooting
Method 2 :- goto settings developer option OEM unlock (turn off it)
Method 3 :- remove your gmail accounts

xxxDOGxxx said:
Method 1 :- keep unlock your phone. Don't use any security (pattern,pin,password) wile rooting
Method 2 :- goto settings developer option OEM unlock (turn off it)
Method 3 :- remove your gmail accounts
Click to expand...
Click to collapse
Method 2 should in fact be, enable OEM UNLOCK not turn it off.

Sm- j200f Root 100 % worked 2017 Trick
wwwyoutube.com/watch?v=GTYl0kX-YIU&t=58s

GhaniBaloch said:
Sm- j200f Root 100 % worked 2017 Trick
wwwyoutube.com/watch?v=GTYl0kX-YIU&t=58s
Click to expand...
Click to collapse
thanks its work for me .

:good:

I flashed this using z3x but it still comes back to stock recovery. OEM AND USB DEBUG ARE ON

Please help me

trecemon said:
Please help me
Click to expand...
Click to collapse
Police, fire or ambulance?

Has someone hear about not be able to enable developer option? no matter how many times I press build number or other options, developer mode or any message are coming... just the android animation.

twrp overwritten
In my case, when installing twrp from stock rom, twrp would get rolled back/overwritten. This explains why:
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
Click to expand...
Click to collapse
So, I unchecked automatic restart in Odin, after the twrp flash completed, I turned the phone off (removed battery), then started the phone in bootloader mode.

please help
i followed all the steps 1 by 1
and the recovery cannot be installed it still the original recovery of my phone
any solutions please . my phone is sm-j200f 5.1.1 Lolipop

root galaxy J2

Related

Working! How to root Tablet Z 10.4.B.0.577 [for UNLOCKED BOOTLOADER only]

Hi friends, I've found a way to root 10.4.B.0.577 android 4.3. Please see the instructions below:
Prerequisite:
1. Download SuperSU flashable at: http://download.chainfire.eu/351/
2. Download extract the boot.img from CM10.2 (attached as well)
3. Download the install fastboot
Steps:
1. Flash the stock ROM of 10.4.B.0.577
2. Put the Tablet Z in fastboot mode (press and hold Vol+ when inserting USB cable)
3. Open a console where the fastboot.exe is located, type
fastboot flash boot boot.img
fastboot reboot
4. Keep pressing Vol+ for a few times it boots up
5. Install SuperSU as normal
6. Power off the device
7. Flash the stock ROM of 10.4.B.0.577 again BUT EXCLUDE the SYSTEM
8. Boot up and you will have the SuperSU installed
My device is unlocked, I'm not sure if this works for locked bootloader as well. Try at your own risk! This method should work for both WIFI and LTE models.
[Files uploaded again, change 001.boot.zip to boot.zip.001 and do the same to 002 unzip]
This method works fine but only with unlocked bootloader as if you are locked you cant flash boot.img from fastboot
pangiotis24 said:
This method works fine but only with unlocked bootloader as if you are locked you cant flash boot.img from fastboot
Click to expand...
Click to collapse
For Locked bootloader, the only working method atm is here http://forum.xda-developers.com/showthread.php?t=2588442, the files needed for all XTZ models ( 351,321,311,312) are there now
Unlock/Root/Relock BL
Hello!! Great job but i have a question!! Can we unlock the bootloader, root with your guide and then relock the bootloader?? It will be rooted after relock?
Attached files ?
Xyam said:
Hi friends, I've found a way to root 10.4.B.0.577 android 4.3. Please see the instructions below:
Prerequisite:
1. Download SuperSU flashable at:
2. Download extract the boot.img from CM10.2 (attached as well)
3. Download the install fastboot
Steps:
1. Flash the stock ROM of 10.4.B.0.577
2. Put the Tablet Z in fastboot mode (press and hold Vol+ when inserting USB cable)
3. Open a console where the fastboot.exe is located, type
fastboot flash boot boot.img
fastboot reboot
4. Keep pressing Vol+ for a few times it boots up
5. Install SuperSU as normal
6. Power off the device
7. Flash the stock ROM of 10.4.B.0.577 again BUT EXCLUDE the SYSTEM
8. Boot up and you will have the SuperSU installed
My device is unlocked, I'm not sure if this works for locked bootloader as well. Try at your own risk! This method should work for both WIFI and LTE models.
Click to expand...
Click to collapse
Sorry, but when you say that the files are attached... attached to where ? can't see them anywhere. thanks in advance.
Installing SuperSU
Xyam said:
fastboot flash boot boot.img
fastboot reboot
4. Keep pressing Vol+ for a few times it boots up
5. Install SuperSU as normal
.
Click to expand...
Click to collapse
Sorry for asking again, I'm new and I'm struggling with this. I tried to follow your steps (my tablet is a SGP312). I followed the steps, but I'm not sure if the ZIP file with SuperSU has to be downloaded to the tablet or what, as in step 5 you say "install SuperSU as normal". Does that mean through play store ? Directly from the file ? If it´s from the file, how ?
When I tried this in my tablet, after flashing boot.img and rebooting, I got a loader screen where I selected add super used, rebooted, and then... the tablet didn´t start again. It gets stuck in the initial booting screen with the color lights passing.
Also, I noticed that after the fastboot reboot, the message that I got in the loader mentioned SGP311, not 312. Any help would be much appreciated. Thanks.
TheRealAlexei said:
Sorry for asking again, I'm new and I'm struggling with this. I tried to follow your steps (my tablet is a SGP312). I followed the steps, but I'm not sure if the ZIP file with SuperSU has to be downloaded to the tablet or what, as in step 5 you say "install SuperSU as normal". Does that mean through play store ? Directly from the file ? If it´s from the file, how ?
When I tried this in my tablet, after flashing boot.img and rebooting, I got a loader screen where I selected add super used, rebooted, and then... the tablet didn´t start again. It gets stuck in the initial booting screen with the color lights passing.
Also, I noticed that after the fastboot reboot, the message that I got in the loader mentioned SGP311, not 312. Any help would be much appreciated. Thanks.
Click to expand...
Click to collapse
you have to flash the SuperSU .zip file via CWM. Do you know how to enter CWM and flash a .zip file?
Vaggelis AsKyE said:
you have to flash the SuperSU .zip file via CWM. Do you know how to enter CWM and flash a .zip file?
Click to expand...
Click to collapse
I think through the fastboot reboot, pressing the vol up. When I tried it before I entered in some kind of boot menu, with one option been "install from zip" or something like that but I didn´t try it.
I tried entering in it again and clicked on factory reset hoping that would do a cfresh install, but I still have the same issue: when powering up the tablet it keeps displaying the intro (the color lines) endlessly
TheRealAlexei said:
I think through the fastboot reboot, pressing the vol up. When I tried it before I entered in some kind of boot menu, with one option been "install from zip" or something like that but I didn´t try it.
I tried entering in it again and clicked on factory reset hoping that would do a cfresh install, but I still have the same issue: when powering up the tablet it keeps displaying the intro (the color lines) endlessly
Click to expand...
Click to collapse
you have to follow the guide!! at the step u flash boot.img and restart the tablet you must press rapidly many times to enter the boot menu. There u chose install from zip and find the file SuperSU.zip (i recommend u to use external sd card to save the SuperSU.zip file). When it finish u go back and find the ''Advanced'' option on the boot menu, u press it and then press power off. Then flash the stock ROM of 10.4.B.0.577 again BUT EXCLUDE the SYSTEM!!!
Vaggelis AsKyE said:
you have to follow the guide!! at the step u flash boot.img and restart the tablet you must press rapidly many times to enter the boot menu. There u chose install from zip and find the file SuperSU.zip (i recommend u to use external sd card to save the SuperSU.zip file). When it finish u go back and find the ''Advanced'' option on the boot menu, u press it and then press power off. Then flash the stock ROM of 10.4.B.0.577 again BUT EXCLUDE the SYSTEM!!!
Click to expand...
Click to collapse
Thanks for your help. Actually I managed to do it pretty much as you said) except the advanced -> power off, which I didn´t know: I assumed that was the way to access the boot menu, and to install Super SU, so I copied the ZIP into my external SDCard, did all the steps, and my tablet came back to life... with SuperSU installed
Lucky me I did a full backup following another guide, because in my desperation to bring my tablet back to life I did a full wipe out / factory reset (which btw didn´t solve anything).
Thanks for your replies and apologies if my questions seemed dumb... It's been many years since I "almost" break a device and lost all the data
TheRealAlexei said:
Thanks for your help. Actually I managed to do it pretty much as you said) except the advanced -> power off, which I didn´t know: I assumed that was the way to access the boot menu, and to install Super SU, so I copied the ZIP into my external SDCard, did all the steps, and my tablet came back to life... with SuperSU installed
Lucky me I did a full backup following another guide, because in my desperation to bring my tablet back to life I did a full wipe out / factory reset (which btw didn´t solve anything).
Thanks for your replies and apologies if my questions seemed dumb... It's been many years since I "almost" break a device and lost all the data
Click to expand...
Click to collapse
Happy you made it!!! :good:
---------- Post added at 01:37 AM ---------- Previous post was at 01:33 AM ----------
TheRealAlexei said:
Thanks for your help. Actually I managed to do it pretty much as you said) except the advanced -> power off, which I didn´t know: I assumed that was the way to access the boot menu, and to install Super SU, so I copied the ZIP into my external SDCard, did all the steps, and my tablet came back to life... with SuperSU installed
Lucky me I did a full backup following another guide, because in my desperation to bring my tablet back to life I did a full wipe out / factory reset (which btw didn´t solve anything).
Thanks for your replies and apologies if my questions seemed dumb... It's been many years since I "almost" break a device and lost all the data
Click to expand...
Click to collapse
I have one question!! Does your tablet lag a little when it is closing? The bar loading at me and for 10 sec tablet freezes and then it close... do u experience the same issue??
TheRealAlexei said:
Sorry, but when you say that the files are attached... attached to where ? can't see them anywhere. thanks in advance.
Click to expand...
Click to collapse
Sorry just realized that XDA did not allow .001 and .002. Please download them again, change 001.boot.zip to boot.zip.001 and do the same to 002 to unzip. Alternatively you can download CM10.2 and extract the boot.img from the zip.
Vaggelis AsKyE said:
Happy you made it!!! :good:
---------- Post added at 01:37 AM ---------- Previous post was at 01:33 AM ----------
I have one question!! Does your tablet lag a little when it is closing? The bar loading at me and for 10 sec tablet freezes and then it close... do u experience the same issue??
Click to expand...
Click to collapse
did you mean shutting down or what? if you are mentioning shutting down, i have the same issue, but not related to rooting. just wait for around 20~30 seconds after you see "shutting down"
Vaggelis AsKyE said:
Hello!! Great job but i have a question!! Can we unlock the bootloader, root with your guide and then relock the bootloader?? It will be rooted after relock?
Click to expand...
Click to collapse
i was thinking the same idea. but will only do that if i have a hardware issue and need repair at sony repair center
[/COLOR]
Xyam said:
did you mean shutting down or what? if you are mentioning shutting down, i have the same issue, but not related to rooting. just wait for around 20~30 seconds after you see "shutting down"
Click to expand...
Click to collapse
I chose shut down from the menu and the bar is loading. After a while tablet freezes and after 10-15 seconds tablet goes off
ok so
i have SGP311 with 10.4.B.0.577
i must have custom recovery to instal UPDATE-SuperSU-v1.86.zip or i can instal it in stock ?
Mr0czny said:
ok so
i have SGP311 with 10.4.B.0.577
i must have custom recovery to instal UPDATE-SuperSU-v1.86.zip or i can instal it in stock ?
Click to expand...
Click to collapse
if u flash boot.img with flashtool u will get custom recovery (CWM) installed!!!
Hello,
I have ever update my XTZ on 4.3 JB. Do you think it is necessary to "flashboot" again the new firmware (Step 7) after install of Supersu.zip ?
If yes, can you explain why ?
Thanks for your help
strung3 said:
Hello,
I have ever update my XTZ on 4.3 JB. Do you think it is necessary to "flashboot" again the new firmware (Step 7) after install of Supersu.zip ?
If yes, can you explain why ?
Thanks for your help
Click to expand...
Click to collapse
Hello,
At this guide u flash boot.img from CM10.2 ROM (Step 3). At the end you have to reflash the new firmware so the boot, kernel etc change, because if u stay with CM10.2 u will get bootloops!!
Vaggelis AsKyE said:
If you unlock bootloader you can't use music info download and Bravia engine also. Although, I unlocked my bootloader and I followed your guide rooting successfully my Xperia Tablet Z SGP311 with .577 firmware. I used the latest flashtool to unlock the bootloader!!
When I finished all the process of rooting the music info didn't work so I tried to relock the bootloader with flashtool!! I did and guess what!! I have root with locked bootloader, stock firmware and working music info download!!!
You can make a guide that everyone with his own ftf can root his device just unlocking and locking the bootloader!!
The process must be done strictly with flashtool cause it keeps the keys for the relock!!!
Click to expand...
Click to collapse
Question: if you unlock the bootloader with Sony tools do you loose the music download info and the Bravia engine ????????

QPST flashing + VibeUI 3.1 S272 ROM + Unlock BL + TWRP + SuperSU + Region change

Thanks to:
Easyloy for Recovery
Ampher for idea
rgusev for bring to idea life
alximiktik for bring needed files
Flashing ROM with QFIL:
Getting ready:
Download and install on your PC:
vcredist_x86.zip
QPST_2.7.422.ZIP
Qualcomm_USBDriver_2.1.0.5.zip or Qualcomm_USB_Drivers.zip
Turn off your Vibe P1.
Hold Volume Up key and plug in USB cable conected to PC.
Open Device Manager on PC (press win+r and type "mmc devmgmt.msc" without quotes) then seek Qualcomm Lenovo HS-USB QDLoader 9008 in COM & LPT ports.
If you can see Qualcomm Lenovo HS-USB QDLoader 9008, you are ready to flash!
Flashing ROM:
Downoad QFIL ROM ( for exampe one of this: https://yadi.sk/d/hY3kNWJGrnpCU?ncrnd=5389 ) and unpack it.
Find QFIL in your Stary menu and launch it.
Select Qualcomm Lenovo HS-USB QDLoader 9008 (COM*) port by using "Select Port..." button
Click "Browse..." near "Programmer patch" field and select prog_emmc_firehose_89**.mbn file from the ROM's folder.
Click "Load XML…" and select "rawprogram0*.xml" file and then select "patch0.xml" file.
Press "Download" button and wait untill it ends (reboot or "ready" message).
If "ready" message appears and device does not go to reboot, then hold Volume UP + Power buttons for ~12 sec.
Flash unlocked bootloader & recovery:
Read "Flashing ROM" manual
Download P1a42_S272_160506_ROW_QPST (+uBL +Recovery + Root +region ) and unpack it.
If you have different ROM installed, then flash S272 (by selecting rawprogram0.xml) otherwise go to the next step.
Flash unlocked bootloader (by selecting rawprogram_unlock.xml) and reboot into ROM.
Open developers options and select "OEM unlock".
Also you can check Bootloader status by rebooting to bootloader and typing "fastboot oem device-info" (without quotes), if it still locked, then type "fastboot oem unlock-go" (without quotes).
After (and only then) bootloader will be unlocked you can flash custom recovery by one of following ways: by QFIL, selecting rawprogram_twrp.xml or bootloader (fastboot flash recovery recovery_twrp.img).
When recovery is flashed, you can get into it by holding Volume UP + Volume DOWN keys while booting or using "adb reboot recovery" console command (without quotes).
Advanced flash unlocked bootloader & recovery:
BootLoader unlock:
Download file: emmc_appsboot.zip
Unzip.
Add listed files from QFIL-ROM to the same folder:
prog_emmc_firehose_8936.mbn
gpt_main0.bin
gpt_backup0.bin
rawprogram0.xml
patch0.xml
Run rawprogram0-fix.bat
Flash using QFIL, by selecting rawprogram0_aboot.xml.
Sometimes you need to do extra staff:
Open developers options and turn on:
ОЕМ unlock
USB debugging
Download: unlock-bl.zip
Unzip.
Plug USB cable and run unlock-bl.bat
wait until "Ready!" or the window disapire
Ready!
Custom recovery (TWRP):
Method one, fastboot:
Download: TWRP-FB.ZIP
Unzip.
Run rec-inst.bat
Method two adb(Root needed):
Download: TWRP.ZIP
Unzip.
Run rec-inst.bat
Root (SuperSU):
If you suscesfully unlocked bootloader and flashed recovery then you can:
download latest SuperSU
Put it to you sdcard (do not unpack it!)
Reboot to recovery and install ZIP.
Region:
To find out which region is set dial ####5993# or ####59930# using stock dialer
To change region:
Put easyimage.zip to root of SDCard
Dial ####682# using stock dialer
To get back to stock (for updating, etc.):
Flash stock ROM with QFIL.
You can use s272 listed above, but you also need to download, unzip and change rawprogram0.xml file before flashing to get stock recovery!
Is this the chinese version or the ROW? As far I know VIBEUI is for China.
If it's ROW I'll try it.
Teddy. said:
Is this the chinese version or the ROW? As far I know VIBEUI is for China.
If it's ROW I'll try it.
Click to expand...
Click to collapse
It's ROW! ROW also based on Vibe UI, but china ROMs has newer versions.
Any way to not install TWRP as I don't need it?Also I'll flash it when I get home.
Sent from my Lenovo P1a42 using XDA-Developers mobile app
Teddy. said:
Any way to not install TWRP as I don't need it?Also I'll flash it when I get home.
Click to expand...
Click to collapse
You can't install root on 6.0 without TWRP, but if you don't need it, woy also don't need to unlock BL, so you cat just flash ctock ROM.
Do I need to wipe my data or not? (I'll still get a backup, but ya know, just to get a titanium backup done.
Teddy. said:
Do I need to wipe my data or not? (I'll still get a backup, but ya know, just to get a titanium backup done.
Click to expand...
Click to collapse
You don't need to do any backup. But if you come to 6.0 from 5.1, you better do!
I flashed ROM everything went good, next thing I flash twrp, works, installed supersu and now I'm left with a phone without OS. I cannot get into download mode using the volume up + usb method and also I can get into the recovery. What can I do?
EDIT: After about 26 hours of just non-stop searching I finally got it flashed again.It was a painful experience but if somebody wipes the /system partition, don't hesistate to pm to help you come back on track.
Thanks for the great tutorial !
What is the difference between flashing unlocked bootloader & recovery: the easy way and advanced ?
Or there is no and both mkethods lead to same end ?
pabgar said:
What is the difference between flashing unlocked bootloader & recovery: the easy way and advanced ?
Or there is no and both mkethods lead to same end ?
Click to expand...
Click to collapse
They are lead to the same end but using different methods: manual, auto, with root or without, etc.
Can i root it without unlocking bootloader???
deadman220 said:
Can i root it without unlocking bootloader???
Click to expand...
Click to collapse
You can root only 5.1. Unlocked bootloader is the only way for 6.0 ROW ROMs.
Is there a way to lock it back or it's permanent?
deadman220 said:
Is there a way to lock it back or it's permanent?
Click to expand...
Click to collapse
You are not unlocking bootloader, you just flashing already unlocked one. So you can just flash it back!
I must say that after Marshmallow update, Vibe P1 is the best smartphone I had ever
Smooth working, great battery life, no problems at all.
After flashing TWRP and applying super su I am struck at Lenovo logo tried clearing cache and dalvik cache too still same
Is fingerpint unlock working on MM after root ?
GPSSlovakia said:
Is fingerpint unlock working on MM after root ?
Click to expand...
Click to collapse
Yes! And I'm using it on rooted ROM and with unlocked BL. But there is one little caveat: you can't unlock device with your finger for first time after reboot (it is MM feature). But after first time it working fine!
Thx for this awesome work .. ur amazing bro
---------- Post added at 11:00 AM ---------- Previous post was at 10:32 AM ----------
I want to ask about how to install updates after recovery .. i can't install updates right now after recovery
MoemenMoemen said:
I want to ask about how to install updates after recovery .. i can't install updates right now after recovery
Click to expand...
Click to collapse
You need to go back to full stock, it's the only way to get OTA.
Please look at "To get back to stock (for updating, etc.):" at first post (just updated it)!

Bootloader unlock and custom recovery

Hello guys. Before you proceed, I'll let you know that I don't own this device. Theoretically these steps should work.
1. Unlock bootloader
Go to settings>about, tap build number 7 times. This enables developer options. Here, select allow OEM unlock and USB debugging. Reboot in fastboot mode (power+vol down). Then go to this site
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
And follow the instructions. They are pretty straightforward.
2. Install TWRP
Go to
http://lenovo-forums.ru/topic/22535-moto-m-kastomnoe-rekaveri-twrp-otklyuchenie-shifrovaniya/
And download TWRP_Moto_M.img and boot_M_S124.img
In fastboot mode type fastboot flash boot <the name of the latter file image, just drag it into the CMD window from adb and fastboot folder> then type fastboot flash recovery <TWRP file>
Then type fastboot boot <TWRP file> and voila, you are booted in custom recovery.
IMPORTANT: FOR ALL THAT IS GOOD AND FAIR, MAKE A BACKUP OF EVERY FOLDER. IF YOU MESS UP SOMEWHERE, I WON'T BE ABLE TO HELP YOU!!
Now you may proceed to rooting procedures.
Tell me if this works. And before asking any questions in this thread, use the DAMN INTERNET; Google or Bing or Yahoo, whatever floats your boat
Reserved
If you are unsure of any step, and Google does not help, ask it in this thread and wait for my reply
Hi can u pls tell how to do this in XT 1663... Tried to enter bootloader mode but no luck
nanchilanto said:
Hi can u pls tell how to do this in XT 1663... Tried to enter bootloader mode but no luck
Click to expand...
Click to collapse
Search in google `lenovo forum 772 moto m`
jcanilkumarjc said:
Search in google `lenovo forum 772 moto m`
Click to expand...
Click to collapse
I tried tat but it boots normally only , OEM unlocking is switched on too , USB debugging is also turned on. Will give a shot connecting thrh PC . Anyways tnx for the response
Can we enable Mediatek Clear Motion feature in Moto M XT1663 ? Please kindly help me
Thanks!
If someone has been able to root the device successfully, do share with me the system and boot backup made in twrp. I will try bringing up a ROM.
For unlocking just enable it in developers and then
fastboot oem unlock
Guys, I'm I did a ****ty thing and my M got locked up. I did 'fastboot oem lock'. It said press volume up to lock/ volume down to cancel, pressed volume up. It said lock success. I can't even open recovery mode/ fastboot mode to flash something. Please help!
It keeps on rebooting after the 'Lenovo' logo.
sreenivas134 said:
Guys, I did a ****ty thing and my M got locked up. I did 'fastboot oem lock'. It said press volume up to lock/ volume down to cancel, pressed volume up. It said lock success. I can't even open recovery mode/ fastboot mode to flash something. Please help!
It keeps on rebooting after the 'Lenovo' logo.
Click to expand...
Click to collapse
I've flashed the stock ROM using sp flash tool. It has resolved the issue. Thanks...
---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------
sreenivas134 said:
Guys, I did a ****ty thing and my M got locked up. I did 'fastboot oem lock'. It said press volume up to lock/ volume down to cancel, pressed volume up. It said lock success. I can't even open recovery mode/ fastboot mode to flash something. Please help!
It keeps on rebooting after the 'Lenovo' logo.
Click to expand...
Click to collapse
I've flashed stock ROM using sp flash tool. It has resolved the issue. Thanks...
sreenivas134 said:
I've flashed the stock ROM using sp flash tool. It has resolved the issue. Thanks...
---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------
I've flashed stock ROM using sp flash tool. It has resolved the issue. Thanks...
Click to expand...
Click to collapse
Can you pls gimme the download link and the steps to flash the stock firmware ? I updated to nougat and flashed the wrong version of boot.IMG and the phone stays at your phone will reboot in 5 seconds
nanchilanto said:
Can you pls gimme the download link and the steps to flash the stock firmware ? I updated to nougat and flashed the wrong version of boot.IMG and the phone stays at your phone will reboot in 5 seconds
Click to expand...
Click to collapse
You can find the stock firmware here!
https://mega.nz/#!fcoS2SII!ipO0YBudxaTnF7XVdqjEMwByJmn95p-K4A2mHrY-DvE
sreenivas134 said:
You can find the stock firmware here!
https://mega.nz/#!fcoS2SII!ipO0YBudxaTnF7XVdqjEMwByJmn95p-K4A2mHrY-DvE
Click to expand...
Click to collapse
Password ?????????????????????
Moto M - Unlock bootloader
mrinmaydhar said:
Hello guys. Before you proceed, I'll let you know that I don't own this device. Theoretically these steps should work.
1. Unlock bootloader
Go to settings>about, tap build number 7 times. This enables developer options. Here, select allow OEM unlock and USB debugging. Reboot in fastboot mode (power+vol down). Then go to this site
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
And follow the instructions. They are pretty straightforward
Click to expand...
Click to collapse
The wrong way to go.
Follow these steps:
In Windows command prompt write adb reboot bootloader. The device will reboot into fastboot.
The following command - fastboot oem unlock. You will be prompted on the phone screen, volume up to confirm, down to refuse. Who decided to change his mind
I waited a few seconds and at the command prompt, I got the answer - OK.
Disconnect the cable from the phone and hold the power button reboot the phone and put aside. He will restart another 2 times, will go to the drain recovery and erase all data from your phone. Therefore, I recommend to make a backup.
You just have to wait to boot the phone. approximately 5-7 minutes.
The bootloader is unlocked.
BOPOH'Ok said:
The wrong way to go.
Click to expand...
Click to collapse
So what's wrong with what I posted? Just wanted to know, so that I can update the OP.
mrinmaydhar said:
So what's wrong with what I posted? Just wanted to know, so that I can update the OP.
Click to expand...
Click to collapse
That's just the point, that you give the wrong information.
You give a link to the unlocking of MOTO devices on the Qualcomm processor, and that method is not suitable for MTK.
I also laid out 100% working instructions.
problem
bro i am unlocking the bootloader it boots to bootloader then it asks for yes to unlocking the bootloader in phone it says volume up to yes or volume down to NO i press volume but it automatically cancelled what to do man

----- Root Moto M S356 Android 7 -------

Hi guys,
I have started this thread so that you guys can root your moto M XT_1663_S356 andriod (7.0)
First of all i'm not responsible if your phone bricks burns or dies.
A big thanks to VVizard from lenovo RU forum with out him, it was not possible.
Thanks to Chainfire for the SuperSu.zip
To check Build number go to Settings -> About Phone-> Build number
Note -
1 - This only works for Moto M which is having build number XT1663_S356_170621_ROW. If you are on any other build number then please don't proceed.
2 - All the files are attached
3 - Install all the Motoral drivers and Minimal and adb folder.
4 - Following link contains all files needed to root the phone.
https://drive.google.com/file/d/0B3eDb0dWRU-uUjk4ZS1tdFpRR1U/view?usp=sharing
Rooting Moto M phone is divided into 3 Parts
1) Unlocking BootLoader
2) Flashing TWRP
3) Flashing SuperSu.zip
unlocking the bootloader
Note - This will wipe out all the data hence take a backup before unlocking boot loader
1 - First of all enable the Developer Option, To Enable the Developer Option, Go to your Settings -> About Phone-> Now Tap on the Build Number 7-8 Times until you see a toast message “Developer option enabled"
2 - Go back to settings -> Now you need to enable the OEM Unlock by going to Settings -> Developer Option and Enable OEM Unlock and USB Debugging
3 - Download and Extract the Downloaded ADB fastboot Zip file on your PC
4 - Now connect your phone to Computer using USB Cable.
5 - When you connect your Phone to Computer, please wait until all the drivers get installed.
6 - In your ADB fastboot folder open a command prompt window by pressing Shift Key + Right Mouse Click
7 - Now type the command in your command window
adb devices
If you see a pop up to allow USB Debugging on your phone, Click OK
8 - Now type the command below to reboot your phone to bootloader
adb reboot bootloader
9 - Once your phone reboot into bootloader, then type the command below to make sure fastboot drivers are installed properly.
fastboot devices
10 - This command will list the connected devices. If your phone’s serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly.
11 - If your phone is listed then type in the following command in CMD.
fastboot oem unlock
12 - Check your phone you would have written"do you really want to unloock bootloader ? "(something like this). Just select yes using volume up and down button and press power button to confirm it .
13 - Congrats your bootloader is unlocked
Install TWRP
Note - You should have your bootloader unlocked before proceeding.
Copy the boot_XT1663_356.img and TWRP_Moto_M.img to Minimal adb folder
1 - First of all enable the Developer Option, To Enable the Developer Option, Go to your Settings -> About Phone-> Now Tap on the Build Number 7-8 Times until you see a toast message “Developer option enabled"
2 - Go back to settings -> Now you need to enable the OEM Unlock by going to Settings -> Developer Option and Enable OEM Unlock and USB Debugging
3 - Download and Extract the Downloaded ADB fastboot Zip file on your PC
4 - Now connect your phone to Computer using USB Cable.
5 - When you connect your Phone to Computer, please wait until all the drivers get installed.
6 - In your ADB fastboot folder open a command prompt window by pressing Shift Key + Right Mouse Click
7 - Now type the command in your command window
adb devices
If you see a pop up to allow USB Debugging on your phone, Click OK
8 - Now type the command below to reboot your phone to bootloader
adb reboot bootloader
9 - Once your phone reboot into bootloader, then type the command below to make sure fastboot drivers are installed properly.
fastboot devices
10 - This command will list the connected devices. If your phone’s serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly.
11 - If your phone is listed then type in the following command in CMD.
fastboot flash boot boot_XT1663_356.img
12 - To flash the recovery, Type the command
fastboot flash recovery TWRP_Moto_M.img
13 - Congrats! you have successfully installed TWRP.
Rooting Phone.
Note -
You should have your bootloader unlocked.
You should have TWRP installed.
You should have supersu.zip copied in your phone.
1 - Switch off your phone. Now press volume down + power button till phone vibrates. Once it vibrates release the power button you should see android logo.
2 - Now with the help of volume up and down button select 'Recovery mode' and press power button.
3 - TWRP should start up.
4 - Select 'Allow Modification' and proceed.
5 - Select 'Install' and then select the 'SuperSu.zip' file and flash it.
6 -Restart the Phone.
7 - Congrats! your phone is rooted.
Note -
I have tried all this steps and have successfully rooted my phone i'm not responsible for any damage.
I have not build the boot_M_S365/ img file this is done by VVizard and really very thank full to him.
I am making a video on this!
Method Issues
Bro, I have faced a few problems since I have started
i) When I type in adb devices it shows my phone but unauthorized
so I have to allow it as you said but only after a reboot and doing the process again will it show authorized
ii) after entering adb reboot bootloader it doesnt show bootloader locked but straight up fastboot mode
iii) then when i enter fastboot oem unlock it shows asks me if I want to unlock, I press on volume up. Then it again asks me some other thing and I hold the volume up down and power together. Next I reboot into my phone. All data erased. I setup it again.
Now, does this mean my bootloader is unlocked? When I reboot it shows something on the middle right- unlocked..
So does this mean I continue and install twrp now? or what?
manandua01 said:
Thanks bro, I will give you credits ^_^
Click to expand...
Click to collapse
Cool!
manandua01 said:
Bro, I have faced a few problems since I have started
i) When I type in adb devices it shows my phone but unauthorized
so I have to allow it as you said but only after a reboot and doing the process again will it show authorized
ii) after entering adb reboot bootloader it doesnt show bootloader locked but straight up fastboot mode
iii) then when i enter fastboot oem unlock it shows asks me if I want to unlock, I press on volume up. Then it again asks me some other thing and I hold the volume up down and power together. Next I reboot into my phone. All data erased. I setup it again.
Now, does this mean my bootloader is unlocked? When I reboot it shows something on the middle right- unlocked..
So does this mean I continue and install twrp now? or what?
Click to expand...
Click to collapse
1 - It doen't matter if its authorized or not..
2 - yes! thats correct it directly takes you to fastboot mode it use to show bootloader locked for old Moto phones).I 'll make changes in the thread.
Yes! your bootloader is unlocked successfully..
if you see something like 'Your devices is unlocked and cant be trusted' on the left hand side during the moto logo.
TWRP Recovery
akash.mahadeshwar said:
1 - It doen't matter if its authorized or not..
2 - yes! thats correct it directly takes you to fastboot mode it use to show bootloader locked for old Moto phones).I 'll make changes in the thread.
Yes! your bootloader is unlocked successfully..
if you see something like 'Your devices is unlocked and cant be trusted' on the left hand side during the moto logo.
Click to expand...
Click to collapse
Thanks for your help Y_Y
Hey bro, I am not about to install the recovery.
Before this may I ask why we need to flash boot_XT1663_356.img ?
Also, isn't this command wrong? fastboot flash boot boot_XT1663_356.img
It should be fastboot flash boot boot_XT1663_356.img
Without the boot twice ryt?
Also, will the data be erased after installing TWRP recovery or not? If not, will it be erased after installing the SuperSU?
manandua01 said:
Thanks for your help Y_Y
Hey bro, I am not about to install the recovery.
Before this may I ask why we need to flash boot_XT1663_356.img ?
Also, isn't this command wrong? fastboot flash boot boot_XT1663_356.img
It should be fastboot flash boot boot_XT1663_356.img
Without the boot twice ryt?
Also, will the data be erased after installing TWRP recovery or not? If not, will it be erased after installing the SuperSU?
Click to expand...
Click to collapse
1 - It is the Image file which is specifically build for S356 (build number) hence it is necessary to flash it before flashing TWRP. If you don't flash boot image then you might face boot loop issues and hard brick your phone.
2 - The correct command is 'fastboot flash boot boot_XT1663_356.img' . the first boot is to recognize cmd that we are flashing a boot image and the second boot is the name of image file.
3 - Flashing TWRP and Super SU won't erase your data.
akash.mahadeshwar said:
1 - It is the Image file which is specifically build for S356 (build number) hence it is necessary to flash it before flashing TWRP. If you don't flash boot image then you might face boot loop issues and hard brick your phone.
2 - The correct command is 'fastboot flash boot boot_XT1663_356.img' . the first boot is to recognize cmd that we are flashing a boot image and the second boot is the name of image file.
3 - Flashing TWRP and Super SU won't erase your data.
Click to expand...
Click to collapse
I installed TWRP unlocked bootloader copied SuperSU- and was abt to root. With volume up and down I came to Factory Mode
It said Factory Mode
I pressed on power button- now it shows something in Japenese or Chinese what should I DO? I am scared as hell bro
ITS DOING SOME WEIRD STUFF NOW- GPS, SIM etc I have no clue .-.
UPDATE: Rebooting phone- Back to my home screen now. Heres what happened
(uploading video will post link here soon)
manandua01 said:
I installed TWRP unlocked bootloader copied SuperSU- and was abt to root. With volume up and down I came to Factory Mode
It said Factory Mode
I pressed on power button- now it shows something in Japenese or Chinese what should I DO? I am scared as hell bro
ITS DOING SOME WEIRD STUFF NOW- GPS, SIM etc I have no clue .-.
UPDATE: Rebooting phone- Back to my home screen now. Heres what happened
(uploading video will post link here soon)
Click to expand...
Click to collapse
As i have mentioned in my thread that you need to select recovery mode and not factory mode
Please select recovery mode and you should b able to see twrp
Note - to select recovery mode press volum up n down button till it shows 'recovery mode ' in the andrioid logo screen
akash.mahadeshwar said:
1 - It is the Image file which is specifically build for S356 (build number) hence it is necessary to flash it before flashing TWRP. If you don't flash boot image then you might face boot loop issues and hard brick your phone.
2 - The correct command is 'fastboot flash boot boot_XT1663_356.img' . the first boot is to recognize cmd that we are flashing a boot image and the second boot is the name of image file.
3 - Flashing TWRP and Super SU won't erase your data.
Click to expand...
Click to collapse
akash.mahadeshwar said:
As i have mentioned in my thread that you need to select recovery mode and not factory mode
Please select recovery mode and you should b able to see twrp
Note - to select recovery mode press volum up n down button till it shows 'recovery mode ' in the andrioid logo screen
Click to expand...
Click to collapse
Bro, I opened Recovery Mode, but now its asking for a password. It shows temp on the top. You from India, ryt? Could you give me your number? or maybe a skype id?
EDIT: Here's what was on my cmd after flashing the recovery http://prntscr.com/ft3t1l
manandua01 said:
Bro, I opened Recovery Mode, but now its asking for a password. It shows temp on the top. You from India, ryt? Could you give me your number? or maybe a skype id?
Click to expand...
Click to collapse
Go ahead ignore the password part.. it will only appear first time.. you should have a option to go ahead..
akash.mahadeshwar said:
As i have mentioned in my thread that you need to select recovery mode and not factory mode
Please select recovery mode and you should b able to see twrp
Note - to select recovery mode press volum up n down button till it shows 'recovery mode ' in the andrioid logo screen
Click to expand...
Click to collapse
Please reply asap
---------- Post added at 08:57 AM ---------- Previous post was at 08:56 AM ----------
akash.mahadeshwar said:
Go ahead ignore the password part.. it will only appear first time.. you should have a option to go ahead..
Click to expand...
Click to collapse
Ok trying now
---------- Post added at 09:21 AM ---------- Previous post was at 08:57 AM ----------
akash.mahadeshwar said:
Go ahead ignore the password part.. it will only appear first time.. you should have a option to go ahead..
Click to expand...
Click to collapse
Yo bro, I can only view External (sd card) storage. Not internal storage! What to do now? As I have SuperSU in Internal Storage
---------- Post added at 09:29 AM ---------- Previous post was at 09:21 AM ----------
Ok, I have rooted the phone successfully. Had to copy the SuperSU file to SD Card though 6-6
manandua01 said:
Please reply asap
---------- Post added at 08:57 AM ---------- Previous post was at 08:56 AM ----------
Ok trying now
---------- Post added at 09:21 AM ---------- Previous post was at 08:57 AM ----------
Yo bro, I can only view External (sd card) storage. Not internal storage! What to do now? As I have SuperSU in Internal Storage
---------- Post added at 09:29 AM ---------- Previous post was at 09:21 AM ----------
Ok, I have rooted the phone successfully. Had to copy the SuperSU file to SD Card though 6-6
Click to expand...
Click to collapse
Ext_sdcard folder is ur memory card folder and sdcard folder is the internal memory folder in twrp
BAM!
---------- Post added at 01:14 PM ---------- Previous post was at 01:12 PM ----------
I really thank you for this great effort
all things went good but I had a problem that I didn't find the SuperSU-v2.82-201705271822.zip although I am sure that I put it in the internal memory
please help
Hi there,
After I unlocked the bootloader, pushed the twrp recovery successfully, got stuck in the recovery mod each time I reboot the phone so can't boot the stock rom. Done wipe factory reset and format data and still nothing changed. Any ideas?
Thanks in advance OP
Edit: Just solved issue by flashing stock firmware
pdf5 said:
Hi there,
After I unlocked the bootloader, pushed the twrp recovery successfully, got stuck in the recovery mod each time I reboot the phone so can't boot the stock rom. Done wipe factory reset and format data and still nothing changed. Any ideas?
Thanks in advance OP
Edit: Just solved issue by flashing stock firmware
Click to expand...
Click to collapse
May I have the firmware file, just in case? Is it ok if firmware country code doesn't match? Do you get imei?
any idea? when image for new build will be released?
rajesh280392 said:
any idea? when image for new build will be released?
Click to expand...
Click to collapse
Well, yes ... The new boot.img for removing encryption. Especially for post-OTA updating to XT1663_S364_170803_ROW.
boot_XT1663_364.img
Does anyone know how to keep your Moto M rooted even after updating to the new security update of 7.0? Do we just flash the new .img file or what? Kinda newb here

[HOWTO]/[ROM] [UNOFFCIAL] How to Flash Lineage OS 19.0

Here is a quick how-to guide to flash LineageOS 19.0 to the A51​
Disclaimer: I am not the maintainer of any of the files I link to here. I just wanted to share my experience to make the process of Flashing los19 to the a51 easier for others.
Prerequisites:
1. Unlocked Bootloader
This step is crucial. You need to unlock the bootloader of the A51 before trying any of this. If not, you are likely to brick your device.​1.1. Unlock developer mode by standard procedure: Settings > Info > Tab 7 times on build number​1.2. Enable USB debugging in Developer Options​1.3. Enable OEM unlocking in Developer Options -> To see OEM unlock option I needed to connect to my WIFI, then set the phone date manually to March 7th 2019. Only then the OEM unlock option became visible in Developer Options. Yes, this is super dumb and inconvenient...​1.4 After triggering OEM unlock option shutdown your phone.​1.5 Enter Download mode by: Pressing Volume+ and Volume - while at the same time plugging in the USB cable that is already in your PC.​1.6. To finally unlock bootloader, you will see a green screen on which you need to press Vol + for some time. THIS WILL VOID YOUR WARRANTY. It will also erase all data on your phone!​1.7 After reboot repeat steps 1.1. - 1.5. again. This time you can actually enter download mode by pressing Vol + shortly on the green screen.​
2. Flash Twrp
You can now flash TWRP via Odin. The TWRP img I used is here: https://www.mediafire.com/file/0h14t0263oujhna/TWRP-11-3.6.1-a51-20220321-1406-hotfix.tar/file. I flashed it as AP. Make sure to uncheck Auto reboot before flashing.​When flashing is complete hold Vol - and Power until reboot.​Immediately when rebooting hold Vol + and Power until Samsung logo appears, then let Power go but hold Vol + to enter TWRP.​
3. Actual Flashing:
3.1. Necessary Files:​Make sure to load all files necessary to your SD before flashing:​ChonDoe_Flasher, Disable_Dm_Verity, Multidisabler, LOS-Imagefile, Magisk(optional)​​As for the LOS Image I used this file here, which already includes gapps:​lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img​​If you don't want gapps pick an image that says "BvS" instead of "bgs"​​3.2. You need to move your LOS-Image to the same folder as ChonDoe_Flasher and rename the file to "system.img"​
3.3 Flashing Sequence:
In TWRP Follow this sequence:
3.3.1. Wipe data, dalvik, cache​3.3.2. flash disable_dm_verity​3.3.3. flash multidisabler​3.3.4. Wipe internal storage (Backup might be advisable, if you didn't format data anyways)​3.3.5. reboot recovery​3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg​3.3.7. Wipe data​3.3.8. Reboot​
That should be it. First startup takes some time, your phone should boot to LOS 19.
4. Anger Management
If you softbrick your device you can try to go back to stock rom by accessing download mode and flashing it via Odin. Will take some fiddling around with the button combinations.
If you hardbrick your device don't hold me responsible and good luck to you!
Thanks to
Kyau Sana, Vadim Kupriyanov, Knoyan GTR-X and Sara Lins and other, from the telegram-group, who helped me figure out the process.
Reserved 1
Reserved 2
Lineage 19 flash worked but after flashing my TWRP recovery bootloops (flashing twrp logo).
TWRP that loops is twrp-a51-3.5.0_10-1_ianmacd.
Do you have a working TWRP for this version of Lineage ?
Tried TWRP v3.6.1 A51 tree but it doesn't work and boots into download mode with "DT Entry not found / DT Load Failed / VB Meta sign errors"
exault said:
Lineage 19 flash worked but after flashing my TWRP recovery bootloops (flashing twrp logo).
TWRP that loops is twrp-a51-3.5.0_10-1_ianmacd.
Do you have a working TWRP for this version of Lineage ?
Tried TWRP v3.6.1 A51 tree but it doesn't work and boots into download mode with "DT Entry not found / DT Load Failed / VB Meta sign errors"
Click to expand...
Click to collapse
I added a download link to the TWRP img I used to my initial post. Let me know if it works.
cheers
DerTopher said:
I added a download link to the TWRP img I used to my initial post. Let me know if it works.
cheers
Click to expand...
Click to collapse
Nope TWRP does not work. When using the one you linked (as all other 3.6.1 ones) it just jumps back to download mode with DT Entry not found & VBMeta not signed errors.
ALL sensors ok ?
Fingerprint ok ? In this ROM
exault said:
Nope TWRP does not work. When using the one you linked (as all other 3.6.1 ones) it just jumps back to download mode with DT Entry not found & VBMeta not signed errors.
Click to expand...
Click to collapse
Sorry to hear mate. Unfortunately I cannot hell you solve this issue. There is a telegram channel for custom roms on the A51 with many motivated people. One of them might have the answer you need!
See: https://t.me/samsunga51
If you find it, please post it, so others can profit from it. With your agreement I would also like to add info about the solution - should you find it - to my initial post.
hacker812c said:
ALL sensors ok ?
Fingerprint ok ? In this ROM
Click to expand...
Click to collapse
Don't know about fingerprint as I do not want to provide biometric data to my phone. Maybe someone else using the ROM can answer this; Or you, if you decide to flash it post your results.
Apart from that I have not had any problems with the ROM apart from the following:
-The resulotion of the native lineage camera app is not satisfactory. When I find an app that works better, I'll let you know.
- Restarting the phone after empty battery requires a soft reset sometimes (power+vol -)
-> A solution to this problem might be given in this post. Will try it later.
Thank you, @DerTopher , but unfortunately the link to your LOS file does not work any more. How do I get the file now?
THIS GUIDE ONLY WORKS ON ANDROID 12!!!
sunnyy15 said:
I have concluded all my experiments, and now I can confirm that the "twrp-a51-3.5.0_10-1_ianmacd.tar" on this website only works for Android 10 as instructed by Admin. This does not for Android 11. For Android 11 you have to flash a different file called "Twrp+vbmeta_A11.tar". Details are given in the following link: https://forum.xda-developers.com/t/...-sm-a515f-one-ui-3-0-dub1-android-11.4231543/
Click to expand...
Click to collapse
@DerTopher , please change your OP to specify that this guide ONLY works for Android 12. I just bootlooped my device when trying this on Android 10 stock firmware
See this excelent post for more info: https://forum.xda-developers.com/t/...-ui-2-5-ctj1-android-10.4213443/post-84750027
Anyone knows how to remove the native SU, so that magisk doesn't complain about "abnormal state" su file ?
when i flash something in twrp i have an error failed to mount '/odm4 no such file or directory Can some help me please i am stuck here
DerTopher said:
Here is a quick how-to guide to flash LineageOS 19.0 to the A51​
Disclaimer: I am not the maintainer of any of the files I link to here. I just wanted to share my experience to make the process of Flashing los19 to the a51 easier for others.
Prerequisites:
1. Unlocked Bootloader
This step is crucial. You need to unlock the bootloader of the A51 before trying any of this. If not, you are likely to brick your device.​1.1. Unlock developer mode by standard procedure: Settings > Info > Tab 7 times on build number​1.2. Enable USB debugging in Developer Options​1.3. Enable OEM unlocking in Developer Options -> To see OEM unlock option I needed to connect to my WIFI, then set the phone date manually to March 7th 2019. Only then the OEM unlock option became visible in Developer Options. Yes, this is super dumb and inconvenient...​1.4 After triggering OEM unlock option shutdown your phone.​1.5 Enter Download mode by: Pressing Volume+ and Volume - while at the same time plugging in the USB cable that is already in your PC.​1.6. To finally unlock bootloader, you will see a green screen on which you need to press Vol + for some time. THIS WILL VOID YOUR WARRANTY. It will also erase all data on your phone!​1.7 After reboot repeat steps 1.1. - 1.5. again. This time you can actually enter download mode by pressing Vol + shortly on the green screen.​
2. Flash Twrp
You can now flash TWRP via Odin. The TWRP img I used is here: https://www.mediafire.com/file/0h14t0263oujhna/TWRP-11-3.6.1-a51-20220321-1406-hotfix.tar/file. I flashed it as AP. Make sure to uncheck Auto reboot before flashing.​When flashing is complete hold Vol - and Power until reboot.​Immediately when rebooting hold Vol + and Power until Samsung logo appears, then let Power go but hold Vol + to enter TWRP.​
3. Actual Flashing:
3.1. Necessary Files:​Make sure to load all files necessary to your SD before flashing:​ChonDoe_Flasher, Disable_Dm_Verity, Multidisabler, LOS-Imagefile, Magisk(optional)​​As for the LOS Image I used this file here, which already includes gapps:​lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img​​If you don't want gapps pick an image that says "BvS" instead of "bgs"​​3.2. You need to move your LOS-Image to the same folder as ChonDoe_Flasher and rename the file to "system.img"​
3.3 Flashing Sequence:
In TWRP Follow this sequence:
3.3.1. Wipe data, dalvik, cache​3.3.2. flash disable_dm_verity​3.3.3. flash multidisabler​3.3.4. Wipe internal storage (Backup might be advisable, if you didn't format data anyways)​3.3.5. reboot recovery​3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg​3.3.7. Wipe data​3.3.8. Reboot​
That should be it. First startup takes some time, your phone should boot to LOS 19.
4. Anger Management
If you softbrick your device you can try to go back to stock rom by accessing download mode and flashing it via Odin. Will take some fiddling around with the button combinations.
If you hardbrick your device don't hold me responsible and good luck to you!
Thanks to
Kyau Sana, Vadim Kupriyanov, Knoyan GTR-X and Sara Lins and other, from the telegram-group, who helped me figure out the process.
Click to expand...
Click to collapse
Hello friends, how are you? Could someone post the ROM link again, the link is broken.
lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS
dmudo said:
Hello friends, how are you? Could someone post the ROM link again, the link is broken.
lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS
Click to expand...
Click to collapse
Andy Yan's personal builds // GSI
Download Andy Yan's personal builds // GSI for free. None
sourceforge.net
i have a question
in step 3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg
i try to flash chondoe and i tried to add de system.img, and it prompt me to what partition
This are the partitions that apears to me
- Boot
- DTBO Image
- Optics Image
- Prism Image
- Recovery
- Param
- VBmeta Samsung
- VBMeta Samsung
- Super (system vendor product odm)
Does anyone know where ?
DerTopher said:
Here is a quick how-to guide to flash LineageOS 19.0 to the A51​
Disclaimer: I am not the maintainer of any of the files I link to here. I just wanted to share my experience to make the process of Flashing los19 to the a51 easier for others.
Prerequisites:
1. Unlocked Bootloader
This step is crucial. You need to unlock the bootloader of the A51 before trying any of this. If not, you are likely to brick your device.​1.1. Unlock developer mode by standard procedure: Settings > Info > Tab 7 times on build number​1.2. Enable USB debugging in Developer Options​1.3. Enable OEM unlocking in Developer Options -> To see OEM unlock option I needed to connect to my WIFI, then set the phone date manually to March 7th 2019. Only then the OEM unlock option became visible in Developer Options. Yes, this is super dumb and inconvenient...​1.4 After triggering OEM unlock option shutdown your phone.​1.5 Enter Download mode by: Pressing Volume+ and Volume - while at the same time plugging in the USB cable that is already in your PC.​1.6. To finally unlock bootloader, you will see a green screen on which you need to press Vol + for some time. THIS WILL VOID YOUR WARRANTY. It will also erase all data on your phone!​1.7 After reboot repeat steps 1.1. - 1.5. again. This time you can actually enter download mode by pressing Vol + shortly on the green screen.​
2. Flash Twrp
You can now flash TWRP via Odin. The TWRP img I used is here: https://www.mediafire.com/file/0h14t0263oujhna/TWRP-11-3.6.1-a51-20220321-1406-hotfix.tar/file. I flashed it as AP. Make sure to uncheck Auto reboot before flashing.​When flashing is complete hold Vol - and Power until reboot.​Immediately when rebooting hold Vol + and Power until Samsung logo appears, then let Power go but hold Vol + to enter TWRP.​
3. Actual Flashing:
3.1. Necessary Files:​Make sure to load all files necessary to your SD before flashing:​ChonDoe_Flasher, Disable_Dm_Verity, Multidisabler, LOS-Imagefile, Magisk(optional)​​As for the LOS Image I used this file here, which already includes gapps:​lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img​​If you don't want gapps pick an image that says "BvS" instead of "bgs"​​3.2. You need to move your LOS-Image to the same folder as ChonDoe_Flasher and rename the file to "system.img"​
3.3 Flashing Sequence:
In TWRP Follow this sequence:
3.3.1. Wipe data, dalvik, cache​3.3.2. flash disable_dm_verity​3.3.3. flash multidisabler​3.3.4. Wipe internal storage (Backup might be advisable, if you didn't format data anyways)​3.3.5. reboot recovery​3.3.6. flash chondone with lineage-19.0-20220211-UNOFFICIAL-treble_arm64_bgS-vndklite.img in the same folder renamed to system.mg​3.3.7. Wipe data​3.3.8. Reboot​
That should be it. First startup takes some time, your phone should boot to LOS 19.
4. Anger Management
If you softbrick your device you can try to go back to stock rom by accessing download mode and flashing it via Odin. Will take some fiddling around with the button combinations.
If you hardbrick your device don't hold me responsible and good luck to you!
Thanks to
Kyau Sana, Vadim Kupriyanov, Knoyan GTR-X and Sara Lins and other, from the telegram-group, who helped me figure out the process.
Click to expand...
Click to collapse
3.3.7 format data or wipe?

Categories

Resources