As all great thing it too will come to an end.
BAD ASS NOTE 4 + BAD ASS GEAR S
As all great thing it too will come to an end.
As all great thing it too will come to an end.
BAD ASS NOTE 4 + BAD ASS GEAR S
I'm a lil late to the party, actually really late....but just flashed this last night and I must say this rom with Paperkut theme is sick! Really liking all the features and customization. The phone flies without all that extra TouchWiz crap. Thanks for making this :thumbup:
Sent from my Galaxy Note3 using SkyBlue Tapatalk 2
OK, I have the solution finally after few days code tracking in the smali... It's so simple that makes me wonder why took me so long...
Anyway here we go... Open com\android\phone\InCallScreen.smali and search for:
Code:const/16 v1, [COLOR="Red"]0x1194[/COLOR]
There is 3 instances of this line enclosed in .packed-switch code which controls how long that nasty end_call screen stays ON depending on different phone features and Disconnect Causes. Those v1 values along with some more in there are milliseconds in HEX. So the value above is 4500 ms. I changed those 3 values to 0x0
Code:const/16 v1, [COLOR="SeaGreen"]0x0[/COLOR]
and now the phone goes directly to previous screen after call ends.
I didn't play around to see which line does what in different Disconnect Causes... the generated java code doesn't help here, but if you want you can dig deeper and make all these values user customizable in TSM Parts for different situations I guess, let say no screen in normal disconnect, but user defined time for the screen if call is lost to redial or send txt and so on.
And finally for better visual experience(not necessary but you can see the difference) you can delete or comment out these 3 lines in red(search for the green string, it's the only one in that smali):
Code:.line 5278 :cond_4e const-string v1, "[COLOR="SeaGreen"]- onDisconnect: switching to \'Call ended\' state...[/COLOR]" const/4 v3, 0x1 invoke-direct {p0, v1, v3}, Lcom/android/phone/InCallScreen;->log(Ljava/lang/String;Z)V [COLOR="Red"] .line 5279 sget-object v1, Lcom/android/phone/InCallUiState$InCallScreenMode;->CALL_ENDED:Lcom/android/phone/InCallUiState$InCallScreenMode; invoke-direct {p0, v1}, Lcom/android/phone/InCallScreen;->setInCallScreenMode(Lcom/android/phone/InCallUiState$InCallScreenMode;)V[/COLOR]
Hope I helped whit this one...:good:
Thanks for that.
When you write "com\android\phone\InCallScreen.smali", in which APK is that? Which one should I decompile?
And also: would this mod applicable to a TW 5.0 ROM?
Thanks
[u]Version 2.X - 3/13/14[/u]
Cleaned up number-of-toggles-to-display code
- Now max is better linked to SecSettings
- Can no longer add beyond max/remove beyond min
- Capped TSM number picker range relevant to selection you are number-picking for
- Control of toggle order/display back to SecSettings
ACTUALLY made it so camera didn't pause music while taking pic/recording
SecEmail behaves w/out FC if MyMagazines is removed <- thanks to nijel8 for starting this one
Restructured TSMParts
- "Goller-ized" it - you are special if you know what that means
- Tried to make entries make more sense related to their checked status
Fixed some issues related to volume wake and volume music controls
Added in package names to application manager/app ops in secsettings <- thanks to nijel8 for the know-how on this
Cleaned up tons of little things in TSMParts
- Updated images <- thanks to nijel8 and wally3614 for this
- Removed code no longer being used
TSMParts additions
-- GENERAL --
- Can now choose elements (outside of power/reboot) to show in power menu
- Can set longpress up/down actions for music controls <- thanks to team n3bula for the idea
-- Skip/Previous/Pause
-- STATUSBAR --
- Enable statusbar brightness control <- thanks to C3C076/GravityBox for a ton of helpful code, and VZW DroidCharge 2.3.6 TW
-- Only works if autobright is off
-- Longpress statusbar to start, slide left/right to control
-- Won't work if sview cover is closed
- Enable doubletap statusbar to make phone sleep/screen off <- thanks to sbreen94 for the files, and to BOOTMGR for making the mod
-- Won't work if sview cover is closed
- Can now choose number of toggles to display separate from a max allowed
-- Landscape/portrait
-- MISC --
- Bypass exchange security
-- YOU SHOULD THINK OF THIS AS MORE OF A ONE-TIME TOGGLE
-- Make your decision on this prior to setting up an account - once asked to set a secure lock AND DOING SO it will be there regardless of this setting
- Enable on the fly thread and conversation mms send/receive text color <- HUGE THANKS to nijel8 as this mod would not be possible without his work
-- NOTE: Thread (list of all conversations) requires exit/re-enter to change
-- NOTE: Mms in thread view will not be colored
- Option to choose what key to use as default multimodal key in SamsungIME <- thanks to nijel8 for pointing me in the right direction on this
Also - I added a funny... can you find it? <- thanks to team n3bula for the idea of where to put it :)
[u]Version 2.0 - 1/26/14[/u]
Minor fixes to a few things
- Camera no longer alters transition animation when opened from secure lock
- Camera no longer pauses music during vid/pic taking
- Edits to allow for old-but-standard battery icon mod flashing
- Emoji "fix" for SecMms (return to stock must-be-mms status), and reply-all activated
- Updated a layout for aosp lockscreen to handle dpi changes
Made things ATT-capable
- ATT includes some relevant apn, csc, build.prop, apk files thanks to itsmikeramsay
- Removes wifi calling w/out FC issues
- Edits to reboot menu and data icon mod to better reflect ATT
- Custom carrier affects statusbar carrier as well
-- color and text
Same approach was used for Rogers with files thanks to Turilo
Allow any widget for lockscreen widget
Unused app section opened in JobManager
Forced on the "exit" option in stock browser
Block number settings opened in SecSettings
Updated power menu icons to a neutral white thanks to wally3614
Disabled the "wifi turning off" popup when enabling hotspot with wifi on
Made some edits to try and lighten the load for flashbar list generating
Added TSM toggle
- click to go to TSM Parts
- longpress to open penwindow
TSM Parts updates
- New TSM logo/icon thanks to wally3614
- Added link to PageBuddy settings
--GENERAL--
- Navbar on/off on-the-fly
-- Also in powermenu
-- Edited to force all 4 buttons to always show
-- Framework-res edits made to make bar smaller
-- Screenshot combo still works :)
- Custom aircommand text color option
--DEVICE INFO--
- Added in links to remainder of testsettings options
-- Device information
-- WiFi information
--LOCKSCREEN SETTINGS--
- Home button wake on/off
- AOSP lockscreen haptic on/off
--STATUSBAR SETTINGS--
- Finished TSM disabled options
-- Statusbar color options
-- Notification pulldown color options
- Added option to turn on/off ATT statusbar carrier text
--MISC SETTINGS--
- Moved ascending ringer to misc from general
- Added in option to skip call ended screen
- Added in on/off for unlimited multiwindow
[u]Version 1.0 - Initial release 12/27/13[/u]
Deodexed
Busybox
SuperSU
Init.d support for stock kernel
Support stock or custom bootanimation
- Replaced shutdown with international
No CIQ
No Knox (thanks to sshafranko for finding many I missed :) )
Attempts at neutering SysScope
- Shows as System Official
BUILD.PROP TWEAKS!!!
- Just kidding, though to be fair I did do 2 things:
-- Added mod version line
-- changed ro.securestorage.support from true to false
Increased recipient limit when sending sms/mms via SecContacts
Disabled some annoying warnings in SecSettings
Disabled some annoying warnings on mobile data/airplane toggles
Disabled the popup explaining how to clear defaults when one is set
Unlocked and unblocked a few things in SecSettings
- Unlocked Font Clarity option
- Unblocked font apk checks for sideloaded font apks
- Added in access to spellchecker settings
-- requires google keyboard to be fully funtional...???
-- though don't need to USE it...?
- Unlocked VZW tabs on/off option (hit Menu while in SecSettings)
- Opened access to the native "App Ops" for per-app permission handling
Enabled Autobrightness adjustment (SecSettings and SystemUI)
"Unlocked" a few extra toggles (again, SecSettings and SystemUI)
- Also added Wifi Calling toggle (same locations)
- As well as a Torch toggle (yep, same locations again)
SecMms edits
- raised restrictions on recipient limits, rate of sending
- some emoji-allowing attempts
- folder view enabled as an option
- attempted to increase mms image-attachment quality
- screen on/off option
- save messages
- no "no data" warning shown when sending mms over wifi w/ wifi calling on and data off
SecLauncher4 edits
- snap grid animation duration decreased
SamsungCamera2 edits
- disabled warnings involving low power for camera/camcorder/flash use
- allow video recording during calls
- transition animation scale no longer changed when opening camera
Eliminated Nfc odex-file verification
Added a few wallpapers to the wallpaper chooser
Minor csc edits
- Made stock APN editable
- Removed tethering APN
- Added in epc.tmobile apn
- Made stock bookmarks editable
Removed TetheringProvision.apk
- Also removed its calls
Unlimited multiwindow/multiinstance/penwindow apps
- Pen window is optional in case you like the pen window manager app
- Does not include things like SHealth, Camera, or Dialer (multiwindow)
-- Plus a few more - can add package names to /system/etc/fbs_exclusions.txt
- No issues w/ scrolling in edit window or drag-is-not-drop scenarios
Lockscreen widget limit increased from 5 to 8
- Didn't want the "page" indicators to get messed up :)
Extended power menu
- Includes 4way reboot
- Modified it a bit for sview (reboot just reboots)
- Screenshot
- Activated data toggle
- Can be made smaller/preventable-on-lockscreen in TSM
System-wide transparency mod thanks to Alexia
Restructered and transparent pulldown thanks to Alexia
TSMParts apk included (Settings > Device tab)
- Did some restructuring :)
- Color Picker has increased in size
- All links to things outside the apk are working
- List and color preference summaries update with selections made
--GENERAL--
- CRT animation (crt, fade, or stock)
- Full/low battery notification on/off
- Full/low battery notification on/off
- Low power screen dim on/off
- Wake on un/plug on/off
- Steady ringer option
- Ear protection on/off
- Power menu minimalizer (only show power/reboot - includes sview)
- Option to allow volume rocker to control cursor in text fields
- Long press volume rocker song skip
- Double press home - can set to whatever voice search is available
-- should still work even if SVoice home button is disabled or if SVoice is removed
- Long press menu - can set to GoogleNow
- Long press app kill
-- Can set to menu or back - stock functionality used when done on whitelisted app
- NFC mod - screen on, that + lockscreen, or that + screen off
-- NOTE: screen off option will likely stop working if the device goes sleepy time deep enough
- Popup browser popout target
-- Requires slightly edited popupbrowser from Tweaked Note2
--LOCKSCREEN--
- Option to use different uncolored image for sview background (currently just black)
- Disable lockscreen (separate from SecSettings option)
- Option to use AOSP lockscreen
- Custom lockscreen carrier text option
-- Can also colorize carrier text
- Option for quick pass/pin unlock (no need to press ok if pass/pin correct)
- Option to allow widgets w/ secure lockscreens
-- includes link to fav apps/camera and multi-widget on/off in SecSettings
- Option to disable power menu on keyguard/lockscreen
- Lockscreen flashlight (uses Home button)
-- long press on, long press off when screen on
-- remains on with screen off
-- turns off when screen turns back on or unlock
- Option for volume-as-wake
-- Requires kernel support - or device to be plugged in
- Option to use custom lockscreen timeout
-- Can opt for 3-30 sec vs stock 5/10
- Finger ink on/off for ripple unlock method
- Choose from stock or custom ink color for ripple unlock method
--STATUSBAR--
- Opt to hide toggles from notification area
- Choose number of toggles to show in notification area (3-20)
- Option to use that same limit on the toggle panel area
- Option to use and set custom color for toggles
-- only affects on/dim icons, off is still grey
-- avoid transparency if you don't want the color of the actual image file to show
-- avoid this altogether if using detailed themed toggle images
- Option to use and set custom color for toggle text
-- set to fully transparent to have text not show :)
- AM/PM off/small/normal option
- Clock right/left/center/off option
- Clock coloring options (both statusbar and pulldown)
- Small/large day-of-week option for statusbar clock
- Option to show icons for actual data connection type
- Option to have data icon persist while on wifi
- Show signal dbm text option
-- On/off for dbm label
-- Color options based on signal strength
- Battery bar options
-- Miui or mirror centered
- Hide/show signal bars
- Ability to colorize battery text/bar
- Hide/show battery icon
- Ability to choose from 1 of three different icon types
-- currently its green stock, white circle, red gauge -- THANKS FOREVERLOCO!
- Option to move clear button to header of notification area
- Option to show/hide No notification text bar from notification area
- Option to show/hide Ongoing text bar from notification area
- Option to show/hide Notification text bar from notification area
- Option to show custom carrier text
-- Can edit and colorize text
- Hide NFC
- Hide smart screen
- Hide blocking notification
- Hide IME
- Hide alarm
- Hide bluetooth
- Hide sound
- Hide wifi calling notification (statusbar only)
- Hide no sim
--MISCELLANEOUS--
#Dialer/Contacts
- Show record button in call on/off
- Show call button in contacts on/off (small icon in call log...)
#Launcher
- Scrollable wallpaper on/off
- Infinite loop on/off (affects app drawer as well)
- Hide vs. Disable app option
- Up swipe targets GoogleNow or MyMagazine
- Option to disable home-on-homescreen MyMagazines trigger
#Mms
- Smiley button instead of Enter on/off
- Server vs phone timestamping
- Sms/Mms logging on/off
#SamsungIME
- Long press duration stock (500ms) or short (250ms)
#Multiwindow
- On/off for unlimited penwindow app
- Multiwindow style options - can change on-the-fly
-- stock, floating, floating+dock, floating+quad, or floating+dock+quad
--OPEN PEN WINDOW WITHOUT SPEN--
- Opens w/ default dimensions
Updated many system apps
- Includes handwriting fixes :)