Hi! I don't know when phone rooting got this complicated.
The story is that I bought an A3 in India, and it came with my LTE bands locked, so I need to root in order to unlock them.
I unlocked the bootloader without any problems, but as soon as I patched the stock boot image and flashed it, my phone prompted me to factory reset it.
I imagine my phone isn't compatible with the stock image I got from the Magisk website, so I dumped my own following a tutorial here.
Now, I have TWRP in slot B (I can't seem to be able to remove it) and whenever I try to flash the original image, I don't get wifi.
I was able to patch the image with magisk and boot, but the wifi problem remains.
So now I'm stuck with 3G and no wifi.
Anybody can lend me a hand?
Thanks in advance!
UPDATE: I'm trying to go back to stock by flashing this: https://in.c.mi.com/in/miuidownload/detail?device=1900375
Just finished flashing, it has wifi.
How do I go back and try to get my LTE bands unlocked without messing everything up like I did today?
igniparra said:
UPDATE: I'm trying to go back to stock by flashing this: https://in.c.mi.com/in/miuidownload/detail?device=1900375
Just finished flashing, it has wifi.
How do I go back and try to get my LTE bands unlocked without messing everything up like I did today?
Click to expand...
Click to collapse
WiFi gets messed up when you flash an older image (i.e. From and older version such as 10.0.6), backup your own image in TWRP and flash that, or use the one that came with the stock firmware you just downloaded.
Related
I did a very very very stupid thing...
Hey,
Hundreds of times I did this with no problem. But when your head is away bad thing can happen.
I flashed RETUS 5.1 stock ROM over my XT1527 Latin American carrier (possibly Movistar Argentina) . Flash failed. As it turns out I completely forgot to UNLOCK BOOTLOADER first. So I get the code and try to unlock, but the damn ALLOW OEM UNLOCK setting is turned off.
So here I am with a dead phone and no way to boot back. I can only go to (stock) recovery buth nothing I do there really makes any difference. So far I've downloaded two Latin American stock ROM images with no success (Preflash validation failed). However I am concerned that even if I find the right ROM, it will not boot either because of the downgraded boot.
Any options, ideas? Im stuck....Thanks in advance!
Different reason but same problem...
Dang that sucks mate.
Rsd lite to get back to working phone
Sent from my XT1526 using XDA-Developers mobile app
dbx2r said:
I did a very very very stupid thing...
Hey,
Hundreds of times I did this with no problem. But when your head is away bad thing can happen.
I flashed RETUS 5.1 stock ROM over my XT1527 Latin American carrier (possibly Movistar Argentina) . Flash failed. As it turns out I completely forgot to UNLOCK BOOTLOADER first. So I get the code and try to unlock, but the damn ALLOW OEM UNLOCK setting is turned off.
So here I am with a dead phone and no way to boot back. I can only go to (stock) recovery buth nothing I do there really makes any difference. So far I've downloaded two Latin American stock ROM images with no success (Preflash validation failed). However I am concerned that even if I find the right ROM, it will not boot either because of the downgraded boot.
Any options, ideas? Im stuck....Thanks in advance!
Click to expand...
Click to collapse
If you can find someone with a working version of your phone, and in recovery push settings.db (I think) to the bricked phone and reboot into bootloader. then try OEM unlock
Or if you can find an official ROM for the device from Motorola, might be able to flash back to stock with the original firmware then try unlocking again.
sandix said:
If you can find someone with a working version of your phone, and in recovery push settings.db (I think) to the bricked phone and reboot into bootloader. then try OEM unlock
Or if you can find an official ROM for the device from Motorola, might be able to flash back to stock with the original firmware then try unlocking again.
Click to expand...
Click to collapse
I CAN get an identical phone to do whatever I wish with it. However the bricked phone has the stock recovery. Can I still push the file in that?
I have tried with several stock roms with no success. I can't seem to be able to get the correcto one. How do I figure out the correct CID and stuff? However my concern is that the correct stock firmware is XT1527_SURNIA_TEFLA-MSTCL_5.0.2_LXI22.50-53.8_cid12_subsidy-MOVSTLA_CFC and will not boot due to the bootloader being already updated to 5.1
same problem here with xt1528...
I have an Xperia Z5 Compact with German T-Mobile factory ROM, which is not too much use to me coz I don't live in Germany or use T-Mobile. I wanted to flash a stock ROM with no bloatware. Root probably later, I'd like to use the phone a bit first. It isn't simlocked btw, and was OTA updated to Marshmallow before I tried anything.
So I unlocked the bootloader, then flashed the recovery and boot images from the first post here without noticing they are old versions and further down the thread they are updated. Now I can get into TWRP recovery, but when I try to start the phone normally it freezes on the pink T-Mobile splash screen. Recovering from my Nandroid backup doesn't help... coz I only created it from within TWRP after I did this flash.
I can't use Flashtool, it says USB debugging is turned off. I guess what I flashed before has reset that to off. I tried following the Lollipop instructions here to turn it back on using adb, but I can't pull the file mentioned there. Anyone got instructions for doing the same on Marshmallow please?
Not exactly panicking here, but I really wish I practiced on my old HTC Hero before jumping in blind....
moyabrit said:
I have an Xperia Z5 Compact with German T-Mobile factory ROM, which is not too much use to me coz I don't live in Germany or use T-Mobile. I wanted to flash a stock ROM with no bloatware. Root probably later, I'd like to use the phone a bit first. It isn't simlocked btw, and was OTA updated to Marshmallow before I tried anything.
So I unlocked the bootloader, then flashed the recovery and boot images from the first post here without noticing they are old versions and further down the thread they are updated. Now I can get into TWRP recovery, but when I try to start the phone normally it freezes on the pink T-Mobile splash screen. Recovering from my Nandroid backup doesn't help... coz I only created it from within TWRP after I did this flash.
I can't use Flashtool, it says USB debugging is turned off. I guess what I flashed before has reset that to off. I tried following the Lollipop instructions here to turn it back on using adb, but I can't pull the file mentioned there. Anyone got instructions for doing the same on Marshmallow please?
Not exactly panicking here, but I really wish I practiced on my old HTC Hero before jumping in blind....
Click to expand...
Click to collapse
use adb and flash androkernel to fix the incorrect kernel that you installed. you can do that by renaming it boot.img and sending the command fastboot flash boot boot.img
i haven't messed with androplus in a while but if you were on marshmallow i believe v34 will work and if you were on the absolute newest marshmallow i think its v35 off the top of my head.
fyi you dont need usb debugging on to use flashtool, you can get into fastboot mode with no rom at all installed.
I have this canadian version of Huawei honor 5x, and I've been scouring to find answers to whether if am i able to flash a custom rom such as cyanogenmod or not. Can anyone please help me out with this; I've already made several post and it get unanswered. Sofar I've managed to unlock the bootloader, flashed twrp, and rooted it. When I tried installing CM 13 from a thread on this site, I always get the "error 7" and I tried deleting the 2nd line in the meta-inf and rezipping the rom and reflashing; results remain the same.
Here's more info on my phone:
Build#: KII-L05C654B330
EMUI 4.0
Hopefully this will answer your question.
You have a slight typo in your thread title, the Canadian version is the GR5.
I have the same phone as you, and am currently running Lineage OS which is the only one so far that the developers have stated they support all variants (except firmware with VOLTE). Even though they support all variants, thus far the zips they provide still have a line where they assert, so you need to edit out those lines in the updater script. But everything works including fingerprint.
Now, I am currently on chatr, so I do not know if LTE is enabled or not as chatr doesn't use LTE, just 3G. But I do have a backup of my ROM in case you need it. My Backup is from the Zoom Mobile version (Rogers subsidiary/MVNO) which means it doesn't have all the Rogers bloatware apps. But same firmware. Also, I did read here that you need to be running recent firmware so your firmware etc is up to date. I trust you ran all the Huawei updates prior?
Have a look at Lineage OS. It's awesome.
Chaos Storm said:
Hopefully this will answer your question.
You have a slight typo in your thread title, the Canadian version is the GR5.
I have the same phone as you, and am currently running Lineage OS which is the only one so far that the developers have stated they support all variants (except firmware with VOLTE). Even though they support all variants, thus far the zips they provide still have a line where they assert, so you need to edit out those lines in the updater script. But everything works including fingerprint.
Now, I am currently on chatr, so I do not know if LTE is enabled or not as chatr doesn't use LTE, just 3G. But I do have a backup of my ROM in case you need it. My Backup is from the Zoom Mobile version (Rogers subsidiary/MVNO) which means it doesn't have all the Rogers bloatware apps. But same firmware. Also, I did read here that you need to be running recent firmware so your firmware etc is up to date. I trust you ran all the Huawei updates prior?
Have a look at Lineage OS. It's awesome.
Click to expand...
Click to collapse
Hai bud , he mentioned that he is on emui 4 . So we have necessary proof that he is on marshmallow which we require to flash a rom on 5x:highfive:
And after thinking for a while , the last version (latest updates) have modem issues so custom roms may have stopped working for u due to this. I have solutions for u .
Hi Chaos Storm!
I'm fellow Canadian and just got GR5 on kijiji for my daughter.
Just couple quick questions: what ROM do you have now? (i.e. which one you recommend?)
Are there any tricks to flash? I'm having issue now - unlocked bootloader, flashed TWRP, SU. But when I try to boot into TWRP I get stock recovery. Can boot into TWRP only from TWRP app or ADB command...
Then I tried to flash LinOS 14 but got Error 7...
Thanks in advance!!!
Chaos Storm said:
Hopefully this will answer your question.
You have a slight typo in your thread title, the Canadian version is the GR5.
I have the same phone as you, and am currently running Lineage OS which is the only one so far that the developers have stated they support all variants (except firmware with VOLTE). Even though they support all variants, thus far the zips they provide still have a line where they assert, so you need to edit out those lines in the updater script. But everything works including fingerprint.
Now, I am currently on chatr, so I do not know if LTE is enabled or not as chatr doesn't use LTE, just 3G. But I do have a backup of my ROM in case you need it. My Backup is from the Zoom Mobile version (Rogers subsidiary/MVNO) which means it doesn't have all the Rogers bloatware apps. But same firmware. Also, I did read here that you need to be running recent firmware so your firmware etc is up to date. I trust you ran all the Huawei updates prior?
Have a look at Lineage OS. It's awesome.
Click to expand...
Click to collapse
Goldenmeadow said:
Hi Chaos Storm!
I'm fellow Canadian and just got GR5 on kijiji for my daughter.
Just couple quick questions: what ROM do you have now? (i.e. which one you recommend?)
Are there any tricks to flash? I'm having issue now - unlocked bootloader, flashed TWRP, SU. But when I try to boot into TWRP I get stock recovery. Can boot into TWRP only from TWRP app or ADB command...
Then I tried to flash LinOS 14 but got Error 7...
Thanks in advance!!!
Click to expand...
Click to collapse
Not sure what happened there. When you unlocked the bootloader did you reboot at least once to allow it to reset all data? I've had issues before if I unlock a bootloader then immediately flash something.
I know TWRP should ask you if you want to prevent stock recovery from being restored when you exit, always say yes. (It should only ask once)
Did you edit the updater-script in the Lineage install zip? You need to remove the first line or two where it says: "assert device" or something like that.
If all else fails, boot the phone into fastboot, flash twrp again, and make sure you "fastboot reboot recovery" so the unit doesn't have a chance to try and restore the factory recovery. Then try flashing your rom again.
Thanks for reply! With the help of fellow members I figured it out - I was holding POWER button TOO LONG And if that happens, phone goes into built in recovery... You suppose to let button go once you see first splash screen.
So it's all good!
Thanks!!!
Chaos Storm said:
Not sure what happened there. When you unlocked the bootloader did you reboot at least once to allow it to reset all data? I've had issues before if I unlock a bootloader then immediately flash something.
I know TWRP should ask you if you want to prevent stock recovery from being restored when you exit, always say yes. (It should only ask once)
Did you edit the updater-script in the Lineage install zip? You need to remove the first line or two where it says: "assert device" or something like that.
If all else fails, boot the phone into fastboot, flash twrp again, and make sure you "fastboot reboot recovery" so the unit doesn't have a chance to try and restore the factory recovery. Then try flashing your rom again.
Click to expand...
Click to collapse
Chaos Storm said:
Hopefully this will answer your question.
You have a slight typo in your thread title, the Canadian version is the GR5.
I have the same phone as you, and am currently running Lineage OS which is the only one so far that the developers have stated they support all variants (except firmware with VOLTE). Even though they support all variants, thus far the zips they provide still have a line where they assert, so you need to edit out those lines in the updater script. But everything works including fingerprint.
Now, I am currently on chatr, so I do not know if LTE is enabled or not as chatr doesn't use LTE, just 3G. But I do have a backup of my ROM in case you need it. My Backup is from the Zoom Mobile version (Rogers subsidiary/MVNO) which means it doesn't have all the Rogers bloatware apps. But same firmware. Also, I did read here that you need to be running recent firmware so your firmware etc is up to date. I trust you ran all the Huawei updates prior?
Have a look at Lineage OS. It's awesome.
Click to expand...
Click to collapse
Would I be able to get a copy of your ROM? I am with Cityfone (Rogers subsidiary), and am looking to network unlock, I can't seem to find my backup from when I started flashing custom ROMs
kenneth_82614 said:
Would I be able to get a copy of your ROM? I am with Cityfone (Rogers subsidiary), and am looking to network unlock, I can't seem to find my backup from when I started flashing custom ROMs
Click to expand...
Click to collapse
I will have a look. As things would be, I also need to restore my GR5 so I'll find it for both of us.
I am on tmobile lg g5, twrp installed, unlocked bootloader, rooted, running fulmics. I am returning the phone since the gps issues are becoming worse, and it has even started dropping cell service almost hourly which requires me to reboot. Can I completely restore to stock via flashing in twrp? Trying to avoid having to drive somewhere and use LGUP on a windows PC as I don't own one. Will the bootloader automatically relock if I flash the stock rom without flashing SU along with it? Appreciate any help.
jamesvmccann said:
I am on tmobile lg g5, twrp installed, unlocked bootloader, rooted, running fulmics. I am returning the phone since the gps issues are becoming worse, and it has even started dropping cell service almost hourly which requires me to reboot. Can I completely restore to stock via flashing in twrp? Trying to avoid having to drive somewhere and use LGUP on a windows PC as I don't own one. Will the bootloader automatically relock if I flash the stock rom without flashing SU along with it? Appreciate any help.
Click to expand...
Click to collapse
There are stock ROMs (H83020a and H83020c) available to flash from twrp. You will not lock your bootloader nor lose twrp; but in order to get root again(in case you want), you will need to flash su. It worked​ for me perfectly and I have no issues with anything on my phone. The only thing that does not work (check screenshot for details) is google pay because since the phone is rooted "it does not meet the google's security standards." Now if you want to return the phone to factory state I believe there are threads here for that. If you still want to keep the phone just flash the appropriate zip and enjoy removing tmobile bloatware if you wish.
LG G5 Downloads:
Important!!!Do not flash H83010a. I read that it can brick your phone.
TMobile model is H830.
Android 6.0.1 is H83010i
Android 7.0 is H83020a and the latest version is H83020c. Find the zip of your choice.
http://downloads.codefi.re/autoprime/LG/LG_G5
jamesvmccann said:
I am on tmobile lg g5, twrp installed, unlocked bootloader, rooted, running fulmics. I am returning the phone since the gps issues are becoming worse, and it has even started dropping cell service almost hourly which requires me to reboot. Can I completely restore to stock via flashing in twrp? Trying to avoid having to drive somewhere and use LGUP on a windows PC as I don't own one. Will the bootloader automatically relock if I flash the stock rom without flashing SU along with it? Appreciate any help.
Click to expand...
Click to collapse
Ok. If you're wanting to do 100% stock, download the complete zip for 20c from http://downloads.codefi.re/autoprime/LG/LG_G5/H830/H83020c/LG-H83020c-Flashable.COMPLETE-ARB01.zip there. Put it on your extsd card. Backup everything that is on your internal sd (phone memory) like pictures, videos, SMS, etc. Once you've done that, boot to TWRP. Once in TWRP wipe everything except externalsd card, I also recommend using the format option to format the internal sd. Once you've wiped and preferably formatted data go to install and install the 20c complete zip you put on your extsd card. After it's done installing just reboot. This will overwrite TWRP and you will NOT have root. Your bootloader will still be unlocked though, so you still need a PC to relock your bootloader. Also I don't think encryption will be re enabled unless you flash the kdz though. Anyways that's your best way to return to stock without using PC.
mlatelcom said:
There are stock ROMs (H83020a and H83020c) available to flash from twrp. You will not lock your bootloader nor lose twrp; but in order to get root again(in case you want), you will need to flash su. It worked​ for me perfectly and I have no issues with anything on my phone. The only thing that does not work (check screenshot for details) is google pay because since the phone is rooted "it does not meet the google's security standards." Now if you want to return the phone to factory state I believe there are threads here for that. If you still want to keep the phone just flash the appropriate zip and enjoy removing tmobile bloatware if you wish.
LG G5 Downloads:
Important!!!Do not flash H83010a. I read that it can brick your phone.
TMobile model is H830.
Android 6.0.1 is H83010i
Android 7.0 is H83020a and the latest version is H83020c. Find the zip of your choice.
http://downloads.codefi.re/autoprime/LG/LG_G5
Click to expand...
Click to collapse
Just curious what type of brick? Hard or soft? Just wanna know for future safety
Sent from my LGE LG-H830 using XDA Labs
Nick216ohio said:
Just curious what type of brick? Hard or soft? Just wanna know for future safety
Click to expand...
Click to collapse
I don't remember very well; but I believe it's hard brick. When I was researching to root my phone y read that somewhere, maybe here. I'll try to find the info on my PC when I get home.
Update:
I found the link. The advice is in the FAQ. Not sure if that would happen in your case since you have a custom ROM. The danger is when downgrading from H83010D to H83010A.
Here is the link:
https://forum.xda-developers.com/tm...ock-h830-10d-rom-flashable-zips-imgs-t3406505
mlatelcom said:
I don't remember very well; but I believe it's hard brick. When I was researching to root my phone y read that somewhere, maybe here. I'll try to find the info on my PC when I get home.
Update:
I found the link. The advice is in the FAQ. Not sure if that would happen in your case since you have a custom ROM. The danger is when downgrading from H83010D to H83010A.
Here is the link:
https://forum.xda-developers.com/tm...ock-h830-10d-rom-flashable-zips-imgs-t3406505
Click to expand...
Click to collapse
Thanks bro. I totally believe it because past phones had exact issue.
Sent from my LGE LG-H830 using XDA Labs
Just for clarification, if you're on Android 7, you can not downgrade to Android 6 without first downgrading your bootloader as it won't flash correctly. Also just something to always keep in mind with LG phone's at least, is that LG uses a antirollback system. Never attempt to downgrade from a higher ARB # to a lower ARB #, if you're somehow successful it will lead to a hard brick. Every firmware that autoprime has posted states what antirollback number it is on, so always check that. On h830, every firmware since 10D has been ARB01, only 10A or earlier was ARB0. While lgup shouldn't allow you to flash (should error out), no reason to take that chance. Hopefully that helps clarify
Hey guys:
I did unlock bootloader unload/root according to this guide.
First Wifi worked.
Then I did try to figure out OTA issues, could not uninstall Magisk, so temporary flashed stock image back.
From here on out - no matter, if stock, or Magisk_patched image: No chance to turn WiFi on.
In the WiFi-Menu, if I touch "turn on", it will show for one second: Turning Wi-Fi on", and then just return to the WiFi off-setting...
I did do factory reset from recovery - no success, flashed again (stock and patched) - no success.
I can't figure it out! Anybody an idea?
Are you sure that you are using correct boot.img version? It must be the same version as your system - build number and EU/GB variant must match.
Yes. I did, unless I had an older Version on a different slot and somehow did change slots and started messing around there. Could be an explanation.
Got tired of messing with it. Did download the whole stock rom, flashed it and will stay "unrooted" for now. Not worth the hassle to me.
BUT: What a mess that these manufacturers make it so hard to have working and rooted phone.
My guess would be that you flashed incorrect stock boot image.
Also how come that you couldn't uninstall Magisk?
Rooting is pretty straightforward, even if Mi A3 has a slight complication with missing "fastboot boot" command support, but otherwise it's nothing special. Take the correct boot.img, patch it, flash it and you're done.
First take your phone into fastboot mode. write fastboot set_active a .unzip stock rom and you will see flash_all.bat click it and you will succesfully have brand new rom with no issue. Note:If anything bad happens or goes wrong im not responsible. Its all your decision to do it
_mysiak_ said:
My guess would be that you flashed incorrect stock boot image.
Also how come that you couldn't uninstall Magisk?
Rooting is pretty straightforward, even if Mi A3 has a slight complication with missing "fastboot boot" command support, but otherwise it's nothing special. Take the correct boot.img, patch it, flash it and you're done.
Click to expand...
Click to collapse
Magisk said: no backup. tht's why I did install the original boot.img back, and this is where the WiFi-issue started.
I wanted to go this route, but did not manage it after several hours, so gave up and went stock:
https://forum.xda-developers.com/mi-a3/how-to/guide-create-manual-backup-stock-boot-t3988345
WorstCases said:
Magisk said: no backup. tht's why I did install the original boot.img back, and this is where the WiFi-issue started.
I wanted to go this route, but did not manage it after several hours, so gave up and went stock:
https://forum.xda-developers.com/mi-a3/how-to/guide-create-manual-backup-stock-boot-t3988345
Click to expand...
Click to collapse
Yeah, you need to create first backup manually. The guide works perfectly, I tested all methods (otherwise I wouldn't mention them ). What issues did you have?
The system is probably installed in b partition, you need to set partition a as active and reinstall rom via mi flashtool