Please help with SecSettings.apk - Galaxy Note 4 Q&A, Help & Troubleshooting

How to remove these lines? Please help

re: secsettings
NoLifer said:
How to remove these lines? Please help
Click to expand...
Click to collapse
You need to edit the build.prop file in the phone's system folder.
You need to get the build.prop editor from the playstore.
You need to have some knowledge on what you can and can't edit in the build.prop file.
Good luck!

Related

Do i need edit a Jar file?

Hi
Im trying to Mod a framework.zip file i downloaded (and am currently using)
I wanted to make the notification bar and pull down transperent (or nearly so)
i have edited the correct pngs and been able to re-pack and flash .zip file and it all boots ok but the bits i changed just show as a lightish grey rather than being transparent.....i read on another thread that in order for this to work you also need to edit a jar file, is this correct??
if so what do i change and what do i change it to !!!???!!!
any help or confirmation would help.....a lot !!
cheers
try with this service jar just its :http://leedroid.protogenlabs.com/#page-customization
chk13 said:
try with this service jar just its :http://leedroid.protogenlabs.com/#page-customization
Click to expand...
Click to collapse
Thank you
Frosty

error in recomplie framework-miui-res.apk

hi every body
i decompiled framework-miui-res.apk to remove Chinese language but i got some error and if it done phone dosen't boot
can any one help me to remove Chinese language from this apk and re upload the apk
thanks
Did you re-sign the apk?
I recently decompiled and recompiled an apk using this guide.
Robbie P said:
Did you re-sign the apk?
I recently decompiled and recompiled an apk using this guide.
Click to expand...
Click to collapse
thank you but this is system apk no need to sign just replace META-INF and AndroidManifest.xml from original apk it works on framework-res.apk and any system apk
but my problem with recompile not sign
malakmagd said:
thank you but this is system apk no need to sign just replace META-INF and AndroidManifest.xml from original apk it works on framework-res.apk and any system apk
but my problem with recompile not sign
Click to expand...
Click to collapse
Sorry mate, didn't know that. Perhaps someone else may be able to help.
there is no any one for help
i founded another way i' try it

Please help, missing wpa_supplicant..

I deleted wpa_supplicant from system/bin and didn't create a backup.. and now I can't use wifi anymore.. my phone is Lenovo a6000 with 5.0.2 lollipop.
I would be grateful if someone upload it for me.. please help.
Mondrago1 said:
I deleted wpa_supplicant from system/bin and didn't create a backup.. and now I can't use wifi anymore.. my phone is Lenovo a6000 with 5.0.2 lollipop.
I would be grateful if someone upload it for me.. please help.
Click to expand...
Click to collapse
Here's wpa_supplicant.conf from my device which is on CM11 right now. So, you should better replace these fields in the file I have provided with the ones suitable for your ROM. You can see the build.prop in /system for help
device_name=
model_name=
model_number=
serial_number=
sasukay said:
Here's wpa_supplicant.conf from my device which is on CM11 right now. So, you should better replace these fields in the file I have provided with the ones suitable for your ROM. You can see the build.prop in /system for help
device_name=
model_name=
model_number=
serial_number=
Click to expand...
Click to collapse
I am missing wpa_supplicant in system/bin.. please upload it for me.. ty.
Mondrago1 said:
I am missing wpa_supplicant in system/bin.. please upload it for me.. ty.
Click to expand...
Click to collapse
You mean in /system/etc/wifi/ ?
Yeah there's a "wpa_supplicant" file in /system/bin/
You can download it from the attachments.
Also, don't forget to set its permissions to rwx r-x r-x after pasting it to /system/bin/
sasukay said:
You mean in /system/etc/wifi/ ?
Yeah there's a "wpa_supplicant" file in /system/bin/
You can download it from the attachments.
Also, don't forget to set its permissions to rwx r-x r-x after pasting it to /system/bin/
Click to expand...
Click to collapse
Thank you very much.. I have been looking for that file
Mondrago1 said:
Thank you very much.. I have been looking for that file
Click to expand...
Click to collapse
it still not letting me turn wifi on :/
Mondrago1 said:
it still not letting me turn wifi on :/
Click to expand...
Click to collapse
Did you changed its permissions after placing the file??
sasukay said:
Did you changed its permissions after placing the file??
Click to expand...
Click to collapse
yes, I did.. but still having the same issue. do I give it root or system permissions?
sasukay said:
Did you changed its permissions after placing the file??
Click to expand...
Click to collapse
It is solved now, thank you very much.. I had to paste wpa_supplicant.conf you uploaded to system/etc/wifi and now works properly.

Edit the SystemUI_ZTE.apk?

Hi,
I want to edit the SystemUI_ZKE.apk, but when I use "APK Editor Pro" for instance the apk crashes after a reboot.
What would be the right way to do this? My goal is to delete the charging.ogg file that wakes my wife as I plugin a charger when I go to bed
Any other solution to *that* problem is welcome too.
I'm on a A2017G B06 btw.
Thanks in advance,
Cheers,
/Cacti
Edit: Sorry, wrong forum, should be posted in the Questions & Answers. @mods: please move it, thanks.
le_cactus said:
Hi,
I want to edit the SystemUI_ZKE.apk, but when I use "APK Editor Pro" for instance the apk crashes after a reboot.
What would be the right way to do this? My goal is to delete the charging.ogg file that wakes my wife as I plugin a charger when I go to bed
Any other solution to *that* problem is welcome too.
I'm on a A2017G B06 btw.
Thanks in advance,
Cheers,
/Cacti
Edit: Sorry, wrong forum, should be posted in the Questions & Answers. @mods: please move it, thanks.
Click to expand...
Click to collapse
You need to use apktool on Windows or Linux instead: https://ibotpeaches.github.io/Apktool/. You'll need Java already installed.
Your device also needs to be rooted and have TWRP recovery installed.
Put the apktool.jar and wrapper script in the system directory (C:\Windows on Windows)
Pull frameworks and SystemUI from your device with
Code:
adb pull /system/framework/framework-res.apk
adb pull /system/framework/framework-zte-res.apk
adb pull /system/priv-app/SystemUI_ZTE/SystemUI_ZTE.apk
Install frameworks to your computer:
Code:
apktool if framework-res.apk
apktool if framework-zte-res.apk
Decompile SystemUI_ZTE.apk:
Code:
apktool d SystemUI_ZTE.apk
Make whatever changes you want to make then recompile with:
Code:
apktool b SystemUI_ZTE
Use signapk.jar to sign the apk then put the apk into a flashable zip and flash to your device in TWRP.
If you want to make changes to smali you'll need to pull the SystemUI_ZTE odex file and deodex the apk with oat2dex and then use 7-zip or WinRAR to paste the classes.dex file into the apk before decompiling.
Gr8 tutorial. I'll try that tomorrow, hope I get it fixed. Thank you!
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
Hi,
*
Earlier I tried with APK Editor Pro (https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor.pro)
What happened was (after replacing the SystemUI_ZTE.apk with the modified APK) after a reboot the system booted with parts of the UI nog working. Navigationkeys didn't work except for the home button, and I had no status bar at all. After rebooting again it only showed my wallpaper, and no matter what I did it wouldn't show me anything else. So I had to restore.
*
Modifying the APK with the APKTool gave me the exact same result. Only thing i did differently as to bkores guide was I signed it using ZipSigner (but that never failed me before) and I just replaced the file using TWRP, instead of flashing it through an installer zip. But I can't imagine that being the problem?
*
Anyways, anybody able to modify the SystemUI_ZTE.apk? All I need is the B06 (A2017G) with a replaced charging.ogg (with only silence).*Any tips are welcome.
*
TIA,
*
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
le_cactus said:
Hi,
*
Earlier I tried with APK Editor Pro (https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor.pro)
What happened was (after replacing the SystemUI_ZTE.apk with the modified APK) after a reboot the system booted with parts of the UI nog working. Navigationkeys didn't work except for the home button, and I had no status bar at all. After rebooting again it only showed my wallpaper, and no matter what I did it wouldn't show me anything else. So I had to restore.
*
Modifying the APK with the APKTool gave me the exact same result. Only thing i did differently as to bkores guide was I signed it using ZipSigner (but that never failed me before) and I just replaced the file using TWRP, instead of flashing it through an installer zip. But I can't imagine that being the problem?
*
Anyways, anybody able to modify the SystemUI_ZTE.apk? All I need is the B06 (A2017G) with a replaced charging.ogg (with only silence).*Any tips are welcome.
*
TIA,
*
Cheers,
/Cacti
Click to expand...
Click to collapse
Try copying META-INF folder from old apk to new apk. If that doesn't work try copying resources.arsc from new apk to old apk and flash the old apk. Don't sign
Can it have anything to do with the .odex file?
I'll try the meta-inf thingy and see if that works
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
Actually try this instead. I think the apk needs to be deodexed before it can be modified like you said.
Pull the odex file
Code:
adb pull /system/priv-app/SystemUI_ZTE/oat/arm64/SystemUI.odex
Get smali folder from the odex file with oat2dex.jar here: https://github.com/testwhat/SmaliEx/releases/tag/snapshot
Open command window in directory of odex file
Code:
java -jar oat2dex.jar smali SystemUI.odex
Decompile the apk and then copy and paste the smali folder into the directory of the decompiled apk.
Make your charging.ogg change and then recompile the apk. Copy and paste the META-INF from original apk to new apk.
Push apk to your device and delete the "oat" folder in the SystemUI_ZTE folder on your device.
Hi,
Thank you for your support so far, but that didn't work out eighter....
bkores said:
Code:
adb pull /system/priv-app/SystemUI_ZTE/oat/arm64/SystemUI.odex
Click to expand...
Click to collapse
Assuming you made a typo (since there is no SystemUI.odex) I used this instead:
Code:
adb pull /system/priv-app/SystemUI_ZTE/oat/arm64/SystemUI_ZTE.odex
bkores said:
Get smali folder from the odex file with oat2dex.jar
Click to expand...
Click to collapse
After the oat2dex command I don't have a smali folder, just 5434 smali files scattered over serveral folders, so I don't know how to proceed from there.
Cheers,
/Cacti
le_cactus said:
Hi,
Thank you for your support so far, but that didn't work out eighter....
Assuming you made a typo (since there is no SystemUI.odex) I used this instead:
After the oat2dex command I don't have a smali folder, just 5434 smali files scattered over serveral folders, so I don't know how to proceed from there.
Cheers,
/Cacti
Click to expand...
Click to collapse
Well then create a folder called smali in the directory of decompiled apk and paste the folders into smali
Can someone help me, i want to change framework.jar but there is no classes.dex in jar nor framework.odex in /system/framework/oat/arm64 (also arm). Because of it i can't decompile it with smali/baksmali tool. I want to change volume steps in AudioService exactly what VolumeSteps+ do but without Xposed. Any help? I'm on Nougat B10 Rom.
SkaboXD said:
Can someone help me, i want to change framework.jar but there is no classes.dex in jar nor framework.odex in /system/framework/oat/arm64 (also arm). Because of it i can't decompile it with smali/baksmali tool. I want to change volume steps in AudioService exactly what VolumeSteps+ do but without Xposed. Any help? I'm on Nougat B10 Rom.
Click to expand...
Click to collapse
Perhaps this can help a bit : https://forum.xda-developers.com/axon-7/themes/a2017-volume-steps-enabler-call-media-t3745747
If you want a decompiled framework, I can send you. Just pm me.
If you want I'll implement your mods and recompile again. Up to you to test
raystef66 said:
Perhaps this can help a bit : https://forum.xda-developers.com/axon-7/themes/a2017-volume-steps-enabler-call-media-t3745747
If you want a decompiled framework, I can send you. Just pm me.
If you want I'll implement your mods and recompile again. Up to you to test
Click to expand...
Click to collapse
I solved a problem, AudioService is not in framework.jar anymore, it's on services.jar. Check my post on your mentioned thread.

DocumentsUI.apk

Could somebody please share this file with me? I thought I was deleting stock Files app and deleted the SAF. Should be in /system/priv-app/DocumentsUI directory. Would really appreicate it. Thanks.
nevermind thanks you can remove this post

Categories

Resources