Search results

  1. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    Goldie you are amazing man by writing such comprehensive tutorials for understanding smali codes.. I just logged in and guess what; a great thread is there. :laugh: I really learned from you a lot, and your thread helped me to polish my existing knowledge about smali.. :good: ...BETTER SHARE...
  2. majdinj

    Post [ROM][4.1.2] GloryROM v4.5 Multi-Languages (Updated 9/Dec/2013)

    Since it is requested by many users, I will share my current running ROM on my device with you guys :) This is only an update package to my old GloryROM v4.5 LSB firmware that includes almost all mods guides incorporated that I wrote until now. This is the same LSB version but with all features...
  3. majdinj

    Post [Plugin-Win] Add Android App Zipaligning To The Right-Click Context Menu

    Zipalign only optimizes java classes source.. It will not optimize resources like images or compress the file.. RAM will depend on both source and resources optimization.
  4. majdinj

    Post [Guide] Create CSC features controller tab in settings menu

    Can you post your smali mate. Please use [hide] and [code] flag, so I can help you without need to download the smali :)
  5. majdinj

    Post [Guide] Create CSC features controller tab in settings menu

    Have you read the tip??? "Some CSC needs restart to load changes" :)
  6. majdinj

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

    WOW, that's really awesome,, I know these overridden codes sometimes cause problem... Although I am not a big fan for AOSP skin, but at least your guide gives AOSP layout some meaning for existing ;).. I will link your post man in OP. Reason for not sharing this in general section: mm,, since I...
  7. majdinj

    Post [Guide] Create CSC features controller tab in settings menu

    The code for "CscFeature_Setting_EnableMenuBlockCallMsg" in Settings.smali before editing is looked like this: .line 596 invoke-static {}, Lcom/sec/android/app/CscFeature;->getInstance()Lcom/sec/android/app/CscFeature; move-result-object v3 const-string v6...
  8. majdinj

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

    There is problem with smali editing. Make sure of your editing buddy.
  9. majdinj

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

    Heh, I don't need money buddy. If I wanted, I would put donate link, right? Some THANKS is enough for me :)
  10. majdinj

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

    You can do this trick instead: - Use baksmali/smali manager to baksmali your SecSettings.apk - Add the new smali there for AllShareCast. - Use baksmali/smali manager to smali your SecSettings.apk - Move Modded_SecSettings.apk to apktool working folder. - Decompile using apktool and apply your...
  11. majdinj

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

    remove: it will remove all debugging lines like those lines which make problem with compiling using apktool (.param, .local, .line...) retain: it will baksmali without removing any debugging. Then it will ask to use .locals or .registers for smali's methods Read JF home page here for more...
  12. majdinj

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

    In your log, it shows something like this: java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode) I: Checking whether sources has changed... I: Smaling... [17,4] Error for input '.param': Invalid directive...
  13. majdinj

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

    This is because the decompiler you use (apktool), use parameter instead of param (which is used by baksmali),, Just delete all lines that the log points, and you should be OK (These are only used for debugging..!!) 1- There is thread for that in xda by shoman94, search it and you will find it...
  14. majdinj

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

    most likely within 2 weeks,,, I have to travel to several areas to collect my study samples.. You were a great help Goldie,, I learned from you a lot.. :o To all, please forgive me if I made un-intended thing that you don't like,, xda was and still a great family to me.. Se ya all guys after...
  15. majdinj

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

    I have added new tutorial before I stop xda-ing to prepare for my research project: Create CSC features controller tab in settings menu in post #11: http://forum.xda-developers.com/showpost.php?p=47555600&postcount=11 It was a great time spent with you guys,,, :D
  16. majdinj

    Post [Guide] Create CSC features controller tab in settings menu

    << Section #2: Creating toggle listener in apk that contains the csc feature that we want to control >> Here, we will add check box listeners for each csc feature in different apks Ok, let's start :victory: ★ TW Launcher ★ - Baksmali SecLauncher2.apk - Navigate to...
  17. majdinj

    Thread [Guide] Create CSC features controller tab in settings menu

    Hi guys,, Today's tutorial will make us able to create new tab in settings menu by which we could control our ROM CSC features by toggles.. This tutorial will be divided into 2 main sections: Section #1: Creating new tab in settings menu (ROM CSC features controller) Section #2: Creating...
  18. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    Compiling with .registers > 16 I just want to give some hint when compiling with registers > 16,,, Yup it could be a problem unless you know the principle here. Basically, parameter registers can't be invoked if they are stored in greater value than 16 ( i.e, v15 here).. So what you need to...
  19. majdinj

    Post [Utility][Tool]baksmali/smali

    New update online... v1.58 @ 23/November/2013 - Added option to baksmali using .locals instead of .registers in option 1 - Clear reboot options after pushing your file to your device in option 3 - Update baksmali and smali codes to v2.0.2
  20. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    I want to use the SecSettings.apk to set the toggles,, since I already create my own feature controller smali there.. I already created 12 toggl-able csc features in 4 different apks (tested), but I didn't figure out what went wrong here with this smali..
  21. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    Now I just figured that out,,, how to force baksmali to use either .locals or .registers java -jar baksmali.jar [options] classes.dex -o classout Options: -b: removes debugging info (.line, .parameter, .prologue, .local) -p: uses v registers instead of p registers (no parameter registers) -l...
  22. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    I have always .registers by default,, I use baksmali by Jesus freak.. may be there is an option to force using either .registers or .locals
  23. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    Just refreshment knowledge Just refreshment knowledge .locals: is for v variables .registers: is for v and p variables where p variables are stored in the last variables in the raw Practical example: .method public xdaExampleMethod(IILandroid/content/Intent;)V .registers 9 .param p0...
  24. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    Good to hear that :) By the way, have anyone figured out how to get content resolver in the smali I posted.
  25. majdinj

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

    mine is linked to public.xml framework-res.apk for roms before LT series.. so if you are running one of LT series, you will still needs to link ids
  26. majdinj

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

    That will be hilarious :D I and Goldie just helped someone to get the 4-way reboot menu running on 4.3 Check here: http://forum.xda-developers.com/showthread.php?p=47481360#post47481360
  27. majdinj

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

    Really thanks tkari4, you are amazing,,, sure I will link that in the notification toggle original way section :good: My new csc controller is ready now, just I need time to write the tutorial for you guys to implement in your ROM, may be next week ;)
  28. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    Here is the smali mate,, I want to add toggle referral to "CscFeature_Camera_ShutterSoundMenu",,, all previous methods I mentioned I already use them but I don't know how to get ContentResolver here..
  29. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    Thanks for response m8,, I want to add Context to get ContentResolver which then I will use to add key string, so I can use it as a reference for checkbox toggle in settings menu.. Here is the whole code example: invoke-virtual {p0}...
  30. majdinj

    Post [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions

    I want to add Context to get ContentResolver in a smali that doesn't have mContext field and no view super,, I have the following attempts: Attempt #1 invoke-virtual {p0}, Lcom/android/newApp;->getContext()Landroid/content/Context; move-result-object v2 invoke-virtual {v2}...
  31. majdinj

    Post [GUIDE] Making Dump Files Out of Android Device Partitions

    Yup that is possible and easy to extract but it is only for partitions that is shown in android os,,, you can't use it for boot.img, sbl.bin, modem.bin...etc right ;)
  32. majdinj

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

    I tried that first, to get the setTorchLight(I)V from Lcom/sec/android/hardware/SecHardwareInterface, but something goes wrong with my smali,,, so I used the way with lockscreen torch and it works.. If I got that working, I will share it for sure. Right now, I am doing extra feature (ROM csc...
  33. majdinj

    Post [MOD] 4-Way Reboot - How to (GB) (ICS) (JB)

    I now think, when I looked at ShutdownThread, why not to try const-string v2, "Safe"
  34. majdinj

    Post [GUIDE] Creating Boot animation and Shutdown animation with sound effect

    First, please remove quoting the whole OP. Which device and android version? PowerOff.ogg I saw it in one of smalis pointing to which ogg is for shutdown but really I don't remember the name of that smali so we could check yours for ogg name :confused: reversed shutdown animation..!! looks...
  35. majdinj

    Post [MOD] 4-Way Reboot - How to (GB) (ICS) (JB)

    My pleasure,,, now the 4-way reboot menu is officially ported to android 4.3 :laugh:
  36. majdinj

    Post [MOD] 4-Way Reboot - How to (GB) (ICS) (JB)

    Both the download and recovery modes are triggered by: invoke-static {v0, v1, v3}, Lcom/android/server/power/ShutdownThread;->reboot(Landroid/content/Context;Ljava/lang/String;Z)V They are only called by const-string in .method static constructor,, what I understand is that you give...
  37. majdinj

    Post [MOD] 4-Way Reboot - How to (GB) (ICS) (JB)

    There are 2 lines in GlobalAction$99$1 of: Lcom/android/server/pm/ShutdownThread You must change both lines to: Lcom/android/server/power/ShutdownThread
  38. majdinj

    Post [MOD] 4-Way Reboot - How to (GB) (ICS) (JB)

    baksmali services.jar and locate the exact location of ShutdownThread.smali then change the package direction in GlobalAction$99$1.smali which is: Lcom/android/server/pm/ShutdownThread to the new location
  39. majdinj

    Post [MOD] 4-Way Reboot - How to (GB) (ICS) (JB)

    You can change the code of instead using pkill -TERM -f system_server for quick reboot, use setprop ctl.restart zygote.. First check if you can get hot quick reboot using this code from adb engine: adb shell "su" "" "setprop ctl.restart zygote" or this one using terminal emulator in your device...
  40. majdinj

    Post [GUIDE] Making Dump Files Out of Android Device Partitions

    if you mean extract to modify boot.img, then I don't think there is away to do that from device itself in the moment.. if you mean dumping boot.img then yes you can, just install terminal emulator from Google play and you can run adb shell commands directly from the device
  41. majdinj

    Post JB Notification Panel Menu

    As seen here in SecSettings.apk, there are 2 smalis that have relation with notification panel resources; NotificationPanel.smali and NotificationPanelMenu.smali To know which smali you must edit in order to get this mod works, open SecSettings.apk\res\xml\display_settings.xml and locate this...
  42. majdinj

    Post [GUIDE][MOD][SYSTEMUI] How to add 0.00KB/s meter on statusbar GB/ICS/JB/KK 10-08-2013

    This is because of different compiler used.. some uses .parameter and some uses .param,,, Just remove the lines pointed in your log and it should compile without problem The link is in OP buddy..!!! just needs READING :rolleyes: FIX FC FOR JB...
  43. majdinj

    Post [Q] Bootloop caused after installing some Xposed Framework modules

    Have you tried going into safe mode, then delete the xposed module first?
  44. majdinj

    Post [Guide][Port] Enable Airview Control Panel and SPen Gesture Function (10-Sep-2013)

    Yeah sir as you said,, but if you looked at note 2, the feature is not there either.. so I am assuming that it is just preparation code for the next note generation or next api level as having finger airview codes already in note 1 and 2 but is not functioned either because of missing extra...
  45. majdinj

    Post JB Notification Panel Menu

    From my trials, you can put any apk where-ever you want,,, but some apks will give error if you will change csc code if were put in preload partition..!!! These apks are providers apks and hub apks..!!!! This is at least on my GT-N7000 device.. So for me I will put all providers and hub apks in...
  46. majdinj

    Post JB Notification Panel Menu

    I usually put comments on my smalis, so I can figure later on what I have done if I am going to write modding tutorial :) and as Goldie said, the comment will disappear after compiling.. If you want to preserve the comment site,, add .line 8888888 for example as start and .line 9999999 as end
  47. majdinj

    Post JB Notification Panel Menu

    .line xxx has nothing to do with the patch since it is used to locate codes only (i.e, can be anything or can be ignored even..!!) What you need to do is to follow your smali flow... so I advice you to copy the code that is above the new code then just do the changes.. example: iget-object...