[TUTORIAL]Add the "Delete" button on the screenshot preview - Sony Cross-Device General

Requirement:
1. apktool 1.5.2
2. Notepad++
3. Deodex System
---------------------------------------------------
1. Decompile SystemUI.apk
2. Download delete_button.rar from attachment and merge to your SystemUI.apk
3.Open /res/value/stings with Notepad++ add the following lines:
<string name="screenshot_delete_action">Delete</string>
<string name="screenshot_delete_confirmation">Screenshot deleted.</string>
<string name="permdesc_screenshot">Capture screenshot</string>
<string name="permlab_screenshot">Allows the app to cature a screenshot. This is protected by SystemUI.</string>
<string name="screenshot_toast">Screenshot in %1$d seconds</string>
Click to expand...
Click to collapse
4.Now compile your SystemUI.apk
5.Now decompile the SystemUI.apk you just compiled
6.Navigate to com/android/systemui/screenshot/DeleteScreenshot.smali
7. find 0x7f090049 delete id
And replace your id
<public type="string" name="screenshot_delete_confirmation" id
Click to expand...
Click to collapse
8.Navigate to SystemUI\smali\com\android\systemui\screenshot\SaveImageInBackgroundTask.smali
find id and delete id and replace your id
0x10405b7 (-Framework-res- public.xml) = <public type="string" name="share"
0x7f09007b = <public type="string" name="screenshot_saving_ticker"
0x7f09007c = <public type="string" name="screenshot_saving_title"
0x7f09007d = <public type="string" name="screenshot_saving_text"
0x7f0200f2 = <public type="drawable" name="stat_notify_image"
0x7f020022 = <public type="drawable" name="ic_menu_share"
0x7f020021 = <public type="drawable" name="ic_menu_delete"
0x7f090048 = <public type="string" name="screenshot_delete_action"
0x7f09007e = <public type="string" name="screenshot_saved_title"
0x7f09007f = <public type="string" name="screenshot_saved_text"
Click to expand...
Click to collapse
9. AndroidManifest.xml
find
Code:
<service android:exported="false" android:name=".screenshot.TakeScreenshotService" android:process=":screenshot"/>
and change to
Code:
<service android:name=".screenshot.TakeScreenshotService" android:permission="android.permission.SCREENSHOT" android:exported="false" android:process=":screenshot">
<intent-filter>
<android name="android.intent.action.SCREENSHOT" />
</intent-filter>
</service>
<receiver android:name=".screenshot.DeleteScreenshot" android:exported="true" />
<service android:name=".LoadAverageService" android:exported="true" />
find
<uses-permission android:name="android.permission.CRYPT_KEEPER" />
Click to expand...
Click to collapse
change to
Code:
<uses-permission android:name="android.permission.CRYPT_KEEPER" />
<protected-broadcast android:name="android.permission.SCREENSHOT" />
<protected-broadcast android:name="android.intent.action.SCREENSHOT" />
<permission android:label="@string/permlab_screenshot" android:name="android.permission.SCREENSHOT" android:protectionLevel="signatureOrSystem" android:description="@string/permdesc_screenshot" />
10. Save the file and close it.
11. Now recompile your SystemUI.apk and sign it.
12. Enjoy!
Thanks - grisha84

Screenshotes

Nice bro, will try it

A very useful tutorial indeed great work!!

@sportik555
Nice work m8 as always.
Do you know how to add clear all button in recent apps? Or know some tutorial?
Thanks

thanks
please fix all
.parameter "xxx"
Click to expand...
Click to collapse
because i use apktool_2.0.0rc3 to decompile my systemUI and its dont have .parameter only have .param p1, "xxx"
p/s : i've fixed it already but why dont have delete confirm message ?

devilmaycry2020 said:
thanks
please fix all because i use apktool_2.0.0rc3 to decompile my systemUI and its dont have .parameter only have .param p1, "xxx"
Click to expand...
Click to collapse
you need Apktool 1.5.2

Dzepar said:
@sportik555
Nice work m8 as always.
Do you know how to add clear all button in recent apps? Or know some tutorial?
Thanks
Click to expand...
Click to collapse
I know, but you need to check, give systemUI and I try

sportik555 said:
you need Apktool 1.5.2
Click to expand...
Click to collapse
why dont use newest apktool ? old apktool can't decompile android 4.4
and maybe you missed add a call parameter to DeleteScreenshot.smali in GlobalScreenshot.smali .i'm using android 4.3

devilmaycry2020 said:
why dont use newest apktool ? old apktool can't decompile android 4.4
and maybe you missed add a call parameter to DeleteScreenshot.smali in GlobalScreenshot.smali .i'm using android 4.3
Click to expand...
Click to collapse
smali for apktool 1.5.2 , old can decompile 4.4
maybe you missed add a call parameter to DeleteScreenshot.smali in GlobalScreenshot.smali
Click to expand...
Click to collapse
no it is not necessary to do,tested 3 sony android 4.4 phones and work delete button

sportik555 said:
smali for apktool 1.5.2 , old can decompile 4.4
no it is not necessary to do,tested 3 sony android 4.4 phones and work delete button
Click to expand...
Click to collapse
i said it worked but what string "screenshot_delete_confirmation" use for ? i mean when i press delete icon it dont show any confirm message want to delete or not.

devilmaycry2020 said:
i said it worked but what string "screenshot_delete_confirmation" use for ? i mean when i press delete icon it dont show any confirm message want to delete or not.
Click to expand...
Click to collapse
screenshot_delete_confiramation use for DeleteScreenshot.smali
6.Navigate to com/android/systemui/screenshot/DeleteScreenshot.smali
7. find 0x7f090049 delete id
And replace your id
Quote:
<public type="string" name="screenshot_delete_confirmation" id
Click to expand...
Click to collapse
i mean when i press delete icon it dont show any confirm message want to delete or not
Click to expand...
Click to collapse
you are wrong edited AndroidManifest.xml .

sportik555 said:
I know, but you need to check, give systemUI and I try
Click to expand...
Click to collapse
It's from Xperia J JB 4.1.2.
SystemUI
Thanks

sportik555 said:
screenshot_delete_confiramation use for DeleteScreenshot.smali
you are wrong edited AndroidManifest.xml .
Click to expand...
Click to collapse
So string "screenshot_delete_confirmation" is useless it didn't show anywhere. how do you know i were wrong edited AndroidManifest.xml? i've not upload any my file to you.
anyway here is my file.

Dzepar said:
[MENTION=5555617]
Do you know how to add clear all button in recent apps? Or know some tutorial?
Click to expand...
Click to collapse
All you needed was a little research. http://forum.xda-developers.com/showthread.php?t=2614356 (I prefer the Z3 style)

Can OP please disable emoticons in the first post? It's annoying to copy code and there are some emoticons in the middle..
And yes there is an option to disable emoticons on the post... Just edit it properly or put
Code:
[/ code] in the code sections... Not QUOTE..
Enviado do meu SM-N9005 através de Tapatalk

joluke said:
Can OP please disable emoticons in the first post? It's annoying to copy code and there are some emoticons in the middle..
And yes there is an option to disable emoticons on the post... Just edit it properly or put
Code:
[/ code] in the code sections... Not QUOTE..
Enviado do meu SM-N9005 através de Tapatalk[/QUOTE]
I find 1 emotions post and post edit
Click to expand...
Click to collapse

Papanik said:
All you needed was a little research. http://forum.xda-developers.com/showthread.php?t=2614356 (I prefer the Z3 style)
Click to expand...
Click to collapse
i don't think so, maybe he want it look like this.

works great on my z1 compact using z3 SystemUI, thanks

Gave error recompile . see the log below...

Related

[Q] Any solutions on how to remove 5 toggles on Stock ROM

Hello guys, specially for Themers.
Anyone of you knows how to remove the toggles on the statusbar expanded? If anyone could help me that could be highly appreciated.
Dunno if this working or not but u can try this...
Quickpanel_quick_setting.xml change every framelayout height to "0.0dip"
Sent from my GT-S5360 using Tapatalk 2
Try this:
in the Quickpanel_quick_setting.xml
Look for
Code:
<LinearLayout android:orientation="vertical" android:focusable="false" android:layout_width="fill_parent" android:layout_height="@dimen/quick_setting_button_height">
replace
Code:
android:layout_height="@dimen/quick_setting_button_height"
with this
Code:
android:layout_height="0.0dip"
hope it works
remember to make a backup though
d3cka said:
Dunno if this working or not but u can try this...
Quickpanel_quick_setting.xml change every framelayout height to "0.0dip"
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
DarkZied said:
Try this:
in the Quickpanel_quick_setting.xml
Look for
Code:
<LinearLayout android:orientation="vertical" android:focusable="false" android:layout_width="fill_parent" android:layout_height="@dimen/quick_setting_button_height">
replace
Code:
android:layout_height="@dimen/quick_setting_button_height"
with this
Code:
android:layout_height="0.0dip"
hope it works
remember to make a backup though
Click to expand...
Click to collapse
nope, neither worked. @DarkZied There's no LinearLayout in statusbar_expanded.xml. There's framelayout. Changed that wo 0.0dip, didn't work as well
Just add lidroid 15 toggles, then go into settings and uncheck every toggle.
Sent from my GT-S5830i - Hit thanks if I helped

Setup a Email Link

Hi there, looking to see if anyone knows how to set a email link from XML Coding?
Cheers
t3hShmo said:
Hi there, looking to see if anyone knows how to set a email link from XML Coding?
Cheers
Click to expand...
Click to collapse
Hi,
For TextView you can use android:autoLink = "email" property.
Something like this:
Code:
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="email"
android:text="[email protected]" />
strings.xml
Code:
<string name="my_email_link"> send an <a href=mailto:[email protected]>Email</a> to developer</string>
. Then create textview, and setText() to example string.
Noted to self thrice via tapatalk

[QUESTION] Change settings icons with theme. How make it?

Hi!
I want make new theme for LG Launcher and I want change icons in settings app (Display, Sound etc). How do this without edit LGSettings.apk and without edit LGEasySettings?
I tried add strings in \res\xml\theme_resource.xml
Example:
Code:
<AppIcon name="com.android.settings/com.android.settings.DisplaySettings" image="settings_display" />
<AppIcon name="com.android.settings/com.android.settings.Settings$DisplaySettingsActivity" image="settings_display" />
<AppIcon name="com.android.settings/com.android.settings.lge.PouchSettings" image="settings_display" />
<AppIcon name="com.android.settings/com.android.settings.lge.ScreenMode" image="settings_display" />
But icons not change (2nd screenshot), icons change only in top tittle (1st screenshot)
x-zes said:
Hi!
I want make new theme for LG Launcher and I want change icons in settings app (Display, Sound etc). How do this without edit LGSettings.apk and without edit LGEasySettings?
I tried add strings in \res\xml\theme_resource.xml
Example:
Code:
<AppIcon name="com.android.settings/com.android.settings.DisplaySettings" image="settings_display" />
<AppIcon name="com.android.settings/com.android.settings.Settings$DisplaySettingsActivity" image="settings_display" />
<AppIcon name="com.android.settings/com.android.settings.lge.PouchSettings" image="settings_display" />
<AppIcon name="com.android.settings/com.android.settings.lge.ScreenMode" image="settings_display" />
But icons not change (2nd screenshot), icons change only in top tittle (1st screenshot)
Click to expand...
Click to collapse
That isn't possible with a home theme. It would be cool if you could though.
App icons change wherever they are shown including the title/action bar so that's why it changes at the top.
Questions belong in Q&A section, for future reference. Welcome to the forum.
If try extract code and layouts from LGEasySettings.apk and put this code and layouts with change icons name in theme apk?
Is it possible to when apply theme with code from LGEasySettings.apk and work this from theme? In other words, insert LGEasySettings.apk in theme.
x-zes said:
If try extract code and layouts from LGEasySettings.apk and put this code and layouts with change icons name in theme apk?
Is it possible to when apply theme with code from LGEasySettings.apk and work this from theme? In other words, insert LGEasySettings.apk in theme.
Click to expand...
Click to collapse
I finally did changing the png's:
http://www.htcmania.com/showthread.php?t=811479
I can somebody replace icons in LGEasySettings.apk and LGSettings.apk. But I want replace icons when apply my theme without edit LGEasySettings.apk and LGSettings.apk
x-zes said:
I can somebody replace icons in LGEasySettings.apk and LGSettings.apk. But I want replace icons when apply my theme without edit LGEasySettings.apk and LGSettings.apk
Click to expand...
Click to collapse
When it comes to mod something you got to make some ultimate changes in order to get it your way.
If you don't wanna mess around, then there is one solution: go to Hogwarts become a magician
x-zes said:
I can somebody replace icons in LGEasySettings.apk and LGSettings.apk. But I want replace icons when apply my theme without edit LGEasySettings.apk and LGSettings.apk
Click to expand...
Click to collapse
Not possible. The only way I can think to edit the pngs without editing LGEasySettings.apk and LGSettings.apk is with an xposed module.
Hi could you please tellme which file you edited to make the settings menu, black? Thanks in advance
Sent from my LG-E980 using XDA Free mobile app

[Guide] How to bring real Recent Cardstack to your ROM

Hy I'm noobs want to share little guide for you are...
this guide is how to bring recent cardstack to youre ROM... Ok lets to mod.
First Big Thanks to :​
1. Muhammad Bagus Prasetyo (My best friend which first person who can bring cardstack on Samsung Core 2).
2. Lollifox ROM and Paranoid ROM for file comparation.
Click to expand...
Click to collapse
NOTE :​
1. If you get FC use LOGCAT to know the error and fix by youre self.
2. I'm try this on Stock touchwiz Kitkat 4.4.2 (My device use Spreadrum Shark (sc8830) Chipset)
3. In my stock Stock touchwiz Kitkat 4.4.2 UI will Forceclose when Im use Navbar
4. In my stock Stock touchwiz Kitkat 4.4.2 UI will Forceclose when any moddification in android.policy.jar which contain navbar modding.
5. In my heart and my mind Navbar not critical uses so I'M AVOID THE FC WHEN USE NAVBAR AND I'M NOT USE NAVBAR.
6. CONCLUSION : If youre want to fix FC when use Navbar , please compare again with Lollifox ROM file.
7. I DON'T KNOW WILL WORK ON ANOTHER OS BUT JUST TRY IT.
Click to expand...
Click to collapse
BUG : NOT AVAILABLE CLEAR ALL RECENT.
Requirepment :
1. Brain
2. Apktool
3. A cup of tea or cofee
STEP 1 :
1. Decompile Framework-res.apk then marger file on attachment.
2. add this on string.xml
HTML:
<string name="setting_confirmation_ask_me_later">Ask later</string>
<string name="setting_confirmation_yes">Yes</string>
<string name="setting_confirmation_no">No</string>
3. recompile and decompile again to get id public
4. open res/value/public.xml and dont close it.
Click to expand...
Click to collapse
STEP 2 :
1. Decompile framework.jar
2. marger file on attached to Landroid/content/pm/HERE
3. recompile again
STEP 3 :
1. Decompile framework2.jar
2. marger gifview.smali TO Landroid/widget/HERE
3. marger file which have name SettingConfirmationHelper...... TO Landroid/util/HERE
4. Change id public in SettingConfirmationHelper.smali with your id public on framework-res.apk/res/value/public.xml (7 ids which MUST changed)
Code:
- 0x01040bcb ----> <public type="string" name="setting_confirmation_yes" id="0x01040bcb" />
- 0x01040bca ----> <public type="string" name="setting_confirmation_ask_me_later" id="0x01040bca" />
- 0x01040bcc ----> <public type="string" name="setting_confirmation_no" id="0x01040bcc" />
- 0x0109014b (on smali have 2 id like this) ----> <public type="layout" name="setting_confirmation_dialog" id="0x0109014b" />
- 0x01020473 ----> <public type="id" name="setting_confirmation_dialog_visual_hint" id="0x01020473" />
- 0x01020474 ----> <public type="id" name="setting_confirmation_dialog_visual_gif" id="0x01020474" />
5. recompile again
STEP 4 :
1. Decompile SystemUI.apk and merger/replace folder file from me in drawable and drawable-hdpi
2. Delete all file on folder smali\com\android\systemui\recent\ DELETE ALL
3. Merger file which in folder recent in attachment file to smali\com\android\systemui\recent\HERE
4. Merger file which in folder sands in attachment file to smali\com\android\systemui\HERE
5. Merger file in folder Layout to Layout folder ... If exist on youre folder REPLACE IT.
6. Merger file in folder Layout-land to Layout-land folder ... If exist on youre folder REPLACE IT.
7. Change all file status_bar_recent_panel.xml and status_bar_recent_item in youre layout folder with file in folder Layout from ME.
8. Change all file status_bar_recent_panel.xml and status_bar_recent_item from folder Layout-land if you see to youre folder which have name contain land.
9. add this to string.xml
HTML:
<string name="status_bar_recents_card_stack_title">Recents card stack view</string>
<string name="status_bar_recents_card_stack_message">Would you like to enable recents card stack view?</string>
<string name="navbar_recents_clear_all_title">Clear all</string>
<string name="navbar_recents_clear_all_message">Would you like the recents button to clear all apps?</string>
<string name="floating_mode_blacklisted_app">The current app is blacklisted as it may not work as expected in floating mode</string>
<string name="status_bar_recent_floating_item_title">Floating mode</string>
10. add this to values/dimen.xml
HTML:
<dimen name="status_bar_recents_card_margin">15.0dip</dimen>
<dimen name="status_bar_recents_app_color_bar_height">50.0dip</dimen>
<dimen name="status_bar_recents_app_color_bar_label_size">16.0dip</dimen>
<dimen name="status_bar_recents_app_color_bar_icon_size">30.0dip</dimen>
<dimen name="status_bar_recents_app_color_bar_icon_margin">13.0dip</dimen>
<dimen name="status_bar_recents_app_color_bar_button_sep">9.0dip</dimen>
<dimen name="status_bar_recents_app_color_bar_button_margin">18.0dip</dimen>
<dimen name="status_bar_recents_app_color_bar_button_size">14.0dip</dimen>
11. add this to values/ids.xml
HTML:
<item type="id" name="floating_mode_blacklisted_app">false</item>
<item type="id" name="app_top_colored_bar">false</item>
<item type="id" name="app_floating">false</item>
<item type="id" name="app_kill">false</item>
<item type="id" name="app_thumbnail_border">false</item>
<item type="id" name="recent_launch_floating">false</item>
add this to values/color.xml
HTML:
<color name="status_bar_recents_app_bar_color">#ffdcdcdc</color>
<color name="status_bar_recents_app_label_color_dark">#e0181818</color>
<color name="status_bar_recents_app_label_color_light">#e0ffffff</color>
12. recompile and decompile again.
13. Go to smali\com\android\systemui\recent\HERE ... change the ids on smalis ... Because contain a lot off id so Im give my id public off my SystemUI and my Framework... use it to compere ids. Compare in this smali :
--> RecentTasksLoader.smali
--> RecentsVerticalScrollView.smali
--> RecentsPanelView.smali
--> RecentsHorizontalScrollView.smali
--> RecentsCardStackView.smali
--> RecentsActivity.smali
--> Recents.smali
--> FadedEdgeDrawHelper.smali
14. open basestatusbar in Lcom/android/systemui/statusbar/BaseStatusBar.smali
--> add this under # instance fields
Code:
.field protected mImmersiveModeStyle:I
--> search .method public toggleRecentApps()V
change whole method with this :
-->
Code:
.method public toggleRecentApps()V
.locals 2
const/16 v0, 0x3fc
iget-object v1, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mHandler:Lcom/android/systemui/statusbar/BaseStatusBar$H;
invoke-virtual {v1, v0}, Landroid/os/Handler;->removeMessages(I)V
iget-object v1, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mHandler:Lcom/android/systemui/statusbar/BaseStatusBar$H;
invoke-virtual {v1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z
return-void
.end method
--> next search .method protected toggleRecentsActivity()V
change whole method with this :
-->
Code:
.method protected toggleRecentsActivity()V
.locals 4
iget-object v0, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mRecents:Lcom/android/systemui/RecentsComponent;
if-eqz v0, :cond_0
iget-boolean v0, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mBlockRecents:Z
if-nez v0, :cond_0
iget-object v0, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mRecents:Lcom/android/systemui/RecentsComponent;
iget-object v1, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mDisplay:Landroid/view/Display;
iget v2, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mLayoutDirection:I
invoke-virtual {p0}, Lcom/android/systemui/statusbar/BaseStatusBar;->getStatusBarView()Landroid/view/View;
move-result-object v3
iget p0, p0, Lcom/android/systemui/statusbar/BaseStatusBar;->mImmersiveModeStyle:I
invoke-interface {v0, v1, v2, v3, p0}, Lcom/android/systemui/RecentsComponent;->toggleRecents(Landroid/view/Display;ILandroid/view/View;I)V
:cond_0
return-void
.end method
15. go to Lcom/android/systemui/ replace RecentsComponent.smali with my RecentsComponent.smali which Im attachment.
16. All done ... RECOMPILE all edited apk and jar ... AND DONT FORGET TO SIGN THE APK FILE.
17. Put All editted file to flashable.zip and flash it....
Click to expand...
Click to collapse
I has been attached all file and the guide in xml type. Download in attached file.
I'm from Indonesian specially from Central Java and I'm bad in English so I'm so sorry for my bad English in whole text in this guide .
I'm only need a little Credit if you use this guide. Thank you!
AND PLEASE SEARCH ALL ID ON SMALI AND COMPARE/CHANGE WITH YOURE ID...SEARCH ONE BY ONE ON ALL SMALI IN "RECENT" FOLDER... BE CAREFUL FOR ALL ID's ​
DON'T FORGET TO HIT THANKS BUTTON IF YOU LIKE MY WORK AND HELP YOU :good: ​
For Video Recent Cardstact from this guide Go HERE YOUTUBE​
Thanks bro.. U help me a lot..
Darkstar085 said:
Thanks bro.. U help me a lot..
Click to expand...
Click to collapse
Youre welcome sir... ... if it help you dont forget to hit thanks button
I never forgot to do that
Darkstar085 said:
I never forgot to do that
Click to expand...
Click to collapse
Thank you sir... if you get problem post here ... if i can help i will help you
Ya sure.. By2way Your English is not bad at all
Darkstar085 said:
Ya sure.. By2way Your English is not bad at all
Click to expand...
Click to collapse
Wkwkwk thank you sir ... but on test i get C :'D
Ih24n said:
Wkwkwk thank you sir ... but on test i get C :'D
Click to expand...
Click to collapse
C is not bad..
Is it work on Android 4.3, CM10.2 ?
Timeral said:
Is it work on Android 4.3, CM10.2 ?
Click to expand...
Click to collapse
I dont know work in JB or not . because im only tested on KK only.... You can try work or bot on JB.
Ih24n said:
I dont know work in JB or not . because im only tested on KK only.... You can try work or bot on JB.
Click to expand...
Click to collapse
but on android4.3, there is not a framework2.jar in framework,so i don't know how to deal with it.
Timeral said:
but on android4.3, there is not a framework2.jar in framework,so i don't know how to deal with it.
Click to expand...
Click to collapse
Use framework.jar ... When you see instruction to pus/merger fuke to framework2.jar ... Just pus to framework.jar when you use JB(4.3) and lower
Help?
I have done this guide, all IDs are changed. But I my status bar's gone. I checked logcat but it only show systemui crash (by something in com/android/systemui/statusbar/phone/PhoneStatusBar.smali)
SonnySimon said:
I have done this guide, all IDs are changed. But I my status bar's gone. I checked logcat but it only show systemui crash (by something in com/android/systemui/statusbar/phone/PhoneStatusBar.smali)
Click to expand...
Click to collapse
Please give the full logcat... I will helped if i can... Because this guide not tested on JellyBean OS.
when i decompile my framework.jar i find no smali files my framework.jar is also pretty small in size also in SystemUI decompile i see no smali files only others like xmls .. what should i do ?
asser19 said:
when i decompile my framework.jar i find no smali files my framework.jar is also pretty small in size also in SystemUI decompile i see no smali files only others like xmls .. what should i do ?
Click to expand...
Click to collapse
Are you with deodexed ROM ???
my rom is odexed I think cause I find some of system files end with apk and also .odex format .. Help please :3
---------- Post added at 08:41 AM ---------- Previous post was at 08:38 AM ----------
it's a stock rom too .. EMUI 2.3 Lite Huawei Y625-U32 .. No Mods But TWRP Rec ..
Do you think it will works on gb devices?
来自搭载Android 2.3 GingerBread的华为Y220-T10
asser19 said:
my rom is odexed I think cause I find some of system files end with apk and also .odex format .. Help please :3
---------- Post added at 08:41 AM ---------- Previous post was at 08:38 AM ----------
it's a stock rom too .. EMUI 2.3 Lite Huawei Y625-U32 .. No Mods But TWRP Rec ..
Click to expand...
Click to collapse
For deodex only .
zhaozihanzzh said:
Do you think it will works on gb devices?
来自搭载Android 2.3 GingerBread的华为Y220-T10
Click to expand...
Click to collapse
In another version os not tested sir... But you can try. And also compare from original ui pusyfap and paranoid sir..... I am trying on jb but found error null pointer...

Possible way to enable double press power for camera gesture on stock ROM????

I need someone to test if this enables the double tap power for camera gesture and possibly others on the stock ROM.
I am assuming you know how to use APKTool for Windows or Linux.
Decompile Settings_ZTE and open res/values/bools.xml
Change
Code:
<bool name="config_gesture_settings_enabled">false</bool>
to
Code:
<bool name="config_gesture_settings_enabled">true</bool>
Recompile Settings_ZTE.
Decompile framework-zte-res.apk and open res/values/bools.xml
Change
Code:
<item type="bool" name="zte_configcameraDoubleTapPowerGestureEnabled">@null</item>
to
Code:
<item type="bool" name="zte_configcameraDoubleTapPowerGestureEnabled">true</item>
Recompile framework-zte-res.apk
I'll try but couldn't decompile apk.
edit: decompiled but no bools on values
it work on stock, search "camera" in setting
WesTD said:
I'll try but couldn't decompile apk.
edit: decompiled but no bools on values
Click to expand...
Click to collapse
Are you using APKTool on Windows? Did you install the frameworks?
Angelo_0 said:
it work on stock, search "camera" in setting
Click to expand...
Click to collapse
Doesn't work on A2017U B32. ZTE remove the ability to search for hidden settings.
bkores said:
Are you using APKTool on Windows? Did you install the frameworks?
Click to expand...
Click to collapse
Yes but still same.
WesTD said:
Yes but still same.
Click to expand...
Click to collapse
What's the error APKTool gives you?
bkores said:
What's the error APKTool gives you?
Click to expand...
Click to collapse
Log
WesTD said:
Log
Click to expand...
Click to collapse
Looks like you didn't install all the frameworks. You need to install framework-zte-res.apk in addition to framework-res.apk.
bkores said:
Looks like you didn't install all the frameworks. You need to install framework-zte-res.apk in addition to framework-res.apk.
Click to expand...
Click to collapse
Oh thanks then. But do not need to try right? You said that it is not working on b32
WesTD said:
Oh thanks then. But do not need to try right? You said that it is not working on b32
Click to expand...
Click to collapse
I said the search in settings doesn't work. This might work.

Categories

Resources