[Complete Guide] Flash AOSP ROM over Stock/Cloudy ROM for LG G2 D802/D802T - G2 General

Alright, plenty of you folks might already be enjoying Cloudy/Stock ROM but there are guys out there, like me, who would sacrifice a very few LG core apps for the outstanding AOSP ROM i.e Resurrection Remix.
So here in this guide I'll show you all the steps that i followed to Flash Resurrection Remix over CloudyG2 3.3 (Obviously this guide will work for Stock Rooted ROM too with TWRP ofcourse!)
Have a look at the Pros and Cons BEFORE proceeding with the procedure!
Pros:
1. It's AOSP ROM dude!
2.Excellent Battery timing.
3.Super Smooth with ZERO LAG!
4.You get continuous updates.
5.Tremendous customization's via RR Rom.
Cons:
1. Camera not as cool as Stock.
2. NO fully supported Quick-Remote
3. No Quick Note or any other Stock app you liked.
Should I proceed or Stick with Cloudy/Stock?
Well, to be honest, its worth the hassle. The only thing i really miss was the Stock G3 camera that came with CoudyG2 but i guess CameraNext ain't so bad too. Moreover u get a hell lot of improvements with UI and other AOSP gimmicks.
NOTE:
I TAKE NO CREDIT IN THE DEVELOPING OF ANY APP/ROM SHARED!
Please Follow each step carefully, I'm not responsible if you mess up your device, no one is forcing you to do so, proceed at your own risk[ Nah, don't worry, i tried all this personally and nothing went wrong. Just be careful though!]
*****************************************Instructions************************************************
I'm assuming you already have a Rooted device with Custom Recovery installed.
What you need! [Links at the END]
1. RR Roms
2. KK Baseband
2. Gapps Package (for 5.1)
3. LP Bootstack
4. Quick-Remote
5. Partition Back&Resore
6. Donation to all the Devs who made this possible [If you can afford one ]
BACKUP:
Its always good to create a Backup of a very few System partitions and if something goes wrong, you'll thank me later for this!
1.Install Partition Backup&Restore
2.Backup The following Partitions [Your own Bootstack].
aboot, boot, dbi, laf, rpm, tz, sbl1, persist
3.Backup Modem.
Modem, Modemst1, Modemst2.
4.You can backup your apps too via Titanium Backup.
5.Copy All your Saved Partitions to your PC.
Getting Ready:
1.Copy ROM, KK baseband, LP Bootstack, Quickremote and Gapps Package to your phone.
2.Boot into Recovery.
3.Backup System, EFS and boot.
4.Wipe cache, dalvik cache, data and System.
Now, follow these steps in the following order.
1.Flash LP Bootstack.
2.Flash KK Baseband.
3.Flash ROM.
4.Flash Gapps.
Now, clear dalvik cache and cache .
Reboot your device.
Finally, if all went fine you'll be seeing RR booting.
Setting up Quick-Remote:
1. Goto Setting -> Configurations -> Miscellaneous -> Set SeLinux to Permissive (Make sure you give root permission to Setting via SuperSU).
2. Download Int.D Enabler via Playstore and Enable Int.D via this app.
3. Download BusyBox and install it. (Do not forget to install Busybox files within the app).
4. Reboot to Recovery and Flash Quickremote.zip.
5. Clear Cache and dalvik cache.
6. Reboot
Other [Must] addons:
Beside the awesomeness already provided by RR, let's crank it up a little bit
Boost Sound(Yup, you gotta do it!):
1. Download mixerpath.zip and extract it.
2. Goto System -> etc -> rename mixerpath.xml to mixerpath.bak (creating a backup just in case).
3. Now copy the extracted mixerpath.xml to System -> etc.
4. Download Viper4Android.
5. Install apk and run it (choose the "ViPER4Android_FX_A4.x.apk" file).
6. It'll ask for which driver to install, Choose High Quality.
7. Reboot.
Improve Camera:
1. Download CameraNext.
2. Reboot to recovery and flash it.
3. Wipe cache and dalvik cache.
Other thoughts:
LTE should be working as it's available in the Setting.
Goto Setting and apply the PitchBlack theme (if you like).
There you go, now i guess you won't regret your decision of choosing AOSP ROM for your G2.
Hit Thanks as i won't ask you for a drink or hoe
LINKS:
ROM+Gapps
KK Baseband
LP BootStack (Click on 'View Full file' to Download)
Viper4Android

awesome guides, works great.

I really want to update to update to marshmallow but have no idea which bootstack to use. I've never needed to change bootstack when updating other phones.

Update TWRP before installing ROM
Thanks for the guide. I had an issue after installing this ROM on D802T, whereby I could not longer boot into TWRP recovery and received a "secure boot error" followed by a blank screen. Before installing RR, I had to update TWRP to blastagator's TWRP w/ Thermal Control & F2FS (twrp-3.0.2-1-d802-bump-blastagator-signed.zip).

MonsieurLorax said:
Thanks for the guide. I had an issue after installing this ROM on D802T, whereby I could not longer boot into TWRP recovery and received a "secure boot error" followed by a blank screen. Before installing RR, I had to update TWRP to blastagator's TWRP w/ Thermal Control & F2FS (twrp-3.0.2-1-d802-bump-blastagator-signed.zip).
Click to expand...
Click to collapse
You actually messed up the recovery partition. You had to flash the D802T recovery NOT D802. If your phone is booting then do so else restore to Stock and reproduce the steps. Good luck!
Sent from my LG-D855 using XDA-Developers mobile app

Kind attention!!
Currently I am on cloudy g2 3.3 and i have a full backup of cm13 rom,which I was using earlier.My question is, can i simly restore that backup through twrp or not?

akki809 said:
Kind attention!!
Currently I am on cloudy g2 3.3 and i have a full backup of cm13 rom,which I was using earlier.My question is, can i simly restore that backup through twrp or not?
Click to expand...
Click to collapse
Cm13 uses LP bootstack so i think there won't be any issue but I'm not sure about the modem though, do backup everything before you proceed.
Sent from my LG-D855 using XDA-Developers mobile app

Related

[Q] Awhh C'mon, Help needed PA 3.99 Rc2 Z Ultra dilemma

My intentions are to run Paranoid Android 3.99 rc2 as shown here by this guide http://forum.xda-developers.com/showthread.php?t=2464072 On my Xperia Z Ultra
Phone is currently rooted and has a custom kernel installed all in compliance with this method here http://forum.xda-developers.com/showthread.php?t=2714511
Slightly frustrated as I thought that I was now ready to install Paranoid Android after unlocking bootloader, installing superuser and my recovery systems (TWRP) that came with the kernel I installed again for reference the kernel I am using http://forum.xda-developers.com/showthread.php?t=2714511
But it seems that I will now need to repeat the entire process and install this kernel This rom uses a CM11.0 msm8974 kernel that complies with the version of PA 3.99 that I wish to run
Am I an idiot can I install PA 3.99 as done above with my current kernel and root access after all. or will I need to possibly downgrade to earlier firmware to install the suitable kernel adhering to the guide for installing PA 3.99 as linked above and if so how ?
As you can tell I am completely and utterly over my head. This is after all my first attempt at Rooting and flashing customs roms
Z Ultra info
Model: C6833
Android version 4.4.2
Kernel version: 3.4.0-perf
[email protected] #1
Fri Apr 11 19:24:26 PDT 2014
Build number: 14.3.A.0.757
You should be able to just flash PA from jackie's kernel without issue. Note though that PA probably comes with CWM not twrp (but I'm not sure) so make sure that if you have a backup made in TWRP also do one in CWM.
The zip for the ROM will contain its own kernel and recovery
blueether said:
You should be able to just flash PA from jackie's kernel without issue. Note though that PA probably comes with CWM not twrp (but I'm not sure) so make sure that if you have a backup made in TWRP also do one in CWM.
The zip for the ROM will contain its own kernel and recovery
Click to expand...
Click to collapse
Thank you, So no foreseeable issue will arise after using flash tools to load PA and Gapps in the same fashion as the PA guide without any further alteration to anything am I correct ?
Also Steps 2-4 in the PA guide confuse me especially after many people admit to not even doing them, Are they unnecessary
INSTRUCTIONS,
1. POWER OFF THE PHONE
2. HOLD VOL+ AND PLUG USB TO BOOT INTO FASTBOOT (BLUE LED)
3. fastboot flash boot boot.img (from aospa/cm11 zip)
4. fastboot reboot
5. ENTER RECOVERY, on boot led will be violet for 3'', during this period press vol+
6. INSTALL ROM (MIRROR) AND GAPPS
7. FACTORY RESET
8. WIPE CACHE & DALVIK CACHE
9. REBOOT
Thank you
hugh
hughisdaft said:
Thank you, So no foreseeable issue will arise after using flash tools to load PA and Gapps in the same fashion as the PA guide without any further alteration to anything am I correct ?
Also Steps 2-4 in the PA guide confuse me especially after many people admit to not even doing them, Are they unnecessary
INSTRUCTIONS,
1. POWER OFF THE PHONE
2. HOLD VOL+ AND PLUG USB TO BOOT INTO FASTBOOT (BLUE LED)
3. fastboot flash boot boot.img (from aospa/cm11 zip)
4. fastboot reboot
5. ENTER RECOVERY, on boot led will be violet for 3'', during this period press vol+
6. INSTALL ROM (MIRROR) AND GAPPS
7. FACTORY RESET
8. WIPE CACHE & DALVIK CACHE
9. REBOOT
Thank you
hugh
Click to expand...
Click to collapse
This is what I would as you already have recovery:
Copy PA and gapps to sdcard (say /internal/Download/)
Reboot to recovery
Hold vol + when LED is purple (CWM recovery)
Make nandroid backup of current system
Factory rest (wipe data)
Install ROM then gapps
Reboot to new system
blueether said:
This is what I would as you already have recovery:
Copy PA and gapps to sdcard (say /internal/Download/)
Reboot to recovery
Hold vol + when LED is purple (CWM recovery)
Make nandroid backup of current system
Factory rest (wipe data)
Install ROM then gapps
Reboot to new system
Click to expand...
Click to collapse
Disregard in my previous post where I speak of using Flash tools.... Brain fart whoops
Thanks
blueether said:
This is what I would as you already have recovery:
Copy PA and gapps to sdcard (say /internal/Download/)
Reboot to recovery
Hold vol + when LED is purple (CWM recovery)
Make nandroid backup of current system
Factory rest (wipe data)
Install ROM then gapps
Reboot to new system
Click to expand...
Click to collapse
Success, But also failure ! No matter what I do I cannot connect to my mobile network manualy put in Apns and the likes for nada.
My question, I used my backup and went back to normal root from earlier, Can I now just download and install the latest PA 4.4 and install it in the exact same fashion ?
As you can see I still do not have my head around Kernels
Thank you
hughisdaft said:
Success, But also failure ! No matter what I do I cannot connect to my mobile network manualy put in Apns and the likes for nada.
My question, I used my backup and went back to normal root from earlier, Can I now just download and install the latest PA 4.4 and install it in the exact same fashion ?
As you can see I still do not have my head around Kernels
Thank you
Click to expand...
Click to collapse
As long as you still have recovery yes.
If you lose recovery or if the ROM fails to install the you will need to do the steps 1 - 4 from your post above

Re-rooting while having a CROM and custom recovery installed

Hi. I tried rooting my phone a few months ago, and installed TWRP and ashwin007's CyanogenMod. The rooting seems to have failed (I think I accidentally wiped something when I installed TWRP/CyanogenMod/GApps, causing me to lose the root or something. I'm not exactly sure what went wrong), but I managed to install TWRP v2.8.7.0 and CyanogenMod (on the 10th August nightly) successfully. Now I want to try rooting my phone again properly (with superuser access), and change my CROM to probably http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-13-0-t3375221 (This also includes a newer version of TWRP right?)(I also want GApps!). I'm not sure which order I should do these tasks.
Should I just follow the instructions in the link?:
Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended).
If you plan on using encryption with this ROM, then flash the custom TWRP build in the Downloads section below before flashing the ROM. This custom TWRP build is needed if you want to be able to access data encrypted using this ROM while booted into recovery. Otherwise, you will not be able to access your encrypted data while your phone is in recovery mode.
Then, flash the ROM, flash a Google apps package, SuperSU if you want root access (ONLY v2.65 OR HIGHER), and then reboot.
Click to expand...
Click to collapse
A few things I want to clarify:
1. The SuperSU installation page says it requires a rooted device. As stated earlier, I'm not 100% sure whether my device is rooted or not. What should I do? Root my device (What's the best way also, KingoRoot or something else?), then follow quoted instructions?
2. For the clean install I just wipe /data and /system? Not System, Data, Cache & Dalvik?
3. After I finish wiping and installing all of those, is there any way I can restore all of my apps and associated data that I had? (I've heard something about using TitaniumBackup?)
From what I've read, I probably should:
Use my TWRP to backup all the other things (system and stuff)->
Root phone (using KingoRoot?) ->
Download and use Titanium Backup to backup Apps ->
Wipe /data and /system (or System, Data, Cache & Dalvik?)->
Flash new custom TWRP (Can I flash it using my old TWRP? The TWRP official website says you can do this with TWRP versions v2.8.4 and above, mine is v2.8.7, but that was for the official TWRP)[or should I use the android SDK tools bootloader thing?] ->
Flash new custom ROM with TWRP ->
Flash GApps with TWRP ->
Flash SuperSU with TWRP ->
Reboot phone->
Restore apps with Titanium Backup
Could someone confirm? I don't want to brick my phone Thanks a lot!
Just follow the guides for rooting and custom Recovery's. If you follow the steps you won't have any problems. First thing you must do is update your twrp. Assuming you have already unlocked your bootloader.

Unable to install resurrection remix5.8.4

Hi,
I recently unlocked my bootloader after a really long time. I then proceeded to flash twrp and then flashed superSU and rooted my phone. I took a backup of my rom and then proceeded to install RR 5.8.4. I was given a error 7. Tried this method (https://forum.xda-developers.com/showthread.php?t=2522762) but then it gave me a error 6. Would someone help me out ?
Thx.
1) flash latest global developer MIUI ROM via MiFlash to updated firmware and to reset things if they messed up (watch out if you lock your bootloader while flashing, choosing the wrong .bat file);
2) after flash TWRP via fastboot;
3) boot TWRP and "advanced wipe" ALL partitions (except MicroSD if you have a MicroSD inserted and you want to keep its data);
4) reboot to recovery and install the RR .zip file (and the gapps .zip file if you use it);
5) after you boot into RR, you can then reboot to TWRP and install Magisk .zip to get root and other nice things.
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
If you've TWRP installed at the moment then try this :
Boot to TWRP
Take a nandroid backup (just incase)
Wipe > advanced wipe > swipe to confirm
Flash firmware if you're coming from marshmallow based MIUI
Flash ROM & Gapps
Reboot
If you still get errors, probably corrupted zip. Try Re-downloading the zip.
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
You can try. Remember that if you download the full MIUI ROM, you should follow this guide http://en.miui.com/a-234.html
You can also upgrade the firmware without downloading the full ROM, from here https://forum.xda-developers.com/re.../firmware-firmware-update-2017-08-04-t3651537
Will try soon and reply
Even after flashing the firmware, i get the same error 7
I have downloaded this rom (https://www.google.co.in/amp/s/foru...nt/rom-resurrectionremix-5-8-2-t3567023/amp/) and flashed twrp using this guide (http://en.miui.com/thread-536180-1-1.html)
Maybe this is a stupid question, but your phone has MediaTek chipset or Qualcomm chipset?
I'm pretty sure it is qualcomm as the cpu speed is 2.0ghz
Now, i get this error and status error 7.
What should i do?
Where you can format all partitions, you can fix them too.
It looks like your /data is using f2fs, you should fix it converting the partition in ext4 (in official TWRP it's not possible to use f2fs).
Check all partitions, not only /data, to be formatted as ext4
So, what r the steps i should follow?
And btw, is there any unofficial twrp which i could use?
Enter TWRP, choose Wipe > Advanced Wipe
Check the box for "data"
Tap "change or repair file system"
Tap "Change file system"
Tap "ext4"
Swipe the button
Repeat for other partitions
I don't know if there are unofficial TWRP that support f2fs. Probably they exists, but you should also check if the default RR kernel supports f2fs, else you have to flash a custom kernel that supports f2fs.
Just one important question. During this process, if something weird happens ( like i get my phone soft bricked) and i got a nandroid backup. Will i be able to flash it successfully using twrp?
Yes, changing file system is a pretty safe operation (except for the erasing of the data inside the partition, as a normal format).
Flashing the backup or a full fastboot image will reset things back.
But it already shows it as ext4
Oh mahn, it still doesn't resolved?
Flash official TWRP via fastboot mode, skip this step if your already on official TWRP
Boot to TWRP
Wipe
Flash cm14.1 mido firmware
Flash Rom
Flash Gapps
??
Reboot
Note that, you should try Re-downloading all the things, like Rom / Gapps
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
shalom170401 said:
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
Click to expand...
Click to collapse
Yeah man, that's what I'm saying, you should try installing cm14.1 firmware first, then Rom..
Even after flashing the firmware, i get the same errors

Updating lineageOS from the android menu, is it safe?

Hello everybody,
i was finally able to upgrade my i9100 to the latest lineageOS from a samsung stock 4.1.2, i've been using it for a week and it works beautifully, i really thank the developers for their big effort!
Now, i received a notification telling me that there is an update available, version 2017-10-04. I tried to download it from the phone, but the download keeps failing as soon as it starts. Did it happen with you too? I could download the .zip package on my pc and reboot into recovery again, but i'd like to ask all of you what's the best way to proceed, is it going to wipe all of my data? Do i just need to install the custom rom without any additional package?
Thanks in advance
Everything is updated in different ways. I'm through OTA, someone through the recovery.
Install in TWRP ROM lineage-14.1-20171004-nightly-i9100-signed.zip, make "Wipe Cache / Dalvik" and reboot.
Do not worry, it will not erase your data.
Good luck to you.
Everything is updated in different ways. I'm through OTA, someone through the recovery.
Install in TWRP ROM lineage-14.1-20171004-nightly-i9100-signed.zip, make "Wipe Cache / Dalvik" and reboot.
Do not worry, it will not erase your data.
Good luck to you.
Click to expand...
Click to collapse
thank you very much for your answer,i have one question left:
in order to upgrade to lineageOS, i 've been following a youtube guide, and i'm having some doubts about these steps:
[...]
5) INSTALL ROM, GAPPS, ROOT and KERNEL
Still under TWRP Home screen -> go to Install zip and set Storage to External-Storage.
We need to install files 1 by 1.
Select lineage-14.1-*.zip and Swipe to flash,
Then select addonsu-arm-signed.zip, and Swipe to flash,
### You get this error : Updater process ended with signal: 4, Error installing zip file '/sdcard/Download/addonsu-arm-signed.zip'
### -> Just don't care Root is correctly installed.
then open_gapps-arm-7.1*.zip, and Swipe to flash,
then CustomKernel-[v1.3]*.zip and Swipe to flash.
Then wipe cache/dalvik,
then reboot system.
Do i need to install addonsu-arm-signed.zip and customKernel again after upgrading lineageOS? I dont' usee google apps so i don't care about that part, but the kernel step is bothering me, does the kernel get overwritten when i update? Thanks again
Don't worry about the custom kernel at all, just use the Lineage one. It will come with the rom and be updated with each update.
You need to flash addonsu for root, but it will keep you rooted persistently so you don't have to flash after updates.
In summary, since you're going gapp-less, all you need is LOS zip and addonsu.
thanks! I did as you suggested and it worked perfectly!

A good step by step beginners guide for installing Pixel Experience Rom?

I am a newbie here with zero past experience in custom roms. So, I want to do it right. Can anyone please write a step by step guide or provide a link to a good pre-existing guide? Thanks in advance!
Edit: I was able to install Pixel Experience without any issues. Here is what I did:
* Unlocked the Bootloader using the Mi Unlock tool
* Flash TWRP Recovery using ADB and Fastboot
* Boot into TWRP
* Wipe data and all other partitions
* Install the zip file for the custom ROM
Always do a factory data reset in your recovery after flashing the ROM if you are coming from a different version of ROM.i.e.8 to 9,7 to 9 or vice versa.
Also when you go back to MIUI don't forget to flash lazyflasher.zip.You can find it on Google
arpanbiswas97 said:
I am a newbie here with zero past experience in custom roms. So, I want to do it right. Can anyone please write a step by step guide or provide a link to a good pre-existing guide? Thanks in advance!
Edit: I was able to install Pixel Experience without any issues. Here is what I did:
* Unlocked the Bootloader using the Mi Unlock tool
* Flash TWRP Recovery using ADB and Fastboot
* Boot into TWRP
* Wipe data and all other partitions
* Install the zip file for the custom ROM
Click to expand...
Click to collapse
Don't wipe all partitions, that will mess up Your phone beyond hope. First make backup of all partitions in twrp and then only wipe data, system, dalvik cache and cache.
Also don't forget get to install gapps (if not included in rom itself). You alsoay need to flash additional zip file to prevent force encryption.
Thanks
Personally, I use OrangeFox recovery, and I usually wipe the whole phone clean including the internal storage (I have backups on my PC) and I install the ROM, plus Gapps (With Pixel Experience ROMs I'm sure they come with the Gapps prepackaged so there's no need to install Gapps). After the wipe I reboot into recovery again, and flash the zip file for the rom. After that, I wipe my dalvic caches and reboot the phone. The first boot usually takes around 4-6 minutes, and it boots you right into the setup screen. Be sure to backup all your data and partitions.

Categories

Resources