I'm not sure if this is going to end up as a fix or a cautionary tale, but here goes.
Was looking to root my g4, so I successfully unlocked the bootloader & installed TWRP using this method: http://forum.xda-developers.com/moto-g4-plus/how-to/guide-newbie-resource-thread-t3386584
Things were going pretty good there, but when I tried to install the SU image through TWRP, the phone wouldn't boot.
Naturally, I didn't do a backup of the stock state of the phone (BECAUSE I'M AN IDIOT!) so I figured, what the hell, might as well install cyanogen mod, and see what that's all about. There's a cyanogenmod beta for the G4+. It went on smooth through the TWRP installer and was behaving ok, but wouldn't see the SIM. I check the IMEI number and the phone does not have a value set, just blank space.
I then tried to re flash stock firmware on the phone, thinking that might restore the IMEI.
It was a bear to get on there, but I was pretty proud of myself when it booted.
Trouble is: still no IMEI number. Also no wifi and it can't see the SIM card (probably because no IMEI number).
So, I figured I'd go back to the cyanogenmod, and see if I could somehow trick it into an IMEI number, BUT! re-loading the firmware re-locked the bootloader.
I went through the unlock process at motorola again, but this time she won't unlock. The console is throwing me
Code:
...
(bootloader) invalid boot state
OKAY [ 0.005s]
.
So, from here, I don't know where to go. Try re-flashing cyanogenmod on it manually I guess, but I don't know if that will work with the bootloader perpetually locked.
Can anyone help me sort this out?
Please?
How did u flash the stock ROM? Did u flash the right one for your device.
Sent from my Moto G⁴ Plus using Tapatalk
Silesh.Nair said:
How did u flash the stock ROM? Did u flash the right one for your device.
Sent from my Moto G⁴ Plus using Tapatalk
Click to expand...
Click to collapse
I flashed the stock rom on manually from the terminal using fastboot. Evidently: it isn't the right version. After careful inspection, it seems like I loaded the Indian / Asian version, whereas my device is the Canadian version.
Unfortunately, the Canadian stock firmware is still listed as a work in progress.
And the file names are confusing as hell. My device model is xt1643 but my stock ROM doesn't even mention 1643 in the file name. What's your model number?
Sent from my Moto G⁴ Plus using Tapatalk
Silesh.Nair said:
And the file names are confusing as hell. My device model is xt1643 but my stock ROM doesn't even mention 1643 in the file name. What's your model number?
Sent from my Moto G⁴ Plus using Tapatalk
Click to expand...
Click to collapse
it's model XT1641, bought in Canada.
Did you turn on unlock bootloader option in Dev settings ?
W0000000ooooooooooooooooooHooooooo00000000000000000000000000!!!:victory:
We're back in business, kids!
Found the stock rom for the Canadian Retail build (not locked to carrier) here: https://mirrors.lolinet.com/firmware/moto/athene/official/RETCA/
It took forever to download, but once it showed up, I flashed it on with fastboot, fired 'er up, and it's the same old stock G4 with working wifi, that can see the SIM & Connect to the network, complete with IMEI number AND - I believe - an unlocked bootloader.... at least I get the unlocked bootloader warning screen on boot.
Varun: I saw your message when I was getting set to flash the firmware on and got set to put my palm through my head. You're right: it could have been just the switch in developer options. But I checked and it was on.
Maybe the mods can add that firmware to the big firmware download links post.
Now, you'd think that having just brought this thing back from the dead I'd leave well enough alone and quit fiddling with this thing, but...
Maybe the owner of the newbie thread should add a post with "take a backup through twrp"
varun.katoch said:
Did you turn on unlock bootloader option in Dev settings ?
Click to expand...
Click to collapse
had the same issue. forgot to turn on usb debugging
Related
So basically turning a provider locked phone into the european open D802?
edit: another question:
If i do a nandroid backup of my stock LG rom, is it possible to just do a nandroid back up, install stock recovery and basically "lock" the phone without the hassle of having to go through the longer "unrooting" guide?
thanks in advance!
It should be enough to follow the "back to stock rom" thread http://forum.xda-developers.com/showthread.php?t=2432476 , this will change the current rom with a stock LG rom using LGs own tools.
Partially no, it flashes based on IMEI region. You want to flash a EUA KDZ. Then disable OTA.
I apologize for the lack of knowledge. Ive flashed all my phones so far sgs 1, nexus 4, galaxy nexus,htc one x and what confuses me about this phone the most is the kdz files.
My phone, for example, is a provider locked d802 - provider being www.a1.net
(Austria)
Now i followed the link you showed me but it only shows me open european d802 and some from germany files fir download. Would it be safe to flash those when reverting to stock considering i have a d802?
If i want to flash my provider's rom, how do i go on to acquiring those files ? Just incase of phone issues and i have to send my ohone in. Would it be as simple as flashing my stock nandroid backup, flashing stock recovery and typing fastboot oem lock in cmd ?
Im sorry for all those questions, while im quite confident i would get it done, i just like to acquire the basic understanding needed before i start anything.
Not to say i dont understand the effort put together by those who made the threads (how to flash/revert to stock etc.) But the threads to a certain degree are limited to just a simple how to when they could maybe use a little bit more detail.
Thanks in advance guys! Looking forward to rooting this thing
Sent from my LG-D802 using xda app-developers app
If by unlocked, you mean allow you to put any Sim card in it and it work, no I don't think there is a way to make that work. Roms deal with a totally different part of the phone than the carrier lock. If you mean boot loader unlock, that would specific to your phone model and flashing one from a different model could do nasty things to your phone. I would suggest finding the exact forum for your phone model (I.e. at lg g2, international g2 etc).
They should have all the info you need, and to carrier/Sim unlock your your phone to use on various providers- I would Google "Sim unlock *insert phone name here*) and read through til you find a site that will work out.
Edit* I just saw your provider, u "should" have an international version and you should be able to easily bootloader unlock, root and flash the phone. Be sure to read carefully before attempting anything though.
Sent from my Nexus 5 using Xparent Skyblue Tapatalk 2
Oh.. So although im provider locked and own a d802 i basically still have the international version and therefor should follow the d802 international guides/should be able to flash d802 roms?? I really apologize if my questions have been stupid so far. Just i am very cautious. Thanks a bunch though.
But can you answer thr nandroid part (in bold text) ? Basically reverting to stock with nandroid backup, flashing stock recovry und locking the phone in fast boot. Is this doable on the g2? Thanks a lot once again appreciate it
Sent from my LG-D802 using xda app-developers app
If you unlock your boot loader and install a custom recovery like clockwork mod or teamwin recovery you can then make a nandroid of the exact stock ROM to restore back to. Relocking the boot loader is separate but usually fairly easily done. More often than not, the steps to relock the boot loader are laid out in the same thread to unlock it.
Be very careful, most of the time, once you start changing things you NEVER EVER want to accept an ota update from lg until you return EVERYTHING back to stock.
My recommendation would be unlock, install twrp and flash a custom ROM. That way you won't ever be asked to do an lg update, and most custom Roms end up being as stable or more so than the software that came on the device to begin with.
Or to return to total stock easier, most phones have a "factory" image that flashes in Odin or some other similar software meant for that device. It will erase everything, remove root and relock the phone all at once I believe. Just remember to read everything at least twice, and try to totally understand exactly what you are about to do.
Sent from my Nexus 5 using Xparent Skyblue Tapatalk 2
So I bought this moto X Play a few weeks ago and it was fine. Then I rooted it to gain access to some shady things but didn't change much in the phone, nor did I install many ROMs or however you call it. It was fine till I learned that Niantic was blocking access to pokemon go to rooted phones.
So I tried unrooting it, to root it again with the Magisk root or something. I couldn't unroot with SuperSU, even though when I rooted it, that was the only thing I used. So I followed instructions, I backed up my data, I factory reset using TWRP, then it was time to flash a factory image, so I downloaded the ADB fastboot and the stock rom, I downloaded the firmware:
"XT1563_LUX_RETLA_DS_6.0.1_MPD24.107-52.xml" (I searched through the options and found my area, Latin America, made sure it was 6.0.1 just like I used, and made sure it had the correct build number).
So I followed the instructions, did everything correctly, and when I entered the code fastboot reboot, my phone got stuck in a Warning, Bootloader Unlocked screen, followed by an "erasing" screen with the android logo moving its antennae, followed by a vibration and a restart which starts everything again. I'm heartbroken now, I don't know what to do.
PD: I think I might have downloaded the wrong firmware, (it says DS in the name, which I think is Dual Sim, and I only have 1 inside), don't know if I can keep trying.
PD2: Pls halp
PD3: Like you might have guessed, I did unlock the bootloader before rooting, but now it seems that's the problem for the unrooting.
sher_31 said:
So I bought this moto X Play a few weeks ago...
Click to expand...
Click to collapse
Maybe you didn't flash all the sparsechunks? Get single sim firmware and try again
minimale_ldz said:
Maybe you didn't flash all the sparsechunks? Get single sim firmware and try again
Click to expand...
Click to collapse
I love you :highfive:
I just bought a new Verizon HTC 10 that is S off. The bootloader is locked and I don't have an option to check the OEM unlocking, just isn't there.
download mode
*** LOCKED***
htc_pmewl PVT S-OFF
CID-VZW_001
Any idea on how I can get the OEM unlocking to show so I can unlock the bootloader?
The only thing I am not sure of is that there is no simm card yet. Do I need to have my simm card in to get the OEM unlocking to appear.
anderson96007 said:
I just bought a new Verizon HTC 10 that is S off. The bootloader is locked and I don't have an option to check the OEM unlocking, just isn't there.
download mode
*** LOCKED***
htc_pmewl PVT S-OFF
CID-VZW_001
Any idea on how I can get the OEM unlocking to show so I can unlock the bootloader?
The only thing I am not sure of is that there is no simm card yet. Do I need to have my simm card in to get the OEM unlocking to appear.
Click to expand...
Click to collapse
If its S-off already there is no need for the bootloader to be unlocked.
Thanks
Thanks for the help the reason I ask is because I thought I read that the bootloader has to be unlocked in order to root and install a custom rom. I've done this before but always started from a factory phone so getting one s off already is new to me.
anderson96007 said:
Thanks for the help the reason I ask is because I thought I read that the bootloader has to be unlocked in order to root and install a custom rom. I've done this before but always started from a factory phone so getting one s off already is new to me.
Click to expand...
Click to collapse
The 10 is a little different.
Locked and unlocked work basically the same, and it's my understanding it's suggested to be S-OFF locked from Sunshine crew.
I've been S-OFF locked since release of vzw S-OFF and everything works perfectly.
Hope this helps a little.
Just doesn't work
I have been trying for hours to get it to accept Supersu but it just doesn't. I flashed TWRP and when I try to flash Supersu it goes through the motions and says everything is OK but my phone never gets rooted. I was thinking of trying fastboot OEM unlock. I don't know how they achieved S off and read that may have something to do with it. I wanted to flash the new Venom ROM but maybe I will have to stick with TWRP and the stock ROM if I can't get it figured out. Thanks for your help so far I do appreciate it.
Steve
anderson96007 said:
I have been trying for hours to get it to accept Supersu but it just doesn't. I flashed TWRP and when I try to flash Supersu it goes through the motions and says everything is OK but my phone never gets rooted. I was thinking of trying fastboot OEM unlock. I don't know how they achieved S off and read that may have something to do with it. I wanted to flash the new Venom ROM but maybe I will have to stick with TWRP and the stock ROM if I can't get it figured out. Thanks for your help so far I do appreciate it.
Steve
Click to expand...
Click to collapse
I would leave the phone locked.
If you plan on flashing Venom, and you have already flashed twrp, there really is no need to root the current rom. Just make a backup of it in twrp (just in case) and flash Venom. Just make sure you select the correct firmware that matches the phones firmware in the aroma installer.
OK will give that a shot tomorrow thanks
If you're S-OFF. You shouldn't have any issues flashing the latest N firmware for your device, latest TWRP, and then latest N ViperROM. And since Viper comes pre-rooted, you will only need flash ViperROM.
Get a hold if you need some help, I'll do my best to assist.
Andy Bones in May I was asking you about flashing the Viper rom then got sidetracked. Now I would like to do it. I have an HTC 10 I bought that was already S off and locked. I installed TWRP 3.1.0.1 and my firmware is 6.0.1. I tried to flash Viper 10_5.9.0. I use the 6.0.1 button when asked which firmware I want to flash to although the 7. is already checked. Everything installs OK as far as the info page goes but when trying to restart the HTC start screen comes up and the phone just hangs. Reflashed backup and the phone is back to how I got it now. If you can tell me what I am doing wrong that would be great thanks.
anderson96007 said:
Andy Bones in May I was asking you about flashing the Viper rom then got sidetracked. Now I would like to do it. I have an HTC 10 I bought that was already S off and locked. I installed TWRP 3.1.0.1 and my firmware is 6.0.1. I tried to flash Viper 10_5.9.0. I use the 6.0.1 button when asked which firmware I want to flash to although the 7. is already checked. Everything installs OK as far as the info page goes but when trying to restart the HTC start screen comes up and the phone just hangs. Reflashed backup and the phone is back to how I got it now. If you can tell me what I am doing wrong that would be great thanks.
Click to expand...
Click to collapse
My HTC 10 is S-OFF Locked bootloader, this is what Sunshine crew suggests, and works the same (on the 10, previous devices are different) as unlocked bootloader.
It seems you are in a simple bootloop. Would need recovery log to see more, and Viper devs would be able to understand their stuff better than myself.
I do have suggestion as to what I would do.
You are on 6.0.1, you should update to the latest Nougat 2.41.605.18. Either by flashing the firmware, or flashing the RUU. Read up on encryption with Nougat.
Everything you said you did sounds correct to me. And as are as selecting the correct firmware in Aroma, that is for the fingerprint to work, and can easily be fixed if you accidentally select N instead of MM.
I hope this helps in some way.
Ok so I am just going to say I am a idiot and need some help. Please don't hate on me. I am not good with phone technology, but I followed directions to root my phone with TWRP & Magisk 12.0 and everything is working ok for the most part. The problem is I need a specific app to work for my job, but it fails to start due to the failed Safety Net. I would probably be able to figure out how to unroot it & relock the bootloader, but in my haste to root my phone, I did not backup the stock ROM image 1st. If anyone can help me figure out the next step to go back to a factory phone, I would forever be indebted to you. My specific model is an XT-1681 dual sim which I believe is from Brazil. I am in the US and not sure if I can use a different stock rom because I have tried searching to no avail. Please help if you can.
Thanks for your time.
There's a flash file for magisk which allows it to pass safety net. I saw it in the Lineage thread a few days back, but I don't know the exact origin.
Secondly, you can't relock the bootloader anyways. I don't know for sure if that in itself would cause safety net issues.
Karlinski said:
There's a flash file for magisk which allows it to pass safety net. I saw it in the Lineage thread a few days back, but I don't know the exact origin.
Secondly, you can't relock the bootloader anyways. I don't know for sure if that in itself would cause safety net issues.
Click to expand...
Click to collapse
I appreciate the response, but I was able to finally locate the stock rom from a site linked on here & flashed and relocked the bootloader using ADB. Basically my phone is stock again & working like I need it to. I tried hiding the app in Magisk, but was unsuccessful. So I guess this post can be locked.
ronefx said:
I appreciate the response, but I was able to finally locate the stock rom from a site linked on here & flashed and relocked the bootloader using ADB. Basically my phone is stock again & working like I need it to. I tried hiding the app in Magisk, but was unsuccessful. So I guess this post can be locked.
Click to expand...
Click to collapse
Which phone version you have retin?
Sent from my Moto G (5) Plus using Tapatalk
I installed the HavocOS on my LG G6 H870. When I needed to make use of the warranty because of a broken headphone jack, I tried to install a Stock Rom. I used the "international" version from here since I live in Germany (also locked the bootloader before).
However, the service by the warranty provider was denied because they identified my phone as "G6 Dual (LGH870DS)" and were therefore not responsible for repairs.
However, in the phone info, the model is labeled "LG-H870". Hardware Version "Rev. 1.0". Baseband Version "MPSS.TH.2.0.1.c3.1-00014-M8996FAAAANAZM-1.86009.21" and Software Version "V10d-EUR-XX".
I can not really understand their reasoning. Does anybody have an idea what Stock Rom I need to flash so that the warranty provider accepts it? Note: the phone was serviced by them before because of another issue, but at a point when I did not yet flash a custom Rom.
Thanks in advance
If You live in Germany, EU law says that manufacturer can't cancel Your warranty because of unlocked bootloader unless Your phone is not modified. So if there are no signs of modification like root, wrong firmware or custom recovery they can't cancel it. If You have H870 model flash >>>THIS<<< firmware and then in fastboot type fastboot oem lock to make sure bootloader is locked and wipe phone.
Chamelleon said:
If You live in Germany, EU law says that manufacturer can't cancel Your warranty because of unlocked bootloader unless Your phone is not modified. So if there are no signs of modification like root, wrong firmware or custom recovery they can't cancel it. If You have H870 model flash >>>THIS<<< firmware and then in fastboot type fastboot oem lock to make sure bootloader is locked and wipe phone.
Click to expand...
Click to collapse
Thanks!
I'm going to flash the ROM from the link you provided and then send it out for service a second time.
In my eyes there are two possible explanations for the previous rejection:
1. The service provider made a mistake in their routine of detecting the model/software version. The fact that I put a custom rom on the phone before might have caused an issue there.
2. I made a mistake when flashing the H870 software. The source from my first post also does not seem to be an official LG link, other than the one you provided.
So thanks for the link again!
Edit: Should I still use the flashing guide from here (https://www.**********.com/download...-g6/#How_to_Install_Stock_Firmware_on_LG_G6)? The website is droid views (one word), it gets deleted by xda for some reason.
Not sure if relevant, but I had to use this tool (https://forum.xda-developers.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295) so that my phone would show up in LGUP...
I use Z3x for LG flashing so don't know much about LGUP but I assume if there is an option to flash stock KDZ files it's what You need. I'm almost sure that You can't flash H870 with KDZ different than stock but again never tried mixing firmwares.
huzgu444 said:
Thanks!
I'm going to flash the ROM from the link you provided and then send it out for service a second time.
In my eyes there are two possible explanations for the previous rejection:
1. The service provider made a mistake in their routine of detecting the model/software version. The fact that I put a custom rom on the phone before might have caused an issue there.
2. I made a mistake when flashing the H870 software. The source from my first post also does not seem to be an official LG link, other than the one you provided.
So thanks for the link again!
Edit: Should I still use the flashing guide from here (https://www.**********.com/download...-g6/#How_to_Install_Stock_Firmware_on_LG_G6)? The website is droid views (one word), it gets deleted by xda for some reason.
Not sure if relevant, but I had to use this tool (https://forum.xda-developers.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295) so that my phone would show up in LGUP...
Click to expand...
Click to collapse
I would guess it is simple to tell if you have H870 or H870DS as the H870DS has 64GB storage and the H870 only 32GB. Also the DS has 2 SIM card slots. Goto Settings, Storage and look at the internal storage, my H870 says 25.94GB used of 32.00GB
Sent from my LG-H870 using Tapatalk
Chamelleon said:
If You live in Germany, EU law says that manufacturer can't cancel Your warranty because of unlocked bootloader unless Your phone is not modified. So if there are no signs of modification like root, wrong firmware or custom recovery they can't cancel it. If You have H870 model flash >>>THIS<<< firmware and then in fastboot type fastboot oem lock to make sure bootloader is locked and wipe phone.
Click to expand...
Click to collapse
The service provider now accepted the device with the firmware from the link you provided and repaired it without any charge. Thanks again!