[Guide] How to bring real Recent Cardstack to your ROM - Android Software Development

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...

Related

[Dev][How To] Remove SMS log from Call log

Hello Guys....
I'm with a New Guide which helps u to remove the ANNOYING SMS log fromm Call log....
So here we go ^_^
Baksmali the LogsProvider.apk And navigate to
Code:
com\sec\android\provider\logsprovider
Open the "LogsProvider.smali" And find the following code
Code:
sget-object v0, Lcom/sec/android/provider/logsprovider/LogsProvider;->sURIMatcher:Landroid/content/UriMatcher;
const-string v1, "logs"
const-string v1, "sms"
const/16 v2, 0x9
invoke-virtual {v0, v3, v1, v2}, Landroid/content/UriMatcher;->addURI(Ljava/lang/String;Ljava/lang/String;I)V
Delete the whole code and compile it back....
U r now free from those pestering SMS logs in call logs
Credits:
Homam Ageel
And Me
Note: This method is only applicable for Samsung Based GB ROM's...
Might wanna add a note stating this is only for Samsung ROMs
Sent from my GT-P1000 using XDA
cdesai said:
Might wanna add a note stating this is only for Samsung ROMs
Sent from my GT-P1000 using XDA
Click to expand...
Click to collapse
Oops... yeah.. Thanks for the INFO
Thanks man
Sent from my GT-S5670 using xda premium
Would this work for the s3 as well?
Well just confirmed that it does....
Be forewarned, if you're not very computer savvy do a lot of research before attempting to replace or edit system files rather than getting stuck in the middle.
This is my first Android phone and my first mod and it took me like 12 hours between finding the files, deodexing/root access/ proper jars and frameworks/smali/zipalining/terminal/permissions/file signatures....The works! Well it's complicated. Maybe I'll write a guide one day.
sentry07 said:
Would this work for the s3 as well?
Click to expand...
Click to collapse
Oh yes it would.... Sorry for the late reply... Didnt get this thread reply in my feed
Sent from my GT-S5670 using XDA
favorites tab log
Is there a way to stop call and sms logs in favorites tab?

[GUIDE][2.3.x] Remove am/pm from Gingerbread 12hrs status bar clock.

TOOLS:
Apktool or Similar
Notepad++
Decompile SystemUI (SystemUI.apk\res\values\integers.xml)
Change:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_clock_am_pm_style">[COLOR="Red"][SIZE="4"][B]0[/B][/SIZE][/COLOR]</integer>
</resources>
To:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_clock_am_pm_style">[COLOR="red"][SIZE="4"][B]2[/B][/SIZE][/COLOR]</integer>
</resources>
Re-compile and enjoy!
No more ugly am/pm...
Dude share the alarm icon trick. Plzs.. Been trying to do that since my 1st Mod.
Regards,
Sdojoin
sdojoin said:
Dude share the alarm icon trick. Plzs.. Been trying to do that since my 1st Mod.
Regards,
Sdojoin
Click to expand...
Click to collapse
Sent PM...
Anyway for r800i???
And wat rom are u using?
/==(CyberScopes)==\
All the same. Don't matter what model u're on.
Regards,
Sdojoin
Cant find res/values....
/==(CyberScopes)==\
U need to decompile the .apk to be able to see the valus folder. Otherwise u're not gonna find it.
Regards,
Sdojoin
Ohh.....
Didnt know that.
Ill try and give results for R800i
/==(CyberScopes)==\
---------- Post added at 05:51 PM ---------- Previous post was at 05:03 PM ----------
I tried but failed.
Status bar wouldnt show up.
How come?? What did u use decompile/recompile the .apk?? I've done it with no problem.
Regards,
Sdojoin
Wait, i think i done a mistake and missed a step.
Ill try again but could u post ure SystemUI apk?
/==(CyberScopes)==\

[HOW-TO]Change Clock Color on Status Bar in latest samsung rom (jb)

Hi , I had search every where how to change clock color on status bar in latest Samsung ROM ( JB ) but non-work
Coz its code is a bit different from other ROM. So here's how
Requirement :
SystemUI.apk
A bit knowledge about decompiling
Patience
First --->
Decompile your systemUI.apk, go res/layout/tw_status_bar.xml
Then --->
Search for this code
Code:
<com.android.systemui.statusbar.policy.Clock
Then --->
You will see
Code:
android:textColor="#fffefefe
behind it.
Now you may change whatever color you want by changing the code.
Here http://html-color-codes.info/ it maybe useful for you to find the color code
Note : The last 6-digit IS the color code, whereby
the two in front it is transparency.
It count by
#FF****** ( Opaque )
#00****** (Transparent )
It is recommended not to change the first two digits except you know what you are doin :laugh:
Now --->
Recompile your apk , drag resources.arsc and tw_status_bar.xml from your newly build APK to your old SystemUI.apk
Finally --->
Push your SystemUI,apk to system/app of your phone and reboot.
DONE.
DO PRESS THE THANKS BUTTON IF I HELP YOU !!!! CHEERS
You can change the colour of the battery text on the line above this too.
BTW, as nothing is changed in resources.arsc when you decompile, edit \layout\tw_status_bar.xml and then recompile so there's no need to replace it in your old SystemUI.apk
Just replace the modified & recompiled tw_status_bar.xml
Spannaa said:
You can change the colour of the battery text on the line above this too.
BTW, as nothing is changed in resources.arsc when you decompile, edit \layout\tw_status_bar.xml and then recompile so there's no need to replace it in your old SystemUI.apk
Just replace the modified & recompiled tw_status_bar.xml
Click to expand...
Click to collapse
what's the line that I should edit to change the txt color of the battery percentage pls ?
thanks for ur help
hii1 said:
what's the line that I should edit to change the txt color of the battery percentage pls ?
thanks for ur help
Click to expand...
Click to collapse
Code:
<TextView android:textSize="12.0dip" android:textColor="#ff33b5e5" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
android:textColor="#ff33b5e5" changes the battery % text to ICS Blue - if you want a different colour, change the last six characters to the hex code of the clour you want.
Been looking for ages
Been looking for ages and tried lots of methods and finally one that works. And such a simple change too............
Thanks a million:good:
Hi there......
As posted earlier I have managed to get this to work but flashed using Villain Theme .zip........worked fine.
I have a small problem and would appreciate any input.......As said I changed the clock colour and at the same time altered a couple of other values in the values/dimens file as below to 100% for brighter notifications.
<item type="dimen" name="status_bar_icon_drawing_alpha">100.0%</item>
<item type="dimen" name="tw_status_bar_icon_drawing_alpha">100.0%</item>
However, when I recompile the values folder is not present in the recompiled build/res folder but the other I changed was. Can anyone tell me why? It would be very helpful to know if I am doing something wrong when recompiling.....
Many thanks in advance:fingers-crossed:
CarlM34 said:
Hi there......
As posted earlier I have managed to get this to work but flashed using Villain Theme .zip........worked fine.
I have a small problem and would appreciate any input.......As said I changed the clock colour and at the same time altered a couple of other values in the values/dimens file as below to 100% for brighter notifications.
<item type="dimen" name="status_bar_icon_drawing_alpha">100.0%</item>
<item type="dimen" name="tw_status_bar_icon_drawing_alpha">100.0%</item>
However, when I recompile the values folder is not present in the recompiled build/res folder but the other I changed was. Can anyone tell me why? It would be very helpful to know if I am doing something wrong when recompiling.....
Many thanks in advance:fingers-crossed:
Click to expand...
Click to collapse
Values becomes part of resources.arsc
Sent from my GT-I9100 using Tapatalk 2
Goldieking said:
Values becomes part of resources.arsc
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the reply.......worked:good:
If anyone can help it would be really appreciated!
I have posted in various theming threads but to no avail and am posting here as a last ditch cry for aid
Not sure what I have done here but my volume slider seems to be scrunched up slightly and am unsure how to rectify?
I have not altered the volume_slider_bg.9 and have changed the size of the icons but no change.
As said, any help is appreciated, thanks
How to Center the Clock in Status Bar
Hi,
Can any one provide the code to center the clock in the status bar.....I assume it is also in the tw_status_bar.xml..............JB......I cannot find anything that works at the moment.
Many Thanks in advance:good:
CarlM34 said:
Hi,
Can any one provide the code to center the clock in the status bar.....I assume it is also in the tw_status_bar.xml..............JB......I cannot find anything that works at the moment.
Many Thanks in advance:good:
Click to expand...
Click to collapse
It's the second mod in this post by @bombaybadboy

Touchwiz spell check mod jb,ics

as many of u know. touchwiz roms dont include spell checking
(the red line underneath miss spelled words like found on nokiia,blacknerry,iphone and cm based roms)
i think i came across a fix for this,
the files that has 2 be changed are the following 2.
Secsettings.apk & framework2.jar
--or you can backup your device and replace the 2 files with files attached in 2nd post
--or you can flash the zip file in 2nd post (please backup and confirm if it works on your device
as member iT iS Me states he did the following
iT iS Me said:
For me Spell Checking option is very important and I like using it in CM roms. However, our NOTE is more productive with Stock roms. I searched a lot to find a way to enable the option. Unfortunately, there was no 100% clear guidance but I could manage to get it. Thanks to everyone helped.
You need to decompile Secsettings.apk & framework2.jar.
In SecSettings, open the file "res\xml\language_settings.xml" and look for:
Code:
<PreferenceScreen android:title="@string/phone_language" android:key="phone_language" android:fragment="com.android.settings.LocalePicker" />
add new line and paste the following:
Code:
<com.android.settings.inputmethod.SpellCheckersPreference android:title="@string/spellcheckers_settings_title" android:key="spellcheckers_settings" />
In framework2.jar, open the file "smali\android\widget\TextView.smali" and look for:
Code:
.method public isSuggestionsEnabled()Z
.locals 1
.prologue
.line 8464
[COLOR="Red"][B]const/4 v0, 0x0[/B][/COLOR]
return v0
.end method
Change the highlighted to:
Code:
.method public isSuggestionsEnabled()Z
.locals 1
.prologue
.line 8464
[COLOR="Red"][B] const/4 v0, 0x1[/B][/COLOR]
return v0
.end method
That is all and enjoy.
NOTE: It works with Google Keyboard or alternatives.
Click to expand...
Click to collapse
--or you can backup your device and replace the 2 files with files attached in 2nd post
--or you can flash the zip file in 2nd post (please backup and confirm if it works on your device)
2nd post reserved for uploads
https://dl.dropbox.com/u/32170931/SpellCheckTest.zip <- flashable zip
I tried this on my Galaxy Note 10.1 running stock UK ma5 ROM, it kind of worked in some apps, red underline appeared, but I lost access to my "settings" panel and it also installed something called mobihotspot(?) Which I was unable to remove.
when u say u lost access to settings panel, does it mean it force closes when u open it, or doesnt it appear anymore? ur gonna have to take ur original note10.1 files and edit them urself. not use the files i supplied here?
Any ideas if this solution works also on the Galaxy S 4?
Jiiins said:
Any ideas if this solution works also on the Galaxy S 4?
Click to expand...
Click to collapse
Try it.
Sent from my Samsung Galaxy SVII using Tapatalk 6 Beta
Do I need active internet connection for this?
Sent from my GT-N7000 using Tapatalk 4 Beta
What rom and device are these files in the zip from?
can it be safely rooted for unexperienced user ?
wolverin99 said:
can it be safely rooted for unexperienced user ?
Click to expand...
Click to collapse
Very simple. Just go the the PhilZ kernel thread and follow the instructions very closely.
Sent from my Samsung Galaxy SVII using Tapatalk 6 Beta
Jiiins said:
Any ideas if this solution works also on the Galaxy S 4?
Click to expand...
Click to collapse
I did not try the flashable file, but doing this manually worked on my VZW Galaxy S4 running JellyBeans build 6 (deodexed ROM).
*Edit*
This also adds spell checking to chrome's address bar, and presumably other text fields that do not normally have it. For me, that is only a minor annoyance and is greatly outweighed by the addition of spell check. Just an FYI.
dropbox link is not working
Dear many thanks for your important subject please please please provide me with zip file to flash it as i tried to do manually but it did't work
Thanks regards,
spell checker on note 3 sm-n9005
can you help me to get the same file on note 3
primitive.A said:
2nd post reserved for uploads
https://dl.dropbox.com/u/32170931/SpellCheckTest.zip <- flashable zip
Click to expand...
Click to collapse
does anyone still have these files!!! I would really like to have my spell check back! I miss that about my Razr.
I am now on the Verizon S4.
The drop box link does not work and I cant seem to find the raw files either!
swc2001 said:
does anyone still have these files!!! I would really like to have my spell check back! I miss that about my Razr.
I am now on the Verizon S4.
The drop box link does not work and I cant seem to find the raw files either!
Click to expand...
Click to collapse
bump!!
Anybody there!?!
Sent from my SCH-I545 using Tapatalk
swc2001 said:
Anybody there!?!
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
You need to do the mod for yourself. Every rom is different. You could also look for a rom that the developer included it in his rom.
athlonxp2300 said:
You need to do the mod for yourself. Every rom is different. You could also look for a rom that the developer included it in his rom.
Click to expand...
Click to collapse
Well I am not sure how to do the mod. and the zip files are not there. I only use stock rooted because it works 100%
swc2001 said:
Well I am not sure how to do the mod. and the zip files are not there. I only use stock rooted because it works 100%
Click to expand...
Click to collapse
The mod only works on deodexed roms. You have to copy the required files from that rom, decompile, edit then recompile. Then copy the files back over the originals.
swc2001 said:
Well I am not sure how to do the mod. and the zip files are not there. I only use stock rooted because it works 100%
Click to expand...
Click to collapse
Did you try to read the OP?
Sent from Nexus 5 on Slimkat

[TUTORIAL]Add the "Delete" button on the screenshot preview

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...

Categories

Resources