Galaxy a30 optimization file by bode - Samsung Galaxy A30 Questions & Answers

I flashed bode's optimization file in my galaxy a30 with twrp 3.3.1.
My device did boot normally, so I just continued to use it.. just before I realized that the internal storage had been encrypted. Though I have no idea how it booted to the system, I had to go to advanced wipe, click data, and select change file system to ext2, then ext4. My device's internal storage returned to normal, and my device booted without problems, but I have a bad feeling that the bloatware I removed with bode's optimization zip was replaced again. Does anyone happen to flash bode's optimization file without the internal storage getting encrypted?

[MOD][Optimization A30][DISCONTINUED]
This modification must be installed by TWRP, the main functions are: removal of Bloatwares, removal of the Knox. Also contains extra features. Did you experience problems? Save the aroma installer logs and send along with your doubts for...
forum.xda-developers.com
This is the link to the optimization file, and my device is SM-A305N KOO (Korea).

dude, the title say clearly "DISCONTINUED" why are you crying about?

I know it is discontinued, i was just asking.

sycall2847 said:
I flashed bode's optimization file in my galaxy a30 with twrp 3.3.1.
My device did boot normally, so I just continued to use it.. just before I realized that the internal storage had been encrypted. Though I have no idea how it booted to the system, I had to go to advanced wipe, click data, and select change file system to ext2, then ext4. My device's internal storage returned to normal, and my device booted without problems, but I have a bad feeling that the bloatware I removed with bode's optimization zip was replaced again. Does anyone happen to flash bode's optimization file without the internal storage getting encrypted?
Click to expand...
Click to collapse
you need.to remove encryption from fstab file .

What is that...? Could you please explain more

Related

[Q] encryption unsuccessful?

So, I figured I'd set up the scenario first in hopes to help make this understood:
1. Got the device
2. Booted/Updated to 5.0
3. Rooted using CF Autoroot
4. Remained on Stock 5.0 + Root (Stock bootloader/recovery)
- 1st "OFFICIAL" ROM came out so like the gentle flash'aholic I am, I rushed and downloaded [ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara]
1. I installed TWRP via the Google Play App, (I think i was on 2.8.3.0)
2. Rebooted into TWRP, and did a FULL BACKUP (saved locally)
3. Formatted Davlik, System, Data, Internal Storage, Cache
4. Rebooted into TWRP, pushed the ROM files ([ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara])
5. Flashed the ROM, GAPPS, SuperSU, Rebooted.
After about a minute of booting into the new ROM (new red loading animation) I started to get "encryption unsuccessful", and the only option was to factory reset phone, after which nothing happened, my guess was because of the custom recovery.
What was my error, and how do I prevent this from happening again?
My thinking is that wiping the Cache/System/Data/Internal/Davlik partitions somehow messed up some function someplace?
To fix it I took steps in this thread (http://forum.xda-developers.com/moto-x-2014/help/lollipop-update-failing-how-troubleshoot-t2961633) - thanks @randyklein
-Download "Official 4.4.4 Full Restore Images" from http://www.graffixnyc.com/motox.php# and extract. Move recovery.img, boot.img, and system.img into adb folder
-Boot into fastboot, plug in USB
-Using mfastboot v2, run the following commands:
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
How do I avoid this in the future if I decide to try a custom ROM/Recovery again?
Same problem...
Format data in twrp to fix encryption error
CWick4141 said:
Format data in twrp to fix encryption error
Click to expand...
Click to collapse
will i lose my twrp backup ?
marquesini said:
will i lose my twrp backup ?
Click to expand...
Click to collapse
Data partition just stores your apps (if not pre-loaded into system partition via ROM), and any data associated with them, so it leaves the Internal SD Card partition alone.
What concerns me is that I already wiped data, and I think I formatted the data partition as well, and still had the issue.
I'll have to try again soon.
I did a full wipe and then formated the data, then installed the ROM,gaaps,and supersu beta.
Got it working with root.
Shemploo said:
Data partition just stores your apps (if not pre-loaded into system partition via ROM), and any data associated with them, so it leaves the Internal SD Card partition alone.
What concerns me is that I already wiped data, and I think I formatted the data partition as well, and still had the issue.
I'll have to try again soon.
Click to expand...
Click to collapse
Formatting data in twrp is not the same as wiping data
CWick4141 said:
Formatting data in twrp is not the same as wiping data
Click to expand...
Click to collapse
True, that is why I said in above post that I think I formatted it as well, but being as I'm not certain I'll have to do it again to be sure.
Shemploo said:
True, that is why I said in above post that I think I formatted it as well, but being as I'm not certain I'll have to do it again to be sure.
Click to expand...
Click to collapse
You would know if you formatted data since it erases everything including internal storage
CWick4141 said:
You would know if you formatted data since it erases everything including internal storage
Click to expand...
Click to collapse
Alright, I booted TWRP, and clicked "Data" then "Repair/Change File System" it's currently showing f2fs, my format options are EXT2, EXT3, EXT4, FAT.
I think I want EXT4 right?
UPDATE: I tried EXT4 as every partition seems to use it, and from past experience, and It's working!.
Thank you for nudging me in the right direction.
edit: wrong thread

OP3T (OxygenOS 3.5.X) default file-system for Cache, Data (userdata) and System

After installing custom recovery and rooting my (OP3T) in DiskInfo (https://play.google.com/store/apps/details?id=me.kuder.diskinfo) I noticed that the file-system for System is ext4 (same for Cache), but at the same time Data (userdata) is still in f2fs (see the print screen)?
During the TWRP installation and root I did not format or re-flashed the ROM (I am still on OxygenOS 3.5.3. as it was after OTA update from OxygenOS 3.5.3.).
So I am thinking its either the custom recovery installation that caused file-system change or it is so by default.
Could you please check your OP3T and see what DiskInfo (https://play.google.com/store/apps/details?id=me.kuder.diskinfo) reports in regard of file-system.
jemeljsh said:
After installing custom recovery and rooting my (OP3T) in DiskInfo (https://play.google.com/store/apps/details?id=me.kuder.diskinfo) I noticed that the file-system for System is ext4 (same for Cache), but at the same time Data (userdata) is still in f2fs (see the print screen)?
During the TWRP installation and root I did not format or re-flashed the ROM (I am still on OxygenOS 3.5.3. as it was after OTA update from OxygenOS 3.5.3.).
So I am thinking its either the custom recovery installation that caused file-system change or it is so by default.
Could you please check your OP3T and see what DiskInfo (https://play.google.com/store/apps/details?id=me.kuder.diskinfo) reports in regard of file-system.
Click to expand...
Click to collapse
Pure stock updated to latest, just had the device a few hours and love it.
LMcR92 said:
Pure stock updated to latest, just had the device a few hours and love it.
Click to expand...
Click to collapse
Everything's the same, except in your case we cant see "Internal Storage - System" and its file-system. Probably because yours is without root.
jemeljsh said:
Seems the same, except in your case we cant see Internal Storage - System. Probably because yours is without root.
Click to expand...
Click to collapse
I'm planning on getting root and kernel on ASAP.
LMcR92 said:
I'm planning on getting root and kernel on ASAP.
Click to expand...
Click to collapse
Any news?
Userdata (the main storage) is f2fs, modem and sde23 are vfat, rest is ext4. From what I know, this is supposed to be so.
I have TWRP installed and phone is rooted.
Mine are all EXT4.
Running stock 3.5.3
TWRP, Rooted, running tyranus kernel, and xposed.
Everything seems perfect so I'm not sure why mines different.
I'll back everything up and format data in TWRP
OK I'm good now

Some folders/partitions are not encrypted

Hi, I have a problem. Some of my folders are not encrypted in twrp file manager. Inside folder /sdcard and /data/data are displaying folder name correctly, which that is the sign of unencrypted folder. But anything inside the folder /data/app are encrypted. I dont know why the my phone only encrypt some part of data. I have previous xiaomi phone that fully encrypted everything in /data and /sdcard partition.
I was unlocking my device, i installed twrp and formatted /data there, then installed only miui global beta rom, no magisk, encryption disabler, or etc. After finished everything and put my data to phone storage, and also set lockscreen pattern, i rebooted the phone once so it will encrypt my data at first reboot. After that I installed twrp again via fastboot because it has been replaced by stock recovery. Went to twrp file manager, and these problem happened.
Do anyone experience this? I need full encryption for my phone privacy and safety.
Note: any current twrp version no one has support encryption, so normally it wont able to read anything inside /data partition.

Question UNABLE TO BACK UP ANY ANDROID 12 MIUI OR CUSTOM ROM (internal storage 0mb) in TWRP

I'm able to use backup & restore in Android 11 custom or miui rom. but unable to use it when i flashed android 12 roms.
Can anyone walk me through how to fix this.
Did the ff workaround in youtube as well in any similar post but still not working.
1. Advance wipe > click data >Repair or Change File System > Change File System to EXT2 & EXT4
2. Format data
This process is temporarily working the internal storage is visible, but after booting to system and go back to twrp recovery, the internal storage appears 0mb again.
I flashed stock rom/ eu rom as well in TWRP as i read this is worked with them. but not on my end.
Kindly help me to solve this issue please.
TWRP is not yet compatible with Android 12, it can't decrypt the internal storage. You can't fix it until TWRP (or some other recovery) solves Android 12 support.
I think in theory you might be able to back up the ROM to an unencrypted storage like an SD Card or OTG USB drive, but I'm not sure (and I'm even less sure if such backup could even be successfully restored if you back the partition up without decrypting).
Use otg usb
rufio85 said:
I'm able to use backup & restore in Android 11 custom or miui rom. but unable to use it when i flashed android 12 roms.
Can anyone walk me through how to fix this.
Did the ff workaround in youtube as well in any similar post but still not working.
1. Advance wipe > click data >Repair or Change File System > Change File System to EXT2 & EXT4
2. Format data
This process is temporarily working the internal storage is visible, but after booting to system and go back to twrp recovery, the internal storage appears 0mb again.
I flashed stock rom/ eu rom as well in TWRP as i read this is worked with them. but not on my end.
Kindly help me to solve this issue please.
Click to expand...
Click to collapse
Case_ said:
TWRP is not yet compatible with Android 12, it can't decrypt the internal storage. You can't fix it until TWRP (or some other recovery) solves Android 12 support.
I think in theory you might be able to back up the ROM to an unencrypted storage like an SD Card or OTG USB drive, but I'm not sure (and I'm even less sure if such backup could even be successfully restored if you back the partition up without decrypting).
Click to expand...
Click to collapse
Cisuwek said:
Use otg usb
Click to expand...
Click to collapse
In my opinion it's only possible to backup encrypted storage as in A12 if you flash DfE but then you'll have to format and later you're decrypted and in future you can backup via TWRP.
But you can copy actual personal files with a file manager, if android is booted up, to external storages or internal micro SD. android internal app data can't copied.
Laptapper said:
In my opinion it's only possible to backup encrypted storage as in A12 if you flash DfE but then you'll have to format and later you're decrypted and in future you can backup via TWRP.
But you can copy actual personal files with a file manager, if android is booted up, to external storages or internal micro SD. android internal app data can't copied.
Click to expand...
Click to collapse
You can install cutom roms, flash magisk, kernel and other stuff. The memory is only encrypted, the rest works perfectly fine. Have you checked on the latest recovery?
A new kernel was flashed an hour ago. I have made a backup of the boot and dtbo images. It really works
Not checked to backup complete rom, but suppose it's possible with otg
Cisuwek said:
You can install cutom roms, flash magisk, kernel and other stuff. The memory is only encrypted, the rest works perfectly fine. Have you checked on the latest recovery?
A new kernel was flashed an hour ago. I have made a backup of the boot and dtbo images. It really works
Not checked to backup complete rom, but suppose it's possible with otg
Click to expand...
Click to collapse
.....Not checked to backup complete rom, but suppose it's possible with otg....?
But this is what he wants to do, or not?
Cisuwek said:
You can install cutom roms, flash magisk, kernel and other stuff.
Click to expand...
Click to collapse
I guess (I was in fact asking about exactly this in another thread recently), but then if the install script tries to modify the data partition in any way (which remains encrypted with current recoveries under Android 12), you're almost certainly screwed and at best the installation will fail, at worst you'll have to reinstall everything.
Thanks for the reply guys..this already solved..with the help of @Laptapper in other thread. Using orangefox, dfe,
How to flash a Android 12 ROM without decryption problem?
I've been struggling to flash Android 12 without my internal storage to be unaccessible by TWRP... I simply can't decrypt my data and the only way to fix it is to format data and revert back to a Android 11 ROM. Did anyone manage to flash Android...
forum.xda-developers.com
here's the thread.
Case_ said:
I guess (I was in fact asking about exactly this in another thread recently), but then if the install script tries to modify the data partition in any way (which remains encrypted with current recoveries under Android 12), you're almost certainly screwed and at best the installation will fail, at worst you'll have to reinstall everything.
Click to expand...
Click to collapse
Previously I had a Redmi note 7. On the encrypted partition, I could also install everything in the same way. I am not a specialist, my knowledge has ended here.

twrp 0 mb

hello.my phone is n950F i have problem. my problem is
when i flash stock rom w/odin
then set up twrp this app cant see my internal storage without apply format data or tap change file system ex4 exfat etc.
but i choose format data or repair file system button, mine system is formatting. so i must have flash stock rom odin again.
if i flash stock rom again, twrp cant see my interal storage, 0mb error. again again again. how i flash kernel in twrp on stock rom?
n0te8user said:
hello.my phone is n950F i have problem. my problem is
when i flash stock rom w/odin
then set up twrp this app cant see my internal storage without apply format data or tap change file system ex4 exfat etc.
but i choose format data or repair file system button, mine system is formatting. so i must have flash stock rom odin again.
if i flash stock rom again, twrp cant see my interal storage, 0mb error. again again again. how i flash kernel in twrp on stock rom?
Click to expand...
Click to collapse
If you are using twrp from this thread, it's mentioned on the 3rd post
corsicanu said:
FAQ / Further reading
Q: TWRP can't mount data partition, what to do?
A: Make sure you formatted data partition.
Q: Why do i need to format data partition?
A: Because old rom encrypted your data partition and new rom can't decrypt and use that content / root needs access to data partition to place misc files / phone not booting after flashing root until data partition gets formatted.
Click to expand...
Click to collapse
or maybe try to disable data encryption which is mentioned on the 1st post
corsicanu said:
After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
If for any reason you fail to install TWRP multiple times/different methods, make sure you check this thread
Click to expand...
Click to collapse
You need to format /data with the "yes" confirmation.
The stock ROM will survive, because it's on /system and /preload.
After that you need to flash a fully patched kernel with removed forced encryption (like a2n kernel) before you reboot to the system. Otherwise the stock kernel will encrypt the /data partition once again.
ace2nutzer said:
You need to format /data with the "yes" confirmation.
The stock ROM will survive, because it's on /system and /preload.
After that you need to flash a fully patched kernel with removed forced encryption (like a2n kernel) before you reboot to the system. Otherwise the stock kernel will encrypt the /data partition once again.
Click to expand...
Click to collapse
i know i tried this but mine stock rom installed after flashing with odin (turkey) and after apply twrp format data stock rom are very different. the second i said seems like global rom. it contains weird settings and apps I will do what you say and take a screenshot,1 2 hours later you will understand me better.

Categories

Resources