Alright, so, I'm not a huge modder, but I do like to remove the stock OS once things start slowing down (as they always do).
When I upgraded my LG G2 D800 to Cyanogenmod 11, I noticed the Accelerometer was no longer working. No big deal, I thought, it would eventually be fixed. So I just used a manual control app in the meantime.
Well, Yesterday I got a ColorCross VR headset, so I want that Accelerometer to work again. I've tried nearly everything. short of going back to stock. I think I know the solution but can't find a reliable download/get TWRP to work with my downloads. I had cm-11-20140504-SNAPSHOT-M6-d800 Installed
I found this thread http://forum.xda-developers.com/showthread.php?t=2705509 stating that a modified Kitkat Modem/baseband is needed, but the files are gone.
Then, I found this thread: http://forum.xda-developers.com/showthread.php?t=2451426 with these downloads http://downloads.codefi.re/autoprime/LG/LG_G2/G2_modems it had two modems or the LGD800, "10D_Radio" and "10O_Radio" neither worked when trying to flash the zip as downloaded using TWRP. I tried both wiping data/Cavik and flashing it right before and right after a fresh install of Cyanogenmod, both Lollipop and Kitkat versions but no luck. Couldn't open the zip file TWRP said.
So I tried a few 5.0 ROMS, CM 12 (second to latest nightly and a few others), Cloudy, Vanir, but none of them turned on my Accelerometer.
So, what I need, is an explanation on how to flash those modem files or if I was doing it correctly, a link to valid modem files. Preferably one that works with an Android 5.0.x ROM, but if I have to go back to KitKat, I can live with that, I just want my sensors to work.
Failing that, I guess I can revert all the way back to stock. But let me ask one question: Can I just flash a .zip file using TWRP if I'm not worried about making it appear completely stock (not planning on returning or selling it) without having to do the extra stuff in the guide intended for a complete return to stock? I don't need recovery to be reverted, just the original stock ROM (I tried to flash just the ROM, but either the download was damaged or I can't simply flash the stock LG G2 AT&T ROM).
I have five bucks in bitcoin I can tip whoever helps me out, either a custom ROM that installs the right modem/baseband by default and is KitKat or above or some instructions on how to get the right modem files to install + a link to them.
If a new build needs to be compiled to get the accelerometer working again, I might be able to donate a little more than that.
Right before posting this I tried downgrading to CM11-20140210-SNAPSHOT but while it installed, it still says there is no accelerometer (and doesn't auto-rotate, even when on). I also tried downgrading to CM10 (the only LG d800 CM10 on the official site) but TWRP didn't want to open the zip.
Thanks!
Neverminc, figured it out, sorry for the noob questions
Related
Hi, I'm having a heck of a time figuring this out. I'm not new to flashing (had an HTC Desire and flashed it at least a hundred times) but this Canadian I337m thing is kicking my butt.
Some ROMs will work for me, and some won't. They'll flash fine, but they just sit there at the Samsung boot screen or they'll continuously bootloop, or they'll go solid black screen.
The ones that I've been able to get working are the Graviton build, the Echoe Rom, the PAC Man rom... But the ones I can't are things like Infamous, SHOstock, AOKP...
I've read through the threads, and as near as I can tell I need to flash these ROMs and THEN flash a compatible Kernel? But I'm not sure where to locate that Kernel? If it's a 4.3 build I'm guessing I need a 4.3 stock Kernel?
It seems like the 4.2.2 builds are the ones that aren't working?
Help! What am I missing to get these ATT roms to work on a Telus i337m?
Sounds like an incorrect flashing method? Are you wiping system, data, cache... before flashing the Rom?
Sent from my SGH-I337M
Thanks for the reply!
I finally got it working, so I'll post what I did in case others with the i337m have issues. No guarantees on any of these links, the files worked for me but your mileage may vary. (It won't let me post links here because I haven't posted much. Oh well.)
1 - flash the ROM you want to try. Make sure it's something even remotely compatible like something for the i337 (ATT variety for example)
The next step has two options, depending on how you want to tackle it. You have to flash an i337m stock kernel for your brand of phone.
2a - You can use ODIN to flash the stock kernel in Download mode (power+home+vol-down). Find your model (mine is TELUS) samsung-updates . com/device/?id=SGH-I337M&details=Galaxy_S_4_Canada
2b - Alternatively you can find a flashable ZIP file and do that next. androidfilehost . com/?fid=23060877489996266
***Optional in case your WiFi doesn't work****
If you went the ODIN route you'll need to go back into Recovery before step 3. If you went flashable, just go to step 3.
3 - Some ROMs you'll need to patch the WiFi to get it to work properly. I used this zip. androidfilehost . com/?fid=23060877489996403[/URL]
4 - Wipe the cache and the dalvic cache.
5 - It might ask you to fix permissions in case Root was somehow lost. (If it doesn't, don't worry about it.) Say yes.
6 - NOW reboot.
Good luck!
Some people who have used autorec to install twrp on their d852 experience a shutdown/reboot hang on their phone. The phone will appear to turn off and the only way to turn it on again is to pull the battery and put it back in.
I have created a flashable twrp zip that installs v10b firmware. It does not replace your existing baseband/modem or kernel. It also does not touch your system or data partition so there will be no data loss.
I have been using this for a week and have had no problems. I also have NOT had a reboot/shutdown hang since installing it either.
Flash at your own risk. This is for the d852 ONLY. Also, only use this if you are already running an AOSP/cm based rom. If you try to use this zip with a stock kernel you won't be able to boot afterwards.
https://drive.google.com/file/d/0B3TzI9suqxcwNmFuVjR2VGpZVjQ/view?usp=sharing
Thank you, this problem has been with my d8522 since I bought it and nobody had a solution. I am just wondering if I want to roll back to firmware 20, what do I need to back up in TWRP or adb?
Easiest way to get back to firmware 20 would be to flash a v20 kdz.
The difficult way would be to manually backup the partitions that my zip replaces using dd from an adb shell.
Thanks for the response. I guess I have to ask my next question... Where do I find a firmware v20 for download just in case? I spent some time searching this site and I never found it. Closest I came to finding a firmware was one of the v10.
Try this: http://forum.xda-developers.com/showpost.php?p=63422778&postcount=2430
There was no kdz for my sasktel phone to be found anywhere. This method worked for me.
This is very frustrating with the d852. I just got the kdz, 1.2Gb. And flashing that back will undo the root, revert to stock. It was a pain to get this phone rooted, all methods failed except one that required a Google account to download an app from the Market.
Where do I find just the latest rooted firmware, modem, etc? I am coming from a Nexus 4, where everything was just available. This G3 is a black box, and I have no way to sort out the information.
Thanks for at least trying...
My camera stopped after use autorec, does some body has this problem? thanks
Hi, I need the ROM for this phone, more specifically, the boot.img file, as the current kernel is for the older, Indian revision of the On5, and my revision, the USA version SM-G550T1, seems not to have any copies of its firmware floating around. I'm running an OS for the SM-G550FY, which has no audio or camera support. Even if the version isn't an exact match, if you bought this phone in the USA, new, in 2016, your boot.img will probably work. I need this kernel guys. Please, if someone has an On5 in the USA, can I please get a copy of your boot.img and possibly system.img? I really care about the boot.img.
Thanks guys
-Subsentient
Firstly, did you try the updated ones at these locations:
http://www.theandroidsoul.com/galaxy-on5-stock-firmware-2-86761/
http://firmwarefile.com/samsung-sm-g550fy
Secondly, why exactly do you need the boot.img, what problem do you think it'll solve? Is there any specific issue with your current ROM that you are trying to solve?
Yes, I did, but as you can see, those are for the SM-G550FY, not my SM-G550T1, and the camera and sound (including phone calls) don't work!
This makes me strongly suspect a driver issue, which could most likely be fixed by getting my hands on a copy of the factory boot.img.
Running Android 6.0.1 right now, compiled for the SM-G550FY, but I can't get it working.
Subsentient said:
Yes, I did, but as you can see, those are for the SM-G550FY, not my SM-G550T1, and the camera and sound (including phone calls) don't work!
This makes me strongly suspect a driver issue, which could most likely be fixed by getting my hands on a copy of the factory boot.img.
Running Android 6.0.1 right now, compiled for the SM-G550FY, but I can't get it working.
Click to expand...
Click to collapse
>> and the camera and sound (including phone calls) don't work!
Did they not work from day one or did they just stopped working after a passage of time or due to rooting or an OTA upgrade? If you didn't root or install a custom ROM, there is just no room for a software/driver issue to happen. Did you try wiping the cache partition and doing a factory reset?
EDIT
In any case, boot partition is the last place you look for actual component issues like camera or sounds. All the boot partition does is just kickstart your android OS and then the control is passed on to the system (as soon as the logo animation starts).
prahladyeri said:
>> and the camera and sound (including phone calls) don't work!
Did they not work from day one or did they just stopped working after a passage of time or due to rooting or an OTA upgrade? If you didn't root or install a custom ROM, there is just no room for a software/driver issue to happen. Did you try wiping the cache partition and doing a factory reset?
EDIT
In any case, boot partition is the last place you look for actual component issues like camera or sounds. All the boot partition does is just kickstart your android OS and then the control is passed on to the system (as soon as the logo animation starts).
Click to expand...
Click to collapse
I did install a custom ROM. None of the ROMs I can find support the camera or audio, not at all, ever.
Subsentient said:
I did install a custom ROM. None of the ROMs I can find support the camera or audio, not at all, ever.
Click to expand...
Click to collapse
There you are! I just cannot emphasize enough that why don't you guys backup your existing ROMs before flashing a new one? It hardly takes five minutes with CWM/TWRP recovery.
In any case, what happens when you flash the Indian ROM (5.1.1)? I guess that could be your only option.
Otherwise, you can put a request on the CyanogenMod thread for your particular Samsung model.
For future reference, perform device backups and all the research before flashing a custom ROM, not after the fact.
EDIT
If you can contact Samsung support, see if you can manage to get a stock ROM from them that you can flash using ODIN or something.
I contacted them already, they basically told me to go **** myself. The missing ROM is a result of bad parameters I accidentally put in to Heimdall/ODIN flasher. I wanted to back up, but ironically, my first attempt at installing TWRP is what destroyed my ROM.
I've downloaded the kernel source code from Samsung and I'll try compiling it myself. If I create a working boot.img, I'll post it here.
prahladyeri said:
In any case, boot partition is the last place you look for actual component issues like camera or sounds. All the boot partition does is just kickstart your android OS and then the control is passed on to the system (as soon as the logo animation starts).
Click to expand...
Click to collapse
boot.img is where the kernel is stored. I know, I decompressed it.
Subsentient said:
boot.img is where the kernel is stored. I know, I decompressed it.
Click to expand...
Click to collapse
You are right, boot.img has the monolithic kernel, however, a lot of drivers are available as separate modules in /system/lib/modules/, so you need to make sure that one is proper too.
In case of Samsung, I think it was probably a mistake to use TWRP/CWM to backup or flash ROMs since they don't tend to work as well with Samsung devices as ODIN/heimdall.
Yes, do post the result of your output once you are done, so its helpful to others.
prahladyeri said:
You are right, boot.img has the monolithic kernel, however, a lot of drivers are available as separate modules in /system/lib/modules/, so you need to make sure that one is proper too.
In case of Samsung, I think it was probably a mistake to use TWRP/CWM to backup or flash ROMs since they don't tend to work as well with Samsung devices as ODIN/heimdall.
Yes, do post the result of your output once you are done, so its helpful to others.
Click to expand...
Click to collapse
The kernel on this device does not have loadable module support. It's entirely monolithic. And, I'm having one hell of a time building a kernel this thing is willing to boot.
I really would love just to get a ROM from someone else's SM-G550T or SM-G550T1.
locked out by frp so i cant even turn on my sm-g550t1 so if you find the rom please let me know
bandtab said:
locked out by frp so i cant even turn on my sm-g550t1 so if you find the rom please let me know
Click to expand...
Click to collapse
I found a copy of the MetroPCS version: https://drive.google.com/file/d/0B_VtvT1vGmlsMjNnR2JvYzk0MFU/view?usp=sharing
You flash this with TWRP recovery, because those are tarballs and can't be flashed with Odin etc.
You flash TWRP for the On5 onto your recovery partition, and then restore from that.
Subsentient said:
I found a copy of the MetroPCS version: https://drive.google.com/file/d/0B_VtvT1vGmlsMjNnR2JvYzk0MFU/view?usp=sharing
You flash this with TWRP recovery, because those are tarballs and can't be flashed with Odin etc.
You flash TWRP for the On5 onto your recovery partition, and then restore from that.
Click to expand...
Click to collapse
thank you!
however, i can't install twrp to my recovery partition anymore because i got FRP locked, and i can't go into my settings to disable it now. so i think my only option really is via odin. i'll see what i can do with this though, thank you very much. i did have twrp on there before but after i got frp locked i can't go into recovery mode at all.
I've been losing my mind trying to make this work.
I think if I installed the stock recovery.img it may work, but I can't find it in the files you sent. Would you or anyone else be able to make a copy of it for me? I would be eternally indebted to whoever could.
If you want to go back to stock then use the official samsung software. I got a s6 tht a friend of mine straight up deleted the rom (idk how they managed that) and it wouldnt take to being flashed in odin. I put it in download mode and provided samsung smart something with all the info it wanted and it installed the stock rom and everything.
holydude92 said:
If you want to go back to stock then use the official samsung software. I got a s6 tht a friend of mine straight up deleted the rom (idk how they managed that) and it wouldnt take to being flashed in odin. I put it in download mode and provided samsung smart something with all the info it wanted and it installed the stock rom and everything.
Click to expand...
Click to collapse
unfortunately smart switch is incompatible with this model phone for the time being.
I got four of these from T-Mobile when we switched from Verizon ($120 for 4 lines). Three of our Verizon phones worked well on T-Mobile (after a few APN tweaks), but my dad's old Galaxy S3 barely worked at all, and when it did, only got Edge for data. So I set one of the On5 phones up for him.
Everything was going great. I put the TWRP recovery on it, rooted it, froze all the bloatware, and backed up/restored his apps from the old S3. However, he wanted me to see if I could restore all his SMS/MMS. I tried restoring that, and the stock Messaging app started FC'ing. I installed Textra, which worked (and saw the old messages), but he never received new texts (even though he could send). So I tried removing Messaging and Textra, as well as the SMS cache (which seemed to be in "Dialer Storage (Phone SMS/MMS). I removed it, but now I'm getting an error every five seconds about "com.android.phone" and can't seem to get rid of it. I tried to restore the dialer storage backup again, but it just seems to sit forever without installing.
I've looked far and wide for a stock ROM... hoping I could just put this mess behind me, but I'm surprised to find it is nowhere to be found.
My other alternative would be to fix the com.android.phone error, but nothing seems to fix it.
Which cynogenmod or any custom os suits for Samsung Galaxy on 5.......please tell me guys.....I am bored with this official os
I was really hoping to come back to this forum and finally see stock ODIN files for this phone. I really, really want to get rid of the MetroPCS ROM I used to fix it.
Has anyone been able to find it?
My Prior thread: https://forum.xda-developers.com/galaxy-s4-att/help/n00b-sgh-i337-running-original-kernel-4-t3850783
I obtained a stock MDL i337 S4 running 4.2.2 and following the instructions in the prior thread I rooted with TowelRoot and updated to Lollipop 5.0.1/ GoldenEye and I've had nothing but problems ever since, so much so that the phone has almost gotten me lost in Oakland and has made me late for work twice!
The phone freezes, sometimes randomly reboots, shuts down applications without reason or warning (LIKE MY ALARM CLOCK!!!), apps can freeze while in use (like Google Maps at a critical time!), it eats power like me at a Chinese buffet and runs hot sometimes, apps are slow to load or won't load (sucks when a call comes in. By the time I am able to answer it, the caller has hung up!), app updates hang, and more. I suspect that part of the issue is that the instructions I got for rooting it and installing a custom ROM were a bit different than those of the GoldenEYe dev (who abandoned his project years ago and no longer answers questions) but I'm not sure.
The first time I did the upgrade, it froze at the Samsung screen for almost 30 min and I had to start over. Then when it was complete the phone was almost unusable. I read that there were issues with SuperSU so I started uninstalling some of the dev apps (I really don't know what the hell I'm doing but was desperate) and when I disabled SuperSU and did clean up to switch to another superuser app" then thought I uninstalled it and all the problems seemed to go away. A few days later while doing something else in the play store, I find that SuperSU is running even though it no longer shows in my apps! So thinking something nefarious was going on, I uninstalled it via the play store and my phone was back to being hosed again. Ok, yes I'm an idiot and deserved that.
I go back to the beginning and started all over AGAIN, reinstall/upgrade but with a different kernel (thinking maybe that?, I tried leaving my apps and settings but that didn't take. Any clue how many times I've now configured my email and office tools? lol) and ended up with what I have now, ie the issues above. I thought about trying to just somehow go back to stock 4.2.2 then just finding the stock ATT Lollipop firmware and saying to hell with root but those instructions are not clear and most post links to the firmware are now dead (I REALLY don't want to brick my phone. I have no money for another and I need my phone for my job). I'd really like to go above Lollipop if at all possible but would be happy just to have GoldenEye work!
Does anyone have any idea what the heck is going on with my phone and how I fix it? This is a serious problem for me.
SGi337
Android 5.0.1
Baseband I337UCUAMDL
Kernel Ver: 3.4.0-S4-AELKerel-v4.3-LP [email protected] #36 Wed Apr 8 19:56:06 EEST 2015
Build number LRX22C.I9505XXUHOD7
Rom Ver: GOLDENEYE 53 XXUHOD7
Dev iB4STid
SuperSU PseudoPro (had Pro, didn't reinstall it the last time) is installed but disabled
ES Task Manager and ES File Manager
Titanium Backup Pro
And so we meet again! Okay so forget golden eye. What you should do is get ODIN for your PC. Then get the MDL firmware and flash it with ODIN by connect your phone to your PC. You might also need Samsung Kies for your PC for this as it has the drivers for your phone.
Once you're back on Android jelly bean, use towel root to root, install Loki, install clockwork mod or TWRP recovery (for TWRP go here https://forum.xda-developers.com/showthread.php?t=2262996 and for clockwork mod just use my guide again).
Then flash this:
https://forum.xda-developers.com/galaxy-s4-att/development/rom-100-stock-i337oc3-5-0-mdl-t3098197
This will give you the latest stock Rom for your phone. It's from AT&T but has been modified to work with the MDL bootloader so it doesn't patch the Loki exploit.
Also remember that you need superSU installed or else you won't have any root management for your root apps.
Hi! lol
Any idea why this is happening? I'd really like to go to something like Marshmallow or the like but if stock is it, that will have to do.
I tried finding the MDL firmware but so far all the links are old dead ones. Have you seen anything more current?
StoneyJSG said:
And so we meet again! Okay so forget golden eye. What you should do is get ODIN for your PC. Then get the MDL firmware and flash it with ODIN by connect your phone to your PC. You might also need Samsung Kies for your PC for this as it has the drivers for your phone.
Once you're back on Android jelly bean, use towel root to root, install Loki, install clockwork mod or TWRP recovery (for TWRP go here https://forum.xda-developers.com/showthread.php?t=2262996 and for clockwork mod just use my guide again).
Then flash this:
https://forum.xda-developers.com/galaxy-s4-att/development/rom-100-stock-i337oc3-5-0-mdl-t3098197
This will give you the latest stock Rom for your phone. It's from AT&T but has been modified to work with the MDL bootloader so it doesn't patch the Loki exploit.
Also remember that you need superSU installed or else you won't have any root management for your root apps.
Click to expand...
Click to collapse
I have no idea why golden eye is giving you issues. It works fine for me and you followed my guide just like I did. Anyway, you can goto marshmallow but it'll be AOSP based rather than touchwiz based so the look and feel will be way different than that of golden eye or any other stock Samsung ROM.
You can also just try going into clockwork mod and do a wipe (I forgot the sequence, it's wipe system, data, cache I THINK but it's in my guide on the order of how to do it) for a clean install of a ROM from there. This will eliminate the need for ODIN. You should however, keep ODIN on standby in case anything goes south you can go back to how the phone was when you first got it. I have the ODIN MDL firmware on a USB drive, let me find it over the weekend and upload it to my Google drive and will link you to it.
SilkRoadDog said:
I tried finding the MDL firmware but so far all the links are old dead ones. Have you seen anything more current?
Click to expand...
Click to collapse
Hey dude, here's the link to the MDL firmware for ODIN off my Google drive: https://drive.google.com/file/d/1ZXv9FAcDbfkbFZzh078SSMZ85jbMVPSx/view?usp=drivesdk
StoneyJSG said:
Hey dude, here's the link to the MDL firmware for ODIN off my Google drive: https://drive.google.com/file/d/1ZXv9FAcDbfkbFZzh078SSMZ85jbMVPSx/view?usp=drivesdk
Click to expand...
Click to collapse
Well after putting up with the phone issues for 2 months, I reset everything following your instructions to the best of my abilities (except couldn't get towelroot to load so went with another). Let's see how this works! lol
Your instructions say "SuperSU will kill the evil KNOX for you." What is that and how do I do this?
SilkRoadDog said:
Your instructions say "SuperSU will kill the evil KNOX for you." What is that and how do I do this?
Click to expand...
Click to collapse
Once rooted, goto the Google play store and download the SuperSU app, open it and it will ask you some stuff then do the rest. Towel root needs internet access to work. I was starting to have issues with golden eye rom off and on until I flashed the OC3 modem, you may wanna try that after you get back to golden eye.
There's also another ROM on here called i337_OC3_stock_rooted_rom(MDL) , you may want to try it out as it's 100% stock and hasn't been modified like golden eye rom has. I am not sure it works with clock work mod recovery so you might need TWRP recovery for it.
Hi everyone,
So couple of year ago I worked at a start-up company that had an Android project. So I'm not new to flashing images (ROM, Recovery, radio...), and I know most basic tools like ADB (and I'm technical person in my daily life). That being said - I remember the pain when the Radio image doesn't fit the firmware, and you have to play around with stuff to make reception work again. or the Recovery image won't fit the ROM etc etc. I'm not sure if any of this probably still happen TODAY, but back then when I got my LG-G2 - I decided not to touch it. I don't need anything besides the basic options (making calls, taking pictures).
I'm still using Stock with 4.4.2 - and the phone is getting lagy each passing day to the point it's time to root it and install a custom rom.
As I mentioned above, I want it to be quick and painless. Sadly, I don't have the time to do insane amount of research right now, mainly because I have a 3 weeks old born at home - and I prefer to use my free time hanging with it that Q&N issues with my phone
So here's what I need your help with:
1. A recommendation for a tool to save all phone settings. Mostly - App settings, and OS settings (even though I probably not going to go for Stock again, but it doesn't hurt to back it up).
2. An instruction how to flash D802 (there' so many options this days...). My Kernel version is 3.4.0.
3. Recommended ROM to use. Here's what I need from a ROM.
a. I probably want to upgrade to more safe rooted Android version (I can't for example handle permissions on 4.4.2).
b. With that, I don't want to install the latest Android only to figure it's running slowly on LG G2, I want the interface to be snappy (the Stock was snappy for a while).
c. I prefer Minimal ROM if possible with Google Apps installed. If I'll need something, I can install it myself.
d. One of the reason I didn't root up until now, was because people mentioned camera quality is meh with non stock roms. If possible, I will like to have a decent Camera quality.
e. I use my phone as a music player often. So good sound quality is important to me (and maybe even build in Parametrized EQ?).
Thank you!
Reading around the forum would have taken just about the same amount of time than writing your post. A post, mind you, that will get you the same as what you can already find with ease.
You managed to write with your kid around. Last time I checked, browsing takes less effort.
Rant out.
Instead of a rant, here's an actual help for people who might find it useful in the future and lack the time to do some proper research (as it took more than the 5 minutes it took me to write the original post). Please note that I won't take any responsibility for possible damages you may do to your system. Please use at your own risk. Also, note that I only tried it on LG G2 802 with Stock Kit Kat (4.2.2) and other version/OS version might not work.
I wasn't clear to me if 'One Click Root' work with Kit Kat bootloader, so I used 'ioroot'. When your done rooting your phone, you will need to flash a TWRP recovery. The easiest way to do it is by using AutoRec. However, the TWRP recovery installed with AutoRec doesn't have Thermal protection, and is dangerous to use according to the forums. So the next thing will be flashing a new TWRP version from the recovery. Blastgater have tweaked TWRP Recovery for LG devices. You can download the latest version here. It's basically a zip file you flash from within your old TWRP.
Regarding ROM, after doing some research - it looks like Lineage will be the best 'all-around' rom to use. Liveage 15/16 were too slow for my liking, so I went with 14.1 (Android 7.1) which was enough for me and snappy to use. However, the tricky part if your plan on using Lineage, is to flash a bootstack as the one coming with Stock won't work. It's just another zip to flash directly from the recovery and can be found here.
So this is just the high-level process, and I highly suggest checking the specific on the links I sent. It also helps if you know how to handle 'adb' and know the basic stuff like what bootloader and recovery are
Good luck.