And with that I'm going to sleep. Knackered.
Well check in on you tomorrow
Well check in on you tomorrow
So after 6 or so attempts, I was able to root my phone. I have Oxygen OS 11.0.2.2 installed, rooted.The aforementioned fix should fix WiFi and BT then go through the persist fix and you should be ok.
If your IMEI is functional then definitely back up your EFS partition. Do not remove the modem using the guide commands you wrote
You're going to need root for all of this
#I did not include the following line:
#ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=CA
network={
ssid=XXX
psk=XXX
}
No worries man. Good luck. You've done brilliantlySo after 6 or so attempts, I was able to root my phone. I have Oxygen OS 11.0.2.2 installed, rooted.
I created /data/misc/wifi/wpa_supplicant/wpa_supplicant.conf (which I've done before on my Raspberry Pi). It was an interesting process because I didn't have access to an editor. One thing to note is that I didn't include the first line of wpa_supplicant.conf from my Raspberry Pi because it doesn't 'work' for android I think.
Of course this did not work (wifi/bluetooth still not turning on) because either the wpa_supplicant.conf was incomplete (because of the first line that I ommitted) or because then this problem would have been too easy to solve.Code:#I did not include the following line: #ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=CA network={ ssid=XXX psk=XXX }
I have backed up my persist.img and am ready to try the fix persist guide if you think that's what I should do next.
Thanks again, you guidance and help is much appreciated.
So I cleared my wpa_supplicant.conf and that didn't do anything.
I tried to clear fix my persist, however, it failed. One reason that it might have failed is because I did it with OOS-11.0.2.2 whereas in the guide OOS-10.5.4 was used. Also, the calibration test failed with very few red lines which is said to be bad. This might have something to do with version 10.5.4 vs 11.0.2.2. I can revert back to OOS-10.5.4, however, I am unable to get root access on that version.
I need help getting root access in version 10.5.4 :/
So I'm getting MagiskManager from topjohnwu's github directly. I can get root access no problem on 11.0.2.2. When I use the same method (extract boot.img from payload, patch it using MM, then fastboot flash boot boot_patched.img) for 10.5.4, the phone gives me aWhy are you unable to get root access?
Follow the guide to the letter, it does indeed have to be on Android 10.
In what way is it failing to root?
What process have you used? I can walk you through that no problem.
In order i think this is what is best to be done.
1. MSM down to 10.5.4 and then unlock the bootloader again.
2. Obtain root access, you will need to have access to the 10.5.4 firmware, I can extract the image but it would be best if you patched this yourself.
3. Boot the image then install directly to make it permanent.
4. Make a back up of your EFS and Persist partitions.
5. Run through the persist fix.
error. I can't even get to Recovery. I'm still trying so that I can simply patch the original boot.img 10.5.4 and try again.qualcomm crashdump mode
Attempted to kill init! exitcode=0x0000000b
complete_and_exit
You are wanting Root and TWRP on A10? If so look for the All in one tool in the development thread. It still works on A10. Its super easy to do! It will install TWRP and magisk with no issues.So I'm getting MagiskManager from topjohnwu's github directly. I can get root access no problem on 11.0.2.2. When I use the same method (extract boot.img from payload, patch it using MM, then fastboot flash boot boot_patched.img) for 10.5.4, the phone gives me a
error. I can't even get to Recovery. I'm still trying so that I can simply patch the original boot.img 10.5.4 and try again.
I need a patched 10.5.4 boot.img that is patched with magisk. :/
Honestly just change the channel to Canary or beta then patch it.So I'm getting MagiskManager from topjohnwu's github directly. I can get root access no problem on 11.0.2.2. When I use the same method (extract boot.img from payload, patch it using MM, then fastboot flash boot boot_patched.img) for 10.5.4, the phone gives me a
error. I can't even get to Recovery. I'm still trying so that I can simply patch the original boot.img 10.5.4 and try again.
I need a patched 10.5.4 boot.img that is patched with magisk. :/
@dladz I'm up for anything at this point for the sake of science! I'd like to try what @Some_Random_Username mentioned here. I can get to this screen but I'm not sure what precautions to take. I await your wisdom.Hi, agreed it looks like an EFS and eventually /persist loss. MSM tool indeed does not reflash those partitions.
I have not tested on any device but I've heard there's a Restore NV/EFS button available after dialing *#268# and going to NV Parameters, maybe it could do the trick after a device reboot?
Needless to say I advise to take backups of current EFS and /persist (eg by TWRP) before performing operation and that user is doing that at their own risks.
Note: *#268# launches cn.oneplus.nvbackup (also known as NV Backup UI), which is present on every OOS release. While alternative methods to write an IMEI arbitrary may exist, I am not aware of them and talking about them anyway would be against forum rules.
Lol man this is a bugger.@dladz I'm up for anything at this point for the sake of science! I'd like to try what @Some_Random_Username mentioned here. I can get to this screen but I'm not sure what precautions to take. I await your wisdom.
Thanks!
Also if you haven't gone to magisk and clicked install after booting the patched boot image, you will lose root immediately when you reboot your phone, as the boot image is only temporarily booted. Just click install then direct install in magisk (top install button on the main page)I changed MM channel to beta and did flashboot boot boot-patched.img and I have root on 10.5.4.
Start persist fix now...
dd if=/dev/block/mmcblk0p7 of=/sdcard/efs_backup.img
so seeing as you have two IMEI's that won't work i'm afraid, i believe this is the code via ADB.Well as you just saw @dladz, we have made some progress
I was thinking that I should backup my efs since I'm playing fast and loose with this phone. I was going to do
from this thread https://forum.xda-developers.com/t/solved-guide-how-to-backup-efs-modemfs-folders.2342100/Code:dd if=/dev/block/mmcblk0p7 of=/sdcard/efs_backup.img
That guide is for Samsung phones though. Will it work for me?