> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.



Club Sony Xperia | Communication mods of smartphones and tablets Sony Xperia



Rep: (2086)
Attached Image



The main motto of the club

"Do good and throw it into the water. It will not disappear - good to you will return "




CLUB RULES

We chat on any topics, as well as:
  • we communicate about various modifications
  • discuss codes
  • find hidden features of system files
  • solve questions on the graphic part
  • and many many others...


The club was created for everyone involved in the modification of system applications, software improvement for Xperia, including firmware based on CyanogenMod

Those wishing to join the club - write in the subject line indicating their work(manuals or mods)


Orders for modifications, translations, etc. in this topic are NOT MADE; there is for this purpose Order table


The Club has a commonForum Rules, andSection Rules"Breaker"!
Promotion System:
If a forum member gave you good advice that helped you solve your problem, do not post a message with the text “Thank you! You are super!!!".
On our forum, it is customary to express gratitude by raising the reputation of a particular participant.
The reputation of other participants can be influenced by any user who has collected 15 useful posts. If you do not have 15 helpful posts, ask the moderator to raise the reputation of the person who helped you through the buttonAttached Image

UPDATE OF CAPS from 07/01/2017

INSTRUCTIONS

Common to modders :
A little about smiles:
Miscellaneous useful:
PROGRAMS
MANUALS
Framework-res & SemcGenericUxpRes.apk:
(ICS) (Jb) instructions for editing system apk for example framework-res.apk
(ICS ) ( Jb ) how to replace the dull black and white background of applications on your picture
(ICS ) ( Jb a) change the background in the standard menu
(ICS ) how to edit framework-res.apk for SONY ICS 12 models in.
(Jb ) We add togles and scribers to non-sony progs
(Jb ) coloring in the color of the theme icons nav bar
(Jb ) Manual on reading "orch boxes" in NOT Sonevsky programs
(Jb ) manual for reading Sonevsky switches in NOT Sonevsky programs
(Jb ) manual for reading spinners in NOT Sonevsky programs
(Jb ) Manual on reading tabs in NOT Sonevsky programs
(Jb ) Manual on reading the text editor in NOT Sonevsky prog
(Jb ) manual for reading "checkboxes", "radio", "Button", and to the end of "Tabs" Sony style
(Jb ) manual on the color of the spiners in the color of the theme
(Jb ) manual for coloring frames of dialog / pop-up windows in theme color
(Jb ) reading the desktop wallpaper in applications, transparent background of applications, remove the black background
(ICS ) ( Jb ) We make inscriptions of sliders ON / OFF instead of I / O
(Jb ) Sony's framework-res.apk modification method on Jelly bean with support for theme change
(Jb ) Rule the frame on firmware 4.1 and above without loss (while preserving the background read) !!! - addition
(ICS ) Round switches instead of oval on ICS 4.0.4 Xperia 2011
(ICS ) ( Jb ) Realization of the use of 4 colors from the topic
(Jb ) How to make the font and divider color in the title of dialog boxes under the theme color
(Jb ) Fixed coloring manual for composite windows
(Jb ) Mini tutorial for voice alert / main dialog boxes
(Jb ) Manual for creating a background of transparency from 0 to 100 in the settings and in some of the AIC and in part, but the main inversion in the dark design
(Jb ) To read all 4 colors
(Jb ) Manual for coloring tabs in the color of the theme on 4.3
(Jb ) Manual on reading the desktop background in applications 4.3
(Jb ) Transparent background in applications 4.3
(ICS ) ( Jb ) How to add a link to read color from SemcGenericUxpRes.apk
(ICS ) ( Jb ) How to compile / decompile SemcGenericUxpRes.apk
(Jb ) Manual for adding an additional color read in SemcGenericUxpRes.apk 4.3
(JB 4.3 ) Text layout in styles.xml in frame 4.3
(JB 4.3 ) Manual for adding Reboot menu for 4.3
(JB 4.3 ) How to work with 2 different frames or return the application icon using the example of SystemUI 4.4
(Jb ) We paint the semc_btn_default rim in the theme color
(All versions A) pop-up animation
(Jb ) Overscroll coloring guide in theme color
(JB 4.3 ) ( QC ) Turn on CRT-OFF on JB 4.3 firmware
(Jb ) Brief addition to the Extended Reboot Menu
(JB 4.3 ) Solving the problem with the quick restart item in the advanced menu
(QC ) Finding pictures in Framework-res 4.4.4
(JB 4.3 ) We make the correct window title and message with different reboot options.
(All versions ) Possible problem of merging the cursor with the input field
(All versions ) Change the color of the LED notification display for different events
(All versions ) A couple of useful configs from Sony's frame
(JB 4.3 ) ( KK ) Extended power-menu with reboot options dialog
(ICS ) How to make pictures from framework-res read color from SemcGenericUxpRes (Accent color)
(JB 4.3 ) Task Manager in the advanced power-menu for JB and KK
(JB 4.3 ) ( KK ) Screen recording on JB 4.3 and KK 4.4, version 1.0 FINAL
(JB 4.3 ) ( KK ) Two-way power-menu for JB, KK (basic instruction)
(JB 4.3 ) ( KK ) Screen recording in a two-way power-menu for JB, KK
(JB 4.3 ) ( KK ) Screen recording on JB 4.3 and KK 4.4, version 2.0
(KK ) Two-way shutdown menu with reboot
(JB 4.3 ) ( KK ) Visibility and hiding of shutdown menu items (JB, KK).
(LP) Add. Items in the power menu on (LP) 5.0.2
(LP) Extended shutdown menu for 5.0.2, option 2
(KK ) We change the interface in all applications from light to dark 4.4.2
(Jb ) A small manual for those who have BOOTLOOP (BL, BL, BUTLUP) when modding framework-res.apk (6.2.B.1.96, 4.1.2 JB drain)
(Jb ) ( KK ) (LP) "Depressed" buttons / tabs + addition
(LP )ListView animation
(Jb ) ( KK ) Enable / disable application signature verification, with setting
(All versions ) A little bit about inversion (white-black) of hard-to-reach windows and styles


Home.apk:

Lock screen:
(ICS) (Jb) to enable support for landscape mode JB Lockscreen without editing the framework
(Jb ) Mod Lockskrina with transparency
(ICS ) ( Jb ) Instructions for editing lokskrina from Xperia Z , Addition
(ICS ) Add a dialer on the screen lock screen.
(ICS ) ( Jb ) Manual on changing UxpNxtLockScreen (blinds parameters)
(ICS ) Transparency of the statusbar on the UxpNxtLockScreen.apk lock for ICS 4.0.4 , (Jb) addition for 4.1.2
(JB 4.3 ) Increasing the number of available widgets on the lock screen
(JB 4.3 ) Instructions for removing (changing) a black background behind the slats when you press on the lock screen
(JB 4.3 ) Micro-manual on painting the operator's inscriptions and charging in the lock screen in the theme color and How to paint the icons \ "add widget \" and \ "camera \"
(JB 4.3 ) Lockscreen without bar status. for 4.3
(ICS ) ( Jb ) Add additional application shortcuts to the Android 2.3-4.1 lock screen
(QC ) Change the Google search instead of the camera in the navbar on the lock Blinds (and in the stock) 4.4
(ICS ) Instructions on how to raise a slide on the Sony Lock Screen (Android Lock Screen) for Android 4.0.4 [May be appropriate for Android 2.3.7]
(QC ) Increase the area allocated for widgets on the lock screen
(Jb ) ( QC ) Flashlight on the lock screen
(Jb ) Return to the lock screen when calling the "iron" camera
(Jb ) Return to the lock screen after the end of the incoming call
(Jb ) ( KK ) Tuning proximity sensor (Episode 1 - In the phone book and dialer)
(Jb ) ( QC ) Tuning proximity sensor (Episode 2 - On Lock Screen)
(Jb ) ( QC ) Addition to the "Tuning of the proximity sensor" manual (Episode 3 - Still fixed)
(Jb ) ( QC ) Showing the item "Auto-lock" when locking the type of "finger movement"
(QC ) Disabling the camera widget on the Z3 lockscreen
(Jb ) ( QC ) We make a quick unlock with the correct password , addition
(Jb ) ( QC ) (LP) Simple screen lock method anywhere
(LP )The clock on lock is sonistyle + full name of the date and month
(LP )Digital clock on the lock screen with a flashing colon + seconds + addition
(LP )We remove the operator on the lock
Analog clock on lock (correct) Turning off the display Navigation Bar Swipe Lock
(LP )Analog clock on lock (correct)
(All versions ) Blur effect (blur) on the lock screen, with settings + Addition
(N ) ( MM ) Watch SonyClock 2 of Xperia XZs
(LP ) (N) ( MM ) Editing analog clock on Locke
(N )Auto Rotate Lockscreen




Topics:

Caller:
(ICS) (Jb) Remove the popup window in SemkFone
(ICS ) ( Jb ) Incoming / Outgoing full screen call
(ICS ) ( Jb ) We increase the photo when viewing the Contact in the Honami phonebook + Addition
(ICS ) ( Jb ) How to make the dialer in the call change color with the theme
(ICS ) ( Jb ) animation of the incoming / outgoing subscriber + video as it looks
(ICS ) ( Jb ) implementation of reading two colors from the topic in the caller
(ICS ) ( Jb ) Name in three lines in the phone book
(ICS ) ( Jb ) We make the name of the operator and the phone number in two lines
(ICS ) ( Jb ) Manual to increase the photo in the call for hdpi screens
(ICS ) ( Jb ) Instructions on how to remove the "Reject with message" function
(ICS ) ( Jb ) Change of COLOR and INTERVAL of the LED when notifying about missed calls
(Jb ) Manual for reading the background from the topic in the dialer ... 4.3
(Jb ) Manual for improving the quality of cached photos when editing contacts
(Jb ) Manual for fixing photo cropping in contacts after installing mod with photo on full screen
(ICS ) ( Jb ) Vibration during a call
(GB ) ( ICS ) Receiving a call to the HOME button (2.3.4-4.0.4)
(Jb ) Make the photo in the contact view rectangular + Make the photo in the contact editor rectangular for xhdpi screens + Supplement for xxhdpi screens
(Jb ) ( KK ) We add vibration to various actions when calling in firmware based on JB (4.1, 4.2, 4.3, 4.4)
(All versions ) We start the dialer with a hidden dialer
(KK ) We make a photo of the subscriber in the call on the full screen
(Jb ) ( KK ) Turn on auto-recording conversations on Sony's stock firmware
(Jb ) ( KK ) We return the view of Favorite contacts as on 4.0-4.1
(CM11 ) We make rectangular windows in the call for Cyanogen 11
(All versions ) answer / end buttons in the caller instead of the slider
(Jb ) ( KK ) Instructions how to remove the "Reject with message" function in the caller
(Jb ) ( KK ) "Smart" radio in the call + Wiser radio for KK and JB , addition , addition
(Jb ) ( KK ) We remove the nasty sound when busy and end a call
(KK ) We make the name of the operator and the phone number in two lines + Addition
(KK ) Manual for installing a photo in full screen for 4.4
(KK ) We remove in the Phonebook contact "ICE - In Case of Emergency"
(LP) Mans on installing a full-screen photo - features for lolipop
(KK ) Proximity sensor for incoming call before picking up the handset
(KK ) Return to the lock screen after the end of the incoming call
(KK ) Advanced dialer, only for new KK (tested on Sony Xperia E3)
(KK ) buttons in InCallUi.apk
(KK ) Advanced dialer 2.0
(LP )Buttons in IncallUI features for lolipop
(KK ) switch between slider \ buttons without using third-party programs
(LP )Dialpad style material
(Jb ) Auto answer to the call when the phone approaches the ear
(LP )Remove the forwarding message during dialing
(KK ) Turn on the display of contacts on the SIM card and the choice of saving the contact on the SIM card
(LP )Reduced latency to end call
(LP )Color dialer (under the theme color)
(LP ) ( MM ) We return square avatars of contacts
(LP ) ( MM ) Remove the "traffic light" in InCallUI with incoming-outgoing
(LP )Remove search in contacts
(LP ) ( MM ) (N) Cancellation of whitening Call and SMS icons when viewing a contact for Phonebook from Z5
(KK ) Black list of numbers for KitKat
(N )Manual for installing the photo in full screen




Blinds:
(ICS) (Jb) clock in the center, date and clock in blue
(ICS ) ( Jb ) animation in the blind
(ICS ) ( Jb ) seconds in the status bar; style, fatness and color of the operator, hours,% battery
(ICS ) ( Jb ) to add buttons to the statusbar curtain
(ICS ) ( Jb ) add download speed to the curtain
(ICS ) ( Jb ) do statusbar in the color of the theme
(ICS ) ( Jb ) Code for the clock in the status bar on the left
(ICS ) ( Jb ) The date is correct in the blind on SONY phones
(ICS ) ( Jb ) How to paint the "back" button in the navbar
(Jb ) FAQ on the description and modification of bar status elements
(Jb ) Editing services.jar for the performance of the lidroid panel
(Jb ) Transparency in the open curtain on JB and remove the native switches
(Jb ) Making transparent navigation buttons (Back, Home, Recent)
(Jb ) Transparent statusbar on Jelly Bean
(ICS ) How to make a transparent curtain on Android 4.0.x
(ICS ) ( Jb ) network transfer and wifi to the left
(ICS ) ( Jb ) Change the size and color of the font alerts in the status bar
(ICS ) ( Jb ) Instructions for adding a "Clear" button in TaskSwitcher (recent applications)!
(ICS ) Blind on top of statusbar for firmware 4.0.4 , addition
(ICS ) ( Jb ) How to reduce the distance between the notification icons in the status bar.
(ICS ) ( Jb ) In the open curtain picture from the topic
(Jb ) Statusbar and Navibar gradient (as in KitKat)
(GB ) FAQ add data traffic in the curtain 2.3.4
(ICS ) ( Jb ) Manual for adding the day of the week to the status bar
(Jb ) Display in the status bar ... Enable / disable operator name through settings
(Jb ) ( KK ) A small manual for adding a flashlight button to the curtain!
(Jb ) ( KK ) How to turn a clock in an open curtain into a button that starts the alarm clock, and a date into a button that launches the calendar!
(ICS ) ( Jb ) how to implement a gradient
(Jb ) ( KK ) Return seconds to 4.3
(Jb ) Internet speed indicator (appears and disappears when the Internet is on / off)
(JB 4.3 ) We implement the advanced statusbar in the style of Meize on JB 4.3
(Jb ) How to make gradient (+ in theme color) status and nav bars using graphics
(JB 4.3 ) Adding the Settings button to the curtain
(JB 4.3 ) Adding the "Clear" button to recent applications
(ICS ) ( Jb ) Ticker
(Jb ) ( KK ) Watch in the style of NTV with flashing dots + adding seconds without editing the policy
(KK ) Combining tabs, quick switches and notifications
(JB 4.3 ) Manual for adding 15 quick switches to the blind instead of the standard 10
(ICS ) ( Jb A) rounded corners in status and nav bars
(Jb ) Manual for editing the curtain on JB 4.1.2
(Jb ) How to turn the clock in the open curtain into a button that starts the alarm clock
(Jb ) Delete operator logo in the open status bar
(JB 4.3 ) Hours in the status bar in the middle for 4.3
(KK ) A bit about transparency status and navibars on 4.4
(Jb ) The color of the notification icons in the curtain
(GB ) ( ICS ) ( Jb ) We make a lidroid with 7 togs
(Jb ) ( KK ) Quick clean up in task manager (addition)
(All versions ) We make the power button in the same size navbar with the other buttons
(JB 4.3 ) ( QC ) We make tabs (Notify / Quick Param.) In the open curtain with reading from the topic (4.3-4.4.4)
(QC ) We implement the advanced statusbar in the style of Meiz on KK 4.4.2, 4.4.4
(JB 4.3 ) ( QC ) We return the icon in the status bar and notification in the open panel when headphones are connected
(JB 4.3 ) Lock the notification panel (curtain) during calls and during a call
(Jb ) ( QC ) Add your battery in the curtain 4.3-4.4.x
(QC ) We make a curtain in the style of 4.3 to 4.4
(QC ) Instructions for adding a smart radio in the curtain
(Jb ) ( QC ) 3 minit battery in curtain 3 Minit Battery Mod(new)
(JB 4.3 ) ( QC ) Speed ​​dial in the blind
(JB 4.3 ) ( QC ) We replace the LTE switch on 2G in the blind
(QC ) We change tabs in places in the blind 444 from Z3
(QC ) When the notification is cleared, the opening of notifications, if not, then the quick notifications (blind 444 from Z3)
(JB 4.3 ) ( QC ) Call the corresponding item of Settings for a long tap to the widget in the curtain (4.3, 4.4)
How to change the view under certain conditions
(Jb ) ( KK ) Name Wi-Fi in the blind
(KK ) Five buttons in the navbar + Addition to the manual
(JB 4.3 ) ( QC ) Dynamic bars
(JB 4.3 ) ( QC ) Show data traffic from eXistenZ (Z2)
(Jb ) ( KK ) Hiding the statusbar on the lock with a choice
(KK Flashlight in Quick Settings
(KK ) Tweaks notification panel for KitKat Part 2 Part 3 Part 4
(Jb ) ( KK ) Last launched in the style of Leela
(Jb ) ( KK ) Coloring uncolored toggles in the color of the theme in the curtains
(LP )Recent applications replace "Close All" with a button in the style Material design LP Close all button in open style curtainMaterial design
(KK ) Animation Label (text or image) in the status bar
(KK ) Display CPU usage in the notification bar / quick settings
(Jb ) A simple way to NOT hide the status bar when lowering the curtain
(Jb ) Editing TASK SWITCHER in SystemUI, full-sized thumbnails
(LP )How to raise / lower the clock in the style of Miez
(LP )The color of the navbar in the color of the statusbar in applications that support it
(LP )Clock from the left, flashing dots date in two lines in the status bar + Supplement to the manual
(MIUI ) Increasing the number of switches in the curtain on the example of MIUI V5
(All versions ) Hidden buttons in the status bar
(All versions ) Blur effect
(All versions ) Blur effect (blur) in the notification panel, with settings
(KK ) (LP) Spreading / moving the navi buttons
(LP )Reduce the distance between the icons in the status bar
(LP )Swap mobile network and Wi-Fi
(Jb ) ( KK ) (LP) Return NFC icon to status bar
(All versions ) Compass in the notification bar
(LP )Adding Task Manager to LP Shutter
(LP )Move the network (wi-fi and mobile network) to the left + move the pop-up icons to the right
(LP )We change the background of notifications in the curtain and on the LP 5 + lock screen.
(MM )Remove from the status of the bar vector icons of SIM cards (1/2) MM 6 , Addition
(LP ) (MM) Rounding corners in recent apps and notifications
(LP )Get rid of Gadgets and align the "Clear All" button.
(LP ) (MM) How to remove the search bar in the "Recent Applications"
(LP ) (MM) Information about the mobile network in the curtain on single / multi-sim phones
(MM )Add your togl in the curtain on 6.0.1 for any applications
(MM )The correct clock with the date in the status bar on the left on Android 6.0
(MM )SystemUI Graphics






Notifications:

SMS, MMS:

Settings:

Battery

Walkman:

Keyboard:

Clock, Alarm Clock

Sounds

Miscellanea:
(ICS) turn off the backlight buttons
(ICS ) ( Jb ) on and off butanimation
(ICS ) various tweaks
(ICS ) ( Jb ) how to remove the "beep" when switching the volume
(ICS ) ( Jb ) how to add wallpapers to display them in xperia backgrounds
(ICS ) ( Jb ) 30 volume steps instead of 15
(ICS ) ( Jb ) by activating the wake-up function on the volume and camera buttons
(ICS ) on adding sound to Bootanimation
(ICS ) ( Jb ) How to add on-screen buttons with build.prop
(ICS ) ( Jb ) adjust the brightness of the strip on the lineup Sony NXT
(ICS ) ( Jb ) make the text in capital letters
(ICS ) ( Jb ) Remove application signature verification
(ICS ) ( Jb ) We open at once many Mini-applications (small-apps)
(Jb ) Learn to make patches for * .apk without changing the applications themselves
(ICS ) ( Jb ) Transition of the LED during charging from red to green when it reaches 100%.
(ICS ) ( Jb ) Rules for saving sound settings after reboot
(ICS ) ( Jb ) Editing Calendar application
(ICS ) How to add LUPU to the system
(ICS ) ( Jb ) We edit TaskSwitcher (in hdpi)
(ICS ) ( Jb ) How to remove the application icon so that it does not appear in the menu, but at the same time it is workable
(ICS ) ( Jb ) Edit the build.prop file
(ICS ) ( Jb ) Give Sony applications on SM! Manual how to port branded applications!
(Jb ) Fix a long update application after cleaning dalvik ....
(ICS ) ( Jb ) Radio without headphones
(ICS ) ( Jb ) Instructions how to make a clone of the program.
(All versions ) How to calculate transparency in Android , addition
(Jb ) Change the length limit of the name of the radio station in the stock radio from 8 to 100 characters!
(Jb ) ( QC A) extended volume bar + Volume steps 15-30 (what is responsible for what)
(Jb ) ( QC ) Increase the volume of conversational and external speakers + 15 steps of adjusting the volume of the conversational speaker.
(Jb ) 3D recent apps
(Jb ) Remove the "Safe Volume Notification"
(Jb ) Transparency in WeatherWidget.apk
(ICS ) ( Jb ) We remove on the camera with music
(Jb ) ( KK ) The time delay of the display of the volume panel with the parameters in the settings.
(All versions ) Blur effect in any application
(KK ) CPU frequency limit when using the touchscreen
(Jb ) ( KK ) We untie the stock Email-agent from "Auto-sync"
(All versions ) Display of the program in the settings, only if it is installed
(Jb ) ( KK ) Dual Weather widget with transparency
(Jb ) Flashlight on the volume button "Up"
(Jb ) ( KK ) Iron Lantern
(KK ) Stereo sound when an incoming call
(KK ) Player control when the screen is off
(Jb ) ( KK ) Quick start the camera when the screen is off
(Jb ) ( KK ) "Smart" turn on the button "recent applications"
(KK ) MOKEE OS ListView animation
(KK ) MOKEE OS ListView animation (corrected version)
(Jb ) Animation CRT-OFF with setting modes
(KK ) Display RAM (real time)
(Jb ) ( KK ) Rule the feature "Increase the volume of the signal"
(ICS ) ( Jb ) ( KK ) Advanced coup options
(Jb ) ( KK ) Player / FM radio control with volume buttons Version 2.0
(Jb ) ( KK ) 4-level Taskbar on the "Back" button Version 2.0
(Jb ) ( KK ) ( LP ) ( MM ) Iron Lantern 2.0 Version 3.0 Version 4.0
(Jb ) ( KK ) Proximity sensor on lock screen
(Jb ) ( KK ) Method of calling screen lock / unlock anywhere
(Jb ) ( KK ) Simulate pressing the hardware POWER button anywhere
(Jb ) ( KK ) Methods of opening / closing the notification panel anywhere
(Jb ) ( KK A thick house Version 3.0
(LP ) Indicator incoming / outgoing traffic rate
(KK ) Fix inadequate LED when disconnecting the USB cable
(Jb ) ( KK ) Wireless connection timer
(Jb ) ( KK ) Full CRT animation (ON and OFF)
(LP ) Change Background Graphics Animations click
(KK ) Return (I'll be back) GPS animations with satellite fixing / loss
(KK ) Instructions on how to activate the wake-up function using the volume and camera buttons
(LP ) ( KK ) Switching in the open curtain between stations-favorites Radio
(LP ) How to remove the "beep" when switching the volume
(All versions ) Performance of multiple gadgets at once
(KK ) ( LP ) Wireless Connection Timer 3.0
(LP ) How to remove the default Album application in Xperia Camera
(LP ) General fix off the screen with a covered proximity sensor
(All versions ) Editing the apk manifest for the ability to add to the svayp on the Home button
(All versions ) Single proximity sensor
(LP ) 3 Minit Battery Mod (new 2016)
(LP ) Rounding the corners of the task tabs
(LP ) Smart mobile network
(LP ) Add NFC icon management
(All versions ) AUTONOMOUS ADJUSTMENTS
(All versions ) Delete the pattern
(KK ) KK screen recording
(LP ) We make visualization of the music equalizer in the navbar or on the lock
(All versions ) AutoSetFF program for offline use of offline settings
(All versions ) Disable Google License Check
(Jb ) ( KK ) ( LP ) ( MM ) TASK SWITCH
(All versions ) Synchronization item headers in 2 lines
(Jb ) ( KK ) ( LP ) ( MM ) AWAKENING MOVEMENT
(LP ) ( MM ) Complete abolition of whitening icons Features for LP Addition , Supplement 2
(All versions ) Forced application background support from desktop background
(MM ) (N) Volume steps
(All versions ) Sony "Patch" application for installation on non-Sony firmware
(MM ) Tuning "Prohibition of sleep mode" (aka Doze, aka Ambient Display)
(LP ) ( MM ) (N) Sound separation notes
(LP ) ( MM ) Cancellation of whitening icons in various applications
(N ) ( MM ) Unlock xperia 20 / 23MP camera features
(All versions ) Blur Effects (New Effect Method) Blur
(N )Change the location of saving screenshots to a memory card
FIX for Shortcuts, Sliding Panel, Adding "Actions"



ERROR INSTRUCTIONS

CLUB PARTICIPANTS
art0502ver - (filling, decoration of Caps, the first curator of the club), muzontnt (ideological inspirer of this topic, for which he has a separate respect, the logos of the club, the second curator of the club), vadim-shavkunov (the third curator of the club), ivan-68 (main modeller: D), BingO_BongO , lolex , maks398tim , Shymik , valday456 , Alesandrio , garynych2010 , Forbiddendnb , DodgeWooW , maksimka43 , Jora81 , GH0ST , Frolerok , zmks , mr.dyaykin , Spaun_Studio , FaNaT-SE , Dimon55584 , xbox360k550 , Ombest , Jeka_Osokin , Nico543 , Rodger_Rulez , iL1oDor , kylikoff , Feodorus , Amid203 , Sutohiko , gurman84 , Vardan1987777 , Dj-valdis , 1206forever , Jokerank , VaDeR69 , Harbuk , SkypunkS , max56rus , VIOLIS , crazyrock , 8oldemar , ginpe , oganyan-arthur , runels , _MR.Freeze_ , ctrlSoft , Alex.Strannik , XsHaWnX , ruslanarm , xam1988 , sergos77 , legionixxx , stich8 , Arhitektor58, masan7 , mcarrowlaw , vitalysters , Heitezy , keks40


Map with the location of the members of our club.
SIGNATURE
[URL = //savagemessiahzine.com/forum/index.php?showtopic=509962[[IIIrББР[COLOR=darkblue [/ it]

CLUB HISTORY
18/10/13 - Creating a club
08/06/15 - Passed thousandth page
18/10/15 - The club is 2 years old!
13/11/15 - New club logo
14/11/15 - Added a map with the location of club members

Polls archive




Post has been editedteodim - 28.04.18, 17:01
Reason for editing: Instructions, helpful



Rep: (7747)
ctrlSoft @ 09.05.2015, 14:56*
I can not find a line .line 2117

and can not seek, it is not necessary, especially if it is not there: D
get used to that mana each one also has to make a bit of a head
in your case is very simple - download ready-made for the other body (with the same version of the firmware) and compare through Beyond Compare 3

Post has been editedivan-68 - 09.05.15, 15:06



Rep: (130)
The device Xperia E3 4.4.4. deodex, when I open a service where all these scattered online, Founded only in 2118, direct that the wrong doing
this mana doSony Ericsson XPERIA arc - Ornaments (Post Forbiddendnb # 25587750)

Post has been editedctrlSoft - 09.05.15, 15:13



Rep: (2760)
ctrlSoft @ 09.05.2015, 17:11*
direct that the wrong doing

ivan-68 @ 05/09/2015, 17:04*
download a ready for another body (such as firmware version) and compare through Beyond Compare 3

Here is the simplest you Ivan wrote and did not necessarily look for the line, as we have already said - it either does not exist or is different, you need to look for a method and edit it
sufficient to modify 444PackageManagerService.smali
and lead to
.locals 7

const / 4 v0, 0x0

return v0
.end method



Rep: (130)
vadim-shavkunov @ 09.05.2015, 16:20*
sufficient to modify 444


in terms of



Rep: (2760)
ctrlSoft @ 09.05.2015, 17:59*
in terms of

vadim-shavkunov @ 09.05.2015, 17:20*
444 sufficient to modify PackageManagerService.smali



Rep: (1044)
Happy Holidays dear fraternal peoples of all Armenians from Ukraine :): drinks:

Post has been editedoganyan-arthur - 09.05.15, 17:11



Rep: (1318)
The player controls / FM-radio volume button for KK and JB
(Tested on Sony Xperia E3, SP, and V)


Updated on 15.05.2015, the
What is changed:
Sony Camera added as an exception to zoom worked.
I posted new Smiley.

Change Log:
11.05.2015:
As it turned out,Jb when the screen is off grokost not regulated at all.
10.05.2015:
Part 2, paragraph 3 - Removed unnecessary register, which was passed to my method, since no longer used (accidentally left as a rudiment).

Thanks:
ivan-68andDodgeWooW- testers, and the second friend list - also an avid critic: D
_MR.Freeze_- I found a bug with volume control when the screen is onJB 4.3 .

A source:
From my lastmod packQC 4.4.4.

Description:
It allows you to control the volume buttons third-party music players and drain Sony FM-radio.
It works on and off the display.

Part 1. poking framework.jar
Open upandroid / media / AudioManager.smali .

1. At the end we add our method:
.method private FFsendMediaActivity (Ljava / lang / String;) V
.locals 2
.param p1, "pkg" # Ljava / lang / String;

.prologue
new-instance v0, Landroid / content / Intent;

const-string v1, "ffx.intent.action.MEDIA_ACTIVITY"

invoke-direct {v0, v1}, Landroid / content / Intent; -><init>(Ljava / lang / String;) V

const-string v1, "ffx_media_activity_pkg"

invoke-virtual {v0, v1, p1}, Landroid / content / Intent; ->putExtra (Ljava / lang / String; Ljava / lang / String;) Landroid / content / Intent;

iget-object v1, p0, Landroid / media / AudioManager; ->mContext: Landroid / content / Context;

invoke-virtual {v1, v0}, Landroid / content / Context; ->sendBroadcast (Landroid / content / Intent;) V

return-void
.end method

2. We are looking for a method requestAudioFocus (Landroid / media / AudioManager $ OnAudioFocusChangeListener; II) I
We see inside the code like this:
iget-object v1, p0, Landroid / media / AudioManager; ->mContext: Landroid / content / Context;

invoke-virtual {v1}, Landroid / content / Context; ->getOpPackageName () Ljava / lang / String;

move-result-object v6

move v1, p2

move v2, p3

invoke-interface / range {v0 .. v6}, Landroid / media / IAudioService; ->requestAudioFocus (IILandroid / os / IBinder; Landroid / media / IAudioFocusDispatcher; Ljava / lang / String; Ljava / lang / String;) I
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

move-result v8

Add the challenge of our method like this (in bold):
iget-object v1, p0, Landroid / media / AudioManager; ->mContext: Landroid / content / Context;

invoke-virtual {v1}, Landroid / content / Context; ->getOpPackageName () Ljava / lang / String;

move-result-object v6

invoke-direct {p0, v6}, Landroid / media / AudioManager; ->FFsendMediaActivity (Ljava / lang / String;) V

move v1, p2

move v2, p3

invoke-interface / range {v0 .. v6}, Landroid / media / IAudioService; ->requestAudioFocus (IILandroid / os / IBinder; Landroid / media / IAudioFocusDispatcher; Ljava / lang / String; Ljava / lang / String;) I
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

move-result v8

In the inserted code is necessary to pay attention to the case, which is the number you have is likely to change:
v6 - must contain the name of the package returned by getOpPackageName () Ljava / lang / String; Which is called just before the inserted code (for example, as I have):
invoke-virtual {v1}, Landroid / content / Context; ->getOpPackageName () Ljava / lang / String;

move-result-objectv6


3. My AudioManager.smali before and after:


Part 2 picks his android.policy.jar
Open upcom / android / internal / policy / impl / PhoneWindowManager.smali .

1. In section # instance fields add a field (in bold):
# instance fields

.field private mMediaControl: Lfreeflax / mediacontrol / MediaControl $ Main;

2. We are looking for a method init (Landroid / content / Context; Landroid / view / IWindowManager; Landroid / view / WindowManagerPolicy $ WindowManagerFuncs;) V
Beforereturn-void add the code (in bold registers whose numbers you have are likely to be different):
new-instancev6 , Lfreeflax / mediacontrol / MediaControl $ Main;

invoke-direct {v6 , p1 }, Lfreeflax / mediacontrol / MediaControl $ Main; -><init>(Landroid / content / Context;) V

iput-objectv6 , P0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mMediaControl: Lfreeflax / mediacontrol / MediaControl $ Main;

In the inserted code is necessary to pay attention to the following registers whose numbers you have most likely to change:
v6 - should be free register which can be used (refer to such method in the code registers, the contents of which in the method of repeatedly changed).
p1 - look in the header of the method, in which parameter you transferred Landroid / content / Context I have a cap like this:
.param p1, "context" # Landroid / content / Context;



IMPORTANT!!! If you are already using another my mod: "Flashlight", then inserted in the following paragraphs calling code "control the player / radio" must be before the code calls a flashlight!

3. We are looking for a method interceptKeyBeforeDispatching (Landroid / view / WindowManagerPolicy $ WindowState; Landroid / view / KeyEvent; I) J
It is necessary to accurately determine the location of the insertion of our method call.
We have to find not far from the beginning of the method, code like this (especially left an excessive amount thereof):
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mButtonLightEnabled: Z

if-eqz v3,: cond_1

if-eqz v19,: cond_1

if-nez v32,: cond_1

const / 4 v3, 0x3

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 4 v3, 0x4

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x52

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x54

move / from16 v0, v25

if-ne v0, v3,: cond_1

.line 2162
: cond_0
: try_start_0
move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mLight: Landroid / os / IHardwareService;

const / 4 v5, 0x1

invoke-interface {v3, v5}, Landroid / os / IHardwareService; ->setButtonLightEnabled (Z) V
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

.line 2171
: cond_1
: goto_1
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mScreenshotChordEnabled: Z

if-eqz v3,: cond_8

move / from16 v0, v22

and-int / lit16 v3, v0, 0x400

if-nez v3,: cond_8

.line 2172
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mVolumeDownKeyTriggered: Z

if-eqz v3,: cond_3

move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mPowerKeyTriggered: Z

if-nez v3,: cond_3

And here, between: cond_1 and : goto_1 insert the call of our method as follows (in bold):
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mButtonLightEnabled: Z

if-eqz v3,: cond_1

if-eqz v19,: cond_1

if-nez v32,: cond_1

const / 4 v3, 0x3

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 4 v3, 0x4

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x52

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x54

move / from16 v0, v25

if-ne v0, v3,: cond_1

.line 2162
: cond_0
: try_start_0
move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mLight: Landroid / os / IHardwareService;

const / 4 v5, 0x1

invoke-interface {v3, v5}, Landroid / os / IHardwareService; ->setButtonLightEnabled (Z) V
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

.line 2171
: cond_1

move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mMediaControl: Lfreeflax / mediacontrol / MediaControl $ Main;

move / from16 v0, v25

invoke-virtual {v3, v0}, Lfreeflax / mediacontrol / MediaControl $ Main; ->FFgetMediaControlState (I) I

move-result v3

if-nez v3,: cond_4


: goto_1
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mScreenshotChordEnabled: Z

if-eqz v3,: cond_8

move / from16 v0, v22

and-int / lit16 v3, v0, 0x400

if-nez v3,: cond_8

.line 2172
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mVolumeDownKeyTriggered: Z

if-eqz v3,: cond_3

move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mPowerKeyTriggered: Z

if-nez v3,: cond_3

In the inserted code is necessary to pay attention to the following registers and transitions, whose numbers you have most likely to change:
v3 , v5 - should be free registers which may be used (refer to such method in the code registers, the contents of which are further repeatedly changes in the method).
v25 - in this case at the beginning of the method I have entered key-code method getKeyCode () I :
invoke-virtual / range {p2 .. p2}, Landroid / view / KeyEvent; ->getKeyCode () I

move-result v25

: cond_4 - should make the transition to the output of the method, but with assignment of values.
I have the transition ofcond_4 : This code:
: cond_4
const-wide / 16 v5, -0x1

goto: goto_2

and if you go back ongoto_2 , We see a way out of the method:
: goto_2
return-wide v5

4. We are looking for a method interceptKeyBeforeQueueing (Landroid / view / KeyEvent; IZ) I
It is necessary to find a code like this (highlighted register, which you most likely will be different):
sparse-switchv5 ,: Sswitch_data_0

goto / 16: goto_0

Adding to the challenge found our method code (in bold):
move-object / from16 v0, p0

iget-object v2, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mMediaControl: Lfreeflax / mediacontrol / MediaControl $ Main;

move-object / from16 v0, p1

invoke-virtual {v2, v0, v5, v10}, Lfreeflax / mediacontrol / MediaControl $ Main; ->FFgetMediaControlActivity (Landroid / view / KeyEvent; II) I

move-result v2

if-nez v2,: cond_0


.line 4205
sparse-switch v5,: sswitch_data_0

goto / 16: goto_0

In the inserted code is necessary to pay attention to the following registers and transitions, whose numbers you have most likely to change:
v2 - should be free register which can be used (refer to such method in the code registers, the contents of which are further repeatedly changes in the method).
v5 - register coincides with that in the call sparse-switch v5,: sswitch_data_0 This key-code.
v10 - in this case I have written at the beginning of the method attribute press / release key:
invoke-virtual / range {p1 .. p1}, Landroid / view / KeyEvent; ->getAction () I

move-result v2

if-nez v2,: cond_3

const / 4 v10, 0x1

p1 - look in the header of the method, in which parameter you transferred Landroid / view / KeyEvent I have a cap like this:
.param p1, "event" # Landroid / view / KeyEvent;

: cond_0 - go straight to the output of the method I have in the transition as follows:
: cond_0
: goto_0
return v19


5. Throw in my folder smali Smiley:

6. My PhoneWindowManager.smali before and after:


Program management settings:

It is a slightly modified from prog UniPrefs sk0t.
Download and install as a regular application:

Attached fileMediaControlFF.apk(223.59 KB)

It is the same, but with a white background:
Attached fileMediaControlFF_white.apk(223.68 KB)


Screenshots:
Attached Image
Attached Image


Attached Image
Attached Image


Description of settings and modes of operation:
1. Activation :
Disconnected - total shutdown of the player / radio control.
Is always - is always active when playing media, when the telephone call is active.
On demand - activated by a double vibration in accordance with the setting " activation delay " (see below).

2. Activation Delay :
delay setting by pressing the volume control buttons to activate (with the active media) when selecting the type of activation "On demand ".

3. Timeout activity :
The driving activity (with the active media) when selecting the type of activation "On demand ":
Before restarting - activation control will be active until the next reboot of the smartphone.
10, 20, 30 minutes and 1 hour - the different duration of the control activity, taking into account the time of its active use.

4. Defining the display mode :
Not - control is active when any display status (on / off).
on off - control is active only when the display is off.
switched on - control is active only when the display.

5. Priority :
Normal - an active player does not pay attention to other players running.
heightened - the recommended mode, the active player completes the work of all other previously active players to free memory and conflict prevention.

6. Basic Mode :
Switching track / station - actually the main mode - it is switching.
Rewind track - fast as possible, and only those players, which have the support of its management from the outside.
The FM-radio works as a simple switch.

7. Direction :
direct - when the button is pressed, GROKOST UP - Switch / rewind FORWARD , VOLUME DOWN - BACK .
contrary - Reverse direct.

8. Switching Method :
Media Buttons - imitation of pressing media buttons with codes 0x57 (forward), 0x58 (Back).
Headset buttons - imitation double (forward) and triple (back) Headset pressing physical buttons (code 0x4f ).
Almost all the players working with the 1st method, the second behavior is different, depending on the settings of the player.
Sony FM-radio only understands the headset button, but the code is done so
that the active radio at any selected method will be active 2nd method.

9. rewind mode :
Normal - imitation of pressing and holding the media buttons with codes 0x5a (forward), 0x59 (Back).
Accelerated - imitation repeated continuously pressed media buttons with codes 0x5a (forward), 0x59 (Back).
Rewind generally support, not all players (see. Notes to fashion).
There are those who only work with the 2nd mode, and at the 1st first - rewind for a short period and continue to play.

10. Mode super-presses :
If after switching continue to hold Volume Knock, the following modes are available:
Disconnected - in the further holding nothing happens.
Switching track / station - upon further retention will switch next / previous track / station.
It operates continuously, while holding the key.
Rewind track - If you continue to hold the button after the 1st vibration - will rewind the track, if let go - Track / station switch.
Since FM-radio can not be rewound, in principle, that it works as a mode switching station.

11. Mode synchro-clicks :
Using the situation of simultaneous (or almost) by pressing both volume buttons.
Disconnected - actually disabled.
Play / Pause - by simultaneous pressing of both player / radio volume buttons will be on pause,
when pressed simultaneously again - continue playing.

12. Switch on pause :
Additional functionality of the volume keys in the "Pause" after "synchro-clicks:
Disconnected - additional functionality is disabled.
In fact, only in this mode, you can use the media to "pause" the flashlight from my other fashion.
Track - Many players are able to play without switch tracks and FM-radio - again to continue playing.
basic mode - cycles through "major modes".
Direction - cycles through "directions".
switching method - cycles through "switching techniques."
Mode super-presses - cycles through "super-tapping mode".
Rewind mode - cycles through "fast-mode".

Additional settings :
With that, I think everything is clear: delay setting thresholds and steps for the above modes.

vibration settings :
And this even more so everything should be clear: to set different vibration.


Notes to fashion:
1. Since the volume buttons are used, it is natural that when activated control the player / radio, you can not, hold down the volume, instantly increase / decrease the volume. This is a feature without which it is impossible to use a feature, so the volume of the active fiche can only be adjusted in steps.
2. Job was tested on a pile of players (more than 70 pieces) from the convenience store and a katabatic FM-radio, but with all of this, many obscure "players" have their own characteristics when switching (keep this in mind before making any dissatisfaction), work correctly only from leading normal players, to which I personally am: PowerAmp, Neutron, NRG player, jetAudio, Walkman, AIMP, Google Play, PlayerPro, VLC (the project is actively developing for the better), Shuttle, Astro player, doubleTwist and some others, including one or two "papochnyh" player.
3. Rewind possible not at all players (even on my list), but only in those who have supported its management from the outside.

Bugs:
1. As it turned out: when the display and the active management is not possible to take a screenshot, hold down the button Believe + VOLUME DOWN .
I will think...


And on the Day of Victory !!! : drinks:


Added in Attached Image


Post has been editedFreeflax - 15.05.15, 19:51
Reason for editing: Added to header



Rep: (130)
* FreeFlax,
Made, and put ....: russian:, cool just no words, which I have not yet seen.
Thank you and all the Victory Day!
P.S.A new flashlight troubles est.Konkretno your new smal ....



Rep: (1318)
4-level taskkiler on the "Back" button to KK and JB
(Tested on Sony Xperia E3, V)


Thanks:
DodgeWooW- Tester (or is it a toaster: D?).

A source:
From my lastmod packQC 4.4.4.

Description:
1. Depending on the duration of pressing (level 4) "Back" button occurs completing tasks:
current, active, active and background, even all.
2. Curtains and desktop touches.
3. Upon completion of the tasks, a popup window called the completed application,
or to the total number of completed applications / processes.
In this case, the text pop-up messages are derived not from the resources, and are formed directly in the opcode (language Russian or English).
4. There are additional settings (see. Under spoiler "Description of settings and modes of operation").

Part 1. poking SystemUI.apk
Open upcom / android / systemui / statusbar / phone / NavigationBarView.smali .

1. At the end we add our method:
.method public FFbroadcastImeWindowStatus (I) V
.locals 2
.param p1, "hints" # I

.prologue
and-int / lit8 v1, p1, 0x1

if-eqz v1,: cond_0

const / 4 v1, 0x1

: goto_0
new-instance v0, Landroid / content / Intent;

if-eqz v1,: cond_1

const-string v1, "ffx.intent.action.IME_ON"

: goto_1
invoke-direct {v0, v1}, Landroid / content / Intent; -><init>(Ljava / lang / String;) V

iget-object v1, p0, Landroid / view / View; ->mContext: Landroid / content / Context;

invoke-virtual {v1, v0}, Landroid / content / Context; ->sendBroadcast (Landroid / content / Intent;) V

return-void

: cond_0
const / 4 v1,0x0

goto: goto_0

: cond_1
const-string v1, "ffx.intent.action.IME_OFF"

goto: goto_1
.end method

2. We are looking for a method setNavigationIconHints (IZ) V
We see inside the code like this:

.locals 4
.param p1, "hints" # I
.param p2, "force" # Z

.prologue
const / 4 v2, 0x1

.line 405
if-nez p2,: cond_0

iget v1, p0, Lcom / android / systemui / statusbar / phone / NavigationBarView; ->mNavigationIconHints: I

if-ne p1, v1,: cond_0

.line 425
: goto_0
return-void

.line 406
: cond_0
and-int / lit8 v1, p1, 0x1

if-eqz v1,: cond_2

move v0, v2

.line 407
.local v0, "backAlt": Z
: goto_1
iget v1, p0, Lcom / android / systemui / statusbar / phone / NavigationBarView; ->mNavigationIconHints: I

and-int / lit8 v1, v1, 0x1

if-eqz v1,: cond_1

if-nez v0,: cond_1

.line 408
iget-object v1, p0, Lcom / android / systemui / statusbar / phone / NavigationBarView; ->mTransitionListener: Lcom / android / systemui / statusbar / phone / NavigationBarView $ NavTransitionListener;

invoke-virtual {v1}, Lcom / android / systemui / statusbar / phone / NavigationBarView $ NavTransitionListener; ->onBackAltCleared () V

Add the challenge of our method like this (in bold):
.locals 4
.param p1, "hints" # I
.param p2, "force" # Z

.prologue
const / 4 v2, 0x1

.line 405
if-nez p2,: cond_0

iget v1, p0, Lcom / android / systemui / statusbar / phone / NavigationBarView; ->mNavigationIconHints: I

if-ne p1, v1,: cond_0

.line 425
: goto_0
return-void

.line 406
: cond_0
and-int / lit8 v1, p1, 0x1

if-eqz v1,: cond_2

move v0, v2

.line 407
.local v0, "backAlt": Z
: goto_1

invoke-virtual {p0, p1}, Lcom / android / systemui / statusbar / phone / NavigationBarView; ->FFbroadcastImeWindowStatus (I) V

iget v1, p0, Lcom / android / systemui / statusbar / phone / NavigationBarView; ->mNavigationIconHints: I

and-int / lit8 v1, v1, 0x1

if-eqz v1,: cond_1

if-nez v0,: cond_1

.line 408
iget-object v1, p0, Lcom / android / systemui / statusbar / phone / NavigationBarView; ->mTransitionListener: Lcom / android / systemui / statusbar / phone / NavigationBarView $ NavTransitionListener;

invoke-virtual {v1}, Lcom / android / systemui / statusbar / phone / NavigationBarView $ NavTransitionListener; ->onBackAltCleared () V

In the inserted code is necessary to pay attention to the parameter whose number you have may change:
p1 - look in the header of the method, in which parameter you transferred "Hints" I have a cap like this:
.param p1, "hints" # I


3. My NavigationBarView.smali before and after:


Part 2 picks his android.policy.jar
Open upcom / android / internal / policy / impl / PhoneWindowManager.smali .

1. In section # instance fields add a field (in bold):
# instance fields

.field private mTaskKill: Lfreeflax / taskkill / TaskKill $ Main;

2. We are looking for a method init (Landroid / content / Context; Landroid / view / IWindowManager; Landroid / view / WindowManagerPolicy $ WindowManagerFuncs;) V
Beforereturn-void add the code (in bold registers whose numbers you have are likely to be different):
new-instancev6 , Lfreeflax / taskkill / TaskKill $ Main;

invoke-direct {v6 , p1 }, Lfreeflax / taskkill / TaskKill $ Main; -><init>(Landroid / content / Context;) V

iput-objectv6 , P0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mTaskKill: Lfreeflax / taskkill / TaskKill $ Main;

In the inserted code is necessary to pay attention to the following registers whose numbers you have most likely to change:
v6 - should be free register which can be used (refer to such method in the code registers, the contents of which in the method of repeatedly changed).
p1 - look in the header of the method, in which parameter you transferred Landroid / content / Context I have a cap like this:
.param p1, "context" # Landroid / content / Context;



IMPORTANT!!! If my other fashion already installed in your "flashlight" or "player management / FM-radio volume button"
is inserted in the following paragraphs taskkillera calling code should be placed before the call codes flashlight and control!


3. We are looking for a method interceptKeyBeforeDispatching (Landroid / view / WindowManagerPolicy $ WindowState; Landroid / view / KeyEvent; I) J
It is necessary to accurately determine the location of the insertion of our method call.
We have to find not far from the beginning of the method, code like this (especially left an excessive amount thereof):
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mButtonLightEnabled: Z

if-eqz v3,: cond_1

if-eqz v19,: cond_1

if-nez v32,: cond_1

const / 4 v3, 0x3

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 4 v3, 0x4

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x52

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x54

move / from16 v0, v25

if-ne v0, v3,: cond_1

.line 2162
: cond_0
: try_start_0
move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mLight: Landroid / os / IHardwareService;

const / 4 v5, 0x1

invoke-interface {v3, v5}, Landroid / os / IHardwareService; ->setButtonLightEnabled (Z) V
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

.line 2171
: cond_1
: goto_1
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mScreenshotChordEnabled: Z

if-eqz v3,: cond_8

move / from16 v0, v22

and-int / lit16 v3, v0, 0x400

if-nez v3,: cond_8

.line 2172
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mVolumeDownKeyTriggered: Z

if-eqz v3,: cond_3

move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mPowerKeyTriggered: Z

if-nez v3,: cond_3

And here, between: cond_1 and : goto_1 insert the call of our method as follows (in bold):
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mButtonLightEnabled: Z

if-eqz v3,: cond_1

if-eqz v19,: cond_1

if-nez v32,: cond_1

const / 4 v3, 0x3

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 4 v3, 0x4

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x52

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x54

move / from16 v0, v25

if-ne v0, v3,: cond_1

.line 2162
: cond_0
: try_start_0
move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mLight: Landroid / os / IHardwareService;

const / 4 v5, 0x1

invoke-interface {v3, v5}, Landroid / os / IHardwareService; ->setButtonLightEnabled (Z) V
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

.line 2171
: cond_1

if-nez v32,: cond_aa

move / from16 v0, v25

const / 4 v3, 0x4

if-ne v0, v3,: cond_aa

move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mTaskKill: Lfreeflax / taskkill / TaskKill $ Main;

move / from16 v0, v19

invoke-virtual {v3, v0}, Lfreeflax / taskkill / TaskKill $ Main; ->FFgetTaskKillActivity (I) V

: cond_aa


: goto_1
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mScreenshotChordEnabled: Z

if-eqz v3,: cond_8

move / from16 v0, v22

and-int / lit16 v3, v0, 0x400

if-nez v3,: cond_8

.line 2172
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mVolumeDownKeyTriggered: Z

if-eqz v3,: cond_3

move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mPowerKeyTriggered: Z

if-nez v3,: cond_3

In the inserted code is necessary to pay attention to the following registers whose numbers you have most likely to change:
v3 - should be free register which can be used (refer to such method in the code registers, the contents of which are further repeatedly changes in the method).
v19 - in this case I have written at the beginning of the method attribute press / release key:
invoke-virtual / range {p2 .. p2}, Landroid / view / KeyEvent; ->getAction () I

move-result v3

if-nez v3,: cond_2

const / 16 v19, 0x1

v25 - in this case at the beginning of the method I have entered key-code method getKeyCode () I :
invoke-virtual / range {p2 .. p2}, Landroid / view / KeyEvent; ->getKeyCode () I

move-result v25

v32 - in this case at the beginning of the method I have entered a sign of repeated keystrokes by getRepeatCount () I :
invoke-virtual / range {p2 .. p2}, Landroid / view / KeyEvent; ->getRepeatCount () I

move-result v32


4. Throw in my folder smali Smiley:

5. My PhoneWindowManager.smali before and after:


Program settings taskkillera:

It is a slightly modified from prog UniPrefs sk0t.
Download and install as a regular application:

Attached fileTaskKillFF.apk(232.87 KB)

It is the same, but with a white background:
Attached fileTaskKillFF_white.apk(232.95 KB)


Screenshots:
Attached Image
Attached Image


Attached Image
Attached Image


Description of settings and modes of operation:
1. Maximum level :
0 - Disabled - total shutdown taskkillera.
1 - Complete the current - completing only the currently active application. Blind and desktop do not touch.
2 - Terminate active - terminates all active running applications.
3 - Terminate active and background - terminates all active and background applications / processes.
4 - Terminate all - completes all that is not yet completed.

2. Clean the list of "recent" :
By default, when the completion of the task list "recent" application by pressing the corresponding button "Recents" do not touch.
If you enable this setting, the appropriate application completes the list will also be deleted.

3. Work as you type :
If we type the text, the key "BACK" takes the form of "tick down" so that you can hide the keyboard.
Default taskkiler with open keyboard is disabled to prevent accidental loss of the application is complete and typed text.
But you can disable this restriction by activating the setting.

4. Work with the active radio :
If the FM-radio application is active, then even if we stop him taskkillerom, radio will continue to operate in the background.
To avoid such an incident, the default operation is prohibited taskkillera above 1st level.
At the same time, on the 1st level taskkiler simply will not touch the FM-radio, as it bypasses the blind and a work desk.
But you can disable this restriction by activating the setting.

Additional settings :
With that, I think, everything is clear: a delay setting of the 1st pressing, step one level and duration of the vibration.



Added in Attached Image


Post has been editedFreeflax - 11.05.15, 16:11
Reason for editing: Added to header



Rep: (2760)
ctrlSoft @ 09.05.2015, 16:21*
please turn off signature verification

Attached fileservices.jar(1.41 MB)


From addMoving LED during charging from red to green when it reaches 100%.



Rep: (1318)
IRON LANTERN 2.0, JB, KK
(Tested on Sony Xperia E3, SP, and V)


Updated on 15.05.2015, the
What is changed:
Sony Camera added as an exception to zoom worked.
I posted new Smiley.

Thanks:
ivan-68andDodgeWooW- testers.

A source:
From my lastmod packQC 4.4.4.

Description:
Updated version"Iron" flashlight
Now it works with any display condition.

Instructions written as if you have not already done1st version.

Part 1. poking SystemUI.apk
1. Parse SystemUI.apk .
Adds (if not ), In line manifesto:
<uses-permission android: name = "android.permission.CAMERA" />


Open upcom / android / systemui / statusbar / phone / PhoneStatusBar.smali
2. We are looking for a method makeStatusBarView () Lcom / android / systemui / statusbar / phone / PhoneStatusBarView;
Looking method results in an exit point of wordreturn And see code like this:
const-string v0, "com.sonymobile.notes.NEW_SKETCH"

invoke-direct {p0, v0}, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->isAppInstalled (Ljava / lang / String;) Z

move-result v0

iput-boolean v0, p0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mRightVisible: Z

.line 1104
iget-object v0, p0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mStatusBarView: Lcom / android / systemui / statusbar / phone / PhoneStatusBarView;

return object v0

Now you have to insert before leaving the method of our code (in bold), but in a way,
that it does not affect the method's return value of the register:
const-string v0, "com.sonymobile.notes.NEW_SKETCH"

invoke-direct {p0, v0}, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->isAppInstalled (Ljava / lang / String;) Z

move-result v0

iput-boolean v0, p0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mRightVisible: Z

new-instance v1, Lfreeflax / flashlight / FlashLight;

iget-object v0, p0, Lcom / android / systemui / SystemUI; ->mContext: Landroid / content / Context;

invoke-direct {v1, v0}, Lfreeflax / flashlight / FlashLight; -><init>(Landroid / content / Context;) V

invoke-virtual {v1}, Lfreeflax / flashlight / FlashLight; ->FFregisterFlashLightReceiver () V


.line 1104
iget-object v0, p0, Lcom / android / systemui / statusbar / phone / PhoneStatusBar; ->mStatusBarView: Lcom / android / systemui / statusbar / phone / PhoneStatusBarView;

return object v0

In the inserted code is necessary to pay attention to the following registers whose numbers you have most likely to change:
v0 and v1 - should be free registers which may be used (refer to such method in the code registers, the contents of which in the method of repeatedly changed).
With specific reference to the case in my registerv0 Then as seen above - he gets the desired value in the " iget-object v0, p0, ... "Immediately following the inserted code, so its use is justified.

3. Throw in a folder smali My Smiley:

4. Collect and sign SystemUI.apk .
5. My PhoneStatusBar.smali before and after:


Part 2 picks his android.policy.jar

Open upcom / android / internal / policy / impl / PhoneWindowManager.smali .

1. In section # instance fields add a field (in bold):
# instance fields

.field private mFlashLight: Lfreeflax / flashlight / FlashLight $ Main;

2. We are looking for a method init (Landroid / content / Context; Landroid / view / IWindowManager; Landroid / view / WindowManagerPolicy $ WindowManagerFuncs;) V
Beforereturn-void add the code (in bold registers whose numbers you have are likely to be different):
new-instancev6 , Lfreeflax / flashlight / FlashLight $ Main;

invoke-direct {v6 , p1 }, Lfreeflax / flashlight / FlashLight $ Main; -><init>(Landroid / content / Context;) V

iput-objectv6 , P0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mFlashLight: Lfreeflax / flashlight / FlashLight $ Main;

In the inserted code is necessary to pay attention to the following registers whose numbers you have most likely to change:
v6 - should be free register which can be used (refer to such method in the code registers, the contents of which in the method of repeatedly changed).
p1 - look in the header of the method, in which parameter you transferred Landroid / content / Context I have a cap like this:
.param p1, "context" # Landroid / content / Context;



IMPORTANT!!! If you have already installed my other mod "player management / FM-radio volume button", then inserted in the following paragraphs calling code "Flashlight" should be after the code calls "player management / FM-radio volume buttons!"

3. We are looking for a method interceptKeyBeforeDispatching (Landroid / view / WindowManagerPolicy $ WindowState; Landroid / view / KeyEvent; I) J
It is necessary to accurately determine the location of the insertion of our method call.
We have to find not far from the beginning of the method, code like this (especially left an excessive amount thereof):
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mButtonLightEnabled: Z

if-eqz v3,: cond_1

if-eqz v19,: cond_1

if-nez v32,: cond_1

const / 4 v3, 0x3

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 4 v3, 0x4

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x52

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x54

move / from16 v0, v25

if-ne v0, v3,: cond_1

.line 2162
: cond_0
: try_start_0
move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mLight: Landroid / os / IHardwareService;

const / 4 v5, 0x1

invoke-interface {v3, v5}, Landroid / os / IHardwareService; ->setButtonLightEnabled (Z) V
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

.line 2171
: cond_1
: goto_1
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mScreenshotChordEnabled: Z

if-eqz v3,: cond_8

move / from16 v0, v22

and-int / lit16 v3, v0, 0x400

if-nez v3,: cond_8

.line 2172
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mVolumeDownKeyTriggered: Z

if-eqz v3,: cond_3

move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mPowerKeyTriggered: Z

if-nez v3,: cond_3

And here, between: cond_1 and : goto_1 insert the call of our method as follows (in bold):
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mButtonLightEnabled: Z

if-eqz v3,: cond_1

if-eqz v19,: cond_1

if-nez v32,: cond_1

const / 4 v3, 0x3

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 4 v3, 0x4

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x52

move / from16 v0, v25

if-eq v0, v3,: cond_0

const / 16 v3, 0x54

move / from16 v0, v25

if-ne v0, v3,: cond_1

.line 2162
: cond_0
: try_start_0
move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mLight: Landroid / os / IHardwareService;

const / 4 v5, 0x1

invoke-interface {v3, v5}, Landroid / os / IHardwareService; ->setButtonLightEnabled (Z) V
: try_end_0
.catch Landroid / os / RemoteException; {: Try_start_0 ..: try_end_0}: catch_0

.line 2171
: cond_1

move-object / from16 v0, p0

iget-object v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mFlashLight: Lfreeflax / flashlight / FlashLight $ Main;

move / from16 v0, v25

invoke-virtual {v3, v0}, Lfreeflax / flashlight / FlashLight $ Main; ->FFgetFlashLightState (I) I

move-result v3

if-nez v3,: cond_4


: goto_1
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mScreenshotChordEnabled: Z

if-eqz v3,: cond_8

move / from16 v0, v22

and-int / lit16 v3, v0, 0x400

if-nez v3,: cond_8

.line 2172
move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mVolumeDownKeyTriggered: Z

if-eqz v3,: cond_3

move-object / from16 v0, p0

iget-boolean v3, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mPowerKeyTriggered: Z

if-nez v3,: cond_3

In the inserted code is necessary to pay attention to the following registers and transitions, whose numbers you have most likely to change:
v3 , v5 - should be free registers which may be used (refer to such method in the code registers, the contents of which are further repeatedly changes in the method).
v25 - in this case at the beginning of the method I have entered key-code method getKeyCode () I :
invoke-virtual / range {p2 .. p2}, Landroid / view / KeyEvent; ->getKeyCode () I

move-result v25

: cond_4 - should make the transition to the output of the method, but with assignment of values.
I have the transition ofcond_4 : This code:
: cond_4
const-wide / 16 v5, -0x1

goto: goto_2

and if you go back ongoto_2 , We see a way out of the method:
: goto_2
return-wide v5


4. We are looking for a method interceptKeyBeforeQueueing (Landroid / view / KeyEvent; IZ) I
It is necessary to find a code like this (highlighted register, which you most likely will be different):
sparse-switchv5 ,: Sswitch_data_0

goto / 16: goto_0

Adding to the challenge found our method code (in bold):
move-object / from16 v0, p0

iget-object v2, v0, Lcom / android / internal / policy / impl / PhoneWindowManager; ->mFlashLight: Lfreeflax / flashlight / FlashLight $ Main;

move-object / from16 v0, p1

invoke-virtual {v2, v0, v5, v10}, Lfreeflax / flashlight / FlashLight $ Main; ->FFgetFlashLightActivity (Landroid / view / KeyEvent; II) I

move-result v2

if-nez v2,: cond_0


.line 4205
sparse-switch v5,: sswitch_data_0

goto / 16: goto_0

In the inserted code is necessary to pay attention to the following registers and transitions, whose numbers you have most likely to change:
v2 - should be free register which can be used (refer to such method in the code registers, the contents of which are further repeatedly changes in the method).
v5 - register coincides with that in the call sparse-switch v5,: sswitch_data_0 This key-code.
v10 - in this case I have written at the beginning of the method attribute press / release key:
invoke-virtual / range {p1 .. p1}, Landroid / view / KeyEvent; ->getAction () I

move-result v2

if-nez v2,: cond_3

const / 4 v10, 0x1

p1 - look in the header of the method, in which parameter you transferred Landroid / view / KeyEvent I have a cap like this:
.param p1, "event" # Landroid / view / KeyEvent;

: cond_0 - go straight to the output of the method I have in the transition as follows:
: cond_0
: goto_0
return v19


5. Throw in my folder smali Smiley:

6. My PhoneWindowManager.smali before and after:


Program settings flashlight:

It is a slightly modified from prog UniPrefs sk0t.
Download and install as a regular application:

Attached fileFlashLightFF.apk(214.14 KB)

It is the same, but with a white background:
Attached fileFlashLightFF_white.apk(214.29 KB)


Screenshots:
Attached Image
Attached Image


Description of settings and modes of operation:
1. Activation :
Disconnected - total shutdown flashlight.
Is always - is always active when the inactive media (music playback) and telephone calls.
On demand - activated by a double vibration in accordance with the setting " activation delay " (see below).

2. Activation Delay :
delay setting by pressing the volume / camera button to activate the flashlight when choosing the type of activation "On demand ".

3. Timeout activity:
Probably the most important setting.
The fact that the phone has to periodically sleep, avoid perezhora batteries.
Accordingly, all processes must normally programmed to give him that opportunity.
Timeout active in setting just and limits the time during which the torch is active and does not sleep processor phone.
Due to this, within a specified period of activity:
- flashlight works smoothly like clockwork.
- no uncontrolled Jora batteries when the flashlight is not used.
And most importantly - the period of activity is updated every time you turn on / off the flashlight.
That is, to put it simply:
- when you are actively using the flashlight, he is always active,
- ceased to be used, he fell asleep with the phone until the next use.

4. Modes of operation on the Volume Up, Volume Down, CAMERA:
Disconnected - off on this button.
retention - pressing - ON, releasing - OFF
pressure - press - ON, release - is ON, another pressing - OFF
Long-term retention - long press - ON, release - OFF.
Setting the duration of "pressing the Hold" menu item.
Long press - long press - ON, releasing - remains ON, another pressing (short) - OFF
Setting the duration of "pressing the Hold" menu item.
Clicking the retention - long press - ON, release - if less than "Threshold retention" - remains ON, and more - OFF.
the durations of the settings in the menu item "pressing Hold" and "Hold Threshold".
Hold with touch - long press - ON, release - if less than "Threshold retention" - OFF longer - remains ON.
the durations of the settings in the menu item "pressing Hold" and "Hold Threshold".

5. Limitation of working time:
Limiting the continuous operation of the LED, to avoid its failure.

6. Determining the display mode:
Not - Flashlight active when any display status (on / off).
on off - torch is active only when the display is off.
switched on - torch is active only when the display.

7. Press Delay
Setting pressed for some modes length (cm. Buttons above modes).

8. Hold Threshold
Setting the duration of the retention of the threshold for certain conditions (see. buttons above modes).

9. Vibration
The choice of the duration of the vibration when the LED is turned on.


Tweaks:
1. Elimination of unnecessary buttons from the menu and processing
1. Open in Polisfreeflax / flashlight / FlashLight $ Main.smali and the method FFgetFlashLightActivity (Landroid / view / KeyEvent; II) I
at the very end of his comment is not necessary because the treatment you:
- to eliminate the "Volume Up" button:
: sswitch_data_0
.sparse-switch
# 0x18 ->: sswitch_5
0x19 ->: sswitch_6
0x1b ->: sswitch_7
.end sparse-switch

: sswitch_data_1
.sparse-switch
0x0 ->: sswitch_0
0x1 ->: sswitch_1
0x2 ->: sswitch_2
0x3 ->: sswitch_3
0x4 ->: sswitch_4
.end sparse-switch
.end method

- to eliminate the "Volume Down" button:
: sswitch_data_0
.sparse-switch
0x18 ->: sswitch_5
# 0x19 ->: sswitch_6
0x1b ->: sswitch_7
.end sparse-switch

: sswitch_data_1
.sparse-switch
0x0 ->: sswitch_0
0x1 ->: sswitch_1
0x2 ->: sswitch_2
0x3 ->: sswitch_3
0x4 ->: sswitch_4
.end sparse-switch
.end method

- to eliminate the "Camera" button:
: sswitch_data_0
.sparse-switch
0x18 ->: sswitch_5
0x19 ->: sswitch_6
# 0x1b ->: sswitch_7
.end sparse-switch

: sswitch_data_1
.sparse-switch
0x0 ->: sswitch_0
0x1 ->: sswitch_1
0x2 ->: sswitch_2
0x3 ->: sswitch_3
0x4 ->: sswitch_4
.end sparse-switch
.end method

2. DisassembleFlashLightFF.apk and in res \ xml \ prefs.xml remove the following line to exclude buttons:
- to eliminate the "Volume Up" button:
<ui.ListPreference android: entries = "@ array / fl_volumeupkey_entries" android: title = "@ string / fl_volumeupkey_array" android: key = "FFFLvolumeupkey" android: defaultValue = "0" android: entryValues ​​= "@ array / fl_volumeupkey_values" />

- to eliminate the "Volume Down" button:
<ui.ListPreference android: entries = "@ array / fl_volumedownkey_entries" android: title = "@ string / fl_volumedownkey_array" android: key = "FFFLvolumedownkey" android: defaultValue = "0" android: entryValues ​​= "@ array / fl_volumedownkey_values" />

- to eliminate the "Camera" button:
<ui.ListPreference android: entries = "@ array / fl_camerakey_entries" android: title = "@ string / fl_camerakey_array" android: key = "FFFLcamerakey" android: defaultValue = "0" android: entryValues ​​= "@ array / fl_camerakey_values" />

Collect, sign and reinstallFlashLightFF.apk .


Notes to fashion:
1. Since the volume buttons are used, it is natural that when you activate the flashlight turned on the display, you can not, holding the volume, instantly increase / decrease the volume. This is a feature without which it is impossible to use a feature, so the volume of the active fiche can only be adjusted in steps.

Bugs:
1. As it turned out: with display and active flashlight impossible to take a screenshot, hold down the button Believe + VOLUME DOWN .
I will think...


Added in Attached Image


Post has been editedFreeflax - 25.06.15, 11:36



Rep: (928)
FreeFlax @ 10.05.2015, 18:50*
Bugs:
1. As it turned out: with display and active flashlight impossible to take a screenshot, hold down the + button believe VOLUME DOWN.
I will think...

I have worked on 4.3 screenshot;)



Rep: (1047)
Unfortunately treksvitch 4.3 has some bugs. For example, if the screen turns off to produce an increase / decrease the volume, nothing happens.
If freezing the screen to change the volume level, and then change protivopopolozhno, the player stops.
After some tests and does no longer turns on the screen and appearing power-menu
As you noticed, I was disappointed, it seems have to give up such a wonderful creation: hysterics:



Rep: (866)
* _MR.Freeze_, maybe something wrong done? I have everything working fine when another spacecraft was.



Rep: (1318)
* _MR.Freeze_,
How about read the description of the operating modes?
or perhaps it is Russian?
_MR.Freeze_ @ 11.05.2015, 07:47*
if the screen turns off to produce an increase / decrease the volume, nothing happens. If freezing the screen to change the volume level, and then change protivopopolozhno, the player stops.

items "Definition display mode", "synchro-tapping mode", "Threshold synchro-clicks" from the instruction.
and the rest would not hurt to check.
_MR.Freeze_ @ 11.05.2015, 07:47*
It seems have to give up such a wonderful creation

no one is forcing.
_MR.Freeze_ @ 11.05.2015, 07:47*
It has some bugs

I disappoint you, but it does not have bugs, except that I myself have described.
crazyrock @ 11.05.2015, 09:00*
I have everything working fine when another spacecraft was.

will he could not work, even when you have KK was.
it prinitsipialno other treksvitch, and he first appeared here on May 9 evening;)

Post has been editedFreeflax - 11.05.15, 09:20



Rep: (1047)
* FreeFlax, He think not reads? Okay, later still povozhus, I'll try.
It is for this and did not dislike a lot of settings, such as can be completely set up for themselves and everything is clear, but sometimes can happen neponyatki
* FreeFlax, for you do not have any complaints: drinks:



Rep: (130)
* FreeFlax,
Maybe I'm the only one unhappy ... It does not work with the active switching displee.Snachala sinned on Wolf put Poweramp Full Version, also not pashet.Obyasni pliz what may be caused by it?



Rep: (1318)
* _MR.Freeze_,
* Login Dead,
probably it had to write a spoiler "important":
1. Without performing the 1st part of work at all will not be.
2. Correctly insert the caller in PhoneWindowsManager.smali (especially truePart 2, p. 3 ).
3. No other pereklyuchalok or something else, use the volume keys should not be in principle.
4. Before you say that something is not working, as an option - to make a clean firmware.
5. He said more than once - I do not know what fashion hposed modules or programs you have installed, which can interfere.

and further:
As it is written in the notes to the mod:Job was tested on a pile of players (more than 70 pieces)
And I ran out, even in a row, they hung in my mind until the android has not went crazy,
but everything worked and switches.

...
If JB 4.3 someone really off the volume on the screen can not be adjusted, try to replace one of my Smiley.


Post has been editedFreeflax - 11.05.15, 10:49



Rep: (1047)
* FreeFlax, twisting settings, like how everything was like ntszhno. True sound and can not be adjusted on the screen is off :(Let's try that will

Post has been edited_MR.Freeze_ - 11.05.15, 10:54



Rep: (130)
* FreeFlax,
You will not believe this, but just that without freymyare all was got on udivlenie.1 part fulfilled, but zero sense, probably code and the truth is not to vstavil.U I already had your flashlight, put in right behind him in front of return-void


Full version    

Help     rules

Time is now: 10/11/20, 05:57