[HOW-TO] Add Another Thread in Settings | About Device - Galaxy S II Themes and Apps

No as such device or specific fw requirements for this guide/How-to to work.
Ok, so this would be my first ever tutorial on XDA so bear with me. I would try to explain as much as possible.
This How-to focuses on adding another info section in settings.apk. This guide is intended to be used by ROM Devs and Themers. I did a thorough research if their is any guide similar to this in this forum section but couldnt find any so here it goes.
Prequistes:
Be able to Decompile/Compile apks
Notepad++
Patience
Firstly you have to decompile SecSettings.apk (If you are using JB fw) or Settings.apk (If you are using ICS fw) it doesn't matter which fw you are using the rest of the guide will be the same.
After you have decompiled the SecSettings.apk or Settings.apk, go into the folder you decompiled to then res/values/strings. Open strings with any code editor such as Notepad++ after that add these two lines before the end line:
<string name="mod_version">XenonMOD version</string>
<string name="mod_version_info">Xenon-v2.00.00</string>
Click to expand...
Click to collapse
NOTE: You can change XenonMOD version to anything you like and also Xenon-v2.00.00. I am using these as a example.
Next go to res/xml/device_info_settings.xml and add these lines before the ending line:
<Preference android:key="mod_version" style="?androidreferenceInformationStyle" android:title="@string/mod_version android:summary="@string/mod_version_info" />
Click to expand...
Click to collapse
Now recompile everything. If you have done everything as stated you should end up with a perfectly good SecSettings.apk or Settings.apk that has a another info/thread added to it. Congratulations!
NOTE: You can use this guide to add whatever info you want to the Settings section.
Follow me on twitter @TaimurAkmal. I would be able to solve any problem that you may have quicker, if you reach me with a tweet.
Don't forget to leave a Thanks by pressing the Thanks button which is placed bottom-left of this post!

Nyc Work

Leave a Thanks and it would make my day.

ahh sorry i forgot to
now done

Nice, unfortunately this didn't work on my Nexus, when I copy paste then it's not normal if I follow the other lines in that file I put the texts the correct sequence then I can successfully compile settings.apk and when I replace settings.apk it is not shown and not working, I have also tried by signing apk via Dsixda's android kitchen but still the same issue, btw: I use latest Android version on my Nexus and I don't think that is the issue...
Maybe something to do with SettingsProvider.apk or does smali files need editing?
Thanks

manumanfred said:
Nice, unfortunately this didn't work on my Nexus, when I copy paste then it's not normal if I follow the other lines in that file I put the texts the correct sequence then I can successfully compile settings.apk and when I replace settings.apk it is not shown and not working, I have also tried by signing apk via Dsixda's android kitchen but still the same issue, btw: I use latest Android version on my Nexus and I don't think that is the issue...
Maybe something to do with SettingsProvider.apk or does smali files need editing?
Thanks
Click to expand...
Click to collapse
the problem is the parsing, he forgot to add another " after
this is the correct code
Code:
<Preference android:key="mod_version" style="?android:preferenceInformationStyle" android:title="@string/mod_version" android:summary="@string/mod_version_info" />

nice guide, this is what i searching for. Thanks :good:

Related

[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

Disabling Soft Buttons - The "Bee" Trick

Hey everyone,
I've just donloadest the newest version of the game "Tiny Bee"(its a copy of dillo hills)
I started the game and just saw that the soft buttons were disabled
I went back to the homescreen and there they are!
If we could use this (how they are able to disable the Soft Buttons) we could use this
Until now, just Archos applications (music,video,...) were able to do so.
If you're interested in that i could send an e-mail to the developers of the game, they're german too
what do you think about this? let me know..
I'm not a developer, but these settings are in the Manifest, aren't they?
So, if we had the command for this, we could put this in the local.prop for those people where the other method doesn't work, like me. I will look.
But does the other trick to remove the buttons is working for you?
Flix123 said:
I'm not a developer, but these settings are in the Manifest, aren't they?
So, if we had the command for this, we could put this in the local.prop for those people where the other method doesn't work, like me. I will look.
But does the other trick to remove the buttons is working for you?
Click to expand...
Click to collapse
Thanks for interest
I dont try the other ways, but i need the soft buttons in the browser, but in games i dont need them, and if we could set up for each app if we want the buttons or not, that would be cool!
I dont like the other ways, because you cant do that...
Yep, i also think there are in the manifest xml file could you look? that would be assome!
I could look, but how can I do this? Do I need the SDK or somethinglike this?
Flix123 said:
I could look, but how can I do this? Do I need the SDK or somethinglike this?
Click to expand...
Click to collapse
Noo^^
You have WinRar right?
Open the apk with this and you will get the manifest.xml
do need a link to the apk? (Warning:Warez) I would send to you per PM
I've the apk and it's extracted. But I can't open the AndroidManifest.xml. When I open it with notepad++, there are only some 00000.
How I can open it?
Forget, what I said.
I think, I found it: There's the permission: a r c h o s . p e r m i s s i o n . F U L L S C R E E N . F U L L
I will try to put that into other games.
Flix123 said:
Forget, what I said.
I think, I found it: There's the permission: a r c h o s . p e r m i s s i o n . F U L L S C R E E N . F U L L
I will try to put that into other games.
Click to expand...
Click to collapse
Wonderfull! Thank you!
I lay in bed otherwise i would do it, but i'm just on my archos
It really looks like this permission is the key
I'm testing it in the moment.
You're German, right? So could I send you a german PM?
I don't know, how we could put the permission in apps. Maybe we need the SDK for this?
Is there a developer, that could help us?
And does this work for you? It doesn't work. In connection with button savior it could solve the problem, too.
Okey, i'll send you a german pm easier..
For fhe others:
If there will be any updates i post them here
I have done it before..
Here's how to do it:
1. Decompile the apk using APK tool or other tool that have same function
2. Add this (without quotes) --> "<uses-permission android:name="archos.permission.FULLSCREEN" />" to AndroidManifest.xml
3. Recompile back the apk
4. Sign the apk, I use zip signer
5. Install the apk
I've done this to ezPDFReader, but I think this method is lots of work and after an update, you have to done it again..
Here's thread from archosfans - http://forum.archosfans.com/viewtopic.php?f=63&t=46665
akmalhisyam said:
I have done it before..
Here's how to do it:
1. Decompile the apk using APK tool or other tool that have same function
2. Add this (without quotes) --> "<uses-permission android:name="archos.permission.FULLSCREEN" />" to AndroidManifest.xml
3. Recompile back the apk
4. Sign the apk, I use zip signer
5. Install the apk
I've done this to ezPDFReader, but I think this method is lots of work and after an update, you have to done it again..
Here's thread from archosfans - http://forum.archosfans.com/viewtopic.php?f=63&t=46665
Click to expand...
Click to collapse
Okey, thanks
I it would be much work but could we create an app that decompile the apk and add the line in the manifest?
I'm new in apps develop but i read me in atm
Do you know if android can decompile a apk from built-in?
I'm sure this function hided anwhere, because if theres no function like the we wouldnt be able to install a apk
1. Doesn't "decompile" just mean "unzip"? apk files are just zip files, with some alignment and signing, and you can just unzip them.
2. Dumb question: If you get rid of the buttons, how do you leave the app?
arpruss said:
1. Doesn't "decompile" just mean "unzip"? apk files are just zip files, with some alignment and signing, and you can just unzip them.
2. Dumb question: If you get rid of the buttons, how do you leave the app?
Click to expand...
Click to collapse
1. normally yes, but then the manifest.xml file nearly isnt redable
2. With an button insie the app
Lenn said:
Okey, thanks
I it would be much work but could we create an app that decompile the apk and add the line in the manifest?
I'm new in apps develop but i read me in atm
Do you know if android can decompile a apk from built-in?
I'm sure this function hided anwhere, because if theres no function like the we wouldnt be able to install a apk
Click to expand...
Click to collapse
It would be nice if we can decompile apk inside the device itself. But I think there's no such thing yet
Guys that arent new news
Sorry i am too lazy to search the link, but in the Archosfans forum an Archos Staff said that they implemented the fullscreen permission in one of the last firmware updates...
U have to put the permission line into the manifest...
I tested it and it worked. I am not a developer, u just have to use the Apk Edit tool.
Edit: Okay here is your solution
http://forum.archosfans.com/viewtopic.php?f=63&t=46665
akmalhisyam said:
It would be nice if we can decompile apk inside the device itself. But I think there's no such thing yet
Click to expand...
Click to collapse
Actually, you can compile command-line unzip/zip utilities, and then use a zip-signer app.
(Nevermind--I forgot that the xml files are binary compressed. Sorry, can't see how to delete my reply.)
Just found that there is a way to do this without editing the manifest (and changing the signing keys, thereby losing app data). Instead, just edit /data/system/packages.xml. I just tried it with Angry Birds Seasons, and it worked fine, except that without the buttons it was hard to get out (I just rebooted).
Basically, you pull packages.xml to the PC, find the <package> section you need, and add
<item name="archos.permission.FULLSCREEN.FULL" /> to its <perms> section. If it doesn't have a <perms> section, just add:
<perms>
<item name="archos.permission.FULLSCREEN.FULL" />
</perms>
Then put packages.xml back in /data/system/. Of course you'll need root, but you don't need rw system (/data/system is not in the system partition).
And then reboot (no way around that as far as I can see).
It wouldn't be at all hard to write a little app to do this. It would take less than half an hour for someone who knows how to use SAX (I don't).
One thing this shows, which I didn't know, is that the system gets the permissions from packages.xml, not the manifest. So modifying the manifest in the apk wouldn't help unless you re-installed the apk. And it also means that one can change which permissions one gives an app after one has installed it (though it's probably going to crash if you deny it something it needs).
Of course, be careful. If the xml is malformed, you'll probably get a reset loop. So backup your system first. (I basically tar /data)
arpruss said:
Just found that there is a way to do this without editing the manifest (and changing the signing keys, thereby losing app data). Instead, just edit /data/system/packages.xml. I just tried it with Angry Birds Seasons, and it worked fine, except that without the buttons it was hard to get out (I just rebooted).
Basically, you pull packages.xml to the PC, find the <package> section you need, and add
<item name="archos.permission.FULLSCREEN.FULL" /> to its <perms> section. If it doesn't have a <perms> section, just add:
<perms>
<item name="archos.permission.FULLSCREEN.FULL" />
</perms>
Then put packages.xml back in /data/system/. Of course you'll need root, but you don't need rw system (/data/system is not in the system partition).
And then reboot (no way around that as far as I can see).
It wouldn't be at all hard to write a little app to do this. It would take less than half an hour for someone who knows how to use SAX (I don't).
One thing this shows, which I didn't know, is that the system gets the permissions from packages.xml, not the manifest. So modifying the manifest in the apk wouldn't help unless you re-installed the apk. And it also means that one can change which permissions one gives an app after one has installed it (though it's probably going to crash if you deny it something it needs).
Of course, be careful. If the xml is malformed, you'll probably get a reset loop. So backup your system first. (I basically tar /data)
Click to expand...
Click to collapse
Thaaaank you!
Thanks for the work sou made!
Great news!
Actually i start with app developement at the moment, but jow i just can give out test and buttons and such very first stadium...
You really mean this would be easy? For someone who can create an app?
I could ask the deceloper of the Uruconfig app, solune
But maybe he have to do much at the moment...
We could also create a thread on general xda to ask for somebody who could do this

[MOD][DIY] Get Working MMS + SMS Auto-Split for CM10.1 and AOSP ROMs

So I've made this mod for myself for a long time now, I've had numerous requests from people to add this to CM's source, I have no idea nor interest in doing that but if anyone out there wants to, go ahead.
Anyway this mod is for users of CM 10.1 nightly's and other AOSP based ROMs (PACMan, Slim ROM, AOKP, etc) . I haven't used it in a while so I'm not sure if this is even needed.
This mod will get MMS working properly and will also allow you to send multiple messages without having to stop at 160 characters per message.
You need apktool to decompile the apk, I use this version (apktool.jar and aapt.exe)
-First, get these two apk's from your current CM 10.1 build onto your computer
*/system/app/Mms.apk
*/system/framework/framework-res.apk
-Next, place those apk's in your apktool directory. Open up a command prompt, CD your apktool folder and issue the following commands
Code:
apktool if framework-res.apk
apktool d Mms.apk
-In your decompiled Mms.apk folder, navigate to /res/xml/ and replace the mms_config.xml with this one
-Once that xml is replaced recompile the Mms.apk. In case you're not too familiar with apktool you do so my issuing this command
Code:
apktool b Mms Mms-mod.apk
-In your apktool folder you should see the Mms-mod.apk. Drag and drop the META-INF folder and AndroidManifest.xml from the original Mms.apk into your Mms-mod.apk
-Lastly, rename your modified apk to just Mms.apk and make a flashable zip for yourself. Here is a DIY I wrote up a while back for that.
I'm not on XDA much anymore so I won't take requests to this for every nightly, however if someone wants to add this to CM's code feel free!
Happy Holidays
if the link for the modified mms_config.xml isn't working use this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
</mms_config>
This doesn't seem to work for me. Got it all put together, pushed it to my device, and it runs but doesn't show the extra options.
bmxchampga said:
This doesn't seem to work for me. Got it all put together, pushed it to my device, and it runs but doesn't show the extra options.
Click to expand...
Click to collapse
It works, there's really no new options within the Settings menu besides the add a counter split, which folks should enable just to be safe.
Sent from my SPH-L710 using Tapatalk 2
nice work thank you
Anyway to get a zip for this so it's flashable? I'm not experience with code edits
interhawk1 said:
Anyway to get a zip for this so it's flashable? I'm not experience with code edits
Click to expand...
Click to collapse
Seconded, I'm currently at work and to be provided with a flashable zip would be awesome and I'd be eternally grateful.
This was the only thing I couldnt get working on this version of the rom but unfortunately the instructions are only for seasoned veterans and theres no way for anyone to learn anything here. Surely if nobodys going to teach people the full method then someone can make this a flashable zip and upload it.
xtool said:
This was the only thing I couldnt get working on this version of the rom but unfortunately the instructions are only for seasoned veterans and theres no way for anyone to learn anything here. Surely if nobodys going to teach people the full method then someone can make this a flashable zip and upload it.
Click to expand...
Click to collapse
Lol. What are you having trouble with? The only pre req is you have apktool set up. If you wanna get apktool set up, Google "How to Set up apktool Windows" (or Mac or whatever you have)
I gave a link to the apktool I use and I even typed out the commands needed. But don't say you can't learn anything here; when I was all into development I learned about 75% of easy mods on this site.
Sent from my SPH-L710 using Tapatalk 2
I've read it a bunch of times and haven't a clue where to start.
xtool said:
I've read it a bunch of times and haven't a clue where to start.
Click to expand...
Click to collapse
I edited my post above. The only pre req is you have apktool set up. Start there. I'll be @ my laptop later n can post a link to a tutorial for that. You only need to download JAVA, then use the link in my original post to get the latest apktool.jar and aapt.exe
Sent from my SPH-L710 using Tapatalk 2
Alright here is a guide on how to set up apktool (Windows)
Download JAVA found here. If you're not sure which version of Windows you have (x64 or x86) look under System Info, it'll be under System Type
After you install JAVA navigate to C:\Users\Owner (*Note: "Owner" can be your computer name. ex: C:\Users\Steve\)
Create a folder called apktool
Next, download this package I made for Windows users, it has the latest apktool files for Windows users
Extract it using 7-Zip
Open the extracted folder and copy/paste all of the contents into your C;\Users\Owner\apktool folder
Then follow the instructions in the OP
As soon as you open the command prompt type this
Code:
cd apktool
Then follow the rest as is. If you're having issues getting the framework-res.apk and Mms.apk from your phone to your computer you can email them to yourself or upload them to dropbox or some other file sharing site then download them to your computer
Thank you for the tutorial and how to unpackage (decompress) apks.
I did this for the JellyBean [4.2.1] Beta 2 Rom, got the MMS.APK outta there.
APKTooled it, added the splitsms to true.
Repackaged
Did the zip tutorial and made the zip.
Flashed the zip
It still doesn't auto split.
Any suggestions?
My MMS config:
"<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-GT-I9100-Mms</string>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-I9100.xml</string>
</mms_config>"
MadDucker said:
Thank you for the tutorial and how to unpackage (decompress) apks.
I did this for the JellyBean [4.2.1] Beta 2 Rom, got the MMS.APK outta there.
APKTooled it, added the splitsms to true.
Repackaged
Did the zip tutorial and made the zip.
Flashed the zip
It still doesn't auto split.
Any suggestions?
My MMS config:
"<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-GT-I9100-Mms</string>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-I9100.xml</string>
</mms_config>"
Click to expand...
Click to collapse
The mms_config.xml is wrong, I have the correct one for Sprint in the second post
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
The mms_config.xml is wrong, I have the correct one for Sprint in the second post
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Do the differences have to be in order?
Yours:
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
vs a recompiled one:
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
because I did it like the bottom one but it still didn't work.
MadDucker said:
Do the differences have to be in order?
Yours:
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
vs a recompiled one:
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
because I did it like the bottom one but it still didn't work.
Click to expand...
Click to collapse
I'm not sure, I did use CM 10.1 last night for a bit and this worked. I'm back on a TW thing right nw but you can try replacing the entire mms_config.xml with the one I have in the OP. Just d/l the xml and overwrite the one in /res/xml
If tht doesn't do it I'll check out the new CM 10.1 build tomorrow and see if anything changed
Sent from my SPH-L710 using Tapatalk 2
I just made this mod for the latest build 1-5-13 and it works fine. Just follow directions to a T, including using the mms_config.xml in the Op
Also, after you reboot open up the messaging app and go to its settings, select Split Counter and Strip Unicode. But yea I tested it a bunch of times and it works fine
Sent from my SPH-L710 using Tapatalk 2
Here is a flashable zip for this mod, includes a framework-res mod as well. Made for the CM 10.1 build only (1-5-13)
http://db.tt/FcgSsazo
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
Here is a flashable zip for this mod, includes a framework-res mod as well. Made for the CM 10.1 build only (1-5-13)
http://db.tt/FcgSsazo
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Man, I feel stupid now.
In your zip, you added the framework APK. That was probably important in adding to the flashable zip right?
Edit*
OMG It was even worse than that. I was addding the APK under the data/app folder instead of system/app.
Thanks for the zip, thanks for the info. Gave you as much thanks as I could.
Anyway to fix MMS rotation?
Sent from my SPH-L710 using xda app-developers app

[GUIDE][MOD] Enable navigation bar 4.2.2

This is a quick dev guide to enable navigation bar for S4.
Decompile SystemUI.apk go to res/values/drawables and add:
Code:
[COLOR=#8b008b]<item [COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="drawable"[/COLOR] [COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="tw_navigationbar_bg"[/COLOR]>[/COLOR]#ff000000[COLOR=#8b008b]</item>[/COLOR]
Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.
Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.
Now use any buil.prop editor and add line:
Code:
qemu.hw.mainkeys=0
You can also enable it now through framework-res method.
Reboot and your done.
Please hit thanks and give credits.
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
JibbaJoy said:
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
Click to expand...
Click to collapse
This can easily be done when I find time I will add how to.
Sent from my GT-I9505 using xda premium
works perfect but no text under buttons below could you add them
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
janjan said:
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
Click to expand...
Click to collapse
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
bruzski said:
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
Click to expand...
Click to collapse
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
janjan said:
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
Click to expand...
Click to collapse
decompiled SystemUI.apk doesn't seem complete !! do you get errors while decompiling ? what version of apktool do you use?
I am using APK-Multi-Tool-Stable-RELEASE which is the latest version. no error during decompiling.. Which version do you use? Iam going to decompile it once again.
Edit.. still missing https://dl.dropboxusercontent.com/u/41923164/missing.png
i use ApkManager V6.1, works great!
Deleted
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Decompile errors
I'm trying to decompile SystemUI.apk (copied it from my phone "system\app" to "\place-apk-here-for-modding" folder) using ApkManager V6.1.
I'm getting an error message. Can somebody help please ? Log is attached.
Thanks!
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
hocgwai said:
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Click to expand...
Click to collapse
I just noticed that I have exactly the same problem as you are. Were you able to get it working ?
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
gharrington said:
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
Click to expand...
Click to collapse
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
fmark said:
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
Click to expand...
Click to collapse
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
fmark said:
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
Click to expand...
Click to collapse
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
bruzski said:
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
Click to expand...
Click to collapse
Decompiling is fine - no errors. I'm getting errors when compiling.
---------- Post added at 07:29 AM ---------- Previous post was at 07:26 AM ----------
gharrington said:
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
Click to expand...
Click to collapse
No, unfortunately your systemui.apk is not compatible with my Rom.
I need to solve compilation errors. Any advice on that?
Thank you!

[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