yashsingh1/xdaforums huggingface dataset:
[Android General] zain.ahmad:
help

anybody knows how to fix it it happened when i decompiled settings app both repulsa rom(s9 port) after deodexing and stock android 8.0 settings app and yes i tried different apk tools please see a picture and its note 8 app

thanks
[Android General] Carotix:
thanks to you and [MENTION=4637718]ananjaser1211[/MENTION] for this great work

i want just to add a better guide for SecSettings with S8 and S8+ devices ..

because need to add only the qstile smalis ... then need to change every id

You can find these smalis in the attached file with my public.xml to compare

hope it helps

Guide SecSettings S8/S8+ Private Mode

decompile SecSettings

put smalis files in smali_classes2

######################################

open smali\com\samsung\android\settings\lockscreen\LockscreenMenuSettings.smali

Find "persona" and delete
invoke-virtual {v0, v1}, Landroid/support/v7/preference/SecPreferenceCategory;->removePreference(Landroid/support/v7/preference/Preference;)Z
above it

######################################

<bool name="support_private_mode">false</bool>
to
<bool name="support_private_mode">true</bool>

######################################

manifest
.......
<activity android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation|screenSize" android:label="@string/autofill_app" android:name="com.android.settings.Settings$DefaultAutofillPickerActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.DEFAULT"/>
<action android:name="com.samsung.settings.DEFAULT_AUTOFILL_PICKER"/>
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS" android:value="com.android.settings.applications.defaultapps.DefaultAutofillPicker"/>
</activity>
add this ###
<service android:enabled="@bool/support_private_mode" android:icon="@drawable/quick_panel_icon_private_mode" android:label="@string/personal_page" android:name="com.samsung.android.settings.qstile.PersonalModeTile" android:permission="android.permission.BIND_QUICK_SETTINGS_TILE" android:process=":QuickSettingsTile">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
<meta-data android:name="com.samsung.android.multiuser.install_only_owner" android:value="true"/>
</service>
####
<service android:enabled="@bool/support_screensaver_home_mode" android:icon="@drawable/quick_panel_icon_home_mode" android:label="@string/screensaver_settings_title" android:name="com.samsung.android.settings.qstile.ScreensaverTile" android:permission="android.permission.BIND_QUICK_SETTINGS_TILE" android:process=":QuickSettingsTile">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
</service>

######################################

add in layout qs_detail_personalmode.xml

and

in ids.xml
<item type="id" name="personal_mode_description">false</item>

######################################

recompile / decompile with new signed manifest to find the id for layout qs_detail_personalmode.xml

and change "all" ids in in PersonalModeTile.smali and PersonalModeTile$2.smali

recompile ... done

Download guide and files for SecSettings

Download files for Rom
[Android General] Faxo:
Im using Samsung S8 SM-G950F.

Help with error in "Signal Cluster To The Left ( With/Without RomControl ) ( On-The-Fly )" using Tickle My Android.

Error says...String not allowed <at ´id´ with value ´+@id/left_signal´>

Solution?
[Android General] AbrahamGC:
Is not "+@id", is "@+id" :good:
[Android General] Faxo:
Thanks bro !!!!!!!!!!!!!!!!!!!!!!!!!!!

The command is bad in post. The owner please check it
[Android General] Faxo:
Do you know why it fail? I flash the rom. In the iniciate moment the screen turn off..black..only i see the "edge panel" bar. I press the lock button and i see the "always on display" but when i press the lock button again turn black screen with the edge panel bar. All time the same..

Enviado desde mi SM-G950F mediante Tapatalk
[Android General] edzamber:
You need to log to know why.

Better is adb logcat with-v long command and look for fatal exception in log text file.

Maybe you forget or bad edited someting in smali or xml

https://xdaforums.com/showthread.php?t=1726238
[Android General] baruaberger:
Is there any way that someone can guide how to add own wallpaper in system which can pick from wallpaper picker in setting?

Any help will be appreciated

Thanks

---------- Post added at 04:50 PM ---------- Previous post was at 04:46 PM ----------

Is there any way that someone can guide how to add own wallpaper in system which can pick from wallpaper picker in setting?

Any help will be appreciated

Thanks
[Android General] zain.ahmad:
help

If anybody can help me with this while decompiling oreo settings app [MENTION=7393522]AbrahamGC[/MENTION] [MENTION=4507636]edzamber[/MENTION] [MENTION=6377149]yash92duster[/MENTION] and other devs :)

thanks
[Android General] AbrahamGC:
Increase memory size like this :

Valid if u have apktool.jar in C:\Windows, fix the path if it's not there

java -Xmx2048m -jar C:\Windows\apktool.jar d SecSettings.apk
[Android General] zain.ahmad:
i have 16gb ram but for 2048m it doesnot wanna do it but i changed it to 1024m and it worked thanks man :)

but i got this error now see screenshot

Edit: fixed by installing correct framework thanks guys you are awesome
[Android General] baruaberger:
Please can any body can help me to add own wallpaper in system file?
[Android General] Carotix:
add wallpaper folder ..

system/wallpaper/default_wallpaper/default_wallpaper.jpg
[Android General] zain.ahmad:
deleted
[Android General] zain.ahmad:
can you please guide how to use smali method for decompiling thanks
[Android General] zain.ahmad:
Can anybody describe how to use smali method for this mod as apktool ended in boot loop my brother [MENTION=7393522]AbrahamGC[/MENTION] [MENTION=6911575]BlackMesa123[/MENTION] will help thanks guys
[Android General] Er. Aditya:
Apktool dint caused bootloop ... did u get those smali/baksmali from the link posted...caused i faced the issues when using other smali/baksmali
[Android General] zain.ahmad:
could you please elaborate how to use these smalis with apktool i am using latest apk tool using cmd to compile and decompile

thanks man

Edit so we just put those smali/baksmali in my apktool folder and will it recognize to use those smalis instead of built in to apktool?
[Android General] Carotix:
try this method to decompile/recompile core-oj.jar

create a folder in C/:user/user with name "pinco" for example .. then put inside the 2 smalis you find in my zip

then put inside even the classex.dex from your core-oj.jar

open prompt commands and digit:

cd pinco

then to decompile digit:

java -jar baksmali.jar d -a 26 classes.dex

now make your mod in out folder

then to recompile digit:

java -jar -Xmx512M smali.jar a -a 26 out/ -o classes.dex

now your classex.dex is modded

files: download

big thanks to [MENTION=6911575]BlackMesa123[/MENTION]
[Android General] msmita:
is possible android nougat for this method?
[Android General] Faxo:
Help please.

I wanna change my rom build number.

I change the name in build.prop(ZIP) but then of flash the build number say UNKNOW..
[Android General] zain.ahmad:
thanks alot friend you guys are awesome :)

it worked
[Android General] zain.ahmad:
post your build prop here and what name you wanna do and then see changes i will make

but if you wanna try yourself

look for this

ro.build.display.id=DeathNote Rom

change "DeathNote Rom" to whatever name you see push to phone fix permissions reboot

profit
[Android General] yash92duster:
Is it your own rom?
[Android General] Faxo:
No bro. I make some changes and i wanna put my name

Enviado desde mi SM-G950F mediante Tapatalk

---------- Post added at 01:56 PM ---------- Previous post was at 01:56 PM ----------

I do it but not work. Maybe because is not my own rom?

Enviado desde mi SM-G950F mediante Tapatalk
[Android General] Eleo:
You want to put your name on somebody else's ROM because you made "some changes"? Without talking to the dev of the ROM?

Some ROMs have antikang protection. Be sure to talk to actual dev of the ROM
[Android General] Faxo:
Only for me bro.

Enviado desde mi SM-G950F mediante Tapatalk
[Android General] yash92duster:
OK sar enjoy?

I have no idea what that ID means, never seen such:eek:
[Android General] Er. Aditya:
Build ur own rom be it just a signature disabled mod applied...let it run in ur phone mate...working on your own rom no matter how less mods it has has more satisfaction thrn kanging someones hardwork
[Android General] Albe96:
Oh oh! Hey you wanna kang? It's showing that as it got Antikang stuffs in it.Why don't you just learn and make stuffs yourself instead of kanging someone's hard work...
[Android General] Faxo:
I tryed with my own rom but fail file_context in Assayyed Kitchen and fail boot in Super Kitchen

Enviado desde mi SM-G950F mediante Tapatalk
[Android General] wlryss:
Thanks a lot for the instruction..

In order that in Quick Settings it was correctly displayed Private Mode toggle, it was necessary to add additional two correct id from public.xml in PersonalModeTile.smali:

.method public refresh()V
.locals 7

const/4 v6, 0x0

invoke-virtual {p0}, Lcom/samsung/android/settings/qstile/PersonalModeTile;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v3

const-string/jumbo v4, "personal_mode_enabled"
........................................................................................................................................
const v3, 0x7f0805a3 ### <public type="drawable" name="quick_panel_icon_private_mode" id="0x7f0805a3" />

invoke-static {p0, v3}, Landroid/graphics/drawable/Icon;->createWithResource(Landroid/content/Context;I)Landroid/graphics/drawable/Icon;

move-result-object v3

invoke-virtual {v2, v3}, Landroid/service/quicksettings/Tile;->setIcon(Landroid/graphics/drawable/Icon;)V

const v3, 0x7f121442 ### <public type="string" name="personal_page_quick_tile" id="0x7f121442" />

invoke-virtual {p0, v3}, Lcom/samsung/android/settings/qstile/PersonalModeTile;->getString(I)Ljava/lang/String;

move-result-object v3

invoke-virtual {v2, v3}, Landroid/service/quicksettings/Tile;->setLabel(Ljava/lang/CharSequence;)V
....................................................................................................................................................................................

Still I edited qs_detail_personalmode.xml so:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="@dimen/qs_detail_item_padding" android:paddingEnd="@dimen/qs_detail_item_padding"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance= [MENTION=220439]st[/MENTION]yle/TextAppearance.QS.DetailText.Disable" android:ellipsize="end" android:id="@id/personal_mode_description" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text= [MENTION=936943]string[/MENTION]/personal_page" />
</LinearLayout>

Instead of android:text=" @ string/personal_mode_description" I inserted android:text=" @ string/personal_page"

And the most principal - it was necessary to transfer the SecSettings folder with SecSettings.apk from / system/priv-app/ to / system/app/. Samsung S8+, Android Oreo 8.0, the own custom firmware

Excuse for my English..
[Android General] ANDROIDXFOREVER:
Work perfect for me [emoji6]

[YOUTUBE]https://www.youtube.com/watch?v=Qe0-88Fw8CQ&feature=youtu.be[/YOUTUBE]

[emoji16] NOTE8 DELUXE 8.3 KERNEL DELUXE 4++ [emoji6]
[Android General] yash92duster:
"Lockscreen & Home " Default Wallpaper:

This allows - "Lockscreen & Home " Default Wallpaper

Copy the Files from attached zip

to /system/wallpaper/

Also Attached PSD Template

Lockscreen_Home_Default Wallpaper:

Step 1: Download and unpack the Lockscreen_Home_Default Wallpaper.zip

Step 2: Now Add the " /wallpaper " folder into you ROM.zip in /system folder

Step 3: Now Flash your ROM and Enjoy[/I]

PSD Template:

Step 1: Download the "PSD Template.zip"

Step 2: Open Photoshop and edit the template

Step 3: Save the Image and add it to your /system/wallpaper folder

Enjoy:)
[Android General] Voytec83:
That is very nice and easy way to implement any wallpapers as default, thx for sharing. I would only have additional question regarding default themes - is the logic same as in case of wallpapers? Thx in advance for ur answer ?
[Android General] yash92duster:
Yes Master:cool:
[Android General] baruaberger:
By unzip your given attached file and then push into system or direct zip file should i transfer into system by root explorer and is there any permission required by root explorer?What should i do with PSD_Template folder?Will it also keep in system folder itself or in wallpaper folder?
[Android General] baruaberger:
Sir, i am searching this type of guide "Lockscreen & Home " Default Wallpaper from long time and at last got it through your hard work and special thanks for it.But can you please instruct me some details.I understood to keep wallpaper folder in system but i am not understanding where to keep TSD Template folder.Should i keep it in system folder or wall paper folder itself?One more question arise in my mind that is ,when will do transfer your given file before flashing the rom or whole process i can do after flashing the rom and transfer your given file by any root explorer?It will be highly appreciated for your guideline.
[Android General] yash92duster:
Trial and error

Bugs and fixes

You on your own now.

I gave what you asked.

I can't help you step by step ?

You forget psd zip and Use other zip alone
[Android General] baruaberger:
Thanks for your reply again.You have done a lot for user specially for me and i appreciated for this. Ok just one request i have that is should i do all job before flash the rom or after flash the rom?
[Android General] yash92duster:
Follow these Steps:

Lockscreen_Home_Default Wallpaper:

Step 1: Locate to the " Lockscreen & Home Default Wallpaper "- Guide

Step 2: Download and unpack the Lockscreen_Home_Default Wallpaper.zip

Step 3: Now Add the " /wallpaper " folder into you ROM.zip in /system folder

Step 4: Now Flash your ROM and Enjoy

PSD Template:

Step 1: Download the "PSD Template.zip"

Step 2: Open Photoshop and edit the template

Step 3: Save the Image and add it to your /system/wallpaper folder

Good day :)
[Android General] baruaberger:
Sir thank you very much
[Android General] ANDROIDXFOREVER:
For infinity walpaper?thanks

[emoji16] NOTE8 DELUXE 8.3 KERNEL DELUXE 4++ [emoji6]
[Android General] yash92duster:
Read 10 times before asking a question

if my post in English is not understandable

simply use google translate and make your life easy
[Android General] scugnizz:
resolved great!!
[Android General] baruaberger:
Dear Sir,Actually i am getting shame on me to request repeatedly for same issue.But i tried my best on every corner of aspect.But no luck for me.I edited the image file on photoshop and transfered to system as you instructed step by step and flashed the Rom zip.But bad luck for me.I am seeing only your given image file,not mine.I dont know what the reason and where i am doing wrong?
[Android General] mrjoy:
Does long press kill the app mod available?
[Android General] yash92duster:
This wallpaper guide you requested is easiest of all :p

Give one more try or record send me footage link of your work

Will look into it :D
[Android General] baruaberger:
Sir, thanks for your advice.My work plan was by keeping your given psd template on Adobe photoshop layer, i have replaced my own choice image and saved as jpg format and transfered to all images in system by create a wallpaper folder and flashed the rom. Here i have attached all image file by replacing your default psd template.Thank you very much for understanding my problem.
[Android General] yash92duster:
Read my post again
[Android General] baruaberger:
Sir, i have read so many times your post before doing this job.I have done from step 2. I edited your PSD template and save theose images and transfer those on system. Here i have worked by keeping your template as standard working template for future work also.

PSD Template:

Step 1: Download the "PSD Template.zip"

Step 2: Open Photoshop and edit the template

Step 3: Save the Image and add it to your /system/wallpaper folder

---------- Post added at 06:36 AM ---------- Previous post was at 06:24 AM ----------

Sir, i have read so many times your post before doing this job.I have done from step 2. I edited your PSD template and save theose images and transfer those on system. Here i have worked by keeping your template as standard working template for future work also.

PSD Template:

Step 1: Download the "PSD Template.zip"

Step 2: Open Photoshop and edit the template

Step 3: Save the Image and add it to your /system/wallpaper folder

---------- Post added at 07:33 AM ---------- Previous post was at 06:36 AM ----------

Sir, i have read so many times your post before doing this job.I have done from step 2. I edited your PSD template and save theose images and transfer those on system. Here i have worked by keeping your template as standard working template for future work also.

PSD Template:

Step 1: Download the "PSD Template.zip"

Step 2: Open Photoshop and edit the template

Step 3: Save the Image and add it to your /system/wallpaper folder
[Android General] baruaberger:
Dear Sir,i am waiting for your valuable reply.
[Android General] yash92duster:
Be short or I will forget you
[Android General] baruaberger:
Sorry sir.

---------- Post added at 10:40 AM ---------- Previous post was at 10:29 AM ----------

Dear Sir, whatever i have done with your psd template,is there any wrong?
[Android General] baruaberger:
Sir,please just notify me where i am doing wrong.Really i dont understand my problem
[Android General] yash92duster:
I gave what you asked

You must try it again and Check where you went wrong

This is just a basic guide and you taking 3+days :p

Your request is like port camera from s9 to s2:silly:

Take a camera and record how you do and send me link

I will check
[Android General] baruaberger:
Thank you sir. very shortly i will send you. Thanks once again for caring me.
[Android General] ANDROIDXFOREVER:
morning to all any guide for mod incallUI full screen for Oreo ? thanks
[Android General] baruaberger:
Dear Sir, here i have attached video of your default_wallpaper.psd file processed by me.:crying::crying:

Video Link

https://youtu.be/Ly4xvHatPu4
[Android General] Er. Aditya:
What issue ur facing
[Android General] yash92duster:
He needs us to guide him how to use photoshop

He edited the image but after he flashed it, it don't show it seems

/system/wallpaper
[Android General] Er. Aditya:
No hard feelings [MENTION=6503728]baruaberger[/MENTION] but bro cmon see around what miracles devs are doing here ... and users like u n me should respect and give some time for things to happen and not asking for small things like this...

I will try this mod but for least u can do is try a clean install for testing
[Android General] baruaberger:
you are exactly right.is there any wrong what i have done in photoshop with ur psd template file?If yes ,pls notify me.Thanks for your support
[Android General] yash92duster:
You didn't show me what image you used in your rom

You saved image in different name.

I'm sure 999999% you used new name for image in system/image

Read that guide again, See what name i used

Do again

If you still have issue this goes on for next 100 pages :silly:
[Android General] baruaberger:
Thanks for hope.In video ,had anything wrong, what i have done?
[Android General] yash92duster:
Relax and enjoy the day

Upload the images ??as zip

I will edit and send you night ??
[Android General] baruaberger:
Yes sir,you are correct.I saved my wallpaper as different name like default_wallpaper1.png,default_wallpaper2.png like this for 4 to 5 wallpaper.you named for one wallpaper like default_wallpaper.png.,

---------- Post added at 06:27 AM ---------- Previous post was at 06:19 AM ----------

I attached the zip. Thanks
[Android General] baruaberger:
Sir,i have attached as zip file for your kind information.
[Android General] yash92duster:
Don't forget I told you to relax and enjoy life

I will do it for you I said

Just relax

R

E

L

A

X
[Android General] baruaberger:
Sir,don't telling lie.Really you are the best dev and very responsive person since i have communicated with other like you for any kind of issue.
[Android General] ragassagar:
[MENTION=6377149]yash92duster[/MENTION] Any tutorial on fast face unlock by modding systemui.apk?
[Android General] Dovanchuc7521:
Here

https://xdaforums.com/showpost.php?p=76598193&postcount=147

Gửi từ SM-G935F của tôi bằng cách sử dụng Tapatalk
[Android General] yash92duster:
Yo

I have edited one pic,

download this zip

unpack the zip

then move to /system/wallpaper

#Your work is done first today:p
[Android General] baruaberger:
Dear Sir, actually my luck is not favoring upon this.I downloaded your given zip file.But not opening due to corrupt file.The actual size of zip file is showing 4.8Mb but downloading only 481kb.
[Android General] yash92duster:
lol

Then i have one last option

I need to come to your place:p and fix it

Cheers!!
[Android General] baruaberger:
Really it is not opening the zip file
[Android General] Er. Aditya:
Lol

Guys anyone knows how to backup dual messenger whats app data ? I need a clean flash but have data on dual messenger whats app

Thanks for any suggestion
[Android General] baruaberger:
Sir, we are human being.So every body can do some mistake.Mistake also a part of job.I have attached a screen shot.
[Android General] baruaberger:
screen shot of corrupt zip file
[Android General] Er. Aditya:
Indeed brother ... have u tried a different browser to try download the zip ?
[Android General] baruaberger:
no ,using firefox. Just now i have tried also from IE.Even i have tried from phone also .Same error is showing
[Android General] Er. Aditya:
see i downloaded just now in 1 go

edit : try downloaded from here ad if doesnt work try a different browser
[Android General] BlackAxiom:
Use winrar/7zip perhaps
[Android General] baruaberger:
in my office pc ,winzip is available.
[Android General] yash92duster:
I000+ pages spam incoming ??
[Android General] Eleo:
You are downloading wrong attachment:laugh:

Try from this post instead:

https://xdaforums.com/android/general/guides-android-8-0-oreo-mods-thread-t3772017/post77561162

It indeed does not get downloaded. Tried 5 times and ends up with 248kB corrupt zip.

Do not attack that user please:D
[Android General] baruaberger:
you have downloaded my zip file which i have attached for dev.
[Android General] Er. Aditya:
Nope i downloaded from original link which was giving u errors
[Android General] ragassagar:
i believe the switch in Rom control for this mod doesn't work for wubydax's RC source? How can i add this to Wubydax's RC?

Also i'd be grateful if it could be a little elaborative?
[Android General] Er. Aditya:
My apologies, zip is corrupted indeed :laugh:
[Android General] baruaberger:
The zip file which attached by dev,the file size only 4.2mb. But your attached file is 8.5 MB. AND IT CONTAINS 5 TO 6 IMAGES .But zip file of dev contain only one image .
[Android General] Eleo:
Ok. So lets wait for [MENTION=6377149]yash92duster[/MENTION] to reupload or upload somehwere else. Could be that attachment issues of XDA is back again.
[Android General] yash92duster:
here try this
[Android General] baruaberger:
now file is unzipping.But sorry to say that it is empty.
[Android General] AbrahamGC:
Its simple buddy, he is using his own smali for store values, just replace the first 2 lines that have # on grxAutoUnlock method and replace with this :

const-string v0, "face_quick_unlock"

const/4 v1, 0x0

invoke-static {v0, v1}, Lcom/android/wubydax/GearUtils;->getDbIntForKey(Ljava/lang/String;I)I

move-result v0

if-eqz v0, :cond_0

And in RomControl add this :

<com.wubydax.romcontrol.v2.prefs.MySwitchPreference
android:title="Quick face unlock"
android:key="face_quick_unlock"
android:defaultValue="false" />