I think I am bricked - Nexus 4 Q&A, Help & Troubleshooting

So at one point, I accidentally deleted the OS off of my phone, but I still had TWRP installed. The only solution was to flash a rom through ADB, but TWRP didn't have ADB for whatever reason for me, so I flashed CWM which did have ADB. I was able to flash CWM after I pushed a rom through ADB and install Android 4.3 w/ root from nexus4root.com. It worked correctly, but I noticed that I only had 5.66gb of storage on my phone. I have the 16gb variant which would have about 12gb usable. So I followed a guide here in xda to get back my 16gb. I was told to wipe my phone step by step and flash a factory image. But ere are my errors not
- When I try to flash the factory image, it says 'missing boot.sig, system.sig, and something else.sig'
- I have no recovery on my phone
- When I try using fastboot commands, it says FAILED (command write failed (unknown error))
I am pretty stuck here. And I did redownload the root files.
EDIT: I was able to fix fastboot and flashed TWRP, but my devices is encrypted and requires a password

You should be able to clean your encrypted user storage by using "fastboot erase userdata", and you can do it for /data /system and /cache partition as well.
Or go into TWRP, if it ask for password, just press cancel. Then go to Wipe -> Advance -> Select "Format Data" and it will do a full wipe and cleaning out the encrypted partition.
As for using fastboot to restore to stock, shouldn't be any problem as long as you have the correct drivers and latest ADT package from Google.

I did something similar and had encryption on. My fix was "fastboot flash" the stock system, boot and recovery (4.3 for me). After getting back in my phone and verifying everything was there I re-flash CWM and re-rooted.

Related

/sdcard unable to mount?

I tried encrypting my phone today while on CM10.1 and it rebooted and hung on the google screen for a few minutes so I held the power button and it rebooted and went back into CM10.1 except it said, encryption was unsuccessful and i needed to do a factory reset. So I let it reset, but it kept sending me to that page. So i booted into recovery tried to manually wipe it and it said /sdcard could not be mounted. I am currently using a linux toolkit and trying to push the google sock image, so far it has pushed the bootloader, boot, and recovery. I am sitting at system and thinking my phone is borked.
Someone else mentioned that they can't mount /sdcard .... are you actually trying to mount it?
Are you using fastboot to flash the appropriate stock files?
From bootloader: fastboot flash boot boot.img
fastboot flash system system.img etc... ?
Or running the flashall.sh script in the stock downloaded files?

[Q] Nexus 4 Bootloop, locked, stock rom, no dev, backup data?

Hi,
today a friend of mine woke up with his phone (Nexus 4, 8GB, Android 4.4.4 stock) being off. When powered on, it gets stuck in the boot animation (4 coloured dots moving).
Bootloader is LOCKED on this device. Developer-Options are OFF.
Is there ANY way to recover this device without losing the data on its virtual sdcard OR backup this data?
What I've tried:
- Boot into stock recovery (PWR+DOWN - Recovery - PWR+UP) and wipe cache. Cache wiped, no effect.
- Boot maintenance mode (whatever it is called) by holding down DOWN a moment before the boot animation and a moment after boot animation... tried all, device never exits the boot animation
- use NRT to boot temporary custom recovery... A message shows up on the device in fastboot mode for <1s... I can't read it, but I guess it says it wont boot that with device locked... nothing boots
- use NRT to boot modified boot img... same as above
- Boot into stock recovery (PWR+DOWN - Recovery - PWR+UP) and select "apply update from adb". Device says I should apply updates with adb sideload. "adb devices" does not list any device. "adb sideload update.zip" says "device not found" (I generated an update.zip from stock image without userdata.img)
- "fastboot update update.zip" says "FAILED (remote: not supported in locked device)"
I've read that stock recovery with "apply update from adb" can be used to backup data, but it is not working... is this because developer options are not enabled on this device?
What options do I have now? If I use the stock image and flash it as is (including userdata.img) with "flash-all.bat", the data will be lost, right? If I use "fastboot update stock-update.zip" (didn't try it so far), which is almost the same but without "-w" option on fastboot, will the data survive even with userdata.img in the zip?
Thx so far
UPDATE: driver for adb in sideload mode was not installed correctly. Now "adb devices" lists the device, but "adb pull" or "adb backup" show "error: closed"
RFZ said:
UPDATE: driver for adb in sideload mode was not installed correctly. Now "adb devices" lists the device, but "adb pull" or "adb backup" show "error: closed"
Click to expand...
Click to collapse
You're not going to be able to pull data off with a locked bootloader and the stock recovery. Sorry
Sent from my Nexus 5 using XDA Free mobile app
http://forum.xda-developers.com/showpost.php?p=38160111&postcount=4
states that "wipe and factory reset" from stock recovery does NOT wipe users media data. Can someone confirm that?
okay, after lots of research I found more sources that told me that factory reset would not delete data from the internal media storage...
So, we tried it. And ... it deleted all data. After doing the reset in stock recovery, all data is lost.
That's really a good example why I hate devices without sdcard...
RFZ said:
okay, after lots of research I found more sources that told me that factory reset would not delete data from the internal media storage...
So, we tried it. And ... it deleted all data. After doing the reset in stock recovery, all data is lost.
That's really a good example why I hate devices without sdcard...
Click to expand...
Click to collapse
If you look closely at the post you linked, he was also surprised that the wipe data didn't remove his data, which is what he was expecting. As far as I know, factory reset within the stock recovery and inside Android both always wipe user data including the internal storage (yes, I learned this the hard way, too.)
I agree with you though, devices with non-removable storage are a pain.
Hey!
It's a softbrick but don't panic do this--->
1. Go to Google developers download the nexus 4 factory image under 'occam'
2. Download wugfresh toolkit
3. Open the toolkit.. Unlock your bootloader
4. After unlock... Go to 'flash stock+unroot'
5. Navigate to downloaded image and tick "device is softbrick/bootloop"
6 voila! It will start to revive your device
PS: don't forget to unlock the bootloader
Don't interrupt the flashing process
Thank me if it helps
-nexus⁴
---------- Post added at 06:38 AM ---------- Previous post was at 06:35 AM ----------
This will erase all data!
-nexus⁴

Just Installed CM13, Now TWRP Shows Internal Storage as 0MB

The title pretty much explains it. I just finished installing CM13 on my Nexus 6P, but realised I'd downloaded the wrong GApps, so booted up into CM13 (Worked fine) and then downloaded the newest GApps into internal storage (Which was NOT empty when I connected over USB to my PC) yet when I went to flash the new GApps, TWRP tells me that I have nothing in my internal storage folder. I'm confused as to how that could happen.
It could be that it messed with the internal formatting, try downloading the stock image from Google. Extract all the files until you get to userdata.img.
Open a command prompt in the folder and you can flash it whilst your phone is connected and in fastboot by typing "fastboot flash userdata userdata.img"
this will wipe (factory reset) your device!
nukeclears said:
It could be that it messed with the internal formatting, try downloading the stock image from Google. Extract all the files until you get to userdata.img.
Open a command prompt in the folder and you can flash it whilst your phone is connected and in fastboot by typing "fastboot flash userdata userdata.img"
this will wipe (factory reset) your device!
Click to expand...
Click to collapse
Tried this, no success. I'm willing to just get the phone back to stock at this point, so I assume just reflashing the stock imgs will do the trick, to at least get me a working phone? I have a nandroid backup that I can use, but tonight I just want to get a working phone.
Userdata.img is only for the 32gb version. If you flash that over 64gb or 128 it will give you 32. Try fastboot format userdata instead.

Phone is not encrypted but Android and TWRP say it is. [Solved]

SOLVED:
In TWRP I went WIPE > FORMAT DATA
The format failed with error 255 (with many more errors relating to encryption and mounting of /data) and /data would no longer mount
Noticed that the failed format had changed the file system of /data from ext4 to f2fs
Used WIPE > ADVANCED WIPE > REPAIR OR CHANGE FILE SYSTEM to change /data back to ext4
Bob's your uncle
Original issue:
Currently my device is fully functional except that in Android settings under "Security" it indicates that my phone is encrypted. When booting TWRP the console says:
Code:
Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating partition details...
...done
Successfully decrypted with default password.
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Here's how I got here:
-Device arrived yesterday with B29 installed
-Took official OTA to B15
-Unlocked bootloader using the Axon7Toolkit (flashes the unlock EDL file via MiFlash and issues a "fastboot oem unlock" command)
-Flashed TWRP 3.1.1-0 via "fastboot flash" command
-Flashed B19 bootstack and system from post #4 of this thread: https://forum.xda-developers.com/axon-7/development/bad-boyz-zte-axon-7-rom-m-magisk-root-t3543201 (in preparation for Bad Boyz ROM)
-TWRP reported that no OS was installed when attempting to reboot system. Tried to boot system anyways. No boot. Reflashed the above mentioned B19 system. Same as before, no boot.
-Flashed stock recovery
-Used the update.zip file provided by ZTE to flash B19 in stock recovery
-Tried to reboot to fastboot so I could flash TWRP. It just rebooted after selecting the fastboot option.
-Used the test adb and fastboot option in Axon7Toolkit. Toolkit told me that access to fastboot may be locked out due to an incorrect partition flag. It suggested that I use the bootloader unlock option. I followed the prompts again and used MiFlash to flash that EDL file that enables certain fastboot commands. Instead of continuing the bootloader unlock process in the Toolkit (which would have issued a 'fastboot oem unlock' command) I exited the toolkit after flashing the EDL file.
-Flashing that EDL file did enable me to boot to fastboot. However when I booted the system I was asked for a PIN to decrypt data. When I rebooted to TWRP I was asked for a PIN as well.
-Used the "Restore to stock" option in Axon7Toolkit (flashed the full B19 EDL via MiFlash)
-Device now boots both recovery and the system without asking for a PIN. However, as mentioned above, both Android and TWRP say the device is encrypted. (this is the current state of the device)
I'm not sure that this adversely effects me beyond not being able to actually encrypt my phone but I would still like to fix it. I'm might be returning this phone and I'd like to send it back the way I got it. Even if I keep it, leaving it pseudo-encrypted would bug me. How do I fix this please? I made sure that before I started installing things via recovery that I removed my fingerprint and PIN.
Doc Ames said:
Currently my device is fully functional except that in Android settings under "Security" it indicates that my phone is encrypted.
Click to expand...
Click to collapse
You could do a full backup in TWRP and wipe the data partition. After that you can restore the backup. If you have no PIN or gesture unlock enabled, then it should boot fine. Otherwise you should delete the locksettings.db* files in /system/data in TWRP.
Sent from my ZTE A2017U using Tapatalk
DaCashFlow said:
You could do a full backup in TWRP and wipe the data partition. After that you can restore the backup. If you have no PIN or gesture unlock enabled, then it should boot fine. Otherwise you should delete the locksettings.db* files in /system/data in TWRP.
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Thank you for the reply. I ended up having to format /data in TWRP. See above.

[guide] [root] [oreo&pie] [jeter/aljeter] [twrp, decrypt, magisk] [stock firmware]

* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, fires, rigged elections, ligma,
* thermonuclear war, or your mom getting upset with you for being on the computer all day
Please
* Ensure you have an advanced understanding of this device before flashing it! YOU are choosing to make these modifications or your own free will.
*/
THIS GUIDE APPLIES TO JETER AND ALJETER DEVICES
FOR ALJETER DEVICE OWNERS ONLY.
there are ALOT of different variants of the aljeter so please before beginning this root method go to settings, system, about phone. look for either sw version or software channel verison and either remember what it says or write it down. me or anyone else will need this to help troubleshoot which aljeter variant you have. this will also be important to know incase you mess up and need to reflash stock firmware which those instructions are at the bottom of this guide.
The following devices have been confirmed to work on devices with Android 8 (Oreo)
XT1922-4 Model
XT1922-5 Brazilian Model
XT1922-7 Boost Mobile/ Virgin Mobile
XT1922-9 Motorola Retail
The following devices have been confirmed to work with Android 9 (pie)
XT1922-7 (Jeter) boost Mobile/ Virgin Mobile.
XT1922-3 (Aljeter)
XT1922-5 (Aljeter retbr)
Please make backups using TWRP IN CASE OF FAILURE.
Original stock firmware FOR JETER can be found here. https://mirrors.lolinet.com/firmware/moto/jeter/official/ and here FOR ALJETER https://mirrors.lolinet.com/firmware/moto/aljeter/official/
The steps listed in this process WILL wipe your userdata. If you have anything you need to save back it up first.
Prerequisite:
Unlocked bootloader.
FOR LINUX USERS. If you're using a linux distro then congrats this is all you should have to run. open command prompt and run this. "sudo apt-get install adb" without quotation marks. then follow Motorolas bootloader guide in provided link. continue to step 1 after.
FOR WINDOWS USERS.
ADB/Fastboot installed on your machine ( https://developer.android.com/studio...platform-tools ) If you have issues with commands make sure you have a current build of ADB and fastboot.
Minimal adb/fastboot v1.4.3 installer can be found here. https://androidfilehost.com/?fid=746010030569952951
Motorola bootloader unlock request here https://motorola-global-portal.custh...-your-device-a
DECRYPTION AND BACKUP.
NOTICE
IF YOU YOU ARE USING THE 32GB MODEL OR THE 16GB MODEL AND ARE ON ANDROID 9 (PIE) PLEASE USE THE ANDROID 9 (PIE) MODEL TWRP. USERS WITH THE 16GB MODEL AND THE 32GB MODEL ON ANDROID 8 (OREO) WILL STILL NEED TO USE SEPERATE TWRPS
MAKE SURE TO SWIPE RIGHT IN TWRP TO ALLOW SYSTEM MODIFICATIONS.
Step 1.) Download and extract twrp image to the ADB/Fastboot folder on your computer.
FOR ANDROID 8 (OREO)
16gb model twrp: https://www.androidfilehost.com/?fid=6006931924117921836
32gb model twrp: https://www.androidfilehost.com/?fid=6006931924117927211
FOR ANDROID 9 (PIE)
https://www.androidfilehost.com/?fid=6006931924117921849
Step 2.) Reboot to your bootloader. You can do this by turning on your device and holding the power button and volume down button at the same time.
Step 3.) Once the device reboots to the bootloader type the following from your computer with your phone connected via USB.
Code:
fastboot boot twrp.img
Step 4.) Once TWRP boots from your computer type (it may take a bit to boot because it is trying to decrypt your userdata, but it will fail and prompt for a password. Just click cancel)
Step 5.) time to backup your stock recovery and stock boot. use these commands one at a time.
Code:
adb pull /dev/block/platform/soc/7824900.sdhci/by-name/boot stockboot.img
adb pull /dev/block/platform/soc/7824900.sdhci/by-name/recovery stockrecovery.img
This will backup your stock boot and recovery images if you need to revert to stock later.
Step 6.) time to decrypt which will also format your data so make sure to make a backup. while still booted in twrp touch the "wipe" button then touch "format data", type yes and after its all done reboot to bootloader use this command.
Code:
adb reboot bootloader
CONGRATS! if you read this correctly and or didnt skim then you have successfully decrypted your device and backed up your stock recovery and stock boot.img. proceed below for root process.
ROOT PROCESS.
Step 1.) Run the following command from your computer to install the TWRP image to your device.
Code:
fastboot flash recovery twrp.img
Step 2.) Use the volume keys on the device to select boot to recovery and TWRP will boot up again. swipe right to allow modifications. IT SHOULD NOT ASK YOU FOR A PASSWORD THIS TIME IF IT DOES YOU MESSED UP DURING THE DECRYPT PROCESS
Step 3.) Follow this link to the creators site to download the disabler zip. https://zackptg5.com/android.php#disverfe download it to your ADB/Fastboot folder.
Step 4.) Download the Magisk Beta v20.0 and or the latest zip file from https://github.com/topjohnwu/Magisk/releases to your ADB/Fastboot folder. (I personally use beta so I use beta in this guide but you don't have to)
Step 5.) Run the following command to push the dm_verity force encrypt disabler and magisk zip to your device
Code:
adb push Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip /tmp
adb push Magisk-v20.0.zip /tmp
This will push the Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip and Magisk-v20.0.zip to your /tmp folder
Step 6.) Flash Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip from TWRP using the install option and navigate to the /tmp folder to select it and install it.
Step 7.) Flash Magisk-v20.0.zip from TWRP using the install option and navigate to the /tmp folder to select it and install it.
Step 8.) Reboot your device
Step 9.) Just wait for the device to boot up. might take a bit and it might seem its in a bootloop but if you followed this guide exactly as is just wait it out it took about 5-10 minutes before i got to the "lets get started" screen after updating to pie (android 9)
Step 10.) Verify Magisk Manager is installed and the root functionality works. sometimes the manager apk wont be installed so download the magisk manager apk from the provide links. click advanced to see if the boxes are unchecked. (2022 edit) If you see magisk app and magisk needs updated you can do it but I can't confirm if it's safe and what works and doesnt after
CONGRATS! IF YOU DIDNT SKIM MY GUIDE YOU SHOULD HAVE A SUCCESSFULLY ROOTED AND ENCRYPTION DISABLED DEVICE, HAVE FUN.
IF YOU MESSED UP, DIDNT PUT A COMMAND IN CORRECTLY, SKIMMED, OR ARE INA GENUINE BOOTLOOP/BRICK THIS SECTION IS FOR YOU
Step 1.) DOWNLOAD STOCK FIRMWARE HERE FOR JETER AND CERTAIN ALJETER DEVICES (from what i can tell usa variant aljeter devices are consided jeter) https://mirrors.lolinet.com/firmware/moto/jeter/official/ IF YOU REMEMBER OR WROTE DOWN YOUR SW CHANNEL VERSION THEN DOWNLOAD STOCK FIRMWARE FOR BASICALLY EVERY OTHER ALJETER DEVICE HERE. https://mirrors.lolinet.com/firmware/moto/aljeter/official/ UNZIP STOCK FIRMWARE TO YOUR ADB/FASTBOOT FOLDER TO FLASH IT. TO REVERT BACK TO STOCK YOU HAVE TO REFLASH STOCK FIRMWARE FROM THE BOOTLOADER if your device is bootlooped or bricked or not working right you have to reflash the stock firmware your device came with. PLEASE INPUT THESE COMMANDS ONE AT A TIME DO NOT DO THEM ALL AT ONCE. I KNOW ITS A HASSLE BUT IT GUARANTEES A SUCCESSFUL REFLASH. I CANNOT EMPHASIZE THIS ENOUGH
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastbot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash oem oem.img
fastboot flash vendor vendor.img
fastboot erase userdata
fastboot erase DDR
fastboot erase modemst1
fastboot erase modemst2
fastboot flash logo logo.bin
fastboot oem fb_mode_clear
fastboot reboot
Credits: @kwiksi1ver for making the original guide. @topjohnwu for magisk. @shimp208 for minimal adb/fastboot. @Spaceminer for providing the new twrps for 16gb and 32 gb devices, and @Zackptg5 for making the Universal DM-Verity, ForceEncrypt, Disk Quota Disablers.
QUICK NOTE/EDIT: SINCE I DO NOT OWN THIS DEVICE ANYMORE I CANNOT CONFIRM IT BUT YOU SHOULD BE ABLE TO UPDATE TO THE LATEST MAGISK 24.3 FROM THE MAGISK APP AFTER YOU INSTALL V20, AGAIN I AM NOT ABLE CONFIRM IF IT WORKS, CAUSES BOOTLOOPS, OR ANYTHING SO KEEP THAT IN MIND, but hopefully it does work for yall I've also updated the ADB commands for the disabler to reflect its latest version and I've updated the magisk link to topjohnwus GitHub as that's where all updates happen/ go first
RESERVED
In order to update the confirmed working models for this guide, if anyone that has this device with a unlocked bootloader and does root and decrypt successfully using my guide and it's not on the confirmed device list. PLEASE JUST PM ME and let me know. Please include device model number, name, and if on aljeter your software channel version.( For example. Xt1922-5 aljeter, sw channel: retbr)
following the instructions exactly gets me into a really weird bootloop where my phone boots twrp, shows some log and then reboots and does the same thing over and over
blowingoff said:
following the instructions exactly gets me into a really weird bootloop where my phone boots twrp, shows some log and then reboots and does the same thing over and over
Click to expand...
Click to collapse
I have the same issue. I used the recovery steps to go back to stock but every time i re-attempt to root/install twrp the bootloop comes back:
Also, it's failing to mount /data after Resurrection Remix wouldn't boot and it keeps giving me the unable to mount /data (invalid argument) problem. I need help badly. Can you help? Is it the TWRP's fault?
Kuntitled said:
I have the same issue. I used the recovery steps to go back to stock but every time i re-attempt to root/install twrp the bootloop comes back:
Also, it's failing to mount /data after Resurrection Remix wouldn't boot and it keeps giving me the unable to mount /data (invalid argument) problem. I need help badly. Can you help? Is it the TWRP's fault?
Click to expand...
Click to collapse
Are you encrypted? Because twrp will do that if you are. You have to use the wipe > format > type "yes" to continue method to remove encryption. Then reboot from twrp, directly back into twrp. Then it can mount /data properly, at which point you need to flash the encryption disabler. If you don't disable encryption you'll keep running into the same problem. You only have to do that once. After that you can use the regular wipe option. If you ever flash the stock vendor.img you'll need to do it again.
Also, please make sure twrp has been flashed to recovery. I don't think it'll work if you just boot through fastboot. If you followed all these instructions and magisk still refuses to install, or gives you a bootloop, then it's a ROM problem and not TWRP. Should that happen, let me know and I'll flash Resurrection remix and see if I can figure out what's going on. I've had ROMs refuse to be rooted before. Descendant ROM had this problem on some older builds.
Spaceminer said:
Are you encrypted? Because twrp will do that if you are. You have to use the wipe > format > type "yes" to continue method to remove encryption. Then reboot from twrp, directly back into twrp. Then it can mount /data properly, at which point you need to flash the encryption disabler. If you don't disable encryption you'll keep running into the same problem. You only have to do that once. After that you can use the regular wipe option. If you ever flash the stock vendor.img you'll need to do it again.
Also, please make sure twrp has been flashed to recovery. I don't think it'll work if you just boot through fastboot. If you followed all these instructions and magisk still refuses to install, or gives you a bootloop, then it's a ROM problem and not TWRP. Should that happen, let me know and I'll flash Resurrection remix and see if I can figure out what's going on. I've had ROMs refuse to be rooted before. Descendant ROM had this problem on some older builds.
Click to expand...
Click to collapse
as for me: I followed the instructions which tell us to only boot twrp during the data format and only then actually flash twrp.
but my problem is no magisk, as I always root my phone whenever i revert back to stock. it's just that decryption is not working on my xt1922-5
blowingoff said:
as for me: I followed the instructions which tell us to only boot twrp during the data format and only then actually flash twrp.
but my problem is no magisk, as I always root my phone whenever i revert back to stock. it's just that decryption is not working on my xt1922-5
Click to expand...
Click to collapse
Do it like this.
1. fastboot flash recovery twrp.img
2. Use the volume keys while still in fastboot to select "recovery" then hit the power button.
3. Hit cancel at the decryption screen when twrp boots up.
4. In TWRP select wipe > format > type "yes" to continue. Do not reboot the phone yet.
5. In twrp select reboot > recovery.
6. Once twrp boots up again, select mount and check the boxes for /data, /system, /vendor, /cache.
7. Now flash the universal encryption disabler.
8. Let it boot once, then go back into recovery and flash Magisk.
This should solve your problem.
Spaceminer said:
Do it like this.
1. fastboot flash recovery twrp.img
2. Use the volume keys while still in fastboot to select "recovery" then hit the power button.
3. Hit cancel at the decryption screen when twrp boots up.
4. In TWRP select wipe > format > type "yes"no to continue. Do not reboot the phone yet.
5. In twrp select reboot > recovery.
6. Once twrp boots up again, select mount and check the boxes for /data, /system, /vendor, /cache.
7. Now flash the universal encryption disabler.
8. Let it boot once, then go back into recovery and flash Magisk.
This should solve your problem.
Click to expand...
Click to collapse
My issue is as follows:
I had rooted my g6play months ago, back when pie came out on Ota for it. The guide I followed didn't have me disable encryption, which at the time wasn't a real big deal, with my only loss being the inability to do nandroid backups. But fast forward to now, when Resurrection Remix GSI came out, I was immediately interested as I think that rom could be a great experience.
So I decided to come here in this guide because I might as well disable encryption, right? So I flashed the new twrp and did get it to wipe and disable the encryption (in the option that has you type in yes) and proceeded to flash RR, it booted to the boot anima9and there it stayed for a good 30 minutes before I decided to try the older GSI image, maybe that one would work.
But nope, I immediately got the unable to mount /data bootloop and successfully flashed my stock rom and tried again, this time flashing the new twrp right off the bat. No avail. Now everytime i go into a freshly flashed twrp, i get no password prompt, and when i try to access the internal storage, it comes up as 0mb. Even my Linux complains that it couldn't mount my Internal storage as only the SD card shows up (weirdly enough I was able to successfully push dm verity and magisk to /temp no problem but they fail upon flashing)
Edit: gotta mention that after the first time I did the pull adb command to get the backups, the command refuses to work anymore. And also that I still have an old twrp backup stored (did that today before trying this)
Kuntitled said:
My issue is as follows:
I had rooted my g6play months ago, back when pie came out on Ota for it. The guide I followed didn't have me disable encryption, which at the time wasn't a real big deal, with my only loss being the inability to do nandroid backups. But fast forward to now, when Resurrection Remix GSI came out, I was immediately interested as I think that rom could be a great experience.
So I decided to come here in this guide because I might as well disable encryption, right? So I flashed the new twrp and did get it to wipe and disable the encryption (in the option that has you type in yes) and proceeded to flash RR, it booted to the boot anima9and there it stayed for a good 30 minutes before I decided to try the older GSI image, maybe that one would work.
But nope, I immediately got the unable to mount /data bootloop and successfully flashed my stock rom and tried again, this time flashing the new twrp right off the bat. No avail. Now everytime i go into a freshly flashed twrp, i get no password prompt, and when i try to access the internal storage, it comes up as 0mb. Even my Linux complains that it couldn't mount my Internal storage as only the SD card shows up (weirdly enough I was able to successfully push dm verity and magisk to /temp no problem but they fail upon flashing)
Edit: gotta mention that after the first time I did the pull adb command to get the backups, the command refuses to work anymore. And also that I still have an old twrp backup stored (did that today before trying this)
Click to expand...
Click to collapse
well i also couldnt make the backups, fastboot just tells me the file doesnt exist. and for the internal storage: while you are encrypted, that is how it works.
---------- Post added at 11:58 AM ---------- Previous post was at 11:42 AM ----------
blowingoff said:
well i also couldnt make the backups, fastboot just tells me the file doesnt exist. and for the internal storage: while you are encrypted, that is how it works.
Click to expand...
Click to collapse
Edit: i can not mount data, twrp says argument invalid. followed your instructions anyway and my phone still gets me to a bootloop to a "running OpenRecoveryScript" again.
blowingoff said:
well i also couldnt make the backups, fastboot just tells me the file doesnt exist. and for the internal storage: while you are encrypted, that is how it works.
---------- Post added at 11:58 AM ---------- Previous post was at 11:42 AM ----------
Edit: i can not mount data, twrp says argument invalid. followed your instructions anyway and my phone still gets me to a bootloop to a "running OpenRecoveryScript" again.
Click to expand...
Click to collapse
Go into the wipe menu, advanced wipe, check data and hit change file system. change data back to f2fs. When you guys format and don't immediately reboot straight to recovery, data sets to Auto and freaks out
Starkiller2 said:
Go into the wipe menu, advanced wipe, check data and hit change file system. change data back to f2fs. When you guys format and don't immediately reboot straight to recovery, data sets to Auto and freaks out
Click to expand...
Click to collapse
the multiple times i checked, the file system was always f2fs, but sometimes ext4
and also: Do you mean we should do that after we try to format with the format data (typing yes) option? If so, it doesn't work as the internal storage won't mount. Won't even show up on my computer
Kuntitled said:
the multiple times i checked, the file system was always f2fs, but sometimes ext4
and also: Do you mean we should do that after we try to format with the format data (typing yes) option? If so, it doesn't work as the internal storage won't mount. Won't even show up on my computer
Click to expand...
Click to collapse
If you change the file system, it'll format, even if it says it won't mount. Changing the file system will force it to format. Even if it says f2fs, hit change and select f2fs anyway.
If it doesn't, format from fastboot, boot system once then go to recovery
Starkiller2 said:
If you change the file system, it'll format, even if it says it won't mount. Changing the file system will force it to format. Even if it says f2fs, hit change and select f2fs anyway.
If it doesn't, format from fastboot, boot system once then go to recovery
Click to expand...
Click to collapse
Alright, let me work through this.
I'm currently on a stock firmware and it's working fine.
Right now i have to:
1. boot into recovery twrp
2. change the filesystem of data
3. flash recovery and boot into it
4. format data(yes option)
5.check and change the file system again
6.reboot straight back into twrp recovery from recovery
7.flash dm verity zip
8.flash magisk
9.boot
Is this correct? and as for attempting to install a GSI image again, should i attempt to flash it before the verity zip and magisk? (i'll also be flashing micro gapps) or do i let it boot into system once and then i do it? (by wiping data/dalvik/cache/system)
Kuntitled said:
Alright, let me work through this.
I'm currently on a stock firmware and it's working fine.
Right now i have to:
1. boot into recovery twrp
2. change the filesystem of data
3. flash recovery and boot into it
4. format data(yes option)
5.check and change the file system again
6.reboot straight back into twrp recovery from recovery
7.flash dm verity zip
8.flash magisk
9.boot
Is this correct? and as for attempting to install a GSI image again, should i attempt to flash it before the verity zip and magisk? (i'll also be flashing micro gapps) or do i let it boot into system once and then i do it? (by wiping data/dalvik/cache/system)
Click to expand...
Click to collapse
Let's simplify. If everything is working,
go to fastboot
Flash recovery (boot doesn't seem to be working here)
Fastboot flash recovery twrp image
Select recovery, when the decrypt menu comes up, hit cancel
Wipe menu,
Swipe to factory reset
Go back to wipe
format data, yes,
Reboot recovery
Flash disabler
Flash magisk
And yes. Boot system then GSI flash, then factory reset before magisk
---------- Post added at 01:44 PM ---------- Previous post was at 01:36 PM ----------
We'll get it figured out
Starkiller2 said:
Let's simplify. If everything is working,
go to fastboot
Flash recovery (boot doesn't seem to be working here)
Fastboot flash recovery twrp image
Select recovery, when the decrypt menu comes up, hit cancel
Wipe menu,
Swipe to factory reset
Go back to wipe
format data, yes,
Reboot recovery
Flash disabler
Flash magisk
And yes. Boot system then GSI flash, then factory reset before magisk
---------- Post added at 01:44 PM ---------- Previous post was at 01:36 PM ----------
We'll get it figured out
Click to expand...
Click to collapse
Do i check the file system for data at any point?
Kuntitled said:
Do i check the file system for data at any point?
Click to expand...
Click to collapse
Only if it won't mount
Starkiller2 said:
Only if it won't mount
Click to expand...
Click to collapse
does it matter where i flash disabler, magisk and GSI from? I've been doing it from my SD card
Kuntitled said:
does it matter where i flash disabler, magisk and GSI from? I've been doing it from my SD card
Click to expand...
Click to collapse
No that's fine
Starkiller2 said:
If you change the file system, it'll format, even if it says it won't mount. Changing the file system will force it to format. Even if it says f2fs, hit change and select f2fs anyway.
If it doesn't, format from fastboot, boot system once then go to recovery
Click to expand...
Click to collapse
Data is set to emmc file system, won't mount and filesystem won't change at all and won't format
Edit: only happens when i try to change it to f2fs, changed it to ext4 with no issues and it mounts sucessfully with ext4 but won't let me format data
I get the mkfs.f2fs -t 0 /dev/block/mmcblk0p56 error 1, unable to mount data whenever i try to change to f2fs. Has my previous failed attempt at installing GSI **** with my filesys?
Kuntitled said:
Data is set to emmc file system, won't mount and filesystem won't change at all and won't format
Edit: only happens when i try to change it to f2fs, changed it to ext4 with no issues
Click to expand...
Click to collapse
But data won't work as ext4, hence the boot loop
Try going to fastboot and typing
Fastboot -w
Then boot to recovery
---------- Post added at 02:10 PM ---------- Previous post was at 02:07 PM ----------
Kuntitled said:
Data is set to emmc file system, won't mount and filesystem won't change at all and won't format
Edit: only happens when i try to change it to f2fs, changed it to ext4 with no issues and it mounts sucessfully with ext4 but won't let me format data
I get the mkfs.f2fs -t 0 /dev/block/mmcblk0p56 error 1, unable to mount data whenever i try to change to f2fs. Has my previous failed attempt at installing GSI **** with my filesys?
Click to expand...
Click to collapse
I honestly don't see how, especially if stock is working

Categories

Resources