Accidentally Wiped Internal Storage in TWRP - Nexus 4 Q&A, Help & Troubleshooting

I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?

pandag said:
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
Click to expand...
Click to collapse
Unroot your phone to factory image then root again.
OR flash clockmod revoir to access storage (haven't tried b4 thou)

Reboot into the boot loader (Hold down power and volume down) and and then fast boot the factory image.
Google "how to restore nexus 4 to stock, fast boot"
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
it's easy.

pandag said:
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
Click to expand...
Click to collapse
Just ADB Push your files connecting your phone to the PC while TWRP is on.

i also want to wipe internal storage using twrp in my nexus 5. i have my rom in flash drive. can i flash the rom that I have in my flash drive if I mount it after I wiped internal storage?

Current TWRPs support MTP, all you need to do is wipe the storage and plug your phone into the PC. Just make sure that MTP is checked in the "mount" menu of TWRP. You can then proceed to put the ROM's zip onto the internal storage and flash like you normally would.

Related

[Q] Newbie questions (don't kill me Im new!)

Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
Use TWRP for recovery and to do a clean install wipe all data from TWRP.
Sent from my Nexus 7 using xda premium
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
smt8544 said:
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
Click to expand...
Click to collapse
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
mariosanoguera said:
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
Click to expand...
Click to collapse
I think it would be easier and cleaner if you restored back to stock before trying to re root, flash recovery, etc. If you have no important data on your device I'd go for it. If you do have important data, then try and pull it to your computer and then flash a stock image and re root etc.
I always find that in times when my device is screwing around, or I have file dregs around the place, I find it simply easier to backup important things and flash a stock image.

Stuck in a bootloop, please help

So I had my phone with TWRP and rooted, but then I upgraded to the latest firmware using Smart Switch on my PC.
Without doing any research I then stupidly flashed TWRP to my phone thinking I would just re-root it using TWRP and flashing the latest SUPERSU file; however, now TWRP doesn't recognize my internal storage and it is stuck in a boot loop unless I can flash SUPERSU or DT Verity fix. The internal storage is not recognized by my computer either when I plug my phone on even if I enable MTP in TWRP, I think this is something to do with the last USB debugging options but I am not sure?
What is my best solution without wiping my data?
If I copy the files to an SD card will TWRP recognize them? I am guessing no?
Can I flash stock back over TWRP to save my data? If so I am on Wind Mobile Canada, what file should I be flashing?
Lastly, I believe there is someway to send the files over ADP but I can't find any straight forward instructions on how to do so.
Thanks,
superskid said:
So I had my phone with TWRP and rooted, but then I upgraded to the latest firmware using Smart Switch on my PC.
Without doing any research I then stupidly flashed TWRP to my phone thinking I would just re-root it using TWRP and flashing the latest SUPERSU file; however, now TWRP doesn't recognize my internal storage and it is stuck in a boot loop unless I can flash SUPERSU or DT Verity fix. The internal storage is not recognized by my computer either when I plug my phone on even if I enable MTP in TWRP, I think this is something to do with the last USB debugging options but I am not sure?
What is my best solution without wiping my data?
If I copy the files to an SD card will TWRP recognize them? I am guessing no?
Can I flash stock back over TWRP to save my data? If so I am on Wind Mobile Canada, what file should I be flashing?
Lastly, I believe there is someway to send the files over ADP but I can't find any straight forward instructions on how to do so.
Thanks,
Click to expand...
Click to collapse
I bet your internal storage is encrypted, so that TWRP won't be able to read from it because it's not supported yet.
If you copy the supersu zip to an external SD and install it from TWRP you won't loose any data and you will be ok.
The boot loop is caused when you swipe on the first screen in TWRP and don't install anything (installing either dm-verify of supersu will let you boot again).

Unmounted data (twrp not ecryption it i guess :()

i tried to flash but i guess screwed up and twrp not mounting data there is nothing i can do right now its not mounting for encrypted device i guess.. i tried to flash chineese twrp it was mounted then flashed stock recovery and there is i got Encryption Unsuccessfull! Message.. what should i do ?
Go to Wipe in TWRP, and Format Data. It will wipe everything but you'll then have access again in TWRP.
stebsgb1 said:
Go to Wipe in TWRP, and Format Data. It will wipe everything but you'll then have access again in TWRP.
Click to expand...
Click to collapse
Its not even mounted how it will fix ?
Feedmeeeee said:
Its not even mounted how it will fix ?
Click to expand...
Click to collapse
I got the same error. If you go to wipe and use the format data button everything will get wiped except TWRP but since the memory on the phone is properly formatted you can connect your phone to a computer, open the phone memory like an external hard drive and just copy and paste the ROM zip and your root app zip and then flash them in TWRP. It should definitely work.
jhs39 said:
I got the same error. If you go to wipe and use the format data button everything will get wiped except TWRP but since the memory on the phone is properly formatted you can connect your phone to a computer, open the phone memory like an external hard drive and just copy and paste the ROM zip and your root app zip and then flash them in TWRP. It should definitely work.
Click to expand...
Click to collapse
Wow really thanks i will try it

How can I install Oxygen OS 5.0.1 with an unlocked bootloader?

Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Flash through stock recovery
Hitman478™ said:
Flash through stock recovery
Click to expand...
Click to collapse
I haven't done this kind of thing yet.
If I do this, will my data be wiped out or not?
What about using the OTA notification ?
quick05 said:
What about using the OTA notification ?
Click to expand...
Click to collapse
What do you mean?
I tried to update my phone using the normal way but after downloading and tried to install it, it failed because my bootloader is unlocked.
I just made a backup of data using codeworkx recovery. Copied the backup (Along with the files on userdata I wanted to keep) to my PC.
Wiped all and formatted data. Then installed Oreo and copied back the files and data backup from the pc to the phone and restored data with codeworkx recovery again.
Then flashed magisk 15.2 and rebooted.
Everything working fine now.
shriekyphantom said:
Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Click to expand...
Click to collapse
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
pleomaxell said:
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
Click to expand...
Click to collapse
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
jmoricone said:
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
Click to expand...
Click to collapse
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
jmoricone said:
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
Click to expand...
Click to collapse
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
SysAdmNj said:
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
Click to expand...
Click to collapse
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
jmoricone said:
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
Click to expand...
Click to collapse
You can ask that question on the TWRP thread. May be they can answer it correctly. I guessed that twrp-3.2.1-0-universal-codeworkx-cheeseburger.img was for both Nougat and Oreo and that is why I used it. So, if you want to be sure you should ask that on a TWRP thread.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
jmoricone said:
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
Click to expand...
Click to collapse
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Aarju said:
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Click to expand...
Click to collapse
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
jmoricone said:
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
Click to expand...
Click to collapse
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Aarju said:
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Click to expand...
Click to collapse
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
jmoricone said:
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
Click to expand...
Click to collapse
Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors.
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
I received the following tip
"Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors."
But this makes no sense to me.
I have formatted my phone / wiped data / have the full rom & magisk on my "/sdcard" / went to install zip via TWRP, selected the rom and received the error message.
I decided to just go and upgrade via OTA and that failed. My phone has rebooted back to stock
what am i doing wrong?

Instructions

Hey there great people out there!
Can somebody provide me the correct instructions for installing any Oreo ROM? It's not that I am lazy to search, believe me I have tried But problems came like Internal storage is not showing up on twrp(encrypted).Thanks a lot!BTW I'm on marshmallow right now,so please provide on how to update from marshmallow ?
Tech x 125 said:
Hey there great people out there!
Can somebody provide me the correct instructions for installing any Oreo ROM? It's not that I am lazy to search, believe me I have tried But problems came like Internal storage is not showing up on twrp(encrypted).Thanks a lot!BTW I'm on marshmallow right now,so please provide on how to update from marshmallow ?
Click to expand...
Click to collapse
You said you are on marshnallow.. Detailed step below.
1. Update to the latest nougat firmware using ota. Because lateat firmware is needed for oreo roms. Else you will face tons of bugs and problems.
2. Download recovery from same thread of the oreo rom you are using. Oreo roms need vendor partition, so it needs recovery that supports it.
Download the rom and gapps also.
5. Copy the rom, recovery image and gapps into the memory card. Boot into fastboot mode. Connect to pc. You can boot to fastboot by using command "adb reboot fastboot" without quotes.
4. Unlock the bootloader by connecting to pc via fastboot.(steps to unlock is given in the xda guide section or k6 power.)
5. Boot into twrp recovery image using fastboot. Your phone will reboot to recovery.
6. Using recovery install the recovery image from it by going to "install option" then selecting file type as image and selecting recovery image file.
7. Reboot recovery.
8. Format data to remove encryption. After that you can access internal storage. Wipe data, cache, dalvic cache, system, data and internal storage.
9. Flash the rom file. Flash the gapps.
10. Reboot to system from twrp.
If you can understand any steps above you can google. If you cant understand google, then forget about doing it. Because you will eventually break your phone. Give it to someone who knows in that case.
Lol I will not brick my device.I can get back to marshmallow anytime!The only problem I was having before was the device wouldn't show anything(0mb) on internal storage on booting in the ROM.Is this normal.Maybe the ROM is encrypted.On nougat this is not happening on any ROM.Currently Iam on nougat(stock).It shows internal storage only after formatting data but reinstalling the ROM and booting again in recovery it shows 0mb on internal storage.
Tech x 125 said:
sk.vyshak said:
You said you are on marshnallow.. Detailed step below.
1. Update to the latest nougat firmware using ota. Because lateat firmware is needed for oreo roms. Else you will face tons of bugs and problems.
2. Download recovery from same thread of the oreo rom you are using. Oreo roms need vendor partition, so it needs recovery that supports it.
Download the rom and gapps also.
5. Copy the rom, recovery image and gapps into the memory card. Boot into fastboot mode. Connect to pc. You can boot to fastboot by using command "adb reboot fastboot" without quotes.
4. Unlock the bootloader by connecting to pc via fastboot.(steps to unlock is given in the xda guide section or k6 power.)
5. Boot into twrp recovery image using fastboot. Your phone will reboot to recovery.
6. Using recovery install the recovery image from it by going to "install option" then selecting file type as image and selecting recovery image file.
7. Reboot recovery.
8. Format data to remove encryption. After that you can access internal storage. Wipe data, cache, dalvic cache, system, data and internal storage.
9. Flash the rom file. Flash the gapps.
10. Reboot to system from twrp.
If you can understand any steps above you can google. If you cant understand google, then forget about doing it. Because you will eventually break your phone. Give it to someone who knows in that caseencryptedThanks Man!
Lol I will not brick my device.I can get back to marshmallow anytime!The only problem I was having before was the device wouldn't show anything(0mb) on internal storage on booting in the ROM.Is this normal.Maybe the ROM is encrypted.On nougat this is not happening on any ROM.Currently Iam on nougat(stock).It shows internal storage only after formatting data but reinstalling the ROM and booting again in recovery it shows 0mb on internal storage.
Click to expand...
Click to collapse
Reinstalling the rom means it is again getting encrypted. By default encryption is on in stock rom. So you have to format data to break encryption. Otherwise you cant access internal storage. You need latest firmware (nov security patch) for oreo roms.
Click to expand...
Click to collapse
thanks
sk.vyshak said:
You said you are on marshnallow.. Detailed step below.
1. Update to the latest nougat firmware using ota. Because lateat firmware is needed for oreo roms. Else you will face tons of bugs and problems.
2. Download recovery from same thread of the oreo rom you are using. Oreo roms need vendor partition, so it needs recovery that supports it.
Download the rom and gapps also.
5. Copy the rom, recovery image and gapps into the memory card. Boot into fastboot mode. Connect to pc. You can boot to fastboot by using command "adb reboot fastboot" without quotes.
4. Unlock the bootloader by connecting to pc via fastboot.(steps to unlock is given in the xda guide section or k6 power.)
5. Boot into twrp recovery image using fastboot. Your phone will reboot to recovery.
6. Using recovery install the recovery image from it by going to "install option" then selecting file type as image and selecting recovery image file.
7. Reboot recovery.
8. Format data to remove encryption. After that you can access internal storage. Wipe data, cache, dalvic cache, system, data and internal storage.
9. Flash the rom file. Flash the gapps.
10. Reboot to system from twrp.
If you can understand any steps above you can google. If you cant understand google, then forget about doing it. Because you will eventually break your phone. Give it to someone who knows in that case.
Click to expand...
Click to collapse
thanks

Categories

Resources