Bootloop - General Questions and Answers

everytime after flashing castom recovery for my J810GFDDU6CUI1 is stucking on bootloop any solution please ?

which version of castom recovery you use?
try wipe data after flash it

But my stock rom is getting deleted after wipeing data

Wiping data ( read: user space ) never wipes / deletes system ( read: system space ) if correctly done.

xXx yYy said:
Wiping data ( read: user space ) never wipes / deletes system ( read: system space ) if correctly done.
Click to expand...
Click to collapse
I tried it , but still bootloop.

After you've flashed the rom you need to "clear the data and cache" to remove old remnants of stock firmware.

Related

[Q] Erasing data / Factory reset

Because of messed up data , I want to erase all the data in my phone and start with a fresh rom ( CM6 ) . I wonder if I just have to factory reset in OR , or I need to flash again my current rom . What about my current theme and gapps (Do I have to flash those again ) ? Can anyone tell me the correct steps if I want to remain on the same rom , same theme and gapps , but with all data erased ?
BTW , what is the advantages of ext4 against ext2 ( I use link2sd ) ?
Factory reset is almost enough. The only part that doesn't do is remove apps that are on the ext partition. I haven't used link2sd in a while, but it may have some mechanism to save data on ext now, too. That also won't be affected by factory reset.
ext3 and ext4 are journaled filesystems. Suppesedly they won't get corrupted as easily by kernel crashes, sudden reboots, battery pulls, etc.
What about gapps ? Don't need to flash as well ?
No need to re flash gapps (or your theme) after a factory data reset.
Many thanks , Mioze7Ae and 3rdstring

Disable encryption protection?

Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
scientificharmony said:
Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
Click to expand...
Click to collapse
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
MAX 404 said:
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
Click to expand...
Click to collapse
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
scientificharmony said:
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
Click to expand...
Click to collapse
Hi
TWRP can not handle Samsung encryption . if you wish to use TWRP and have access to the Data partition ( internal SD card) you need to format it so the encryption is disabled ( you lose all your apps , data and user configuration AKA factory reset) , you can have TWRP and data encryption but mods and roms have to be flashed from external memories also you will not have available MTP in recovery or factory reset from it.
There is no way to disable data encryption without format data.....
Ok, I got a friends SD card and placed the Rom on there. I can now see the Rom but the trouble is, TWRP wont let me wipe Dalvik / data / system / cache as it wont mount the storage....
can I still apply the ROM?
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
scientificharmony said:
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
Click to expand...
Click to collapse
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
MAX 404 said:
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
Click to expand...
Click to collapse
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
scientificharmony said:
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
Click to expand...
Click to collapse
How did you flash the stock rom...which files did you use?
Wipe data is not enough you have to Wipe / FORMAT DATA and type yes....
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Josh Smith10 said:
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Click to expand...
Click to collapse
What version of TWRP are you guys using and what version Super SU?
Delete

Impossible to wipe S7 to install new rom

HI all
i've just received my S7 from reparation service and i cant install new rom..
i've rooted it but nothing more...
i have this message when i want to wipe...to install new rom..
please help i cant find any solution on forum..:s
kwanice said:
HI all
i've just received my S7 from reparation service and i cant install new rom..
i've rooted it but nothing more...
i have this message when i want to wipe...to install new rom..
please help i cant find any solution on forum..:s
Click to expand...
Click to collapse
Hi
When you installed TWRP did you formatted the data partition??
MAX 404 said:
Hi
When you installed TWRP did you formatted the data partition??
Click to expand...
Click to collapse
I install twrp by Odin...how format data partition?
ps : forget to tell that i have original rom inside everything working...but wanna change
kwanice said:
I install twrp by Odin...how format data partition?
ps : forget to tell that i have original rom inside everything working...but wanna change
Click to expand...
Click to collapse
Hi
Data partition is encrypted by Samsung and TWRP can not access it , that is why you can not factory reset your phone , in order to access the data partition you must format it ( to disable the encryption) so it can be access by TWRP , if you do not plan to use the data partition to store backups or place mods or roms to flash them from there then you do not need to do it
To format the partition go TWRP / wipe / format data ( and type yes) ..... backup, this will erase all user apps and data ( AKA factory reset)
MAX 404 said:
Hi
Data partition is encrypted by Samsung and TWRP can not access it , that is why you can not factory reset your phone , in order to access the data partition you must format it ( to disable the encryption) so it can be access by TWRP , if you do not plan to use the data partition to store backups or place mods or roms to flash them from there then you do not need to do it
To format the partition go TWRP / wipe / format data ( and type yes) ..... backup, this will erase all user apps and data ( AKA factory reset)
Click to expand...
Click to collapse
I Will try...but im not sure i Can format because last time i tried to format all for clean install and i have the same error message
The only possibilité to format and erase all its using twrp? Or other way to format?
kwanice said:
I Will try...but im not sure i Can format because last time i tried to format all for clean install and i have the same error message
The only possibilité to format and erase all its using twrp? Or other way to format?
Click to expand...
Click to collapse
Not really , wipe data is not the same than format data there are 2 different options
MAX 404 said:
Not really , wipe data is not the same than format data there are 2 different options
Click to expand...
Click to collapse
Ok i try now^^
yes it work !!!!
thanks a lot
was my first android phpne...not used wirh rom
thanks a lot !
kwanice said:
yes it work !!!!
thanks a lot
was my first android phpne...not used wirh rom
thanks a lot !
Click to expand...
Click to collapse
Cool mate !!!!

Switch rom without wiping internal storage.

I would like to switch from MIUI (xiaomi.eu) to some custom rom. On my previous phone (redmi note 4x) it was possible to switch any rom without formatting internal storage ( factory reset was not needed. wipe system, data, cache was enough). I dont know if i remember it correctly but i think some additional .zip file was needed during installation of new rom. (EDIT: maybe i had some twrp that resolve it without that zip )
BUT now when i try install rom without factory reset twrp show some error codes until i do factory reset
Maybe it has something to do with forced encryption or something? (dm-verity? idk, i do not understand it that much)
Can someone help me, give me some advice?

Port rom not encrypting to use company portal (android devices running below android 7)

Can anyone help i can't understand ?
i flashed twrp with universal dm verity
then i wipe dalvik/art cache / system /data /vendor
then i format using format data by typing yes
then i copy custom rom either in internal storage or usb otg
then i flash the rom
then clean dalvik cache
then i format typing yes
then reboot to system
it erases my custom rom and reboot to recovery in case of miui 12.5 android 11
but incase of lineage os 18 it does not and boots in os perfectly
can anyone tell why?
also why it is not installing in system partition rather on the internal storage
i am using redmi note 4
rom: MIUI_GLOBAL_HMNOTE4_12.5.9.0-11
Note:why i need factory reset is to encrypt to use banking and fintech apps
factory reset enables encryption after installing
but if i not do the factory reset the does not encrypt in anyway but rom works

Categories

Resources