I F*cked up! Help me please? - Moto G5 Questions & Answers

Long story short bought a G5 Cedric running latest official firmware oreo 8.1, didn't like it cuz it's too heavy, unlocked the bootloader, flashed twrp then flashed lineage 17 but can't pass safetynet,(clean) flashed resurrection remix after same problem, then i flashed omni rom and suddenly my IMEI was gone and can't install gapps, what to do now? I just want a good custom rom that passes safetynet, don't care if it's pie or Q.

Flash a rom where imei works
Backup efs partition using 64bit twrp
You can then restore efs partition if you loose imei
With regards to safetynet none of the custom roms will pass without you doing some work
You need to flash magisk
Flash Busybox magisk module
Flash props config module and follow all the instructions on how to change device fingerprint eg to a pixel 4 https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228/
Hide magisk manager with a random package name from magisk settings
Hide app that detects root with magisk hide from its settings
You can also try the universal safetynet patcher magisk module if the above doesn't work but some report it causes bootloops on some devices/roms

Thank you for the quick response, i have a few questions regarding what you said:
1- how will i know which rom to flash where the IMEI works before flashing the actual rom itself?
2- how do i know if my current twrp is 64bit or not? it's the one from the Lineage 17 thread.
3- when im succesfull in executing those steps and i have to back up efs, where can i find it to restore it if i flash another rom again? because last time before flahsing i wiped system,dalvik & Cache & data but not the storage and yet my back-up was gone?
TheFixItMan said:
Flash a rom where imei works
Backup efs partition using 64bit twrp
You can then restore efs partition if you loose imei
With regards to safetynet none of the custom roms will pass without you doing some work
You need to flash magisk
Flash Busybox magisk module
Flash props config module and follow all the instructions on how to change device fingerprint eg to a pixel 4 https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228/
Hide magisk manager with a random package name from magisk settings
Hide app that detects root with magisk hide from its settings
You can also try the universal safetynet patcher magisk module if the above doesn't work but some report it causes bootloops on some devices/roms
Click to expand...
Click to collapse

maserati2011 said:
Thank you for the quick response, i have a few questions regarding what you said:
1- how will i know which rom to flash where the IMEI works before flashing the actual rom itself?
2- how do i know if my current twrp is 64bit or not? it's the one from the Lineage 17 thread.
3- when im succesfull in executing those steps and i have to back up efs, where can i find it to restore it if i flash another rom again? because last time before flahsing i wiped system,dalvik & Cache & data but not the storage and yet my back-up was gone?
Click to expand...
Click to collapse
1 - You will have to try roms yourself to find out
2 - All custom roms from oero onwards are 64bit - you wouldn't be able to flash them without a 64bit twrp so you already have one
3 - data/media/twrp/backups or storage/emulated/0/twrp/backups
I recommend changing the storage location to your sdcard so they don't get deleted when you wipe data or transferring to a pc
Formatting data is effectively formatting internal storage as the device is encrypted

TheFixItMan said:
1 - You will have to try roms yourself to find out
2 - All custom roms from oero onwards are 64bit - you wouldn't be able to flash them without a 64bit twrp so you already have one
3 - data/media/twrp/backups or storage/emulated/0/twrp/backups
I recommend changing the storage location to your sdcard so they don't get deleted when you wipe data or transferring to a pc
Formatting data is effectively formatting internal storage as the device is encrypted
Click to expand...
Click to collapse
I'm currently sticking with m_vaisakh's AOSP-10 as it shows both my IMEI numbers, its also the most stable and reliable out of the Android 10 roms for the G5 CEDRIC, i do have a problem though: i tried 2 simcards in the dual sim function and they both worked but no 4G, just 3G/HSPA+ both SIM-1 & SIM-2, how can i fix this issue?

maserati2011 said:
I'm currently sticking with m_vaisakh's AOSP-10 as it shows both my IMEI numbers, its also the most stable and reliable out of the Android 10 roms for the G5 CEDRIC, i do have a problem though: i tried 2 simcards in the dual sim function and they both worked but no 4G, just 3G/HSPA+ both SIM-1 & SIM-2, how can i fix this issue?
Click to expand...
Click to collapse
fastboot erase modemst1
fastboot erase modemst2
fastboot reboot
If rebuilding the efs doesn't work I do not know
Backup efs first incase it fails to rebuild and imei is 0 again - use a twrp 64 bit to back it up and obviously save to sdcard & pc incase you need to re-flash rom as wiping data will erase your backup on internal storage

TheFixItMan said:
fastboot erase modemst1
fastboot erase modemst2
fastboot reboot
If rebuilding the efs doesn't work I do not know
Backup efs first incase it fails to rebuild and imei is 0 again - use a twrp 64 bit to back it up and obviously save to sdcard & pc incase you need to re-flash rom as wiping data will erase your backup on internal storage
Click to expand...
Click to collapse
it didn't work as my IMEI was 0 on both sims, thankfully i backed up EFS before erasing, so I managed to restore the IMEI again.
Is there really no other way to get 4G back?

Hello friend, did you get my reply regarding 4G ?

maserati2011 said:
Hello friend, did you get my reply regarding 4G ?
Click to expand...
Click to collapse
As stated before - I do not know the answer
I don't own this device

maserati2011 said:
Hello friend, did you get my reply regarding 4G ?
Click to expand...
Click to collapse
Which ROM are you using and didn't you got your IMEI?

riyan65 said:
Which ROM are you using and didn't you got your IMEI?
Click to expand...
Click to collapse
I was using m_vaisakh's AOSP_10 where i retrieved my IMEI (after losing it on different roms) i tried both sims and had only 3G no 4G.
Now i have switched to OfficerJimLahey's CarbonROM_7 Android_9 both my IMEI numbers show but i haven't tested 4G with simcards yet.

maserati2011 said:
I was using m_vaisakh's AOSP_10 where i retrieved my IMEI (after losing it on different roms) i tried both sims and had only 3G no 4G.
Now i have switched to OfficerJimLahey's CarbonROM_7 Android_9 both my IMEI numbers show but i haven't tested 4G with simcards yet.
Click to expand...
Click to collapse
If it doesn't work in rom then move back to stock Oreo and once you got the 4g take backup of efs and persist and move to custom ROM. If the 4g is available then no need to restore backup, if not restore the backup and enjoy 4g.

riyan65 said:
If it doesn't work in rom then move back to stock Oreo and once you got the 4g take backup of efs and persist and move to custom ROM. If the 4g is available then no need to restore backup, if not restore the backup and enjoy 4g.
Click to expand...
Click to collapse
How do i do that? using the Lenovo Moto Smart Assistant?

maserati2011 said:
How do i do that? using the Lenovo Moto Smart Assistant?
Click to expand...
Click to collapse
Flash stock rom firmware via fastboot
Stock rom firmware is available via
https://mirrors.lolinet.com/firmware/moto/cedric/official/
If you don't know what one to choose I suggest latest retail
If you don't know how to flash stock firmware via fastboot Google is your friend

TheFixItMan said:
Flash stock rom firmware via fastboot
Stock rom firmware is available via
https://mirrors.lolinet.com/firmware/moto/cedric/official/
If you don't know what one to choose I suggest latest retail
If you don't know how to flash stock firmware via fastboot Google is your friend
Click to expand...
Click to collapse
i have flashed stock rom using Lenovo Moto Smart Assistant, IMEI is there, 4G works, how can i relock the bootloader from here? cuz i wanna sell the device.

maserati2011 said:
i have flashed stock rom using Lenovo Moto Smart Assistant, IMEI is there, 4G works, how can i relock the bootloader from here? cuz i wanna sell the device.
Click to expand...
Click to collapse
I wouldn't re-lock it for several reasons
1- you need the unlock code to unlock it again & Motorola will say its already been unlocked
2 - Even if you re-lock it it will still display its been unlocked previously
3 - if you ever need to flash stock firmware via fastboot again it may fail with permission denied as the firmware may not be fully signed & you can't flash unsigned firmware with a locked bootloader
4 - if you ota update & it it fails & you hardbrick then again same as point 3
If you really want to Google how to & you need fully signed firmware else it will not lock

TheFixItMan said:
I wouldn't re-lock it for several reasons
1- you need the unlock code to unlock it again & Motorola will say its already been unlocked
2 - Even if you re-lock it it will still display its been unlocked previously
3 - if you ever need to flash stock firmware via fastboot again it may fail with permission denied as the firmware may not be fully signed & you can't flash unsigned firmware with a locked bootloader
4 - if you ota update & it it fails & you hardbrick then again same as point 3
If you really want to Google how to & you need fully signed firmware else it will not lock
Click to expand...
Click to collapse
I'm going to respond to each point you mentioned:
1- I still have the email from Lenovo containing the unlock code, do i need the same code to relock the bootloader?
2-are you sure it will still say it's been unlocked before?
3-what does fully signed mean? i searched through the link you sent me earlier and i found the same one that i flashed through LMSA, that is XT1676_CEDRIC_RETEU_DS_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip is the one I flashed through LMSA not fully signed?
4-there's no updates anymore after the version i mentioned in point 3.
side question: does this method you mentioned still applies to relock the bootloader without the aforementioned issues?
PS: it still says ID: bad key on the bootloader unlocked warning, even though i retrieved my IMEI number, shouldn't it display my IMEI number instead of bad key?

maserati2011 said:
I'm going to respond to each point you mentioned:
1- I still have the email from Lenovo containing the unlock code, do i need the same code to relock the bootloader?
2-are you sure it will still say it's been unlocked before?
3-what does fully signed mean? i searched through the link you sent me earlier and i found the same one that i flashed through LMSA, that is XT1676_CEDRIC_RETEU_DS_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip is the one I flashed through LMSA not fully signed?
4-there's no updates anymore after the version i mentioned in point 3.
side question: does this method you mentioned still applies to relock the bootloader without the aforementioned issues?
PS: it still says ID: bad key on the bootloader unlocked warning, even though i retrieved my IMEI number, shouldn't it display my IMEI number instead of bad key?
Click to expand...
Click to collapse
You don't need code to lock bootloader - just to unlock it
Yes the bootloader will display its locked but will also give a status code that states its been previously unlocked
Fully signed means each part of the firmware has been signed by Motorola - sometimes the boot.img isn't
You will always get bad key or n/a with an unlocked bootloader - this is normal - you can flash a modded logo.bin to replace this
Those are the steps to re-lock the boot-loader - obviously oreo firmware has more sparsechunk so add the extra parts

TheFixItMan said:
You don't need code to lock bootloader - just to unlock it
Yes the bootloader will display its locked but will also give a status code that states its been previously unlocked
Fully signed means each part of the firmware has been signed by Motorola - sometimes the boot.img isn't
You will always get bad key or n/a with an unlocked bootloader - this is normal - you can flash a modded logo.bin to replace this
Those are the steps to re-lock the boot-loader - obviously oreo firmware has more sparsechunk so add the extra parts
Click to expand...
Click to collapse
So basically i should leave it unlocked it's better this way yes? and if i want to flash a modded logo.bin do i need to flash TWRP again?

maserati2011 said:
So basically i should leave it unlocked it's better this way yes? and if i want to flash a modded logo.bin do i need to flash TWRP again?
Click to expand...
Click to collapse
No you can do it via fastboot
fastboot flash logo logo.bin

Related

Guide for Safe installation of any custom rom on your stock rom mobile

Installation Steps (Warranty can be restored whenever you wish)
-------------------------
Before starting your rom flashing journey it is always better to have Flashtool (latest -by androxyde) installed in your PC and your stock rom handy ; incase of any mishappenings.
Type *#*#7378423#*#* in your phone and see if your bootloader status is unlockable under service-->Configuration. Procede with below steps, only if your device is unlockable.
It is important that you follow the steps in order
1) First step for installing a custom rom over a mobile with stock rom is to backup the existing state of bootloader .Usually warranty will get void if any modification is done to bootloader. The below tool ensures that it takes the backup of existing state of bootloader when device is under warranty.
Goto
Backup TA for Sony Xperia (This tool helps you to have a )
http://forum.xda-developers.com/showthread.php?t=2292598.
Download the tool.This tool will backup your DRM Securtiy keys . Successful backup can only be taken after the existing stock rom is rooted (Use towelroot application if your device is not already rooted) .Root it first then follow the process given in above link .
Once this is over , u will have a backup of the existing state of bootloader/TA partition (If you later wish to move back to stock rom from custom rom use the same tool to restore the backup you have just created.This means you will get your Warranty back);
2) Goto this website , follow the steps and get your unlock code via e mail.
Use fastboot mode to unlock your bootloader (Make sure that you have already backuped your existing DRM keys-Step 1).Follow it fully to unlock your bootloader
http://unlockbootloader.sonymobile.com/unlock/step1
3)Download any custom rom zips with recovery, for your mobile from xda developers forum and have fun.Extract boot.img using winrar or winzip .
Flash boot.img via fastboot mode
fastboot flash boot boot.img
fastboot reboot
4)As the device reboots, when you see your LED glow press volume up or down. It will take you to CWM Recovery or TWRP recovery based on the rom that you have downloaded.
5)Just install the custom rom(*.zip ) from within the recovery.
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
yes.
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
gokukaushik said:
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
Click to expand...
Click to collapse
Can i backup my app on stock rom then restore it to a custom rom?
AndreIrawan97 said:
Can i backup my app on stock rom then restore it to a custom rom?
Click to expand...
Click to collapse
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
gokukaushik said:
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
Click to expand...
Click to collapse
And one think left.... How to know if my bootloader is unlocked or not?
AndreIrawan97 said:
And one think left.... How to know if my bootloader is unlocked or not?
Click to expand...
Click to collapse
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
foomanjackel said:
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
Click to expand...
Click to collapse
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
AndreIrawan97 said:
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Click to expand...
Click to collapse
Thanks to @ foomanjackel for answering your questions.Regarding your 2nd question, 'Experience is the mother of invention'.Why don't you try and see what happens...just kidding.Couldn't resist it. Practically speaking of you install a custom rom with an custom kernel on a locked bootloader you will hard brick it.It will not boot and chances are that you might not be able to goto flashmode or fastbootmode anymoreto repair it.Reason this happens is that both your recovery and bootloader resides in the same partition in your mobile.If you try to install custom kernel on a locked bootloader in every probability, it not only corrupts your existing stocks kernel but also might corrupt your recovery leaving u helpless.
Theoretically, You should be able to install any custom-stock based rom on a locked bootloader (which runs exactly on ur stock kernel).In other words a custom rom which doesn't come up with a custom kernel but based on your existing stock kernel should be able to run on a locked bootloader.But my advice is you do not risk it.
foomanjackel said:
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
Click to expand...
Click to collapse
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
AndreIrawan97 said:
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
Click to expand...
Click to collapse
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
gokukaushik said:
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
Click to expand...
Click to collapse
Is unlocking bootloader can make me lose my root?
AndreIrawan97 said:
Is unlocking bootloader can make me lose my root?
Click to expand...
Click to collapse
I suppose it won't.I don't see the reason why u want to unlock the bootloader unless you want to install a new custom rom.

Bootloop after flashing stock image

Hi guys, my nexus 5x is locked bootloader and i was running the last Android 7.1.1 stock. I decided to try the last CM14.1, entered TWRP and made a backup. I installed CM14.1 and gapps and my phone was in a bootloop. I decided then to restore my backup, restoration was successful but when i pressed reboot system, I was in a bootloop, at Google dots logo. I flashed successfully the DP 7.1.1 image but couldn't get out the bootloop. Flashed the last stock 7.0 image with the same result. I can access fastboot and recovery but until now couldnt get my phone to start and get out this bootloop. What can I do? Is it a hardware issue as i read somewhere on XDA?
Any help and advices please, I live in a country with no Google service center and I am desperate.
If flashing full stock (all not only system) and full wiping doesn't solve your issue sounds like the infamous hardware problem.
Make sure you didn't restore efs backup taken with twrp 3.0.2.1 otherwise look for efs fix.
​
MaxOptim said:
If flashing full stock (all not only system) and full wiping doesn't solve your issue sounds like the infamous hardware problem.
Make sure you didn't restore efs backup taken with twrp 3.0.2.1 otherwise look for efs fix.
Click to expand...
Click to collapse
And how to perform was fix when I can't access Android, fastboot is limited due to locked bootloader and recovery is stock? What's the procedure?
ybregeon2016 said:
​
And how to perform was fix when I can't access Android, fastboot is limited due to locked bootloader and recovery is stock? What's the procedure?
Click to expand...
Click to collapse
You can't.
If you have a locked bootloader all you can do is to flash a full ota package from stock recovery and to wipe/factory reset if it let you to.
If it doesn't fix your issue unfortunately you have to RMA the phone.
MaxOptim said:
You can't.
If you have a locked bootloader all you can do is to flash a full ota package from stock recovery and to wipe/factory reset if it let you to.
If it doesn't fix your issue unfortunately you have to RMA the phone.
Click to expand...
Click to collapse
Forgive my ignorance but how can I do this?
ybregeon2016 said:
Forgive my ignorance but how can I do this?
Click to expand...
Click to collapse
follow instructions here: https://developers.google.com/android/ota
MaxOptim said:
follow instructions here: https://developers.google.com/android/ota
Click to expand...
Click to collapse
Actually I was talking about the RMA, I bought it in Egypt.
ybregeon2016 said:
Actually I was talking about the RMA, I bought it in Egypt.
Click to expand...
Click to collapse
ah, no idea then, sorry.
ybregeon2016 said:
Hi guys, my nexus 5x is unlocked bootloader and i was running the last Android 7.1.1 stock. I decided to try the last CM14.1, entered TWRP and made a backup. I installed CM14.1 and gapps and my phone was in a bootloop. I decided then to restore my backup, restoration was successful but when i pressed reboot system, I was in a bootloop, at Google dots logo. I flashed successfully the DP 7.1.1 image but couldn't get out the bootloop. Flashed the last stock 7.0 image with the same result. I can access fastboot and recovery but until now couldnt get my phone to start and get out this bootloop. What can I do? Is it a hardware issue as i read somewhere on XDA?
Any help and advices please, I live in a country with no Google service center and I am desperate.
Click to expand...
Click to collapse
when you restored from your backup, was EFS checked when you restored? if it was then you have an EFS file corruption. I personally wrote up a solution to this, here's a link: http://forum.xda-developers.com/nexus-5x/help/efs-file-corruption-fix-t3502473
make sure you follow the instructions, this has to be done with the Nexus root toolkit command window open with your phone in TWRP recovery and hooked up to your computer. if you try this, let me know how it goes and if you need help.
edit: your bootloader is unlocked which I know for sure, you can still boot into bootloader and re-root and install twrp back onto your phone even though you're boot looping. I know because the same thing happened to me and was still able to flash a custom recovery.
Yeah it is the EFS problem related to buggy versions of TWRP. Just use dd to to clear the EFS partitions - the chipset will luckily autogenerate the EFS contents on first boot.
Next time dont restore EFS partition from your backups and everything will be perfectly okay.
Makes me wonder how many hundreds of people have sent the device to RMA because of this issue.
dominoeflux said:
when you restored from your backup, was EFS checked when you restored? if it was then you have an EFS file corruption. I personally wrote up a solution to this, here's a link: http://forum.xda-developers.com/nexus-5x/help/efs-file-corruption-fix-t3502473
make sure you follow the instructions, this has to be done with the Nexus root toolkit command window open with your phone in TWRP recovery and hooked up to your computer. if you try this, let me know how it goes and if you need help.
edit: your bootloader is unlocked which I know for sure, you can still boot into bootloader and re-root and install twrp back onto your phone even though you're boot looping. I know because the same thing happened to me and was still able to flash a custom recovery.
Click to expand...
Click to collapse
Man i remind you that my bootloader is locked and for this reason can't start twrp.
ybregeon2016 said:
Man i remind you that my bootloader is locked and for this reason can't start twrp.
Click to expand...
Click to collapse
In your original post you said it was unlocked....and how can it be locked when you don't mention locking it flashing it back stock?
dominoeflux said:
In your original post you said it was unlocked....and how can it be locked when you don't mention locking it flashing it back stock?
Click to expand...
Click to collapse
Bad typing, my bootloader is locked. It was unlocked then after flashing a firmware with LGUP it was locked again.
ybregeon2016 said:
Bad typing, my bootloader is locked. It was unlocked then after flashing a firmware with LGUP it was locked again.
Click to expand...
Click to collapse
Oohhh OK I got you...have you been able to look in doing a tot recovery with Odin? I'm almost home so I'll see what I can do to help u out
Edit: have u tried unlocking it again in bootloader?
LGUP install a firmware as a TOT, it was a TOT file. Isnt Odin for Samsung phones?
tauio111 said:
Yeah it is the EFS problem related to buggy versions of TWRP. Just use dd to to clear the EFS partitions - the chipset will luckily autogenerate the EFS contents on first boot.
Next time dont restore EFS partition from your backups and everything will be perfectly okay.
Makes me wonder how many hundreds of people have sent the device to RMA because of this issue.
Click to expand...
Click to collapse
Forgive me but what is DD?
I have a locked bootloader with stock recovery. What is this DD you are talking about? Will it be successful with this bootloader and stock?
ybregeon2016 said:
Forgive me but what is DD?
I have a locked bootloader with stock recovery. What is this DD you are talking about? Will it be successful with this bootloader and stock?
Click to expand...
Click to collapse
try this command: fastboot flashing unlock when in bootloader mode.
If it works flash TWRP and do the guide which was mentioned before my previous post.
​
tauio111 said:
try this command: fastboot flashing unlock when in bootloader mode.
If it works flash TWRP and do the guide which was mentioned before my previous post.
Click to expand...
Click to collapse
This command is to unlock the bootloader right? But I guess if the OEM unlock is not selected in developer options within Android, it won't work, or correct me if I am wrong.
ybregeon2016 said:
​
This command is to unlock the bootloader right? But I guess if the OEM unlock is not selected in developer options within Android, it won't work, or correct me if I am wrong.
Click to expand...
Click to collapse
You can try. I heard somewhere that it may work if you apply it before booting the android the first time (technically your android cant boot at the moment).
tauio111 said:
You can try. I heard somewhere that it may work if you apply it before booting the android the first time (technically your android cant boot at the moment).
Click to expand...
Click to collapse
Failed (remote: OEM unlock is not allowed)

I can't Lock Bootloader (Mediapad M2 10 A01W)

Hi.
I rooted my M2 10 Wifi (A01W) with Kingroot and apparently now it's unroot (Magisk Manager said that). Even I made a factory reset.
I have the _B007 version and when I try to upgrade via OTA to _B008, it always fail and show "Failed to check the update files. Please download the package again".
I've working with ADB, Fastboot... and I could see that it's unroot, but the Bootloader is Unlock and I can't Relock it. Maybe it's the reason because the OTA doesn't work.
So I got a fastboot code with DC-UNLOCKER and tried to relock (fastboot oem relock CODE) and the answer was:
FAILED (Remote: root type is risk)
If I execute "fastboot oem check-rootinfo":
old_stat: RISK
now_stat: RISK
change_time: xxxxxxxxx
Apparently, the Recovery is stock, with EMUI logo showing 3 options:
Reboot, Wipedata/factory reset and Wipe chache partition
I made the factory reset that way.
Any idea? Thanks.
ma2crmam said:
Hi.
I rooted my M2 10 Wifi (A01W) with Kingroot and apparently now it's unroot (Magisk Manager said that). Even I made a factory reset.
I have the _B007 version and when I try to upgrade via OTA to _B008, it always fail and show "Failed to check the update files. Please download the package again".
I've working with ADB, Fastboot... and I could see that it's unroot, but the Bootloader is Unlock and I can't Relock it. Maybe it's the reason because the OTA doesn't work.
So I got a fastboot code with DC-UNLOCKER and tried to relock (fastboot oem relock CODE) and the answer was:
FAILED (Remote: root type is risk)
If I execute "fastboot oem check-rootinfo":
old_stat: RISK
now_stat: RISK
change_time: xxxxxxxxx
Apparently, the Recovery is stock, with EMUI logo showing 3 options:
Reboot, Wipedata/factory reset and Wipe chache partition
I made the factory reset that way.
Any idea? Thanks.
Click to expand...
Click to collapse
Well, I've read that flashing a system.img extracted from the UPDATE.APP I would can restore the Stock ROM... but I don't find a complete Stock ROM for Mediapad M2 10 Wifi (A01W).
I found the OTA in Romfirmware or Fordroid (sorry, I'm new user and I can not post external links). With this I can flash BOOT.img and RECOVERY.img, but the problem persist.
Does someone has any idea... or where can I get the complete Stock ROM?
Thanks!!!
ma2crmam said:
Well, I've read that flashing a system.img extracted from the UPDATE.APP I would can restore the Stock ROM... but I don't find a complete Stock ROM for Mediapad M2 10 Wifi (A01W).
I found the OTA in Romfirmware or Fordroid (sorry, I'm new user and I can not post external links). With this I can flash BOOT.img and RECOVERY.img, but the problem persist.
Does someone has any idea... or where can I get the complete Stock ROM?
Thanks!!!
Click to expand...
Click to collapse
Stokk ROM maybe available through a paid service by easy firmware. Got my LTE Stock ROM frim there. For the Wi-Fi edition you could first take a look here.
Sent from my HTC U11 using XDA Labs
5m4r7ph0n36uru said:
Stokk ROM maybe available through a paid service by easy firmware. Got my LTE Stock ROM frim there. For the Wi-Fi edition you could first take a look here.
Sent from my HTC U11 using XDA Labs
Click to expand...
Click to collapse
Thanks!!! I didn't know that page. It's fine and does not look very expensive.
Just one more doubt.
The firmaware I need (as read on the tablet) is M2-A01w...B008 for West Europe
The firmware that the page shows is M2-A01w...B008CUSTC100D001
Do you know what CUSTC100D001 mean? Could I used it without problems?
ma2crmam said:
Thanks!!! I didn't know that page. It's fine and does not look very expensive.
Just one more doubt.
The firmaware I need (as read on the tablet) is M2-A01w...B008 for West Europe
The firmware that the page shows is M2-A01w...B008CUSTC100D001
Do you know what CUSTC100D001 mean? Could I used it without problems?
Click to expand...
Click to collapse
Glad it helped and yes it is not so expensive regarding the fact that there are all sorts of official firmware (mostly leaked ones) available for a lot of manufacturers.
The CUST reference at the end if the firmware version can be found in settings > about the tablet in the very last line. Mine is in German, So translated this line would state something like adapted/customized version. D001 is definitely Western Europe,this should be fine.
If not familiar how to install it google or search the forum for dload method. It will tell you what to do.
Sent from my HTC U11 using XDA Labs
I've done:
1. Get the correct firmware (version ...B007) and extract the RECOVERY.IMG and UPDATE.APP.
2. Flash the RECOVERY with Fastboot and install the UPDATE with the "dload" in the SD.
3. Reboot in RECOVERY MODE, wipe all and restore factory settings.
4. Then, the tablet was updated via OTA to the ...B008 version.
Then, positive:
1. The OTA works fine.
2. I was abble to install the Nextlix App and the HBO Spain App plays videos. Both didn't work before.
3. If I execute "fastboot oem check-rootinfo":
old_stat: RISK
now_stat: SAFE
Then, negative:
1. I can't relock the Bootloader yet. When I try to relock (fastboot oem relock CODE) and the answer was again: FAILED (Remote: root type is risk)
Well, for normal use that's enough, but... THE RELOCK is becoming personal!!!

How to revert back to stock without losing 4g and hardbrick

Device : XT1677
Current ROM : Bootloogers
Variant : amazon
Stock ROM channel : amzin
Can I also flash some other channel ROM ?
abhimanyuk said:
Device : XT1677
Current ROM : Bootloogers
Variant : amazon
Stock ROM channel : amzin
Can I also flash some other channel ROM ?
Click to expand...
Click to collapse
Hey, just follow this steps and you will get 4g and your device also not get hard brick.and I am 100% sure that it will work for your device.
https://forum.xda-developers.com/g5/help/solution-0-imei-stock-t3801860/post76784257
riyan65 said:
Hey, just follow this steps and you will get 4g and your device also not get hard brick.and I am 100% sure that it will work for your device.
https://forum.xda-developers.com/g5/help/solution-0-imei-stock-t3801860/post76784257
Click to expand...
Click to collapse
But there is no option for efs backup in twrp 64bit
abhimanyuk said:
But there is no option for efs backup in twrp 64bit
Click to expand...
Click to collapse
There should be make sure you are using the 64bit twrp and not my official 32bit
https://www.androidfilehost.com/?w=files&flid=236353
Thnx I found the option in latest 64bit twrp. Can I flash a non amazon variant ROM also.
abhimanyuk said:
Thnx I found the option in latest 64bit twrp. Can I flash a non amazon variant ROM also.
Click to expand...
Click to collapse
Yes,you can flash other roms or other stock variety but you should not have to downgrade bootloader as it will hard brick your device.
riyan65 said:
Yes,you can flash other roms or other stock variety but you should not have to downgrade bootloader as it will hard brick your device.
Click to expand...
Click to collapse
i lost my imei with stock reflashed plzz help
........................................................
Now here many posts but anyone post not work for
Me plzz when i going to unlock my bootloader it,s failed not unlocking
I also tried pixel experience rom 8.1.0 with 34 bit twrp to 64bit twrp
I also used that commands fastboot erase modemst1 and modemst2
But not working i,m worried because i bought my mobile 4days ago
It,s possible i use another mobile efs backup and change imei plzz real help xda owner
One thing i don,t install gapps in pixel rom it need are not to back imei
Sorry for bad english because my english is not good
FarhanAlisolangi said:
i lost my imei with stock reflashed plzz help
........................................................
Now here many posts but anyone post not work for
Me plzz when i going to unlock my bootloader it,s failed not unlocking
I also tried pixel experience rom 8.1.0 with 34 bit twrp to 64bit twrp
I also used that commands fastboot erase modemst1 and modemst2
But not working i,m worried because i bought my mobile 4days ago
It,s possible i use another mobile efs backup and change imei plzz real help xda owner
One thing i don,t install gapps in pixel rom it need are not to back imei
Sorry for bad english because my english is not good
Click to expand...
Click to collapse
While you use custom roms imei is there???

Question SIM not working after flash custom rom.

I tried to flash for the first time a custom rom for this phone, tried with Pixel OS and Pixel experience, after the phone restart, i notice that the SIM card 1 and SIM card 2 wasn't working i placed my sim on 2 different phones and worked perfecly fine, is there any method to solve this problem? Or i should go back to stock rom.
Uriel970219 said:
I tried to flash for the first time a custom rom for this phone, tried with Pixel OS and Pixel experience, after the phone restart, i notice that the SIM card 1 and SIM card 2 wasn't working i placed my sim on 2 different phones and worked perfecly fine, is there any method to solve this problem? Or i should go back to stock rom.
Click to expand...
Click to collapse
flash firmware for your region
REDOTHELLO said:
flash firmware for your region
Click to expand...
Click to collapse
I just flashed the last global firmware, but even using stock rom, I'm not able to use any of my SIM slots now, MIUI says that SIM is not inserted.
Uriel970219 said:
I just flashed the last global firmware, but even using stock rom, I'm not able to use any of my SIM slots now, MIUI says that SIM is not inserted.
Click to expand...
Click to collapse
check IMEI if it''s still there, otherwise nvdata might've gone haywire.
Flashing fastboot version of the stock ROM should fix any partition being messed up, right?
Mthw said:
Flashing fastboot version of the stock ROM should fix any partition being messed up, right?
Click to expand...
Click to collapse
It should, but talking about NVdata, it is actually specific for every device and even Stock ROMS doesn't ship with NVdata partition otherwise all of us explorers would have the same NVdata(SN, IMEI, MAC Address) if we flash it. But I'm pretty confident that if the guy's IMEI is still intact to the phone, then it must be a hardware issue.
GN-z11 said:
check IMEI if it''s still there, otherwise nvdata might've gone haywire.
Click to expand...
Click to collapse
Yep, im able to see both IMEI numbers under settings however, miui says that there's no SIM inserted, i've tried to flash the last rom via fastboot, 13.0.5.0 the problem persist, tried with 13.0.2.0 same, my last attempt was flashing 13.0.2.0 but closing the bootloader at the end, and i got the same result, any thoughts?
Uriel970219 said:
Yep, im able to see both IMEI numbers under settings however, miui says that there's no SIM inserted, i've tried to flash the last rom via fastboot, 13.0.5.0 the problem persist, tried with 13.0.2.0 same, my last attempt was flashing 13.0.2.0 but closing the bootloader at the end, and i got the same result, any thoughts?
Click to expand...
Click to collapse
Quick update, i flashed MIUI 12.5 rom and now the device is recognizing both SIM slots, however i don't have signal yet. I'm gonna flash 13.0.2 to see if problem gets solved.
Uriel970219 said:
Quick update, i flashed MIUI 12.5 rom and now the device is recognizing both SIM slots, however i don't have signal yet. I'm gonna flash 13.0.2 to see if problem gets solved.
Click to expand...
Click to collapse
Do you have a backup efs partition. If you happen to have it, do a restore and solve the problem
akins0405 said:
Do you have a backup efs partition. If you happen to have it, do a restore and solve the problem
Click to expand...
Click to collapse
Tnx for reply, no, i don't have a backup of efs partition, si there any other way to fix the problem? I tried yo flash stock rom via edl, but i need an authorized developer acct. Any ideas.?
Uriel970219 said:
Tnx for reply, no, i don't have a backup of efs partition, si there any other way to fix the problem? I tried yo flash stock rom via edl, but i need an authorized developer acct. Any ideas.?
Click to expand...
Click to collapse
No firehose for Xiaomi 11 Lite 5G NE: Not available yet, so I don't know how to install in edl. >try to install stock rom with stock recovery, maybe it will help.
Is there a guide to do it? I already flashed stock rom via fastboot, but the problem persist.
akins0405 said:
No firehose for Xiaomi 11 Lite 5G NE: Not available yet, so I don't know how to install in edl. >try to install stock rom with stock recovery, maybe it will help.
Click to expand...
Click to collapse

Categories

Resources