[MOD] [GUIDE] [HOW-TO] Enable all/hidden toggles in CSC without scripts [08/04/2014] - Verizon Galaxy Note 3 Android Development

Don't want to run toggles enabler scripts to edit Setting Storage database & enable toggles in your ROM? Here's a very simple MOD to automatically enable all/hidden toggles,
Edit /system/csc/feature.xml & insert the following lines:
Code:
<!-- Toggles -->
<CscFeature_Setting_DefNotificationPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefQuickPanelOrder>
You can also add your custom toggles names separated by semicolon ";".
Enjoy!

hsbadr said:
Don't want to run toggles enabler scripts to edit Setting Storage database & enable toggles in your ROM? Here's a very simple MOD to automatically enable all/hidden toggles,
Edit /system/csc/feature.xml & insert the following lines:
Code:
<!-- Toggles -->
<CscFeature_Setting_DefNotificationPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefQuickPanelOrder>
You can also add your custom toggles names separated by semicolon ";".
Enjoy!
Click to expand...
Click to collapse
you say you can add custom toggle names, where might I look to find a guide on how to make custom toggles work if you don't mind I would love to do this!

hsbadr said:
Don't want to run toggles enabler scripts to edit Setting Storage database & enable toggles in your ROM? Here's a very simple MOD to automatically enable all/hidden toggles,
Edit /system/csc/feature.xml & insert the following lines:
Code:
<!-- Toggles -->
<CscFeature_Setting_DefNotificationPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefQuickPanelOrder>
You can also add your custom toggles names separated by semicolon ";".
Enjoy!
Click to expand...
Click to collapse
Im trying to do this on a stock rooted nc4 rom. Its a replacement phone and i used towel root. I added the lines as you said, however i dont see the toggles after a reboot?

sfld said:
Im trying to do this on a stock rooted nc4 rom. Its a replacement phone and i used towel root. I added the lines as you said, however i dont see the toggles after a reboot?
Click to expand...
Click to collapse
you added them in a wrong place. insert them after settings section like,
Code:
<!-- Settings -->
<CscFeature_Setting_DisableMenuFindMyMobile>true</CscFeature_Setting_DisableMenuFindMyMobile>
<CscFeature_Settings_FindMyMobile>false</CscFeature_Settings_FindMyMobile>
<CscFeature_Settings_FOTA>false</CscFeature_Settings_FOTA>
<CscFeature_Settings_GMS_Disable>false</CscFeature_Settings_GMS_Disable>
<CscFeature_Settings_Airplane_Wifi_Dependency>false</CscFeature_Settings_Airplane_Wifi_Dependency>
<CscFeature_Settings_Silent_Feedback>false</CscFeature_Settings_Silent_Feedback>
<CscFeature_Settings_HWVersion>false</CscFeature_Settings_HWVersion>
<CscFeature_Settings_Reset_Password>false</CscFeature_Settings_Reset_Password>
<CscFeature_Setting_EnableDeviceInfo4Vzw>true</CscFeature_Setting_EnableDeviceInfo4Vzw>
<CscFeature_Settings_GOTA>false</CscFeature_Settings_GOTA>
<CscFeature_Settings_4GProvisioning>false</CscFeature_Settings_4GProvisioning>
<CscFeature_Setting_EnableHwVersionDisplay>true</CscFeature_Setting_EnableHwVersionDisplay>
<CscFeature_Setting_EnableEditingIpVersionType>false</CscFeature_Setting_EnableEditingIpVersionType>
<CscFeature_Setting_EnableConversion4MEIDAndESN>true</CscFeature_Setting_EnableConversion4MEIDAndESN>
[COLOR="Red"]<!-- Toggles -->
<CscFeature_Setting_DefNotificationPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefQuickPanelOrder>
[/COLOR]
<!-- MMApp -->
<CscFeature_FMRadioRTPlus>true</CscFeature_FMRadioRTPlus>
<CscFeature_FMRadioSEASetting>false</CscFeature_FMRadioSEASetting>

hsbadr said:
you added them in a wrong place. insert them after settings section like,
Code:
<!-- Settings -->
<CscFeature_Setting_DisableMenuFindMyMobile>true</CscFeature_Setting_DisableMenuFindMyMobile>
<CscFeature_Settings_FindMyMobile>false</CscFeature_Settings_FindMyMobile>
<CscFeature_Settings_FOTA>false</CscFeature_Settings_FOTA>
<CscFeature_Settings_GMS_Disable>false</CscFeature_Settings_GMS_Disable>
<CscFeature_Settings_Airplane_Wifi_Dependency>false</CscFeature_Settings_Airplane_Wifi_Dependency>
<CscFeature_Settings_Silent_Feedback>false</CscFeature_Settings_Silent_Feedback>
<CscFeature_Settings_HWVersion>false</CscFeature_Settings_HWVersion>
<CscFeature_Settings_Reset_Password>false</CscFeature_Settings_Reset_Password>
<CscFeature_Setting_EnableDeviceInfo4Vzw>true</CscFeature_Setting_EnableDeviceInfo4Vzw>
<CscFeature_Settings_GOTA>false</CscFeature_Settings_GOTA>
<CscFeature_Settings_4GProvisioning>false</CscFeature_Settings_4GProvisioning>
<CscFeature_Setting_EnableHwVersionDisplay>true</CscFeature_Setting_EnableHwVersionDisplay>
<CscFeature_Setting_EnableEditingIpVersionType>false</CscFeature_Setting_EnableEditingIpVersionType>
<CscFeature_Setting_EnableConversion4MEIDAndESN>true</CscFeature_Setting_EnableConversion4MEIDAndESN>
[COLOR="Red"]<!-- Toggles -->
<CscFeature_Setting_DefNotificationPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;WiFiHotspot;MobileData;Bluetooth;SilentMode;PowerSaving;Location;Sync;AirplaneMode;Flashlight;AutoRotate;MultiWindow;AllShareCast;AirView;AirGesture;SmartStay;SmartPause;SmartScroll;SmartNetwork;Ebook;DrivingMode;DormantMode;ToddlerMode;Nfc;SBeam</CscFeature_Setting_DefQuickPanelOrder>
[/COLOR]
<!-- MMApp -->
<CscFeature_FMRadioRTPlus>true</CscFeature_FMRadioRTPlus>
<CscFeature_FMRadioSEASetting>false</CscFeature_FMRadioSEASetting>
Click to expand...
Click to collapse
Mine looks just like that, however im using root explorer text editor so its doing text wrap, i can show you a SS of how it looks in my xml file if you want.
Do i need to be on a odexed or deodexed rom for them to appear?

doesn't work for me either. And now my phone is acting crazy and auto calling my most recent missed call. Something's screwed up.
this is probably a problem with the text editor I used, can someone post a full feature.xml I can use to overwrite my screwed up one?

sfld said:
Mine looks just like that, however im using root explorer text editor so its doing text wrap, i can show you a SS of how it looks in my xml file if you want.
Do i need to be on a odexed or deodexed rom for them to appear?
Click to expand...
Click to collapse
wpcprez said:
doesn't work for me either. And now my phone is acting crazy and auto calling my most recent missed call. Something's screwed up.
this is probably a problem with the text editor I used, can someone post a full feature.xml I can use to overwrite my screwed up one?
Click to expand...
Click to collapse
The thing about csc edits, 99% of the time it requires a factory reset or have it baked into a rom you flash. Once you've done it and are confident that it's correct, make a nandroid backup and try factory resetting.

thanks, i didn't know. flashing a new rom now and will do this then wipe.

Sir I have A Tw 4.1.2 device can u plz Give a link.for Enabling All toggles ? By Decompiling recompiling ?? Plz sir

ShadeSK said:
Sir I have A Tw 4.1.2 device can u plz Give a link.for Enabling All toggles ? By Decompiling recompiling ?? Plz sir
Click to expand...
Click to collapse
"If" your device has the same toggle structure as the Note 3, this might work. No decompiling required. Just make a backup and try it.

LeftyGR said:
"If" your device has the same toggle structure as the Note 3, this might work. No decompiling required. Just make a backup and try it.
Click to expand...
Click to collapse
Thank U sir For The reply But there is no file in that folder like that mention in the post Any other solution? I'm using Samsung Galaxy Star GT-s5282

did all created nandroid and restore it but no change oh well

Related

Customize your phone (theme/icons/locksreen)

Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
reimi said:
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Click to expand...
Click to collapse
Final ?? When did it come out ?? Didn't find on Darky's website.
Sorry , wasn't logged in.
GT-I9000 said:
Final ?? When did it come out ?? Didn't find on Darky's website.
Click to expand...
Click to collapse
its the files name, I downloaded from somewhere in this thread:
http://forum.xda-developers.com/showthread.php?t=814091
reimi said:
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
Click to expand...
Click to collapse
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
coldflid said:
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
Click to expand...
Click to collapse
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
reimi said:
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
Click to expand...
Click to collapse
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme the glass lockscreen, you need to edit the pngs in framework-res.apk/res/drawable-hdpi named zzz_unlock_arrow_0000.png up to zzz_unlock_arrow_0009.png and the zzz_unlock_blackbg.9.png and zzz_blackbg_dual.9.png
To theme puzzle lockscreen:
edit zzz_unlock_puzzle_noti_icon_unlock and zzz_unlock_puzzle_noti_icon_unlock_fit
For android lockscreen (in framework-res.apk/res/drawable-land-hdpi):
ic_jog_dial_unlock
ic_jog_dial_sound on
ic_jog_dial_sound off
For epic unlock on framework-res.apk/res/drawable-hdpi
mod zz_unlock_lockbg_press
mod zz_unlock_lockbg_press
In case you want to get a stock framework and get aosp lockscreen:
To get aosp lockscreen you'd need to decompile classes.dex in android.policy.jar and edit a few files.
For that, i use ubuntu.
You open android.policy.jar and extract classes.dex
Then get baksmali and smali and place them in the same location as classes.dex
Open up a terminal and type cd and the location
Example:
cd /home/coldflid/Desktop
Then type java -jar baksmali-1.2.5.jar classes.dex
(if you've got another version of bajsmali change the 1.2.5 for the version you have).
You can type java -jar baksmali-1.2.5.jar classes.dex -o *
Where * is the name of the folder where you want classes.dex to be decompiled
Then you'd need to mod LockPatternKeyGuardView.smali or replace it with a modded one.
Then type in terminal
Then type java -jar smali-1.2.5.jar *
Where * is the name of the folder where classes.dex was decompiled
out.dex should be generated, rename it to classes.dex and copy it to android.policy.jar (replace the old one).
Then use root explorer to copy it to system/framework
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme...
Click to expand...
Click to collapse
thank you for the answer!
I'm currently using LockBot Pro to change the locksreen and its background, works fine for me.
I'll try to change the stock app icons as soon as I have time. Thanks!
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app...
Click to expand...
Click to collapse
I'm currently trying to substitute the stock app icons.
My question is, how I can find out, which of all those images is used for the menu and how can I browse the folders on my pc, which I can browse on my phone via root explorer...
thanks for the answer!

[MOD/HOWTO] SMS + No contact limit + No MMS convert + Sent time [JVX/JVT/JVQ/JVP/JVH]

UPDATE!
07/12 JVX added
14/7: JVT version added
14/7: JVQ CWM flashable versions for odexed and deodexed! Massive props to to $omator for this, who obviously knows a lot more about creating CWM zips than I do. Go to his post to download, and thank him while you're at it!
30/6: New JVQ version, thanks again bigdyl69! Get it here.
13/6: JVP version now exists, get it here thanks to bigdyl69!
21/5: Added Froyo JSD and Ginger JVO versions.
10/5: Added JVH version
Ok, this does what it says on the tin. It's a mod of the JVX messaging app that adds 3 often requested features:
No autoconvert to MMS after 3 messages
Sending to unlimited contacts
Sent time instead of received time. If you turn off your phone, messages you get whilst it's off will have the right time!
To install:
Simply copy the included apk depending on your system version to /system/app/Mms.apk, and make a backup first just in case.
Notes:
Your ROM MUST be deodexed!
If it doesn't work, clear the cache, the Dalvik cache, and also clear data for Messaging under Settings->Applications->Manage Applications (it won't delete your messages).
If the times are off by several hours download SMS Time Fix and set it the the correct number of hours to fix the timestamps.
The JVB MMS apk is actually from Darky's 10 RC6, but I don't think it's different from the default.
If I get enough requests for:
Other versions (e.g. JVK, etc)
CWM flashable versions
I'll make them.
Hope this is useful to people!
Massive props to ykk_five for his original mod! I couldn't have made this without his help.
HOWTO
Do you theme your Mms app? Got a custom ROM going on and want to do this yourself? Well here's how!
Download Apk Manager from here.
Get your Mms.apk from /system/app/Mms.apk
Get your twframework-res.apk from /system/framework
Open up Apk Manager and choose option 22
Select Mms.apk as your project
Select option 10 (decompile with dependencies)
When it asks you for your dependency, drag and drop twframework-res.apk into the window and press enter
When that's done, go into apk_manager/projects/Mms.apk
Under /res/xml open up mms_config.xml
Go to: <int name="recipientLimit">10</int> change this to -1
Go to <int name="smsToMmsTextThreshold">4</int> Change this to 100
Now open up /smali/com/android/mms/transaction/SmsReceiverService.smali and open it in any text editor.
Search for 'time'. There will be one entry at approximately line 523
Replace this with: invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
There will be another at approximately line 2270.
Replace this with: invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
Save and close them all and go back to apk manager, option 11 'compile'
When you're done, it'll tell you about a 'keep' folder. Go delete mms_config.xml, and in the keep folder also delete resources.arsc and classes.dex
Copy your new Mms.apk to your phone! Don't forget to back up your old one in case you make a mistake.
If you get errors, check the log for mentions of 9.png errors. If they are there, fix your 9 patch files! Use google for that, I'm not explaining how to do this.
If you can't be bothered to do this or don't know how, send me a PM! I've made more than 8 custom Mms.apks for people so far.
Did you know that this was the thing I look for?
Thank you!
I'll provide feedback in case of any problems.
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?
Cheers
NeoXTC said:
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?
Cheers
Click to expand...
Click to collapse
No, this is only a modification to the stock SMS app, sorry.
Hey mate,
What did you change in the apk to remove the mms convert?
I am trying to edit the TW4 mms.apk to be the same as what you've done.
Thanks!
Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.
Ryyuu said:
Hey mate,
What did you change in the apk to remove the mms convert?
I am trying to edit the TW4 mms.apk to be the same as what you've done.
Thanks!
Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.
Click to expand...
Click to collapse
Under res / xml / mms_preferences.xml change
<int name="smsToMmsTextThreshold">3</int>
To something like 100. I'd just make the edit for you but I'm not at home
Fantastic!!
Thanks mate.
What about the received time setting too?
Also, How are you decompiling and editing your apk's?
I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...
Ryyuu said:
Fantastic!!
Thanks mate.
What about the received time setting too?
Also, How are you decompiling and editing your apk's?
I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...
Click to expand...
Click to collapse
Ehhh, received time edit involves decompiling and editing the smali files, so it's a little more complex.
As for decompiling/editing, I use apk manager, which is Windows only as far as I know. I run it on my mac using Boot Camp. Also, it won't decompile properly without using the twframework-res.apk dependency file, so make sure you have the tw4 equivalent of that. PM me if you're game to try the smali editing.
Thank so much for your help mate.
I have successfully edited the TW4 mms.apk to remove the SmsToMms conversion.
I'll create a topic for it. But thank you very much for your help. I might have a look at converting the time too. I'll send you a PM.
icon missing
hello, after replaced and rebooted, Messaging icon dissappeared from bottom bar of twiz. Any idea how to bring it back...Sms works normally, sending time shown, as expected.
ruh01 said:
hello, after replaced and rebooted, Messaging icon dissappeared from bottom bar of twiz. Any idea how to bring it back...Sms works normally, sending time shown, as expected.
Click to expand...
Click to collapse
[Solved by Ryyuu, scroll down]
All you need to do to fix this is open the app drawer, press edit, find the messaging icon and drag it to the dock.
This can sometimes happen when playing around with apk's.
Fixed.
You don't imagine how much I am thankful to you. I was looking for this very mod. Thank you so much. It works like a charm on my SGS with Darky's v10.RC6
hi,good work.would you please tell me,which xml or smali files to edit or post it as sources files for developers?I would like to insert it into my transparent mms app.
pauldiddy said:
hi,good work.would you please tell me,which xml or smali files to edit or post it as sources files for developers?I would like to insert it into my transparent mms app.
Click to expand...
Click to collapse
For xml, go to res/xml/mms_preferences.xml, then edit recipientLimit and smsToMmsTextThreshold to something overly large, I used 100 as it seems no one will breach that limit.
As for the sent time, just decompile this and stock Mms.apk and do a windiff on the smali folders. There's 2 lines changed which will jump right out.
Hi.Thanks works perfect on deodexed JVB.
montymintypie said:
For xml, go to res/xml/mms_preferences.xml, then edit recipientLimit and smsToMmsTextThreshold to something overly large, I used 100 as it seems no one will breach that limit.
As for the sent time, just decompile this and stock Mms.apk and do a windiff on the smali folders. There's 2 lines changed which will jump right out.
Click to expand...
Click to collapse
thank you,got it.
I know this may be a little off topic but would this modification work on the JPY froyo MMS.apk? I have decompiled it and looked at the xml and there is a mms_config.xml file with the following code in it:
<?xml version="1.0" encoding="UTF-8"?>
<mms_config version="4">
<bool name="enabledMMS">true</bool>
<int name="maxMessageSize">307200</int>
<int name="mmsHeaderSize">5120</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<int name="defaultSMSMessagesPerThread">200</int>
<int name="defaultMMSMessagesPerThread">20</int>
<int name="minMessageCountPerThread">10</int>
<int name="maxMessageCountPerThread">5000</int>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-i9000.xml</string>
<string name="userAgent">SAMSUNG-GT-I9000-Mms/2.0</string>
<string name="uaProfUrlS1">http://wap.samsungmobile.com/uaprof/GT-i9000.xml</string>
<string name="userAgentS1">SAMSUNG-GT-I9000-Mms/2.0</string>
<string name="uaProfUrlApollo">http://wap.samsungmobile.com/uaprof/GT-i5801.xml</string>
<string name="userAgentApollo">SAMSUNG-GT-I5801-Mms/2.0</string>
<int name="recipientLimit">100</int>
<int name="smsToMmsTextThreshold">100</int>
</mms_config>
Click to expand...
Click to collapse
As you can see I've edited the bottom two lines of code like what you have done to the JVB MMS.apk. Do you think this will work?
It should work just as well on the JPY version, compile it and give it a go!
montymintypie said:
It should work just as well on the JPY version, compile it and give it a go!
Click to expand...
Click to collapse
Well I tried it and it kind of works. I can send a message up to 7 messages long and it doesn't auto convert but if I try to make the message any longer it tells me 'Maximum number of characters reached' so it sort of works. Do you know of any way around this or is it best to just leave it? Probably won't ever need to send a sms longer than 7 messages long but just thought I'd ask

[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert

[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert
MMS.apk mod for Samsung Galaxy S II by muveszur (me)
First of all, I have to say Thanks to montymintypie for his work on Galaxy S!!!
Attention! This mod is working only deodexed roms!
I tested on VillainROM 1.1!​
The Mms.apk has the following moddings:
Sent Time displayed instead of the Received Time
No AutoConverting messages to MMS after 4 SMS.
In my mod, it will be converted to MMS after 200 SMS.
Possible to add to the message 200 contacts instead of 20 contacts.
Click to expand...
Click to collapse
HOW TO - For Developers
Change the AutoConverting:
In /res/xml/mms_config.xml change the following values at line 19:
Code:
<int name="smsToMmsTextThreshold">4</int>
to:
Code:
<int name="smsToMmsTextThreshold">200</int>
Increase Contacts adding for the message
In /res/xml/mms_config.xml change the following values at line 19:
Code:
<int name="recipientLimit">10</int>
to:
Code:
<int name="recipientLimit">200</int>
Display Sent Time instead of the Received Time
In /smali/com/android/mms/transaction/SMSReceiverService.smali change the following values at line 589:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
And change the following values at line 2383:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
Click to expand...
Click to collapse
Installing with RootExplorer- For Users
Download the Mms.apk from the attachment
//In /system/app rename the Mms.apk to Mms.apk.bak - It is a backup step
Copy the downloaded Mms.apk to the /system/app folder, and overwrite the original Mms.apk file
Reboot your phone
If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings
Click to expand...
Click to collapse
Installing from CWM- For Users
Download MMS_mod_cwm_by_muveszur.zip from the attachment
Go to the CWM
Select Install zip from sdcard--->Choose zip from sdcard, and select the MMS_mod_cwm.zip
After the installation done, reboot your phone
If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings
Click to expand...
Click to collapse
If you like my work, give me a beer, or just hit the the Thanks button
DONATE
AHA. So that's how you change the time to sent time, rather than received time... I had both these other features, but couldn't find that one.
Nice work
very nice thank u for this !
Thanks for share.
Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
clecle69000 said:
Thanks for share.
Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
Click to expand...
Click to collapse
This mod is contains too... now the limit is 200
"send time" not working
Hi!
for me it still does NOT show the real sent time.
can anybody confirm?
May I ask how you edit the .xml files? What method or program are you using.
If I am to change just the AutoConverting setting in my own mms.apk file, will this cause me issues as I am still on an odexed rom?
Excuse me, I modified my MMS.apk following your advises .
I still canno't add more than 10 contacts per message.
I have verified the MMS config . xml and the mod is set to 200.
What's wrong ?
Edit : need to clear data for Messaging
Works on Villian Rom 2.0.
hi,
I am trying to make those changes in the official froyo mms sources and another version of mms.apk for my zte blade.
In the file you mention (SmsReceiverService) there is only one match for currentTimeMillis. I cannot find the second reference anywhere.
Could you point the exact class name or part of code where the second change should be made?
Great work!
Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?
Thanks in advance..
ammarselo said:
Great work!
Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?
Thanks in advance..
Click to expand...
Click to collapse
settings>applications>manage applications , then go to tab "All" and find the TwLauncher.From there just hit the clear data.Hope to help
Why should this not work on stock roms? I'd say it should!
This is not Working on KG1
I have edit step by step exactly with your How to my Mms.apk from KG1.
After compiling and push back to phone, the mms.apk is working but:
this mod take no effect.
Still just 10 contacts to add
Still received time
Any advice how to get it working on KG1?
afilopou said:
settings>applications>manage applications , then go to tab "All" and find the TwLauncher.From there just hit the clear data.Hope to help
Click to expand...
Click to collapse
That's right!, silly me
Thanx!
Does anyone successfully get this work on KG1?
Sent from my GT-I9100 using Tapatalk
_JKay_ said:
Why should this not work on stock roms? I'd say it should!
Click to expand...
Click to collapse
with stock xwkf3 works just fine.no problem at all
Can anyone with the correct experience update this for the XXKG2 that recently came out, the 2.3.4 and not the 2.3.3
Can someone pick up this mod and prep it for XXKG2 and XXKG3 Odex and Deodex versions?
+1. Can someone please make this work on XXKG2 and odexed? Deodexing messes with browser hardware acceleration

[Full guide][ICS/JB] Make your own theme!! [09-03-2013]

About me
I didnt see any thread with ALL guides in ONE place. And I think alot people want to know how to do this or that. Its also clearer for myself to have an all-in-one placed tutorials! So with all the help of awesome people and myself Im gonna teach you stuff! All credits goes to other people. Ask Q ONLY in this thread! Dont expect too much: I modify this thread very rarely!
Requirements
Notepad++ [editing /xml]
Apktool [Basic knowledge of compiling apks] Helpfull link: click
Root explorer [to push apk back to your phone]
7zip [to replace .pngs]
Nandroid backup [important]
Guides
1. How to get custom statusbar?
To replace your statusbar with a custom .png go to:
SystemUI.apk/res/values/drawables.xml search this line
Code:
<item type="drawable" name="status_bar_background">
make changes as
Code:
<item type="drawable" name="status_bar_background">@drawable/statusbar</item>
now place statusbar.png file in drawable folder then recompile.
2. How to get my home-screen?
http://www.youtube.com/watch?v=hVoXrS-RWBY
3. How to delete text under toggles?
This is hardest part cuz Lidroid is 'different'. First, follow this to succesfully decompile it: http://forum.xda-developers.com/showpost.php?p=31991217&postcount=1
After that, go to: res\layout\power_widget_button.xml
Add this: visibility="gone" to TextView and it should be gone now!
You can also delete the text WiFi, Bluetooth, Silent, etc. in the strings.xml in values folder!
4. How to modify framework?
Just replace .pngs in your drawable-res-hdpi folder!
This will change all system actions, like pop-up look, buttons look, and alot more!
5. How to change background in settings / dialer?
Remember: You CANT change for dialer AND settings it can only be done for both. Go to framework-res.apk > res > drawable-nodpi > tw_dialog_bg [kind of this]
And replace with SAME format and same name! now you hav this bg in file manager, settings, an much more!
6. How to change grid size of touchwiz launcher?
http://forum.xda-developers.com/showthread.php?t=1990801
This thread tells you which size: http://forum.xda-developers.com/showthread.php?t=1990801
And this is also usefull: http://forum.xda-developers.com/showpost.php?p=28561607&postcount=1690
7. Change icon of system apps [dont work with market ones]
Go to the apk and look for the icon, just extract the folders and you'll see it. Replace it with an icon-pack from this thread: clik
So no need to decompile and after this just push back to sysem/app dont forget to set perm.
8. Custom bootanimation on stock based kernels [speedmod]?
So, we love the stability and battery of speedmod kernel. But also get rid of the boring samsung boot. The steps:
Your bootanimation MUST HAVE FINITE REPEAT VALUES, otherwise you will be stucked in a beautiful boot loop.
*What is this?
Open your zip and see the txt file. The number after all "p" must be HIGHER than 0. It means how many times this part will repeat, and 0 is infinite
1- Pick your desired bootanimation.zip and make two clones. Rename them to ODEAnim.zip and sanim.zip
3- Move the three zip files to /system/media
4- Go to /system/bin. Backup and delete the file samsungani. Rename the file bootanimation (this file you find in this folder; it ISNT your zip file) to samsungani.
5- Reboot
Error guides
* By theming you ll always run into problems. Like bootloops. Mostly its with framework-res.apk. If you get bootloop try this: click And if your system suddendly reboots after replacing framework-res its normal, just wait and reboot one more time. You can also try wipe cache and dalvik! But it isnt normal when u got statusbar fc then you have recompile errors or did sth wrong.
* When you try to push files back after theming and your file manager says: cannot paste. That means you havent enough space in your /system partition. Deleting useless [system] apps and 'tts' folder can free up alot! U can also buy micro SD and with TB move apps2sd
:good:
---------- Post added at 09:34 PM ---------- Previous post was at 09:26 PM ----------
Thanks
WALLPAPERS!!! IF U WANNA KNOW WHERE I GOT MY AWESOME WALLS HEAD OVER TO THIS AWESOME THREAD CREDITS FOR ROSARIA! http://forum.xda-developers.com/showthread.php?t=1942169&page=13
NEW!!!
I made blue clock for lockscreen!!
Download pngs here: http://www.mediafire.com/?c3segwhvay411v9
Replace in framework/res/drawablehdpi
AW: [THEME][MOD][4.2.1 XWLSD] Blue Steel
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
Click to expand...
Click to collapse
WHERE ARE THE DOWNLOADS AND SCREENSHOTS???? I CANT SEE THEM HERE ON THIS THREAD
bold and red just to get attention..dont get offended... just gimme the theme if its beautiful
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
Regards Marcel
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2162055
After that, move folder meta-inf and manifest from ORIGINAL to your new.apk. Otherwise you get weird errors and bootloop. Happy theming!
Update: New screenshots coming!!
Update v3!!!
Hey people..I updated almost EVERYthing and like to share it with you, go to post 1! You can also ask me things if you wanna know how2doit! Hope u like it ^^
EDIT: I CHANGED THE PURPOSE OF THIS THREAD, I WILL PROVIDE TUTORIALS FOR THEMING FOR JUST ANYTHING AND IT GETS UPDATED ONCE IN A WHILE
Re: [THEME][4.1.2] Cyanginger all-in-one mod[8-3-13]
Request link
Spoiler
Device : GT I9100
Rom : WanamLite V14.3
Hey, I dont know if it also works on wanam, [i have omegarom] but you can always try it.. Make nandroid FIRST
This is my systemui, with custom statusbar, wallpaper and MUCH more! http://forum.xda-developers.com/showpost.php?p=38912032&postcount=96
In attachment
If it doesnt work u can always ask me what you want I couldnt teach or do it for you. In my free time!
Rene_ajax said:
5. How to change background in settings / dialer?[/B]
Remember: You CANT change for dialer AND settings it can only be done for both.
Click to expand...
Click to collapse
Not entirely true, depends on the theme being used as the base.
nice to see that my teaching was not in vain
keep learning.
jackq said:
nice to see that my teaching was not in vain
keep learning.
Click to expand...
Click to collapse
yu mate. Then nobody have to ask again and again and also to give you credits thanks alot again!
I wil add more but dont have time right now
might try it out

[MOD][TW KK][Guide][How To]Animated PullDown Background AND/OR Pulldown BAR

An example of what I mean by ANIMATED STATUS BAR PULL DOWN BACKGROUND can be found HERE
Click to expand...
Click to collapse
This is the thread I followed to get a feel for how to do it. ---> http://forum.xda-developers.com/showthread.php?t=1143675
Click to expand...
Click to collapse
Ok, after seeing a few posts a few days ago talking about people having animated status bar pulldown backgrounds, I decided to do some research because I had never heard of this before.
I noticed that for some reason the mod stopped with ICS.
So I decided to create a thread on how to add this feature to your ROM, or the ROM you are currently running.
The edits are very simple, actually, pretty much exact to the GB version of the mod.... however, they can be a little time consuming based on just how many images you would like to add to your animation.
In POST #2, I have posted a guide on how to add add this feature to your TOUCHWIZ KITKAT 4.4.2 ND8/NDC ROM. (other phones also running touchwiz kitkat should be relatively similair, depending on if your systemui.apk is where the background is pulled from.)
Click to expand...
Click to collapse
In POST #3, I have posted a guide for user/themer's, on how to create your own animations and use them with this mod.
Click to expand...
Click to collapse
In POST #4, I have posted a guide on how to add animation to the statusbar PULLDOWN bar.
Click to expand...
Click to collapse
In POST #6 I would like to link to animations posted by you... To make it easier to find the animations... Why not have them posted in the thread explaining how to create them... But I'll need your help on this one.
Click to expand...
Click to collapse
​
I would like to send a thank you to....
@bilgerryan
@tdunham
@dazednconfused
@CNexus
and
@erikalin ...
Without your answers to a few questions I've had or tuts on how to do something... I wouldn't have this mod... Or a few others that I've put out....
So thank you guys for your help.
Dev instructions
Dev instructions on how to add this mod to your touchwiz kitkat 4.4.2 based rom is located below:
Please remember to hit thanks if you like or use this mod.​
NOTE: To get this to work with your rom... Read THIS POST..... To customize the animation read POST #3 and POST #4.
Click to expand...
Click to collapse
Step 1 - Download the AnimatedPulldownMod.zip I have attached below.
Step 2 - Open the zip and extract the two files somewhere on your desktop.
Step 3 - Decompile your systemui.apk from your rom using apktool or what ever tool you use to decompile apps.
Step 4 - Navigate to the res/drawable folder in your decompiled app and the "pulldown.xml" from my zip to this folder.....
Step 5 - Navigate to the res/drawable-xhdpi folder, (or whatever folder your rom uses), and do the same for the "pulldown_animxxxx.png" images into your open folder..... You can now delete my files.
Step 6 - Navigate to "res/layout" folder and open "status_bar_expanded.xml" open it with an xml editor such as notepad++ or virtuos ten studio.
Step 7 - In line 2 of that file you should see this..
<com.android.systemui.statusbar.phone.notificationpanelview android:id="@id/notification_panel" android:background="@drawable/twcustom"................
Click to expand...
Click to collapse
change the background to look like this android:background="@drawable/pulldown" so the image background gets directed to the pulldown.xml file you just put in your res/drawable folder.
Step 8 - Save and close this file now to prevent any conflicts while recompiling the app.
Step 9 - Once you have the images in the proper folder, edited the status_bar_expanded.xml file, and put the pulldown.xml file in your res/drawable folder... Recompile your apk and name it something different, like new.apk...
Step 10 - Open both the original systemui.apk and the new new.apk you just built, with 7-zip (that is what i recommend)
Step 11 - Drag the resourses.arsc and classes.dex file from the new.apk into the original systemui.apk.... Do the same for the res folder in the new.apk
Step 12 - Add to your rom and enjoy!!!
Click to expand...
Click to collapse
Dev/Themer Instructions
THEMER INSTRUCTIONS FOR CREATING YOUR OWN ANIMATIONS AND EDITING THE ABOVE FILES TO WORK WITH YOUR NEW ANIMATIONS.
Please remember to hit thanks if you like or use this mod.​
This guide is assuming you have either performed the DEV MOD in the post above or you are on a rom that has.... AND..... you already have the custom images you would like to use for your animation. If you do not, I recommend reading the guide created by @erikalin on how to create your own images
erikalin said:
If you ever want to learn, the tutorial I made up on another device thread shows the process. I made a video tutorial too - me talking and walking through the process of grabbing a video and turning it into an animation. FWIW, just sharing the love. Link is: written tutorial or video tutorial. Just replace with your own image sizes and file names, same process.
Click to expand...
Click to collapse
As stated above, the process is the same.
You could also search GOOGLE or XDA FORUMS for how to create frame by frame png animations... WARNING!!! It can be time consuming.
NOTE:Read POST #4 to learn how to create a flashable zip for other users of your, and all other roms based on your phone carriers android version that have the mod above, to use.
Click to expand...
Click to collapse
Ok, so if you want to use a different animation than what i have inside the mod, you will have to edit the xml inside of Systemui.apk.
Step 1 - Decompile the SystemUI.apk that already has the mod described in POST #2
Step 2 - Navigate to the res/drawable folder and open pulldown.xml
Step 3 - Count HOW MANY images are in your animation
Step 4 - Add or remove these lines
<item android:duration="100" android:drawable="@drawable/pulldown_animXXXX" />
Click to expand...
Click to collapse
in that xml file you just opened to match the amount of images in your animation (see the next step to see what to name the images)
(THIS FILE ONLY CONTAINS THIS SPECIFIC MOD... DO NOT WORRY ABOUT BREAKING ANYTHING ELSE IF YOU MESS UP...OTHER THAN THE SYSTEMUI FORCE CLOSING WHEN REBOOTING....THIS IS WHERE THE BACKUP COMES IN HANDY.... JUST FOLLOW THE NEXT STEP AND YOU WILL BE OK) (USE THAT FILE AS A TEMPLATE FOR HOW YOURS SHOULD LOOK ONCE FINISHED) (REMEMBER TO HIT SAVE ONCE YOU ARE DONE EDITING THIS XML FILE.)
Step 5 - Rename your images to "pulldown_animXXXX.png" ... replacing the "XXX" with numbers starting at 0 ---> so if you have 10 images, you will start with pulldown_anim0 and end with pulldown_anim9
Step 6 - Move those newly named images to the res/drawable-xhdpi folder
Step 7 - Recompile the app and name it something else other than SystemUI.apk
Step 8 - Open BOTH the original SystemUI.apk and the new apk you just created with 7-zip
Step 9 - Drag the "resources.arsc" file, "classes.dex" file and the entire "res" folder from the NEW apk INTO THE ORIGINAL SYSTEMUI.APK
Step 10 - Push the MODIFIED systemui.apk (NOT THE NEW ONE YOU JUST CREATED) into the priv/app folder on you phone with a root explorer and reboot..... or remove the systemui from my zip above and replace with yours and flash.....
Step 11 - ENJOY!!!
Click to expand...
Click to collapse
instructions for adding animated pulldown bar​
Follow this if you are on the STOCK systemui.apk
Step 1 - Download the zip below.
Step 2 - In your decompiled systemui.apk, Navigate to the res/drawable folder and drop all 3 xmls from the zip, into this folder.
Step 3 - Navigate to the res/drawable-xhdpi and drop the images from the zip into this folder.
Step 4 - Recompile the apk and enjoy.
Note: Use the same methods for the previous posts to customize your own animation.... what i did was put the same animation on both the close and open animations.... but you can have one for opening and one for closing... your choice.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
These are instructions courtesy of @talkingmonkeys for how to add the mod if you are using @dazednconfused single bar pulldown mod.
talkingmonkeys said:
Open drawable/tw_close_handle_bg.xml and look for these 3 lines
Code:
<item android:state_pressed="true" android:drawable="@drawable/tw_close_handle_bg_press" />
<item android:state_focused="true" android:drawable="@drawable/tw_close_handle_bg_press" />
<item android:drawable="@drawable/tw_close_handle_bg_normal" />
Replace the above with this
Code:
<item android:state_pressed="true" android:drawable="@drawable/pulldown_bar_on" />
<item android:drawable="@drawable/pulldown_bar_off" />
Click to expand...
Click to collapse
Click to expand...
Click to collapse
reserved
This is where I would like to post links to flashable animations that you guys make using this guide.
As long as it is for a NDC (virgin/boost mobile) or ND8 (sprint) TOUCHWIZ KITKAT 4.4.2 based rom for the Galaxy S3, simply post your zip here with an ANIMATED pic of your animation, I will link it here in this post.
If you follow step 12 in @erikalin tutorial here
you can create an animated preview of the animation to post here for the screenshot....
Click to expand...
Click to collapse
I would like to thank anyone who creates and posts a zip for us to use in advance.... Thank you.
Awesome! I love this mod! I just modified my systemui to include 111 images of the transformer in the other thread ... Changes d from Autobot to decepticon. Thanks for all of your work on this:thumbup::thumbup:
Sent from my SPH-L710 using xda premium
pharmdeon said:
Awesome! I love this mod! I just modified my systemui to include 111 images of the transformer in the other thread ... Changes d from Autobot to decepticon. Thanks for all of your work on this:thumbup::thumbup:
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
sweet... just follow the instructions in post 4 and you can create a flashable zip to use on the updated version of wicked x rom... as it will have the mod implemented according to @bilgerryan.... and any other rom for our phone that decides to implement this mod....
also, im going to use post 6 as a place to post links to the animations for this mod on our phone.. if ya wanna post it here i'll link it in post 6....
and if you follow step 12 in @erikalin tutorial here
you can create an animated preview of the animation to post here for the screenshot....
pharmdeon said:
Awesome! I love this mod! I just modified my systemui to include 111 images of the transformer in the other thread ... Changes d from Autobot to decepticon. Thanks for all of your work on this:thumbup::thumbup:
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Sweet... guess my issues going above 30 were isolated.... I WAS playing with the animation duration time so that was prolly my issue.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
I wasnt successful turning the 111 image into a zip though. The systemui I modified works, but once I make a zip out of it and flash it, it breaks the apk as before. I went back to the working nandroid and was able to flash the other 28 image one that I put together (I went back and forth between the Autobot and deception anims)
I may be zipping the 111 image XML and images wrong though?? ... I was pretty tired last night when messing around.
Sent from my SPH-L710 using xda premium
pharmdeon said:
I wasnt successful turning the 111 image into a zip though. The systemui I modified works, but once I make a zip out of it and flash it, it breaks the apk as before. I went back to the working nandroid and was able to flash the other 28 image one that I put together (I went back and forth between the Autobot and deception anims)
I may be zipping the 111 image XML and images wrong though?? ... I was pretty tired last night when messing around.
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
If ya wanna post the systemui ya have with the new animation I'll take a look at it.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
I will send shortly
Sent from my SPH-L710 using xda premium
pharmdeon said:
I will send shortly
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
OK. After thinking about it... I do believe that it is my mod....
I don't think I have it set up to ALLOW FOR flashable zips with different amounts of images....
I may have to remove that post or redo the mod....
I would like to test my theory with what you have before I do that tho...
I would also like to state that i am not a dev... So I think its something that I wasn't aware of.....
But again I would like to test it before I go into all of that...
So when ever ya get a chance would be great.... Won't be able to redo the post or the mid for a few more hours.... So no rush... Just whenever ya get a chance.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
OK. first I have to apologize to you @pharmdeon and I have to thank you for discovering this issue before it became widespread.
Your problem IS MY MOD ITSELF and MY INSTRUCTION....
I truly apologize for this mistake and hope ya don't have any hard feelings ... I will work this out and try to get your animation to be flash able.....
For now just use your entire nodded apk since wicked x is really the only custom ROM right now.....
the_original_teknikl said:
OK. first I have to apologize to you @pharmdeon and I have to thank you for discovering this issue before it became widespread.
Your problem IS MY MOD ITSELF and MY INSTRUCTION....
I truly apologize for this mistake and hope ya don't have any hard feelings ... I will work this out and try to get your animation to be flash able.....
For now just use your entire nodded apk since wicked x is really the only custom ROM right now.....
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
Click to expand...
Click to collapse
No issuses at all:good::good: ... glad to "help". I am happy that this neat mod is around even if its not perfected, YET:fingers-crossed:. If you need help testing anything let me know (I've done my fare share of testing lately, lol:cyclops
ok. so after some testing and failure... i have come to the conclusion that these will not be simply universal....
they will be rom specific.
the_original_teknikl said:
ok. so after some testing and failure... i have come to the conclusion that these will not be simply universal....
they will be rom specific.
Click to expand...
Click to collapse
I've actually been looking into this myself, because I want to implement the ability to be able to switch between static pulldowns and animated pulldowns for MOAR
What I was thinking is the following (for making ANY number of pulldown images work, including a static one)
In xml, remove the reference to @ drawabe/pulldown (we'll define it via smali)
Add an init.d script that reads SystemUI.apk, checks to see how many pulldown_XX pngs there are and dynamically generates a pulldown.xml file that references each of those files. It then places this pulldown.xml file somewhere in the system (/data, /sdcard whatever)
In the smali, SystemUI, instead of loading a drawable named pulldown from it's resources, loads the pulldown.xml file we created with the script (using the createFromPath method from the Drawable api) and voila, pulldown that animates if there are multiple images, or is static when there is only 1 image.
CNexus said:
I've actually been looking into this myself, because I want to implement the ability to be able to switch between static pulldowns and animated pulldowns for MOAR
What I was thinking is the following (for making ANY number of pulldown images work, including a static one)
In xml, remove the reference to @ drawabe/pulldown (we'll define it via smali)
Add an init.d script that reads SystemUI.apk, checks to see how many pulldown_XX pngs there are and dynamically generates a pulldown.xml file that references each of those files. It then places this pulldown.xml file somewhere in the system (/data, /sdcard whatever)
In the smali, SystemUI, instead of loading a drawable named pulldown from it's resources, loads the pulldown.xml file we created with the script (using the createFromPath method from the Drawable api) and voila, pulldown that animates if there are multiple images, or is static when there is only 1 image.
Click to expand...
Click to collapse
And that's why ur the boss man....
I wish I had the knowledge to add those edits to smali.... But I have only made edits to smali that you and tdunham directed me to in ur flashlight thread.... When I was trying to workout the missing toggle icon issue....
Other than that I have absolutely no knowledge of CREATING lines in smali or working with strings....
I will have to wait to see what you do with the mod on moar to even get an idea of how to do this... But you would prolly become willing to edit it for wicked x before i could figure that out lol...
I AM a quick learner... As some may have noticed..... But that's a little to high above my current level of knowledge to even have something close this MONTH.....
Can't wait to see what ya do with it man............
And I feel kinda honored to see ya taking this mod even further... Even tho I'm technically not the creator.... Just the modder lol.
Sent from a Wicked Virgin Mobile Samsung Galaxy S3 running KT747 Kernel on KITKAT Touchwiz.
I Literally JUST edited post 4 and then i saw your post... .had to add that info to that post and re edit it lol.... cant wait to see what ya can do on that front man.... again... i will look at it to see if i can figure out what you are referring to (and i say that due to my level of knowledge on smali) but i will prolly not see it until i can compare with yours... but by then we can just use urs... maybe lol
CNexus said:
I've actually been looking into this myself, because I want to implement the ability to be able to switch between static pulldowns and animated pulldowns for MOAR
What I was thinking is the following (for making ANY number of pulldown images work, including a static one)
In xml, remove the reference to @ drawabe/pulldown (we'll define it via smali)
Add an init.d script that reads SystemUI.apk, checks to see how many pulldown_XX pngs there are and dynamically generates a pulldown.xml file that references each of those files. It then places this pulldown.xml file somewhere in the system (/data, /sdcard whatever)
In the smali, SystemUI, instead of loading a drawable named pulldown from it's resources, loads the pulldown.xml file we created with the script (using the createFromPath method from the Drawable api) and voila, pulldown that animates if there are multiple images, or is static when there is only 1 image.
Click to expand...
Click to collapse
sitting here thinking about it... i had a thought since ya said the pulldown.xml would be placed SOMEWHERE....
how bout seeing if the init.d script can read another location for the images... such as "sdcard/pulldown animation".... and plays the animation from that location outside of the systemui.apk....... then have the smali point to that location on the sdcard.... just remove the background from systemui.apk completely.... then the animation can be changed by a simply placing the images in that folder and reboot without flashing or modding the apk at all....
there would be no need for users to need a computer to zip the file and no need for flashing.. just place and reboot
because (and i could be wrong) each flashable zip to change animations would need to have a script that removed the current images from the apk before placing the new animation.... otherwise, flashing a 30 image ani over a 50 image ani would give part of the old one playing at the end of the new one cause the pulldown.xml still reads that there are 50 images......
again... thats your front.... but was just an idea i had after reading your post again.... ur way would prolly be better.. this is just a thought that popped up, i always trying to mod things... even if it aint here yet apparently lol

Categories

Resources