[DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms..etc [9/Dec/2013]

Kishan14

Senior Member
Nov 23, 2013
355
543
0
27
mumbai
I had the same issue a while ago. In one of the $99 files there an access$ value that looks for mContent i had to change mine to reflect the actual mContext access value

Sent from my SM-N9005 using XDA Premium 4 mobile app
Ok buddy ll chk as i reach home.. N ll report u

Sent from my GT-I9082 using Tapatalk
 

Kishan14

Senior Member
Nov 23, 2013
355
543
0
27
mumbai
hello

I had the same issue a while ago. In one of the $99 files there an access$ value that looks for mContent i had to change mine to reflect the actual mContext access value

Sent from my SM-N9005 using XDA Premium 4 mobile app
buddy i saw access$700.. in both case are same... can u check where i m wrong.. ll upload the files required by you..
 

pandian8552

Senior Member
Apr 20, 2014
73
27
0
coimbatore
[help] how can i edit secsettings.apk

please help how can i edit secsettings.apk
i used apktool but it didnit work
i sawed in your post apk multi tool i dont know how to use it
please guide me
and another doubt for modding secsettings.apk which i want to install first framework-res.apk or com.htc.resources.apk iam using galaxy note
and send me the link for apk multitool which i want to download for error free compiling.

i am waiting for your reply:)
 

Kishan14

Senior Member
Nov 23, 2013
355
543
0
27
mumbai
please help how can i edit secsettings.apk
i used apktool but it didnit work
i sawed in your post apk multi tool i dont know how to use it
please guide me
and another doubt for modding secsettings.apk which i want to install first framework-res.apk or com.htc.resources.apk iam using galaxy note
and send me the link for apk multitool which i want to download for error free compiling.

i am waiting for your reply:)
the apktool u downloaded is outdated i guess... google it and download 1.5.2 version... then replace apktool.jar to the place where ur old apktool.jar is located..
first install framework-res.apk and twframework-res.apk .. use this command "apktool if framework-res.apk" and "apktool if twframework-res.apk"
later to decompile SecSettiongs.apk use this command "apktool d SecSettings.apk" make changes and to compile use this command "apktool b SecSettings" .. revert here if any other problem... ;)
 

lacoursiere18

Senior Member
Jan 9, 2013
4,182
7,001
0
LbTs
Heyy @majdinj
i was following your tutorial on 4-way Reboot Menu..
i did all steps provided by you... after pushing android.policy.jar my fone started properly..
but when i press and hold the power key and tapped 'Reboot'.. the device freezes and it didn't got any reboot menu and the device automatically soft rebooted... Thanks
If you pull a log while the phone hot boots that will show exactly why it is doing so..just a thought instead of waiting for someone else to find what they "think" maybe the issue;)

Sent from my SCH-I605 using XDA Free mobile app
 

Kishan14

Senior Member
Nov 23, 2013
355
543
0
27
mumbai
If you pull a log while the phone hot boots that will show exactly why it is doing so..just a thought instead of waiting for someone else to find what they "think" maybe the issue;)

Sent from my SCH-I605 using XDA Free mobile app
Buddy u gav me gud idea of taking log... That ll be better... Thnx mahn... Whole day i was figuring where i m wrong but failed... This is gud idea... Ll try by tomorrow as its late night nw... :D
btw Thnx bro for helping... Still if i fail to find pls guide me...
1 more thing... Will this stuff work on 4.2.2??

Sent from my GT-I9082 using Tapatalk
 

lacoursiere18

Senior Member
Jan 9, 2013
4,182
7,001
0
LbTs
Buddy u gav me gud idea of taking log... That ll be better... Thnx mahn... Whole day i was figuring where i m wrong but failed... This is gud idea... Ll try by tomorrow as its late night nw... :D
btw Thnx bro for helping... Still if i fail to find pls guide me...
1 more thing... Will this stuff work on 4.2.2??

Sent from my GT-I9082 using Tapatalk
Well yea.. Might be a little different here and there.. but yea.

Sent from my SCH-I605 using XDA Free mobile app
 
  • Like
Reactions: Kishan14

pandian8552

Senior Member
Apr 20, 2014
73
27
0
coimbatore
the apktool u downloaded is outdated i guess... google it and download 1.5.2 version... then replace apktool.jar to the place where ur old apktool.jar is located..
first install framework-res.apk and twframework-res.apk .. use this command "apktool if framework-res.apk" and "apktool if twframework-res.apk"
later to decompile SecSettiongs.apk use this command "apktool d SecSettings.apk" make changes and to compile use this command "apktool b SecSettings" .. revert here if any other problem... ;)
I successfully done
One help before signing the apk file
In the original settings. apk by opening it in winrar copying META.inf to modified apk in that what is the compression level I want to set store or normal
 

Kishan14

Senior Member
Nov 23, 2013
355
543
0
27
mumbai
I successfully done
One help before signing the apk file
In the original settings. apk by opening it in winrar copying META.inf to modified apk in that what is the compression level I want to set store or normal
Lisn after compiling... Open your original apk with 7zip drag meta-inf to build->apk then later again compile ur same decompiled folder... Done.. U have signed your apk.. :)
 
  • Like
Reactions: pandian8552

Kishan14

Senior Member
Nov 23, 2013
355
543
0
27
mumbai
I havent mate it all looks fine to me. What phone and android version are you using? Upload the log so we can take alook

Sent from my SM-N9005 using XDA Premium 4 mobile app
I ll attach d log in few hours as m out now.. M using samsung galaxy grand Duos running 4.2.2..

Sent from my GT-I9082 using Tapatalk
 

isaak

Senior Member
Sep 21, 2013
357
216
0
With this call recording mod I obtain a long series of crashes in process com.android.phone.

Using Android 4.1.2 - S Advance (I know for sure this mod is fully compatible with my device).

I'd like to be able to read this logcat, because it's the only thing I have to address this issue:

Code:
I/dumpstate( 6585): begin

E/Watchdog( 5268): [email protected] 3

W/ThrottleService( 5268): unable to find stats for iface rmnet0

D/VoldCmdListener( 1809): asec list

I/Dumper  ( 1842): 2:   578817311: User action was trigged : dump############################################################################

I/Dumper  ( 1842): 

E/Dumper  ( 1842): 5:   578817403: User action: dump logging circular buffer and context

E/Dumper  ( 1842): 5:   578817433: Triggering circular buffer dump in /data/ste-debug

I/STE-SYSLOG-admsrv( 1842): Dumped 103295 bytes to  /data/ste-debug/STE-SYSLOG-admsrv.txt (buffer size : 1048576)

I/stedump ( 1837): #### MEDIASERVER AND ADMSRV STEDUMP REQUESTED ####

I/stedump ( 1837): STEDUMP-MM: Retrieving DSP trace buffers...

I/stedump ( 1837): STEDUMP-MM: Done retrieving dsp buffers

I/stedump ( 1837): STEDUMP-MM:  ### writing /data/ste-debug/dump/admsrv in dump

I/stedump ( 1837): /data/ste-debug/dump/admsrv: Operation not permitted

I/stedump ( 1837): STEDUMP-MM:  ### writing /data/ste-debug/dump/mediaserver in dump

I/stedump ( 1837): done

I/stedump ( 1837): #### DUMPING DSP LOGS ####

I/stedump ( 1837): Dumping sia buffer on request

I/stedump ( 1837): Dumping sia circular buffer in /data/ste-debug/sia_trace_dump

I/stedump ( 1837): sia EMPTY buffer will not be dumped

I/stedump ( 1837): Dumping sva buffer on request

I/stedump ( 1837): Dumping sva circular buffer in /data/ste-debug/sva_trace_dump

I/stedump ( 1837): sva EMPTY buffer will not be dumped

I/STE-SYSLOG-admsrv( 1842): gzipping ste-syslog circular buffer to /data/ste-debug/STE-SYSLOG-admsrv.txt.gz

I/STE-SYSLOG-admsrv( 1842): Dumped circular buffer in /data/ste-debug/STE-SYSLOG-admsrv.txt in 32 milliseconds

I/dumpstate( 6585): done

W/AlarmManager( 5268): FACTORY_ON= 0

W/ResourceType( 5268): Failure getting entry for 0x010802c8 (t=7 e=712) in package 0 (error -75)

D/WindowManager( 5268): PhoneWindowManager: focusChangedLw

D/STATUSBAR-StatusBarManagerService( 5268): setSystemUiVisibility(0x0)

D/STATUSBAR-StatusBarManagerService( 5268): manageDisableList what=0x0 pkg=WindowManager.LayoutParams

E/ActivityManager( 5268): App already has crash dialog: ProcessRecord{427f8b48 5558:com.android.phone/1001}

W/BroadcastQueue( 5268): Timeout of broadcast BroadcastRecord{42559568 android.intent.action.BOOT_COMPLETED} - [email protected], started 64731ms ago

W/BroadcastQueue( 5268): Receiver during timeout: ResolveInfo{427f5168 com.android.mms.transaction.MmsSystemEventReceiver p=0 o=0 m=0x108000}

I/libblt_hw( 5227): Library opened (handle = 0, fd = 33)

D/KeyguardViewMediator( 5268): setHidden false

I/Process ( 5268): Sending signal. PID: 6348 SIG: 3

I/dalvikvm( 6348): threadid=3: reacting to signal 3

I/dalvikvm( 6348): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 5268): Sending signal. PID: 5268 SIG: 3

I/dalvikvm( 5268): threadid=3: reacting to signal 3

E/Sensors ( 5268): poll() failed (Interrupted system call)

I/Process ( 5268): Sending signal. PID: 6569 SIG: 3

I/dalvikvm( 6569): threadid=3: reacting to signal 3

I/dalvikvm( 5268): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 5268): Sending signal. PID: 5466 SIG: 3

I/dalvikvm( 5466): threadid=3: reacting to signal 3

I/dalvikvm( 6569): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 5268): Sending signal. PID: 5623 SIG: 3

I/dalvikvm( 5623): threadid=3: reacting to signal 3

I/dalvikvm( 5466): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 5268): Sending signal. PID: 5567 SIG: 3

I/dalvikvm( 5567): threadid=3: reacting to signal 3

I/dalvikvm( 5623): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 5268): Sending signal. PID: 5608 SIG: 3

I/dalvikvm( 5608): threadid=3: reacting to signal 3

I/dalvikvm( 5567): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 5268): Sending signal. PID: 5595 SIG: 3

I/dalvikvm( 5595): threadid=3: reacting to signal 3

I/dalvikvm( 5608): Wrote stack traces to '/data/anr/traces.txt'

I/dalvikvm( 5595): Wrote stack traces to '/data/anr/traces.txt'

D/dalvikvm( 5268): WAIT_FOR_CONCURRENT_GC blocked 0ms

D/dalvikvm( 5268): GC_EXPLICIT freed 1290K, 66% free 21398K/61191K, paused 5ms+13ms, total 196ms

E/ActivityManager( 5268): ANR in com.android.mms

E/ActivityManager( 5268): Reason: Broadcast of Intent { act=android.intent.action.BOOT_COMPLETED flg=0x10 cmp=com.android.mms/.transaction.MmsSystemEventReceiver }

E/ActivityManager( 5268): Load: 1.8 / 1.75 / 1.01

E/ActivityManager( 5268): CPU usage from 48212ms to 0ms ago:

E/ActivityManager( 5268):   2.4% 1854/adbd: 0.2% user + 2.2% kernel / faults: 14 minor

E/ActivityManager( 5268):   1.8% 4/kworker/0:0: 0% user + 1.8% kernel

E/ActivityManager( 5268):   1.1% 5268/system_server: 0.7% user + 0.3% kernel / faults: 554 minor

E/ActivityManager( 5268):   0.6% 5227/surfaceflinger: 0.2% user + 0.3% kernel / faults: 2 minor

E/ActivityManager( 5268):   0.4% 140/irq/72-ab8500: 0% user + 0.4% kernel

E/ActivityManager( 5268):   0.2% 5/kworker/u:0: 0% user + 0.2% kernel

E/ActivityManager( 5268):   0.1% 549/kworker/u:2: 0% user + 0.1% kernel

E/ActivityManager( 5268):   0.1% 977/mmcqd/0: 0% user + 0.1% kernel

E/ActivityManager( 5268):   0.1% 5466/com.android.systemui: 0% user + 0% kernel / faults: 104 minor

E/ActivityManager( 5268):   0.1% 1809/vold: 0% user + 0.1% kernel / faults: 18 minor

E/ActivityManager( 5268):   0% 1827/netd: 0% user + 0% kernel / faults: 7 minor

E/ActivityManager( 5268):   0% 5229/zygote: 0% user + 0% kernel / faults: 63 minor

E/ActivityManager( 5268):   0% 5230/kworker/1:2: 0% user + 0% kernel

E/ActivityManager( 5268):   0% 1//init: 0% user + 0% kernel / faults: 30 minor

E/ActivityManager( 5268):   0% 958/cfinteractiveq: 0% user + 0% kernel

E/ActivityManager( 5268):   0% 5636/com.teslacoilsw.launcher: 0% user + 0% kernel / faults: 67 minor

E/ActivityManager( 5268):   0% 912/irq/474-mxt224_: 0% user + 0% kernel

E/ActivityManager( 5268):   0% 1748/flush-179:0: 0% user + 0% kernel

E/ActivityManager( 5268):   0% 1816/smdexe: 0% user + 0% kernel

E/ActivityManager( 5268):   0% 1842/admsrv: 0% user + 0% kernel / faults: 24 minor

E/ActivityManager( 5268):   0% 4685/ksoftirqd/1: 0% user + 0% kernel

E/ActivityManager( 5268):   0% 4688/kworker/1:1: 0% user + 0% kernel

E/ActivityManager( 5268):   0% 5649/com.android.MtpApplication: 0% user + 0% kernel / faults: 35 minor

E/ActivityManager( 5268):  +0% 6522/logcat: 0% user + 0% kernel

E/ActivityManager( 5268):  +0% 6548/kworker/1:3: 0% user + 0% kernel

E/ActivityManager( 5268):  +0% 6569/com.android.phone: 0% user + 0% kernel

E/ActivityManager( 5268): 9.2% TOTAL: 3.9% user + 5.3% kernel + 0% iowait

E/ActivityManager( 5268): CPU usage from 1023ms to 1547ms later:

E/ActivityManager( 5268):   5.6% 5268/system_server: 0% user + 5.6% kernel

E/ActivityManager( 5268):     7.5% 5287/ActivityManager: 1.8% user + 5.6% kernel

E/ActivityManager( 5268):   1% 549/kworker/u:2: 0% user + 1% kernel

E/ActivityManager( 5268):   1.1% 4684/kworker/1:0: 1.1% user + 0% kernel

E/ActivityManager( 5268): 3.4% TOTAL: 1.1% user + 2.3% kernel

W/ActivityManager( 5268): Killing ProcessRecord{42952b30 6348:com.android.mms/u0a80}: background ANR

I/Choreographer( 5268): Skipped 96 frames!  The application may be doing too much work on its main thread.

D/KeyguardViewMediator( 5268): setHidden false

I/ActivityManager( 5268): Process com.android.mms (pid 6348) has died.

D/KeyguardViewMediator( 5268): setHidden false

D/CountryDetector( 5268): No listener is left

D/KeyguardViewMediator( 5268): setHidden false

D/KeyguardViewMediator( 5268): setHidden false

D/dalvikvm( 6623): GC_CONCURRENT freed 167K, 12% free 9813K/11143K, paused 13ms+3ms, total 65ms

D/dalvikvm( 6623): WAIT_FOR_CONCURRENT_GC blocked 24ms

D/KeyguardViewMediator( 5268): setHidden false

D/dalvikvm( 5268): GC_CONCURRENT freed 1263K, 64% free 22082K/61191K, paused 19ms+17ms, total 292ms

D/dalvikvm( 5268): WAIT_FOR_CONCURRENT_GC blocked 273ms

I/ActivityThread( 6623): Pub com.android.mms.SuggestionsProvider: com.android.mms.SuggestionsProvider

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x4 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x4 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x2 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x2 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x50 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x1 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x1 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0x2 a=-1}

W/Resources( 6623): Converting to string: TypedValue{t=0x10/d=0xf0 a=-1}

D/dalvikvm( 6623): GC_CONCURRENT freed 197K, 13% free 10074K/11463K, paused 12ms+3ms, total 35ms

D/CountryDetector( 5268): The first listener is added

I/InputReader( 5268): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.72 ]

I/InputDispatcher( 5268): Delivering touch to current input target: action: 0x0

I/InputDispatcher( 5268): Delivering touch to current input target: action: 0x0

I/InputDispatcher( 5268): Delivering touch to current input target: action: 0x0

W/PowerManagerService( 5268): Timer 0x3->0x3|0x0

I/InputReader( 5268): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=]

I/InputDispatcher( 5268): Delivering touch to current input target: action: 0x1

I/InputDispatcher( 5268): Delivering touch to current input target: action: 0x1

I/InputDispatcher( 5268): Delivering touch to current input target: action: 0x1

I/Process ( 6569): Sending signal. PID: 6569 SIG: 9

I/ActivityManager( 5268): Process com.android.phone (pid 6569) has died.

W/ActivityManager( 5268): Service crashed 4 times, stopping: ServiceRecord{42880f18 com.sec.android.app.bluetoothtest/.BluetoothBDTestService}

D/WindowManager( 5268): PhoneWindowManager: focusChangedLw

D/KeyguardViewMediator( 5268): setHidden false

D/STATUSBAR-StatusBarManagerService( 5268): setSystemUiVisibility(0x500)

D/STATUSBAR-StatusBarManagerService( 5268): manageDisableList what=0x0 pkg=WindowManager.LayoutParams

W/InputMethodManagerService( 5268): Window already focused, ignoring focus gain of: [email protected] attribute=null

D/KeyguardViewMediator( 5268): setHidden false

D/KeyguardViewMediator( 5268): setHidden false

I/libblt_hw( 5227): Library closed (handle = 0, fd = 33)

D/dalvikvm( 6659): GC_CONCURRENT freed 174K, 12% free 9806K/11143K, paused 13ms+3ms, total 46ms

D/dalvikvm( 6659): WAIT_FOR_CONCURRENT_GC blocked 20ms

D/KeyguardViewMediator( 5268): setHidden false

W/dalvikvm( 6659): VFY: register index out of range (0 >= 0)

W/dalvikvm( 6659): VFY:  rejecting opcode 0x62 at 0x0018

W/dalvikvm( 6659): VFY:  rejected Lcom/android/phone/PhoneFeature;.makeFeature ()V

W/dalvikvm( 6659): Verifier rejected class Lcom/android/phone/PhoneFeature;

W/dalvikvm( 6659): Exception Ljava/lang/VerifyError; thrown while initializing Lcom/android/phone/PhoneApp;

W/dalvikvm( 6659): Class init failed in newInstance call (Lcom/android/phone/PhoneApp;)

D/AndroidRuntime( 6659): Shutting down VM

W/dalvikvm( 6659): threadid=1: thread exiting with uncaught exception (group=0x4109b2a0)

E/android.os.Debug( 5268): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error

E/AndroidRuntime( 6659): FATAL EXCEPTION: main

E/AndroidRuntime( 6659): java.lang.ExceptionInInitializerError

E/AndroidRuntime( 6659): 	at java.lang.Class.newInstanceImpl(Native Method)

E/AndroidRuntime( 6659): 	at java.lang.Class.newInstance(Class.java:1319)

E/AndroidRuntime( 6659): 	at android.app.Instrumentation.newApplication(Instrumentation.java:997)

E/AndroidRuntime( 6659): 	at android.app.Instrumentation.newApplication(Instrumentation.java:982)

E/AndroidRuntime( 6659): 	at android.app.LoadedApk.makeApplication(LoadedApk.java:496)

E/AndroidRuntime( 6659): 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4159)

E/AndroidRuntime( 6659): 	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)

E/AndroidRuntime( 6659): 	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:640)

E/AndroidRuntime( 6659): 	at android.app.ActivityThread.handleBindApplication(Native Method)

E/AndroidRuntime( 6659): 	at android.app.ActivityThread.access$1400(ActivityThread.java:134)

E/AndroidRuntime( 6659): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)

E/AndroidRuntime( 6659): 	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 6659): 	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 6659): 	at android.app.ActivityThread.main(ActivityThread.java:4856)

E/AndroidRuntime( 6659): 	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 6659): 	at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 6659): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)

E/AndroidRuntime( 6659): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)

E/AndroidRuntime( 6659): 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)

E/AndroidRuntime( 6659): 	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 6659): Caused by: java.lang.VerifyError: com/android/phone/PhoneFeature

E/AndroidRuntime( 6659): 	at com.android.phone.PhoneApp.<clinit>(PhoneApp.java:155)

E/AndroidRuntime( 6659): 	... 20 more

W/ActivityManager( 5268): Process com.android.phone has crashed too many times: killing!
 
Last edited:

cbucz24

Senior Member
Jan 31, 2011
2,757
2,897
0
Central Florida
With this call recording mod I obtain a long series of crashes in process com.android.phone.

Using Android 4.1.2 - S Advance (I know for sure this mod is fully compatible with my device).
Kind of hard to say by this, so many different errors. Using the example of what directions were posted, post your section of what you changed.

I'd go a little bit before and afterwards the stated text.

Sent from my SM-G900T using Tapatalk 2

---------- Post added at 10:26 AM ---------- Previous post was at 10:23 AM ----------

Would anyone be interested in a mod I made to enable native resize for home screen widgets?

I've only tried it on one so far, going to see if it works for more in a day or so.
I modded my s5 launcher to be 5x6. And the apk I modded was Apollo music player.

Anyone? If so, I'll post the instructions

Sent from my SM-G900T using Tapatalk 2
 

Sami Kabir

Senior Member
Oct 3, 2012
2,233
1,406
0
Can anyone please help me setup a Toggle button next to the Settings app button on the Notification Panel to just "expand" all the Quicksetting toggles similar to what Android 4.2 and above does?

I don't want to add any extra toggles or add the ability to rearrange the toggles on the go. I just want a button that upon pressed will just show all the toggles and hide them back if pressed again...

Here's a screenshot to make things more clear:
 

Attachments

isaak

Senior Member
Sep 21, 2013
357
216
0
Kind of hard to say by this, so many different errors. Using the example of what directions were posted, post your section of what you changed.

I'd go a little bit before and afterwards the stated text.
Ok, here it is. Call recording mod is represented by blue lines, the only lines I've added to reproduce my issue.


Code:
.method public static hasSNote()Z
    .locals 4

    .prologue
    const/4 v0, 0x0

    .line 1833
    const-string v1, "com.sec.android.app.snotebook"

    .line 1835
    :try_start_3
    invoke-static {}, Lcom/android/phone/PhoneApp;->getInstance()Lcom/android/phone/PhoneApp;

    move-result-object v1

    invoke-virtual {v1}, Lcom/android/phone/PhoneApp;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    .line 1836
    if-eqz v1, :cond_14

    .line 1837
    const-string v2, "com.sec.android.app.snotebook"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
    :try_end_13
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_3 .. :try_end_13} :catch_17
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_13} :catch_15

    .line 1839
    const/4 v0, 0x1

    .line 1846
    :cond_14
    :goto_14
    return v0

    .line 1843
    :catch_15
    move-exception v1

    goto :goto_14

    .line 1841
    :catch_17
    move-exception v1

    goto :goto_14
.end method

.method static hasVibrator()Z
    .locals 4

    .prologue
    .line 1780
    invoke-static {}, Lcom/android/phone/PhoneApp;->getInstance()Lcom/android/phone/PhoneApp;

    move-result-object v2

    const-string v3, "vibrator"

    invoke-virtual {v2, v3}, Lcom/android/phone/PhoneApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/os/Vibrator;

    .line 1781
    .local v1, "vibrator":Landroid/os/Vibrator;
    const/4 v0, 0x1

    .line 1782
    .local v0, "result":Z
    if-eqz v1, :cond_15

    invoke-virtual {v1}, Landroid/os/Vibrator;->hasVibrator()Z

    move-result v2

    if-nez v2, :cond_16

    .line 1783
    :cond_15
    const/4 v0, 0x0

    .line 1785
    :cond_16
    return v0
.end method

.method public static makeFeature()V
    .locals 0

    .prologue
    .line 849
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForCommon()V

    .line 852
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForTablet()V

    .line 855
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForHKTW()V

    .line 858
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForCanada()V

    .line 861
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForKor()V

    .line 864
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForJapan()V

    .line 867
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForChina()V

    .line 870
    invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForUsa()V

    .line 871
    [COLOR="Blue"][B]sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v2, "voice_call_recording"

    const/4 v4, 0x1

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;[/B]	[/COLOR]
	
    return-void
.end method

.method public static makeFeatureForCanada()V
    .locals 7

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 1106
    const-string v0, "d2vl"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "d2vw"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "comanchevl"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "t0ltevl"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "t0ltevw"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "SGH-I727R"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "SGH-I757M"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "SGH-I717R"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "SGH-I717D"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "SGH-I717M"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_70

    const-string v0, "SGH-T989D"

    sget-object v3, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_91

    :cond_70
    move v0, v2

    :goto_71
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    .line 1108
    const-string v0, "d2vw"

    sget-object v4, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v4

    .line 1109
    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_8d

    invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_93

    :cond_8d
    move v0, v2

    :goto_8e
    if-nez v0, :cond_95

    .line 1125
    :goto_90
    return-void

    :cond_91
    move v0, v1

    .line 1106
    goto :goto_71

    :cond_93
    move v0, v1

    .line 1109
    goto :goto_8e

    .line 1113
    :cond_95
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v5, "network_mode_list_lte"

    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v6

    if-eqz v6, :cond_d0

    invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v4

    if-nez v4, :cond_d0

    :goto_a5
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v5, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1115
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v1, "callforwarding_popup_in_can"

    invoke-virtual {v0, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1117
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v1, "networksearching_in_can"

    invoke-virtual {v0, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1119
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v1, "end_call_two_button"

    invoke-virtual {v0, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1122
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v1, "video_call_disable"

    invoke-virtual {v0, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1124
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v1, "beep_vibration_for_ussd"

    invoke-virtual {v0, v1, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_90

    :cond_d0
    move v2, v1

    .line 1113
    goto :goto_a5
.end method
 
Last edited: