Fix/Enable Secure Folder after root? - Samsung Galaxy S20 FE Questions & Answers

Did anyone find a way to get Secure Folder working after rooting their device?
I've tried Smali Patcher, but that did not work; https://forum.xda-developers.com/t/module-smali-patcher-6-9.3680053
If anyone has other methods that could work, please let me know

Related

Editing APKs

how would you actually go about cracking open an apk file and editing it?
im on mac os x with eclipse and android sdk installed.
what next?
just open it as a zip file. apk's are basically zip files in disguise. you can drag out and edit whatyou like, put them back in. and use an autosign tool to sign it.
its very simple =]
There is no autosign tool that works for Mac OS X as far as I know. (I also have an OS X machine.) Here is a tutorial about signing APKs for OSX:
http://www.androiddevelopment.org/2009/01/19/signing-an-android-application-for-real-life-mobile-device-usage-installation/
imakamasta is right about just renaming apk files to zip files and messing around with them from there, BUT you will often want/need to edit the dex file (usually classes.dex) to get what you want. For this, you will need baksmali and smali:
http://code.google.com/p/smali/downloads/list
I warn you in advance that working with smali files is a PITA at first. It's hard to find what you want in there. Also, when you want to use smali to reassemble your dex files with smali, you will probably need a PC. I haven't been able to get smali working on my Mac yet. (Let me know if you are successful!)
thanks for the links, i'm lookin at em right now.
as far as the windows only stuff... im running vmware with xp on it, so hopefully it'll work that way (it works for the splash boot image converter) so i'll let you know what's up
Can someone point me to how to do this properly in Linux? Ubuntu, specifically. I'm trying to work on themes, and if I do as little as simply unzip framework-res.apk, rezip its contents and sign it and push it with adb, I end up with permission problems and force closes upon restart.
bobbybooshay said:
thanks for the links, i'm lookin at em right now.
as far as the windows only stuff... im running vmware with xp on it, so hopefully it'll work that way (it works for the splash boot image converter) so i'll let you know what's up
Click to expand...
Click to collapse
Yeah, I'm running Parallels with a WinXP image to use smali. It works. But what I'm hoping is that someone figures out how to run smali without a PC (or PC emulator). baksmali works fine on OSX without a PC or PC emulator.
derfolo said:
There is no autosign tool that works for Mac OS X as far as I know. (I also have an OS X machine.) Here is a tutorial about signing APKs for OSX:
http://www.androiddevelopment.org/2009/01/19/signing-an-android-application-for-real-life-mobile-device-usage-installation/
imakamasta is right about just renaming apk files to zip files and messing around with them from there, BUT you will often want/need to edit the dex file (usually classes.dex) to get what you want. For this, you will need baksmali and smali:
http://code.google.com/p/smali/downloads/list
I warn you in advance that working with smali files is a PITA at first. It's hard to find what you want in there. Also, when you want to use smali to reassemble your dex files with smali, you will probably need a PC. I haven't been able to get smali working on my Mac yet. (Let me know if you are successful!)
Click to expand...
Click to collapse
I have gotten smali to work on my Mac. Try with the latest version, it fixes the Java 6 dependency so it should work on Macs now.

[Q] Questions for experienced cookers.

I'm cooking my own ROM and it is going well. But I'm stuck at setting default settings for applications.
I have tried to decompile the apk's, edit the config and other stuff, compile it again, but the apk doesn't want to install. I've tried to sign them and not sign them, it doesn't seem to fix it.
I have tried apk manager 4.9 both in Windows and Linux, and some other tools too. I have also tried to just replace the config.xml or similar file with WinRAR when editing, the apk still installs, but the settings are not there.
I've also tried to add /data/data/app.name/* folders to the update.zip and have it copy to the internal sd just like /data/app, also did not work.
Can someone please explain to me how I can change the default config of an application? Such as AWDLauncher.
Thank you.
Anyone?

trouble re-installing system apps.

im currently on phoenix 4.5 and was missing the unified inbox and program monitor widget from rogers 2.2 so i opened up my stock flash and took out the files for:
seven.apk, unifiedInbox.apk +.odex and SamsungWidget_ProgramMonitor.apk +.odex
I tried mounting as R/W and dropped them in System/apps then tried installing...
only the first program installed
"Application not installed"
I dont think its a coinsidence that the ones with .odex files didnt install.
Looked up odex... then Deodexing....
Custom roms are DEODEXED...
deodexing isnt as easy as dropping the odex file into the zip and renaming apk.. is it? because that didnt work either...
ok how can i intall these? what am i missing?
really? no suggestions yet?
deodex the programs, drop into system/app, reboot. No need to install system apps.
Sent from my Craptivate with the leaky rom
what is the proper way to deodex the apps?
i tried rename .apk as .zip
drop in the odex files with windows explorer
rename back to .apk
is there something i missed? anytime i try to repackage an app it wont install.
I tried replaceing the default icons in LauncherPro once before. didnt work either.
am i supposed to zip with a certain program? no compression?
i cant seem to find any instructions on how to do this without digging through hours of app programming first.
Trusselo said:
what is the proper way to deodex the apps?
i tried rename .apk as .zip
drop in the odex files with windows explorer
rename back to .apk
is there something i missed? anytime i try to repackage an app it wont install.
I tried replaceing the default icons in LauncherPro once before. didnt work either.
am i supposed to zip with a certain program? no compression?
i cant seem to find any instructions on how to do this without digging through hours of app programming first.
Click to expand...
Click to collapse
http://code.google.com/p/smali/wiki/DeodexInstructions
cappysw10 said:
http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
thanks for the link, but i was looking for information "without learning programming first"
the link you posted assumes the reader has a working knowlege of programming. I think i can work most of it out but it explains "what to tell it to do" but rather unclear "what it will do" or what you need.
it mentions pointing the script to the .odex file, but it never mentions needing an apk or outputting a deodexed apk. Or is that not what it does?? the help is written as though you know what you are doing but dont know how to use his script..
i think it wants me to...
so to use it i need the baksmali and its script.
run them and point them to the apk and odex with the proper command.
then i will output a deodexed apk?
i dont want to ask but..
can someone do it for me?
files attaced.....
UnifiedInbox deodexed, installed on Cognition 3.04 working.

how to zipalign apk file without project file

hi after to much searching i didnt find any solution for my problem and im sure someone well help to fix it here on this great fourm
i made a small app using a website
then i download the apk file
after that i try to upload the file to the app store
but i got this problem zipalign the apk
i download Android Studio and eclipse but i cant use them because both of the tow program ask me for the project folder witch i dont have it ... im noob with programing
i search a lot i didnt find any explain how i can zipalign the file without the project file i only have the apk file
i try some ways i seen it on youtube and some tools i find it here nothing work
can someone please guide me and help me to fix this problem with the dos command or anyway other way
thank
in some how i was able to finish the problem by trying everything
now i got the second problem and i hope its easy to fix it
hope someone well tell me how
Upload failed
You uploaded an APK that is signed with a restricted certificate. You need to upload an APK signed with your own certificate.

Root and secure folder

Hi together! Is it possible to have root on latest A12 firmware and to use secure folder? I know that there is the smali patcher tool, but I don't know if it still works
on the A12 versions of CleanOS there is an option during the install to have secure folder if I'm not mistaken.

Categories

Resources