About Flashing Custom ROM (RR/PA) on LG G3 D855 - Android Q&A, Help & Troubleshooting

Greetings everyone. I wish to know more about flashing Resurrection Remix...
I watched the brief instruction on official XDA thread but I wish to know more detail...
- Current Phone Status -
My G3 D855, 32 GB memory, is running stock Android 4.4.2, ROM version “V10n-HKG-XX”, stock recovery, rooted with PurpleDrake (script by xda developer”. Kernel version 3.4.0. All things are stock except I have rooted, with SuperSU.
- Reason of wanting to flash Remix ROM -
I wish to change resolution to 1080x1920, even 720x1280. So I did this using build.prop editing and “wm size 1080x1920”,“wm density 480”. However in stock rom, build in LG apps like Phone, Messaging, Calender will crash. I fix this by installing Xposed & app settings with DPI 530. But I don’t quite want this to be the solution...
Plus I noticed there really are battery difference between 1440x2560 and lower resolution. So I started to think about custom Rom. I found that Resurrection Remix and Paranoid Android are quite slim, good looking, most importantly very customizable.
And Stock ROM has many software that I don’t need, so I wish to give it a try.
- My question -
I haven’t flash any custom rom before (I have flashed on my previous phone but messed up quite a bit).
- So I wished to know what is the prerequisite, anything that need to pay good attention into? I want to avoid bootloop or hard brick...
- Should I install official TWRP recovery on my current status and make a full system backup image? (is that called nandroid backup?)
- If any error occured, can I use TWRP recovery to restore everything in my current status (everything in stock but have root access)?
- Are the custom roms contain build-in Root access? Because I want the phone to be rooted.
- I use LG Flash tool 2014 to flash stock firmware kdz files), with CRC method to completely wipe the phone and back to stock. Is this method still applicable if I want to back to stock after flashing RR rom? Because I want everything to be clean each time I flash a new system...
- I watched YouTube video that changing AOSP rom resolution won’t mess up icons or apps. So I can still receive SMS, dial, calender sync to Google etc. Correct?
--------------------
Finally, I wish to flash the latest STABLE version of the Remix ROM / Paranoid Android ROM. Would be good to hear some recommendations. I wish things to be more customizable and slim. Thanks for reading this long article in advance!

Vulturon said:
- My question -
I haven’t flash any custom rom before (I have flashed on my previous phone but messed up quite a bit).
- So I wished to know what is the prerequisite, anything that need to pay good attention into? I want to avoid bootloop or hard brick...
- Should I install official TWRP recovery on my current status and make a full system backup image? (is that called nandroid backup?)
- If any error occured, can I use TWRP recovery to restore everything in my current status (everything in stock but have root access)?
- Are the custom roms contain build-in Root access? Because I want the phone to be rooted.
- I use LG Flash tool 2014 to flash stock firmware kdz files), with CRC method to completely wipe the phone and back to stock. Is this method still applicable if I want to back to stock after flashing RR rom? Because I want everything to be clean each time I flash a new system...
- I watched YouTube video that changing AOSP rom resolution won’t mess up icons or apps. So I can still receive SMS, dial, calender sync to Google etc. Correct?
--------------------
Finally, I wish to flash the latest STABLE version of the Remix ROM / Paranoid Android ROM. Would be good to hear some recommendations. I wish things to be more customizable and slim. Thanks for reading this long article in advance!
Click to expand...
Click to collapse
1- you're good to go now, you don't need any prerequisite, you should pay attention to the steps you make to flash TWRP and rom not to do it wrong.
2-yes you should install latest official TWRP for your phone and backup these partitions (system, data, boot, efs -if available-), and that is nandroid backup, and you will use TWRP to flash RR or PA.
3-yes you can restore from nandroid backup.
4-yes both roms has built-in root access that can be activated from developer options, and you can simply flash SuperSU.zip in recovery after the rom and gapps to use SuperSU app to manage root access if you don't like the built-in root.
5-yes this method is still applicable, because all you need to get back to your stock or flash another rom is wipe (system, data, cache, dalvik cache) and flash the rom, so as long as the tool does that, then you're good.
Also if you're not sure you can do the wiping in TWRP first, then boot into download mode and then flash with the tool.
6-changing dpi in custom roms may cause some apps to crash, however i don't recommend lowering the dpi value too much or you will get some issues like that.
Regards. Migo

MigoMujahid said:
1- you're good to go now, you don't need any prerequisite, you should pay attention to the steps you make to flash TWRP and rom not to do it wrong.
2-yes you should install latest official TWRP for your phone and backup these partitions (system, data, boot, efs -if available-), and that is nandroid backup, and you will use TWRP to flash RR or PA.
3-yes you can restore from nandroid backup.
4-yes both roms has built-in root access that can be activated from developer options, and you can simply flash SuperSU.zip in recovery after the rom and gapps to use SuperSU app to manage root access if you don't like the built-in root.
5-yes this method is still applicable, because all you need to get back to your stock or flash another rom is wipe (system, data, cache, dalvik cache) and flash the rom, so as long as the tool does that, then you're good.
Also if you're not sure you can do the wiping in TWRP first, then boot into download mode and then flash with the tool.
6-changing dpi in custom roms may cause some apps to crash, however i don't recommend lowering the dpi value too much or you will get some issues like that.
Regards. Migo
Click to expand...
Click to collapse
Mr. Migo, thank you for replying. But I have more to ask/... Sorry for being annoying, because I am a beginner and I wish to make things clear, to minimize the chance of accident...
1. you said i'm good to go now, but shall i need to .kdz flash the stock v21a-HKG-xx which is Android 5.0 first? because i remeber RR rom's post in xda said i should upgrade to 5.0 first... i'm not quite sure...
https://forum.xda-developers.com/lg-g3/development/rom-t3507493
above is the link of the rom, I wish to know is my phone appropriate for doing this before everything... Hope Mr. migo you can have a look for me when you have time...
2. regarding twrp recovery, i read this: https://forum.xda-developers.com/lg-g3/development/recovery-twrp-3-0-0-0-t3309475?nocache=1 however in the official download link it said twrp for d855 europe... I'm D855 but not europe... If I want to flash official latest twrp recovery, shall i use 'twrp manager' from google play?
plus, it said i should backup the original stock recovery, how do i do that?
3. Doing a full nandroid backup which can be used to completely restore current status, only including 'system, data, boot, efs', the 4 partition, correct? because i didn't use any custom recovery before, so i wish to know more... any other things need to pay attention before doing a full nandroid backup?
4. I wonder which version of Gapps I should flash / appropriate for the RR remix... the post said Download Gapps (ARM 7.1 Pico/Nano/Other), but which I should use? 'cuz it is essential I think...
5. Hope you can check my understanding below: if i want to flash RR rom now, should:
--- flash official latest twrp recovery
--- go to recovery mode (twrp) & backup 'system, data, boot, efs', the 4 partition in ext.sd card
--- still in twrp recovery, do 4 wipes 'system, data, cache, dalvik cache' (I want a very clean installation, not 1 byte of previous rom data will be left, so how can i wipe it to very clean status?)
--- after 4 or 5 wipes, do i need to press 'factory reset', 'wipe cache partition' these 2 options?
--- alright after all the cleaning, still in recovery while the device is like a shell (nothing, no OS inside), browse to ext.sd card which I will be putting the .zip ROM file, and flash it.
--- after completing flashing, do i need to press 'factory reset', 'wipe cache partition' these 2 options?
--- then I shall flash gapps?
--- then, reboot device, and I am done?
6. I want to know is this ROM really appropriate for my phone... because all those screenshots are in foreign language, not even English, I live in Hong Kong and I bought this phone in Hong Kong... So will the RR remix rom not compatible with certain regions...
7. Again this link: https://forum.xda-developers.com/lg-g3/development/rom-t3507493 below 'Download on AndroidFileHost (AFH)', there are several version built in diff. dates. It seems that the latest build is Nougat android 7.0...? Willing to try that, but is it better for me to go to Resurection remix official site and search for d855, then download the latest, stable (not Nightly) builds?
8. This is how i change DPI. I calculate using dpi calculator, 1440x2560, 5.5inch device should have 534.06... dpi, then i use nomone resolutrion changer to view the default settings (1440x2560, 5.5inch = 640 dpi), then 640 / 534.06 = 1.19836...
then, dpi calculator agaim -> 720x1280, 5.5inch device should have 267.6532... dpi, then 267.6532 times 1.19836 = 320, I will do this in terminal with command 'wm size 720x1280', then 'wm density 320'. and go to build.prop, find "ro.lcd.sf.density' change value to 320, then reboot.
Is my method correct? I think it is not too low... Approproate value for 720x1280 res. monitor.
----------
That's all for now, sorry for so many questions... really... I just wish to minimize and get everything clear before proceeding, since this can be dangerous... thanks a ton Mr. Migo.

Vulturon said:
Mr. Migo, thank you for replying. But I have more to ask/... Sorry for being annoying, because I am a beginner and I wish to make things clear, to minimize the chance of accident...
1. you said i'm good to go now, but shall i need to .kdz flash the stock v21a-HKG-xx which is Android 5.0 first? because i remeber RR rom's post in xda said i should upgrade to 5.0 first... i'm not quite sure...
https://forum.xda-developers.com/lg-g3/development/rom-t3507493
above is the link of the rom, I wish to know is my phone appropriate for doing this before everything... Hope Mr. migo you can have a look for me when you have time...
2. regarding twrp recovery, i read this: https://forum.xda-developers.com/lg-g3/development/recovery-twrp-3-0-0-0-t3309475?nocache=1 however in the official download link it said twrp for d855 europe... I'm D855 but not europe... If I want to flash official latest twrp recovery, shall i use 'twrp manager' from google play?
plus, it said i should backup the original stock recovery, how do i do that?
3. Doing a full nandroid backup which can be used to completely restore current status, only including 'system, data, boot, efs', the 4 partition, correct? because i didn't use any custom recovery before, so i wish to know more... any other things need to pay attention before doing a full nandroid backup?
4. I wonder which version of Gapps I should flash / appropriate for the RR remix... the post said Download Gapps (ARM 7.1 Pico/Nano/Other), but which I should use? 'cuz it is essential I think...
5. Hope you can check my understanding below: if i want to flash RR rom now, should:
--- flash official latest twrp recovery
--- go to recovery mode (twrp) & backup 'system, data, boot, efs', the 4 partition in ext.sd card
--- still in twrp recovery, do 4 wipes 'system, data, cache, dalvik cache' (I want a very clean installation, not 1 byte of previous rom data will be left, so how can i wipe it to very clean status?)
--- after 4 or 5 wipes, do i need to press 'factory reset', 'wipe cache partition' these 2 options?
--- alright after all the cleaning, still in recovery while the device is like a shell (nothing, no OS inside), browse to ext.sd card which I will be putting the .zip ROM file, and flash it.
--- after completing flashing, do i need to press 'factory reset', 'wipe cache partition' these 2 options?
--- then I shall flash gapps?
--- then, reboot device, and I am done?
6. I want to know is this ROM really appropriate for my phone... because all those screenshots are in foreign language, not even English, I live in Hong Kong and I bought this phone in Hong Kong... So will the RR remix rom not compatible with certain regions...
7. Again this link: https://forum.xda-developers.com/lg-g3/development/rom-t3507493 below 'Download on AndroidFileHost (AFH)', there are several version built in diff. dates. It seems that the latest build is Nougat android 7.0...? Willing to try that, but is it better for me to go to Resurection remix official site and search for d855, then download the latest, stable (not Nightly) builds?
8. This is how i change DPI. I calculate using dpi calculator, 1440x2560, 5.5inch device should have 534.06... dpi, then i use nomone resolutrion changer to view the default settings (1440x2560, 5.5inch = 640 dpi), then 640 / 534.06 = 1.19836...
then, dpi calculator agaim -> 720x1280, 5.5inch device should have 267.6532... dpi, then 267.6532 times 1.19836 = 320, I will do this in terminal with command 'wm size 720x1280', then 'wm density 320'. and go to build.prop, find "ro.lcd.sf.density' change value to 320, then reboot.
Is my method correct? I think it is not too low... Approproate value for 720x1280 res. monitor.
----------
That's all for now, sorry for so many questions... really... I just wish to minimize and get everything clear before proceeding, since this can be dangerous... thanks a ton Mr. Migo.
Click to expand...
Click to collapse
1-sorry i didn't know that you have a lollipop update, yes you must upgrade to lollipop first to have the latest bootloader.
2-about TWRP, if the model number is d855, so it's for you, the country won't matter, like for me if i have i9100g so i can't flash TWRP for the i9100, so if you are sure about the model number then it's ok.
You can flash it with adb or by using flashify app from phone, you don't have to use the TWRP app.
As your phone is already rooted, you can backup stock kernel and stock recovery using Flashify app, just download it from playstore and open it, grant root access and choose the tile "backup/restore" and you will see the options to backup stock kernel and recovery.
4- gapps are not complicated, "ARM" is your processor architecture, "7.1" is the android version you choose based on the rom you are flashing, "Pico, Nano.." these are the gapps types, pico has the least requirements to run the play store, Nano has extra functionality that isn't available in play store, and micro has more apps..and so on, However, if you want to understand more about it, you can read the wiki of each package from here.
5- flash the TWRP, in recovery backup is based on the phone partitions, every phone has those 3 partitions (system, data, boot) some phones have efs and some not, so when you are in recovery you will see what part are available to backup, now for wiping, you only need to wipe once not 3 or 4 times!, navigate to wipe and choose advanced wipe and mark (system, data, cache, dalvik cache) and swipe to wipe, you won't need to use "factory reset/wipe cache partition" option at all, now flash the Rom and then Flash Gapps directly, no wipe between, now reboot and wait, that's it!!
6- as i told you in (2), your model number is d855 and the rom is for d855 then it's compatible with your phone, people use their own language in their phones so don't let that bother you.
7- RR remix doesn't have nightlies and never called stable it's only official, if you go to the download page of RR of your phone in sourcefrog you will see only "official" and the "nightly" folder will be empty, however, latest build for you is in 12/2 but i don't know what CK is in the file name, i suggest you ask in the rom thread what CK mean because i don't know.
8- in nogut you don't have to do any calculations, in display settings of the rom, there is an option called "screen size" where you can adjust it to (small, smaller, smallest, normal), anyway you method can do the job if you didn't like this new feature in nogut.
OMG, i never wrote that much..?
-------------------------------------------------------
Hope i helped you ?, don't forget to press the "thanks" button..just for support ?

MigoMujahid said:
1-sorry i didn't know that you have a lollipop update, yes you must upgrade to lollipop first to have the latest bootloader.
2-about TWRP, if the model number is d855, so it's for you, the country won't matter, like for me if i have i9100g so i can't flash TWRP for the i9100, so if you are sure about the model number then it's ok.
You can flash it with adb or by using flashify app from phone, you don't have to use the TWRP app.
As your phone is already rooted, you can backup stock kernel and stock recovery using Flashify app, just download it from playstore and open it, grant root access and choose the tile "backup/restore" and you will see the options to backup stock kernel and recovery.
4- gapps are not complicated, "ARM" is your processor architecture, "7.1" is the android version you choose based on the rom you are flashing, "Pico, Nano.." these are the gapps types, pico has the least requirements to run the play store, Nano has extra functionality that isn't available in play store, and micro has more apps..and so on, However, if you want to understand more about it, you can read the wiki of each package from here.
5- flash the TWRP, in recovery backup is based on the phone partitions, every phone has those 3 partitions (system, data, boot) some phones have efs and some not, so when you are in recovery you will see what part are available to backup, now for wiping, you only need to wipe once not 3 or 4 times!, navigate to wipe and choose advanced wipe and mark (system, data, cache, dalvik cache) and swipe to wipe, you won't need to use "factory reset/wipe cache partition" option at all, now flash the Rom and then Flash Gapps directly, no wipe between, now reboot and wait, that's it!!
6- as i told you in (2), your model number is d855 and the rom is for d855 then it's compatible with your phone, people use their own language in their phones so don't let that bother you.
7- RR remix doesn't have nightlies and never called stable it's only official, if you go to the download page of RR of your phone in sourcefrog you will see only "official" and the "nightly" folder will be empty, however, latest build for you is in 12/2 but i don't know what CK is in the file name, i suggest you ask in the rom thread what CK mean because i don't know.
8- in nogut you don't have to do any calculations, in display settings of the rom, there is an option called "screen size" where you can adjust it to (small, smaller, smallest, normal), anyway you method can do the job if you didn't like this new feature in nogut.
OMG, i never wrote that much..
-------------------------------------------------------
Hope i helped you , don't forget to press the "thanks" button..just for support
Click to expand...
Click to collapse
Sir you helped me alot, no problem I pressed the thanks button! But can I continue asking? Won't be too much I guess, hope I didn't bother your time...
1. That means I have to use LG Flash tool to flash stock 5.0 firmware (.kdz)? Which is 'V21a-HKG-XX'. But stock firmware 6.0 (V30c-HKG-XX) had released too. What exactly should I do beforehand...? Because before you said I am good to go but there seems to be something missing...... I am not challenging you sir, I just want to be sure and not missing any important steps so that my phone turns dead... (for sure information I wish to flash resurrection remix latest official 7.0 Nougat firmware)
2. So if what said in (1) is true, I need to flash stock 5.0 or 6.0 kdz first to turn the phone into clean stock 5.0/6.0, root it , then use Flashify to backup stock kernel/recovery (these are 2 things? I thought that was the same thing...), correct?
3. I found twrp recovery here: https://twrp.me/devices/lgg3europe.html by typing 'device' on the upper right, then type D855, all it appeared is only "TWRP for LG G3 Europe"... Plus, I notice in ROOT G3.com that twrp had different version for Android 5.0 and 6.0... So I am confused again, because if the above link is official website for twrp, it didn;t state that lollipop(5.0) and kitkat(4.4) has different twrp...
4. Derived from (3), as I am not sure which twrp .zip file should I download, I saw on official twrp web that it recommends "official twrp app" to install the recovery, I think it can detect my device and find the only appropriate one for me? I saw quite some people flash it using Flashify app, but I just want to know more and make it clear...
5. https://forum.xda-developers.com/lg-g3/development/rom-t3543815 <- In this page, I found
"ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 4.4.2/6.0 + TWRP
Based On: LineageOS"
On below. Is that mean 4.4.2 or 6.0 as the current system android version is also okay for flashing it?
6. In this page, which is another RR rom "stating" it is official: https://forum.xda-developers.com/lg-g3/development/rom-t3507493, said that:
GApps - opengapps.org (ARM-7.1-PICO)
On below. Firstly, can I download Gapps on here: http://opengapps.org/?
If possible, than shall I choose like what it said, ARM, then 7.1, then PICO ( yes I think I only need minimum package)? Because I am not sure I should use 7.0 or 7.1, and ARM or ARM64...
7. Seems there are quite many version of RR, I googled "resurrection remix' go to their offical page, redirected me to sourceforge, https://sourceforge.net/projects/resurrectionremix/files/d855/Official/ I think I will download the latest date "20170110" version. If I am not wrong this should be the official not nightlies build (you will notice there are nightlies).
Refer back to (6), which type of Gapps should I use... AMR64, ARM, 7.0? 7.1?
8. So wiping 'system, data, cache, dalvik cache' these 4 things will really erase all things and get clean enough?
Also, https://forum.xda-developers.com/lg-g3/development/rom-t3543815 here, below:
-INSTALLATION INSTRUCTIONS-
- Download the latest build
- Download Gapps (ARM 7.1 Pico/Nano/Other)
- Take a nandroid backup
- Recommended - Full wipe and factory reset
- Flash ROM using latest TWRP 3.x Recovery
- Flash Gapps
- Reboot.
- Enjoy!
They recommend press factory reset... Should I do the same? Is it better to press because if the 4 wipe 'system, data, cache, dalvik cache' is clean enough then reset is not needed...
--------------------------------
Opps....... Really sorry sir... When reading your reply one by one that much question appeared again... Really sorry, hope you don't find me annoying... SInce you are the only one reponded and you are experienced, so I wish to grap the chance to learn about it... Thanks a ton. You can have as many thanks button pressed if you want, I have no problem!

Vulturon said:
Sir you helped me alot, no problem I pressed the thanks button! But can I continue asking? Won't be too much I guess, hope I didn't bother your time...
1. That means I have to use LG Flash tool to flash stock 5.0 firmware (.kdz)? Which is 'V21a-HKG-XX'. But stock firmware 6.0 (V30c-HKG-XX) had released too. What exactly should I do beforehand...? Because before you said I am good to go but there seems to be something missing...... I am not challenging you sir, I just want to be sure and not missing any important steps so that my phone turns dead... (for sure information I wish to flash resurrection remix latest official 7.0 Nougat firmware)
2. So if what said in (1) is true, I need to flash stock 5.0 or 6.0 kdz first to turn the phone into clean stock 5.0/6.0, root it , then use Flashify to backup stock kernel/recovery (these are 2 things? I thought that was the same thing...), correct?
3. I found twrp recovery here: https://twrp.me/devices/lgg3europe.html by typing 'device' on the upper right, then type D855, all it appeared is only "TWRP for LG G3 Europe"... Plus, I notice in ROOT G3.com that twrp had different version for Android 5.0 and 6.0... So I am confused again, because if the above link is official website for twrp, it didn;t state that lollipop(5.0) and kitkat(4.4) has different twrp...
4. Derived from (3), as I am not sure which twrp .zip file should I download, I saw on official twrp web that it recommends "official twrp app" to install the recovery, I think it can detect my device and find the only appropriate one for me? I saw quite some people flash it using Flashify app, but I just want to know more and make it clear...
5. https://forum.xda-developers.com/lg-g3/development/rom-t3543815 <- In this page, I found
"ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 4.4.2/6.0 + TWRP
Based On: LineageOS"
On below. Is that mean 4.4.2 or 6.0 as the current system android version is also okay for flashing it?
6. In this page, which is another RR rom "stating" it is official: https://forum.xda-developers.com/lg-g3/development/rom-t3507493, said that:
GApps - opengapps.org (ARM-7.1-PICO)
On below. Firstly, can I download Gapps on here: http://opengapps.org/?
If possible, than shall I choose like what it said, ARM, then 7.1, then PICO ( yes I think I only need minimum package)? Because I am not sure I should use 7.0 or 7.1, and ARM or ARM64...
7. Seems there are quite many version of RR, I googled "resurrection remix' go to their offical page, redirected me to sourceforge, https://sourceforge.net/projects/resurrectionremix/files/d855/Official/ I think I will download the latest date "20170110" version. If I am not wrong this should be the official not nightlies build (you will notice there are nightlies).
Refer back to (6), which type of Gapps should I use... AMR64, ARM, 7.0? 7.1?
8. So wiping 'system, data, cache, dalvik cache' these 4 things will really erase all things and get clean enough?
Also, https://forum.xda-developers.com/lg-g3/development/rom-t3543815 here, below:
-INSTALLATION INSTRUCTIONS-
- Download the latest build
- Download Gapps (ARM 7.1 Pico/Nano/Other)
- Take a nandroid backup
- Recommended - Full wipe and factory reset
- Flash ROM using latest TWRP 3.x Recovery
- Flash Gapps
- Reboot.
- Enjoy!
They recommend press factory reset... Should I do the same? Is it better to press because if the 4 wipe 'system, data, cache, dalvik cache' is clean enough then reset is not needed...
--------------------------------
Opps....... Really sorry sir... When reading your reply one by one that much question appeared again... Really sorry, hope you don't find me annoying... SInce you are the only one reponded and you are experienced, so I wish to grap the chance to learn about it... Thanks a ton. You can have as many thanks button pressed if you want, I have no problem!
Click to expand...
Click to collapse
1- ok, when they said rom firmware required:4.4.2/6.0
I believe that it's ok to root and backup the recovery, and directly start the process of flashing, because you already have 4.4.2 installed which is kitkat and it's compatible with latest TWRP, you can make sure by re-asking in the rom thread if you can directly install the rom right now or upgrade the firmware to 6.0 first.
2-(2) is connected to (1)
3- just use the latest TWRP you find for your phone in the official TWRP page, you don't have to use TWRP app, you can flash it with flashify, but it's OK if you want to use TWRP app, in fact, it's more safe to use it, and it has nothing to do with your android version because you will format the phone after all.
4-(4) is connected to (3)
5-(5) is connected to (1) and (2)
6-you choose ARM then 7.1 then pico or nano
and again, you must know that android version must be known in order to choose right, so if it's 7.0 then choose 7.0 gapps, and if it 7.1 or 7.1.1 the choose 7.1 gapps.
7- (7) is connected to (6)
8-yea. Wiping those 4 is completely enough, and don't worry about (factory reset) because it's a part of the full wipe, (factory reset) means wiping data, cache, and dalvik cache, which is already a part of the wiping process.
No problem, it's ok to ask, we all want things to go well

MigoMujahid said:
1- ok, when they said rom firmware required:4.4.2/6.0
I believe that it's ok to root and backup the recovery, and directly start the process of flashing, because you already have 4.4.2 installed which is kitkat and it's compatible with latest TWRP, you can make sure by re-asking in the rom thread if you can directly install the rom right now or upgrade the firmware to 6.0 first.
2-(2) is connected to (1)
3- just use the latest TWRP you find for your phone in the official TWRP page, you don't have to use TWRP app, you can flash it with flashify, but it's OK if you want to use TWRP app, in fact, it's more safe to use it, and it has nothing to do with your android version because you will format the phone after all.
4-(4) is connected to (3)
5-(5) is connected to (1) and (2)
6-you choose ARM then 7.1 then pico or nano
and again, you must know that android version must be known in order to choose right, so if it's 7.0 then choose 7.0 gapps, and if it 7.1 or 7.1.1 the choose 7.1 gapps.
7- (7) is connected to (6)
8-yea. Wiping those 4 is completely enough, and don't worry about (factory reset) because it's a part of the full wipe, (factory reset) means wiping data, cache, and dalvik cache, which is already a part of the wiping process.
No problem, it's ok to ask, we all want things to go well
Click to expand...
Click to collapse
Okay. Some offtopic question if you don`t mind.
- Did you use any app to manage app start on boot? I mean when you boot the phone which app will auto start. I knew that AutoStart and ROM Tool box pro contains that option but I dont know how the process works.
- Which app you use to kill tasks? I use Greenify to hibernate apps when locked screen,plus recent task built-in to do the job. Any good suggestion?
- Do you use Titanium Backup to uninstall system app? I will but sometimes I am not sure what the app does but still think its useless to me and delete it. Such as WAP service. I mean in stock firmware,which still dont know although Googled. Do you know how can i know what the app does?
- What is the custom rom you recommend the most and what is the good point of it?
- I have installed Xposed framework in my current status, I mean stock rom, although I am goong to wipe anything but will it affect the process? Shall I clean uninstall it first?
I think thats it. Almost finish my questions. Thanks again.

Vulturon said:
Okay. Some offtopic question if you don`t mind.
- Did you use any app to manage app start on boot? I mean when you boot the phone which app will auto start. I knew that AutoStart and ROM Tool box pro contains that option but I dont know how the process works.
- Which app you use to kill tasks? I use Greenify to hibernate apps when locked screen,plus recent task built-in to do the job. Any good suggestion?
- Do you use Titanium Backup to uninstall system app? I will but sometimes I am not sure what the app does but still think its useless to me and delete it. Such as WAP service. I mean in stock firmware,which still dont know although Googled. Do you know how can i know what the app does?
- What is the custom rom you recommend the most and what is the good point of it?
- I have installed Xposed framework in my current status, I mean stock rom, although I am goong to wipe anything but will it affect the process? Shall I clean uninstall it first?
I think thats it. Almost finish my questions. Thanks again.
Click to expand...
Click to collapse
1- ES Task Manager, i used it to manage start up apps.
2- i also use greenify along with an app called "Advanced Task Killer Free", they make a good team for me ?
3- i don't use Titanium backup, uninstalling system app is an easy process and can be done using many apps, for me, i use Lucky Patcher to uninstall system apps, works good for me.
4-custom roms differ from phone to another, for my s2 i use AICP, i always liked it in marshmallow and in nogut, i also used RR but it has a huge battery drain, also many users like XOSP, it's a wonderful project, and it's very common, so overall i use AOSP roms, but when it comes to battery life, i use Neat Rom, it's stock based with many customizations and great kernel too.
5-no xposed won't affect the process, because you will wipe everything eventually.
----------------------:good:

MigoMujahid said:
1- ES Task Manager, i used it to manage start up apps.
2- i also use greenify along with an app called "Advanced Task Killer Free", they make a good team for me
3- i don't use Titanium backup, uninstalling system app is an easy process and can be done using many apps, for me, i use Lucky Patcher to uninstall system apps, works good for me.
4-custom roms differ from phone to another, for my s2 i use AICP, i always liked it in marshmallow and in nogut, i also used RR but it has a huge battery drain, also many users like XOSP, it's a wonderful project, and it's very common, so overall i use AOSP roms, but when it comes to battery life, i use Neat Rom, it's stock based with many customizations and great kernel too.
5-no xposed won't affect the process, because you will wipe everything eventually.
----------------------:good:
Click to expand...
Click to collapse
I will try the process later to see of this works... But...
1. customization & battery are the 2 factors I concern, i dont know how to see if the rom has good custmization and battery tweaks in their threads... https://forum.xda-developers.com/lg-g3/development Any tip or suggestion?
2. titanium backup has the option of "wipe data" of app when uninstall, which I think is cleaner for uninstalling, I mean no leftover of apps including system app. or you have better ideas about doing this?
3. Internal Storage is part of the full wipe, is it? I mean "system"/"data"/"cache"/"dalvik cache", because it contains many current status' files, I should wipe it. Correct?
4. Can I wipe external SD card in TWRP after installing the rom? Because I saw Android/Data or Android/obb files there, so I think some data files are in ext. SD card. For clean installation, I should wipe them too right?
Thanks.

Vulturon said:
I will try the process later to see of this works... But...
1. customization & battery are the 2 factors I concern, i dont know how to see if the rom has good custmization and battery tweaks in their threads... https://forum.xda-developers.com/lg-g3/development Any tip or suggestion?
2. titanium backup has the option of "wipe data" of app when uninstall, which I think is cleaner for uninstalling, I mean no leftover of apps including system app. or you have better ideas about doing this?
3. Internal Storage is part of the full wipe, is it? I mean "system"/"data"/"cache"/"dalvik cache", because it contains many current status' files, I should wipe it. Correct?
4. Can I wipe external SD card in TWRP after installing the rom? Because I saw Android/Data or Android/obb files there, so I think some data files are in ext. SD card. For clean installation, I should wipe them too right?
Thanks.
Click to expand...
Click to collapse
Well, the as a 8 don't have lg g3 then, it's a something i can't advice you about, but AICP is a great project that can balance between both; battery life and customizations and it has a good performance also.
Uninstalling apps isn't that big deal, when an app is removed all its data is removed except media files and some low size or even empty folders, so it's a something i don't usually think off neither should you, it's nothing.
Internal storage isn't a part of "full wipe", but wiping it is up to you, it's your choice.
You do too much thinking, you don't need to wipe neither internal nor external sdcard, i have a 16GB phone and i don't think that much about this
----------------------------------------------
Don't forget the magic word button

Related

Upgrade ROM "SGT7+CM10+Cherry Picks,By meghd00t"?

hi,
this ROM works very nice for me, thanks all the deveopers!
i have few questions:
(1) since this ROM has OTA updater (it seems, from the changelog), next time when the new version is realeased, can i just update the ROM via OTA updater?
(2) i dont really understand what “Wipe cache/dalvik” and “Wipe data / factory reset” really do. my guess is that “Wipe data / factory reset” repartitions the internal flash memory of the original memory, so we can use all the memory for our purpose. (not like original Nook Tablet, in which they dedicate only 1GB for personal usage)
if i understand all these correctly, this means next time if i flash the new ROM and want to keep the old data, i should not do "Wipe data / factory reset", but only need to do "Wipe cache/dalvik"? is this correct?
thanks so much,
Jun
junkoi said:
hi,
this ROM works very nice for me, thanks all the deveopers!
i have few questions:
(1) since this ROM has OTA updater (it seems, from the changelog), next time when the new version is realeased, can i just update the ROM via OTA updater?
(2) i dont really understand what “Wipe cache/dalvik” and “Wipe data / factory reset” really do. my guess is that “Wipe data / factory reset” repartitions the internal flash memory of the original memory, so we can use all the memory for our purpose. (not like original Nook Tablet, in which they dedicate only 1GB for personal usage)
if i understand all these correctly, this means next time if i flash the new ROM and want to keep the old data, i should not do "Wipe data / factory reset", but only need to do "Wipe cache/dalvik"? is this correct?
thanks so much,
Jun
Click to expand...
Click to collapse
Wipe data/factory reset is an option in CWM Recovery. Really all it does (from the screen messages) is format both /data and /cache.
Assuming you have CWM Recovery (though I imagine that there are similar entries in TWRP, I've just never used it), to wipe both of the caches you will first need to go to the entry "Wipe Cache Partition", which I believe is directly below Wipe Data/Factory Reset. Do that 3x (that's always been the recommendation, anyway) then go to Advanced and click on Wipe Dalvik Cache (again, 3x).
Again, assuming CWM Recovery, when you're in the recovery Vol Up/Down goes up and down in the list, the 'n' key is for Enter, and the Pwr button goes back.
I don't know about the OTA Updater. I always download and install ROMs (on both my phone and my NT) via Recovery.
Since this is a CM10 based rom you probably don't want to do the ota updater since that is a Cyanogenmod feature. This rom is optimized for the Nook from the CM10 Source I would presume. I personally tried the ota uldater since i get the notifications all the time but i get an error message something like "can't verify the source with a string of numbers". Stick to the recovery based flash installation.
Sent from my SPH-L710 using xda app-developers app
---------- Post added at 10:48 AM ---------- Previous post was at 10:10 AM ----------
I agree with liquidzoo that you should probably do the wipe cache, wipe dalvik cache and factory reset 3times seems like overkill but you can never be too safe. Also i use twrp recovery and click the system button and wipe system a few times as well.
Sent from my SPH-L710 using xda app-developers app
kobhomye said:
I agree with liquidzoo that you should probably do the wipe cache, wipe dalvik cache and factory reset 3times seems like overkill but you can never be too safe. Also i use twrp recovery and click the system button and wipe system a few times as well.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I wipe /system 3x as well (under Mounts in CWM Recovery) when I'm installing a new ROM.
liquidzoo said:
I wipe /system 3x as well (under Mounts in CWM Recovery) when I'm installing a new ROM.
Click to expand...
Click to collapse
I'm not picking on you personally, but deleting and/or wiping partitions (in the case of /system) or directories (dalvik-cache) three times as opposed to once is completely unnecessary. You'll gain nothing by running the command three times over running it once, assuming you received no errors the first time.
When wiping the dalvik cache, both CM recovery and TWRP perform an "rm -rf /data/dalvik-cache" command using the shell. It's not Windows, and is unlikely to fail when passed the "-f (force)" option along with the "-r (recursive)" option.
In the case of wiping the /system partition, again both CM and TWRP write out zeros to clear the data on the partition. I would be suprised if CWM acted differently from CM and TWRP when wiping dalvik-cache and /system.
The only reason I bothered to look into what these commands actually do is to prevent a user from thinking there's a corellation between a failure to wipe 3x versus a problem they're having. If a 3x wipe "fixes" something for you, whatever the problem was, it's very unlikely that the second or third wipe was what fixed it but instead it was more likely a result of a clean install of the ROM.
References from source:
TWRP Wipe Dalvik - https://github.com/TeamWin/Team-Win...548de276b62c0e9af8661e/extra-functions.c#L986
TWRP Wipe/Format System - https://github.com/TeamWin/Team-Win...8de276b62c0e9af8661e/mtdutils/mtdutils.c#L498
CM Wipe Dalvik - https://github.com/CyanogenMod/andr...aa7ff3d06d5dd115b16c/extendedcommands.c#L1292
CM Wipe/Format System - https://github.com/CyanogenMod/andr...aa7ff3d06d5dd115b16c/mtdutils/mtdutils.c#L498
Have fun modding!
No worries, it's just something I've always done as it's been recommended to me in the past (there are some ROM developers that recommend 5x, actually). I'm not saying that 3x over 1x is any better, but I've never had issues. YMMV, but it doesn't take much more time and I like being thorough.
liquidzoo said:
Wipe data/factory reset is an option in CWM Recovery. Really all it does (from the screen messages) is format both /data and /cache.
Assuming you have CWM Recovery (though I imagine that there are similar entries in TWRP, I've just never used it), to wipe both of the caches you will first need to go to the entry "Wipe Cache Partition", which I believe is directly below Wipe Data/Factory Reset. Do that 3x (that's always been the recommendation, anyway) then go to Advanced and click on Wipe Dalvik Cache (again, 3x).
Click to expand...
Click to collapse
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Flashing a ROM
junkoi said:
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Click to expand...
Click to collapse
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
I have never had any other issues with the above mentioned ROMs except when I flashed 04/10 with enhancement v2. I didn't have the tablet option.
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
Takes awhile to boot this first time. When booted up I bypass the setup screens.
9. Manually set up wireless (need to access auth web site at work and need wireless to be working to accomplish that)
10. Browse to a web site and get redirected to auth page.
11. Auth
12. Set up Google account and other settings, especially under Security <Install from other locations>
13. Download apps I want from Google.
At this first boot SD card is not mounted.
14. Shut down and do a cold boot.
Now I can see SD Card.
15. Install Flash Player from External SD Card.
16. Install Crackle from Play Store.
Now I check Pandora for Audio, Crackle for Video, other apps I use, utilities, keyboards, launchers, games, etc.
So far since Version 24/09 everything has worked for me with the two exceptions above, tablet mode with 04/10 with enhancement v2 and when I flashed enhancement v2 over enhancement v1.
I am now running 08/10 and am very happy with the performance, battery drain is more than CM7 but that is to be expected from a fairly new ROM but not so bad that it is unacceptable, to me at least.
I have never had a black screen or arbitrary reboot (knock on wood). However I do turn my tablet off when I am finished using it, so don't know about deep sleep. I'm using OnDemand, and three launchers without one being the default....Apex, Nova and Trebucket.
All I can say is these developers really ROCK, way to go guys!
--------------------------------------------------------------------------------
MojoGB said:
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
Click to expand...
Click to collapse
You don't need to re-flash CWM every time you flash a ROM. Also, it doesn't make sense to me why you would do a factory reset/format after flashing the new ROM, I would think it would be done prior to flashing the ROM but maybe it doesn't make a difference, I don't know.
I've got TWRP installed to the emmc so I just download the new ROM to the SD with GooManager, reboot into recovery, do a backup, factory reset, flash new ROM & GApps and reboot. Only takes a few minutes.
Reflash ROM
LifeWOutMilk said:
You don't need to re-flash CWM every time you flash a ROM. Also, it doesn't make sense to me why you would do a factory reset/format after flashing the new ROM, I would think it would be done prior to flashing the ROM but maybe it doesn't make a difference, I don't know.
I've got TWRP installed to the emmc so I just download the new ROM to the SD with GooManager, reboot into recovery, do a backup, factory reset, flash new ROM & GApps and reboot. Only takes a few minutes.
Click to expand...
Click to collapse
Tried it as you mentioned, doing a factory reset before flashing the ROM and got a black screen and wouldn't boot. May have been a fluke but the way I mentioned above gives me a good image and alway boots. Don't know why, but if it works for me, I will continue to do it this way as long as it works for me. I have flashed numerous other ROMs the same way with good results each time.
junkoi said:
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Click to expand...
Click to collapse
For an update, yes it is recommended to clear both caches. To be clear, this is only for an update. If it is a new ROM, or if the author recommends it, you should also wipe /data and /system first.
You can just flash without clearing them, but you might run into unexpected issues, so it's not recommended.
MojoGB said:
Tried it as you mentioned, doing a factory reset before flashing the ROM and got a black screen and wouldn't boot. May have been a fluke but the way I mentioned above gives me a good image and alway boots. Don't know why, but if it works for me, I will continue to do it this way as long as it works for me. I have flashed numerous other ROMs the same way with good results each time.
Click to expand...
Click to collapse
I get a black screen for a while on first boot too, but it only last a couple minutes at the most and if you shine a bright light at the screen you can see the CM logo spinning. Are you sure it was hung?
Sent from my Barnes & Noble Nook Tablet using xda premium
When you clear the Dalvik cache, it clears out data stored in your applications. When you turn on your Nook after clearing the Dalvik, the first thing it does is it rebuilds the Dalvik cache, that's why it seemed like it hung on startup. I believe the long black screen in the beginning is when it rebuilds Dalvik for core Android apps and then when it says "Optimizing Apps", that's for the rest of your applications. The more apps you have, the longer it will take to build the Dalvik. No need to freak out, just a little patience is all you need. Correct me if I'm wrong, however, as I'm still pretty much a noob at this... :laugh:
Flash a Rom
topdawg7793 said:
When you clear the Dalvik cache, it cleares out data stored in your applications. When you turn on your Nook after clearing the Dalvik, the first thing it does is it rebuilds the Dalvik cache, that's why it seemed like it hung on startup. I believe the long black screen in the beginning is when it rebuilds dalvik for core Android apps and then when it says "Optimizing Apps", that's for the rest of your applications. The more apps you have, the longer it will take to build the dalvik. No need to freak out, just a little patience is all you need. Correct me if I'm wrong, however, as I'm still pretty much a noob at this... :laugh:
Click to expand...
Click to collapse
Well fhe screen was black, no light at all and I waited for over five minutes for the Flash Screen to come up and it never did. Yes I know when you are waiting time drags. But due to the ROMS always taking awhile to boot up the first time I actually pay attention to how long it takes. No more then 2 minutes in my experience. I had to hold the power button in for a long time until it finally booted in B&N Recovery. Used my sequence mentioned in earlier post to flash the ROM again and everything worked as it should, GREAT. The number of APPs shouldn't be an issue as these ROMS only have the very basic apps.
I have read this forum and see the various and asundry errors some are getting, so far I have never gotten a major error, except for when I forgot to do the Wipe Data/Factory Reset after flashing.
I also got the "No Tablet Mode Option" with 04/10 with enhancement v2.
But I consider these minor issues and currently am running 08/10 with no issues, works smoother then any version of Microsoft Windows I have dealt with.
These developers are exceptional.
MojoGB said:
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
I have never had any other issues with the above mentioned ROMs except when I flashed 04/10 with enhancement v2. I didn't have the tablet option.
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
--------------------------------------------------------------------------------
Click to expand...
Click to collapse
oh, so you always reset factory every time you upgrade the ROM? that way will delete all the old data/apps you installed, so you need to install all the apps again?
this is my concern, because i dont want to reinstall apps, or lose my data. so i think i just need flash the new ROM, then Wipe cache/Dalvik cache, and hopefully all the old apps and data are still intact.
thanks.
MojoGB said:
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
--------------------------------------------------------------------------------
Click to expand...
Click to collapse
i have some questions on the "Enhancements":
(1) the correct way to install them is to flash version 1 first, then immediately flash version 2 right after version 1 (without having to reboot first)?
(2) i am not sure what i will get with this "enhancements". they will make video/audio playing more smoothly? is the quality improvement really noticable? anything else, like they make the battery last longer, for example?
thanks,
Jun
If you're running 08/10, the enhancements are not needed. That's my understanding at least. I had problems with V2 so I decided to not install them while on 04/10.
Sent from my Barnes & Noble Nook Tablet using xda premium
Flash Rom
junkoi said:
i have some questions on the "Enhancements":
(1) the correct way to install them is to flash version 1 first, then immediately flash version 2 right after version 1 (without having to reboot first)?
(2) i am not sure what i will get with this "enhancements". they will make video/audio playing more smoothly? is the quality improvement really noticable? anything else, like they make the battery last longer, for example?
thanks,
Jun
Click to expand...
Click to collapse
If you flash enhancement v2 on top of version 1 you will have problems, UI will stop. If you only flash v2 you will not have the Tablet Mode Option. So my understanding is that you can use either v1 or v2 but not both.
ROM 08/10 does not need either enhancement as indicated by the developer. ROM 08/10 works great by itself is my experience.
If I'm installing a ROM, backup the existing ROM and wipe everything.
If I'm installing a .zip package like GApps or an enhancement, backup the existing ROM, wipe Data/Dalvik.
Folks, these are development ROMS. Thar be bugs in thet thar code. It's going to take you longer than the time you think you're going to save by doing a dirty flash, and then having to restore the thing to stock (worse case) only to start all over.
Don't ask how I know.
wellersl said:
If I'm installing a ROM, backup the existing ROM and wipe everything.
Click to expand...
Click to collapse
so it is possible to back up the existing data/apps, then restore them back after the new ROM is flashed? could you please confirm this?
if so, how & what is the right steps to do the backup? can we still use CWM, or use ROM Manager, or other tools?
thanks

[MOD][GUIDE] Unencrypt/Flashable - Disable Force Encryption - Any Rom/Kernel

Depreciated!! See this thread for the new recommended package. All of my instruction below is still valid, just use the new package from thread linked here.
http://forum.xda-developers.com/showthread.php?t=3234422
~~DISCLAIMER~~​Flashing roms, kernels, and mods come with NO guarantee, NONE, ZILCH, NADA . . Do NOT use this package if you do not grasp and understand this concept. You have been warned.
This is a recovery flashable that will extract your boot.img, unpack all pieces, modify fstab.shamu to disable forced encryption, repackage, and flash boot.img back to system. It does NOT actually unencrypt your device. More on that later.
It will work on ANY kernel for this device, regardless of whether it is the stock kernel, or a custom ROM kernel. Also to date, it has shown to work on any version of android . . it is essentially future proof (unless google throws us a major curve ball in the future and radically alters how encryption is triggered at first boot).
Why use this? Who is this package for?
-If you are running 100% Stock Rom, but have a recovery installed and wish to unencrypt your storage. No root needed.
-Running a custom kernel you like, but it forces encryption and you want to change that.
-Currently unencrypted but want to flash a rom that uses FORCEENCRYPTION by default (cyanogenmod12).
-Just bored and want to toss the dice and see what happens.
That is pretty sweet right? Now you can flash anything and as long as you flash this afterwords, you wont have to worry about booting a rom and seeing that dreaded "Encrypting" screen anymore.
What doesn't this do?
-Well, to be blunt . . it does NOT actually UNENCRYPT your device. You will have to bite that bullet on your own, but I will offer some advice on that front later.
Changelog:
03/30/2015
Remove my ill advised attempt to auto patch nightlies, not possible
01/12/2015
Initial Build/Release
Includes fully working patch to initrd, specifically fstab.shamu to revert FORCEENCRYPTION by default.
Buglist:
Auto patch support removed, would never work anywayaddon.d support not currently working - fix is to flash this package with every nightly to preserve unencryption
How to download and install?
Download - NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip
Reboot Recovery - TWRP only has been tested as working
Select "Install" and navigate to where ever you stored that file . . likely /sdcard/downloads/
Take a deep breath and wait for it to finish.
TADA . . done. Reboot and Profit!!
NOTE: You can feel free to flash this as part of a line of other packages.
Example: You are already unencrypted and want to flash Cyanogenmod 12 (assumes you have all packages downloaded already)
-TWRP factory reset (optional but recommended when coming from another rom)
--TWRP's built in factory reset function does quite well, but if you are like me and want a clean slate . .
---TWRP>Wipe>ADVANCED WIPE> and check System, Data, Cache (will leave internal storage intact). This is recommened specifically in conjunction with switching GApps.
-Install> and select all packages at once. I recommend the following order . . Rom, then my Kernel Patcher, then SuperSU (optional), then GApps last.
That was certainly easy right? Well the truth is, unless you are already unencrypted . . nothing will be different. You will still be encrypted. Bummer right? But that is where these next steps come in. They will give you the options available to reach the fabled unencrypted status!!
Below are the only three options I know of unencrypt once you are running a patched kernel. Select one below that works for you.
~~WARNING~~​
The below methods WILL erase EVERYTHING from data, including your INTERNAL STORAGE. Backup all important files, pictures, etc before proceeding. You have been told!!
-Go to Android>Settings>Backup & restore>Factory data reset (may not work properly with a custom recovery installed)
-Reboot to recovery and go to TWRP>Wipe>FORMAT DATA . . type "yes" to confirm
-Reboot to bootloader and type . .
Code:
fastboot format userdata
[note - I originally said to use the fastboot erase userdata function. This caused a recovery bootloop. Switching to "format" instead solved this issue. Thanks @aussie1234 for pointing this issue out to me]
Edit: make sure you boot android first after unencrypting before going into recovery. This will allow the proper creation of multiuser partitions, otherwise, twrp will not use the proper /data/media/0/ as root of storage.
Some may notice there is an experimental addon.d included. This NOT WORKING YET. DO NOT TRY AND USE IT. Not quite sure yet where in the chain it is broken, but that will be a problem for another day. In theory it should, but . . read the "disclaimer" at the top of this post. The idea here is to be able to flash nightlies as they roll out without having to re-apply this patch manually every time. This function is NOT supported on Stock Roms. If you try it and it works, let me know. Do NOT come yelling to me that it did not work and crying that you are now encrypted again. No whiner babies allowed.[REMOVED: didn't work and caused conflicts with some packages]
At the core of this tool is a script build by @dk_zero-cool which can be found . . [DEV][INITRD][2013-10-25] Injector - An Android Ramdisk Injection Tool
Ultimately, this package is as much his as it is mine. It is his magic script that did the hard part, I just put it to work in a new way.
Please don't share this package directly, link them back here if needed. That way, they can get proper support and instruction for its use.
Also thanks to @rascarlo . . his github made it easy to find what needed modded.
Nice! Now just to double check, im unencrypted so if i flash cm12 and this cm12 wont encrypt my phone while still using cm's kernel?
That is correct. In my tests it has worked just fine that way.
Edit: In fact, I just tested this exactly and works as expected.
On a side note, I can confirm that addon.d support does NOT work - do not attempt it. I updated the OP to reflect this and add a stronger warning. Right now you MUST flash this everytime you flash a rom that forces encryption.
Just what the doctor recommended for a flash-addict like my self....
Thanx :silly:
. . . uploaded from a hand-held Killer WHALE
Works like a charm much alohas bradah hixanthus
So say I flash a ROM. I want to do ROM, kernel, your boot.IMG, the gapps followed by a factory reset/erase user data if I understand correctly?
Example : DirtyUnicorns then leankernel your zip and then gapps
bmwh0r3 said:
So say I flash a ROM. I want to do ROM, kernel, your boot.IMG, the gapps followed by a factory reset/erase user data if I understand correctly?
Example : DirtyUnicorns then leankernel your zip and then gapps
Click to expand...
Click to collapse
Well if you flash lean, don't bother with my flashable, as lean is already set for no force encryption isn't it?
hlxanthus said:
Well if you flash lean, don't bother with my flashable, as lean is already set for no force encryption isn't it?
Click to expand...
Click to collapse
I'm not sure anymore. Will look. I tend to break things when flashing because I don't read closely. On my vzw note 3, I was well known to break everything. Kinda scary now that I have a nexus lol
Yes you're correct. I wonder why I can't get decrypted then?
bmwh0r3 said:
I'm not sure anymore. Will look. I tend to break things when flashing because I don't read closely. On my vzw note 3, I was well known to break everything. Kinda scary now that I have a nexus lol
Yes you're correct. I wonder why I can't get decrypted then?
Click to expand...
Click to collapse
Just do the factory rest then if already encrypted unless data is removed it will stay encrypted
Sent from my Nexus 6 using Tapatalk
hlxanthus said:
Well if you flash lean, don't bother with my flashable, as lean is already set for no force encryption isn't it?
Click to expand...
Click to collapse
bmwh0r3 said:
I'm not sure anymore. Will look. I tend to break things when flashing because I don't read closely. On my vzw note 3, I was well known to break everything. Kinda scary now that I have a nexus lol
Yes you're correct. I wonder why I can't get decrypted then?
Click to expand...
Click to collapse
hlxanthus said:
Below are the only three options I know of unencrypt once you are running a patched kernel. Select one below that works for you.
~~WARNING~~​
The below methods WILL erase EVERYTHING from data, including your INTERNAL STORAGE. Backup all important files, pictures, etc before proceeding. You have been told!!
-Go to Android>Settings>Backup & restore>Factory data reset
-Reboot to recovery and go to TWRP>Wipe>FORMAT DATA . . type "yes" to confirm
-Reboot to bootloader and type . .
Code:
fastboot erase userdata
Edit: make sure you boot android first after unencrypting before going into recovery. This will allow the proper creation of multiuser partitions, otherwise, twrp will not use the proper /data/media/0/ as root of storage.
Click to expand...
Click to collapse
https://github.com/imoseyon/leanKernel-shamu/commit/58ac4f97d882414bdea35d0d1ef0cd6f9027a3bb
Yes, lean kernel doesnt force encryption. If you are currently on lean kernel, so one of the three methods to unencrypted from above (quoted from my OP)
This worked great for me! Thank you SO much!
jtorress said:
This worked great for me! Thank you SO much!
Click to expand...
Click to collapse
It really is that simple isn't it? Glad it was of help!!
Mine is encrypted n6 running cm12 nightly .
So flashing this will format my storage or just data partition ?
I dont wanna loose my personal data's :/
This will not wipe anything. The package only turns an encryption forced kernel into a no force encryption kernel. It is then up to you to follow one of the three options from my OP to reach actual unencryption status.
But you can relatively easily do it, though it will take a little time. Boot to recovery, flash my package, and then create a nandroid backup. Then backup the entirety of your internal storage to your PC or OTG storage device. Once that is done, do one of the 3 methods to unencrypt. Once you do that, boot android (this step is important as it builds proper multiuser partitions) then restore data to your internal storage. Then boot back to recovery and restore your nandroid backup. That will take you back to the exact point you were before but now unencrypted.
I did all steps,but it still shows me that I'm encrypted. What am I doing wrong?
indigo888 said:
I did all steps,but it still shows me that I'm encrypted. What am I doing wrong?
Click to expand...
Click to collapse
Walk me through in your own words what you did. Maybe we can figure out where you went wrong.
hlxanthus said:
Walk me through in your own words what you did. Maybe we can figure out where you went wrong.
Click to expand...
Click to collapse
I flash package and made nandroid backup in recovery.Then made factory reset and boot Android till welcome select language. Then switched off into recovery and restored backup....
And when you say you did a factory reset, how did you do that? A twrp factory reset will not work as it leaves the internal storage in tact. I am very explicit on the 3 ways to do this part (at least I thought I was).
hlxanthus said:
And when you say you did a factory reset, how did you do that? A twrp factory reset will not work as it leaves the internal storage in tact. I am very explicit on the 3 ways to do this part (at least I thought I was).
Click to expand...
Click to collapse
I did it from menu/settings/backup and reset.
indigo888 said:
I did it from menu/settings/backup and reset.
Click to expand...
Click to collapse
Might be worth trying the other two methods as well. TWRP's format data method and the fastboot userdata method are pretty thorough. Should get you up and running

[Q] TWRP/Nandroid question

Hi, I'm not exactly new to XDA, however my Note is my first real Android phone. My question is this: If I want to make a backup of the entire phone, so that I can install a new ROM, then restore the phone to exactly the way it was before I installed said ROM, what do I need to select to back up in TWRP? I'm wanting to play with the Lolipop build for i717. I already have a good EFS backup stored separately just in case, so I need to select System, Data, and Boot, and this will save the kernel and the ROM contents, correct? ...and when I restore this backup it will be just like I left it, right?
Also, what do I need to select to Wipe to perform a 'Full Wipe' as is recommended before install?
Thanks for your time.
-josh
joshsmit07 said:
Hi, I'm not exactly new to XDA, however my Note is my first real Android phone. My question is this: If I want to make a backup of the entire phone, so that I can install a new ROM, then restore the phone to exactly the way it was before I installed said ROM, what do I need to select to back up in TWRP? I'm wanting to play with the Lolipop build for i717. I already have a good EFS backup stored separately just in case, so I need to select System, Data, and Boot, and this will save the kernel and the ROM contents, correct? ...and when I restore this backup it will be just like I left it, right?
Also, what do I need to select to Wipe to perform a 'Full Wipe' as is recommended before install?
Thanks for your time.
-josh
Click to expand...
Click to collapse
Use gimmeitorilltell's version of twrp as some specifics have not made it to official version. I've had great results using 2.8.0.0 though I believe some newer versions are working now as well. I backup android secure as well. Not sure if this is necessary, it was the default setting. Wipe is generally accepted as factory reset usually followed by going to advanced wipe and checking cache, and dalvik cache and wiping these again. Then install your new rom zip, gapps zip if required, wipe cache and dalvik cache and reboot. First boot will take a long time. Possibly as long as 5 minutes or more. Once booted let rom settle for at least 10 minutes before adjusting any settings. Good luck.
Edit: Your backed up rom system will restore everything back to the way it was if you desire to go back (installed apps and settings as well).
Sent from my SAMSUNG-SGH-I717
Thanks @developweb, works perfectly. Also thanks to @gimmeitorilltell for his TWRP and Lollipop ROM.
Sent from my SAMSUNG-SGH-I717 using XDA Free mobile app

Info on Cyanogenmod Updates

I'm currently running a cm 12.1 official nightly that's about a month old on my XT1022 and it says that cm 13 (nightly) is finally available for my phone as an update......
When I install this update, do I lose all my data and start over? All the stock cm12.1 apps that i deleted or replaced, do they return? Also i'm running TK Gapps (the latest release), so do I need to reflash it after installation? My recovery is TWRP (The latest version). Will I have to root again?
Mayank0809 said:
I'm currently running a cm 12.1 official nightly that's about a month old on my XT1022 and it says that cm 13 (nightly) is finally available for my phone as an update......
When I install this update, do I lose all my data and start over? All the stock cm12.1 apps that i deleted or replaced, do they return? Also i'm running TK Gapps (the latest release), so do I need to reflash it after installation? My recovery is TWRP (The latest version). Will I have to root again?
Click to expand...
Click to collapse
System update won't cause data loss but a nandroid backup is always recommended.
Stock apps of cm12.1 won't come but the stock apps of cm13 (this might include common apps like browser or file manager).
Yes you have to flash gapps again. You may not have to root again coz supersu comes with a backup script. (this applies to gapps too, some comes with backup script. So to be safe flash gapps again just in case)
-z3r0- said:
System update won't cause data loss but a nandroid backup is always recommended.
Stock apps of cm12.1 won't come but the stock apps of cm13 (this might include common apps like browser or file manager).
Yes you have to flash gapps again. You may not have to root again coz supersu comes with a backup script. (this applies to gapps too, some comes with backup script. So to be safe flash gapps again just in case)
Click to expand...
Click to collapse
Would I have to flash my custom Kernel (Zapdos) again? Also, What about the apps that Iconverted to system apps?
Yes you have to flash your custom kernel again after updating.
Those apps will be removed you have to download them again and make them system app.
Do one thing, the apps you moved to system, convert them back to user apps and then do a nandroid backup.
This because when you'll update rom data of those apps might remain and conflict when you'll download them again.
When I realized the update on my phone ... the apricativos part were , but I ended up doing a clean . I thought it would appear the option to restore a backup of Moto And normally the Google saves the information , but Will not appeared.
Josiley said:
When I realized the update on my phone ... the apricativos part were , but I ended up doing a clean . I thought it would appear the option to restore a backup of Moto And normally the Google saves the information , but Will not appeared.
Click to expand...
Click to collapse
This happens when you do a full wipe.
-z3r0- said:
This happens when you do a full wipe.
Click to expand...
Click to collapse
Yes, but in the previous ROMs same to make a clean completely, the time that appears the first screens to set up your machine ... provided the option to restore the latest handset by Google settings.

Bad performance/Slow device

I know this kind of thread has been already asked but I am having serious problems with my RN3Pro (2 Gigs, 16 ROM) since years (since 2017), its laggy, slow, and no matter what ROM I try (I tested SMIUI, Cyanogenmod, Lineage, Resurrection Remix, Liquid Remix, CRDroid, AOSP Extended ...) ... I even installed Radon Kernel to try and improve the system performance, nothing helped, enabled zram too, still the same.
I usually run between 2GB/200MB of internal memory free, due to telegram cache and all these things, still the same, no matter what I do, its slow in all senses.
When I install a rom I do a total wipe with new openGapps and new magisk, I never dirty flash over nothing, the phone can run fine but as soon as I install my apps (or I restore them by titanium backup) I go back to slow performance.
What I should do ? Im actually on Pie (AOSP Extended, no Radon Kernel), but im planning to go back to Oreo (AOSP Extended, Radon Kernel installed) or come back to MIUI
Im afraid of come back to MIUI since I love to touch my DPI settings, I use Adaway, Kernel Auditor and a lot of things I cant do with MIUI.
May someone help me ?
Thanks.
BWKenji said:
I know this kind of thread has been already asked but I am having serious problems with my RN3Pro (2 Gigs, 16 ROM) since years (since 2017), its laggy, slow, and no matter what ROM I try (I tested SMIUI, Cyanogenmod, Lineage, Resurrection Remix, Liquid Remix, CRDroid, AOSP Extended ...) ... I even installed Radon Kernel to try and improve the system performance, nothing helped, enabled zram too, still the same.
I usually run between 2GB/200MB of internal memory free, due to telegram cache and all these things, still the same, no matter what I do, its slow in all senses.
When I install a rom I do a total wipe with new openGapps and new magisk, I never dirty flash over nothing, the phone can run fine but as soon as I install my apps (or I restore them by titanium backup) I go back to slow performance.
What I should do ? Im actually on Pie (AOSP Extended, no Radon Kernel), but im planning to go back to Oreo (AOSP Extended, Radon Kernel installed) or come back to MIUI
Im afraid of come back to MIUI since I love to touch my DPI settings, I use Adaway, Kernel Auditor and a lot of things I cant do with MIUI.
May someone help me ?
Thanks.
Click to expand...
Click to collapse
lol :laugh: your answers lies in your question itself.
Noone face problem. Why? Think first.
What u doThats not Clean flash.
Make sure u r on latest official twrp 3.2.3
First go to twrp . Format data to decrypt data and erase internal sd.
Go to wipe. Press format data
Type YES to format
It will erase data and internal sd partition.
Then Wipe data reset.
Flash rom
Flash gapps
Reboot
Do not restore any data backup from twrp.
When u first boot into system. During initial setup wizard. select DONT COPY DATA. Start as fresh setup.
After setup finished.
Do not restore backup or anything from titaniuim backup. Its main cause of ur problems. Restoring old backup on new android os bring crshes, bugs, drains, laggs.
Download and install everything from playstore.
Its done .Now check ur performance.:good:
Black_Stark said:
lol :laugh: your answers lies in your question itself.
Noone face problem. Why? Think first.
What u doThats not Clean flash.
Make sure u r on latest official twrp 3.2.3
First go to twrp . Format data to decrypt data and erase internal sd.
Go to wipe. Press format data
Type YES to format
It will erase data and internal sd partition.
Then Wipe data reset.
Flash rom
Flash gapps
Reboot
Do not restore any data backup from twrp.
When u first boot into system. During initial setup wizard. select DONT COPY DATA. Start as fresh setup.
After setup finished.
Do not restore backup or anything from titaniuim backup. Its main cause of ur problems. Restoring old backup on new android os bring crshes, bugs, drains, laggs.
Download and install everything from playstore.
Its done .Now check ur performance.:good:
Click to expand...
Click to collapse
Thanks, I'll keep that in mind then, since I faced all these problems for a lot of time didnt knew maybe titanium backup was a possible reason, I do backups of my apps since 2014 and never had problems on any other device ...
Thanks again
Black_Stark said:
lol :laugh: your answers lies in your question itself.
Noone face problem. Why? Think first.
What u doThats not Clean flash.
Make sure u r on latest official twrp 3.2.3
First go to twrp . Format data to decrypt data and erase internal sd.
Go to wipe. Press format data
Type YES to format
It will erase data and internal sd partition.
Then Wipe data reset.
Flash rom
Flash gapps
Reboot
Do not restore any data backup from twrp.
When u first boot into system. During initial setup wizard. select DONT COPY DATA. Start as fresh setup.
After setup finished.
Do not restore backup or anything from titaniuim backup. Its main cause of ur problems. Restoring old backup on new android os bring crshes, bugs, drains, laggs.
Download and install everything from playstore.
Its done .Now check ur performance.:good:
Click to expand...
Click to collapse
Days ago, after read you, I decided to give up and go back to MIUI and then start again, with a total erase and full memory reset, I updated TWRP and also installed all with only a few titanium backups restore (I needed them, so I had no choice), the phone now runs quite aceptable and great, I took a look at kernel auditor before and after the complete restore, before I wasn't having any deep sleep, now, my phone have deep sleep most of the time and less high freq's
Didnt knew that titanium backup and not formatting my personal data was too bad, thanks again Black_Stark!

Categories

Resources