[REQ]On screen Nav Sprint - Sprint Samsung Galaxy S III

I'm trying to mod the framework to enable the ICS onscreen navigation keys but I can't get framework-res.apk to recompile after the mod has been made.
Anybody know what's going on?
Tried doing it using apktool 1.4.2/1.4.3 plus latest version of aapt. I've also tries the APK Mod toolkit thing, I just can't get it to recompile.
P.S. For those of you that ask "Why would you want On screen nav when there's physical/capacitive buttons?" I want to turn it on, then mod the key config to disable the back and menu keys and turn the home key into a dedicated camera key.
Any pointers, or a working framework-res upload would be great.
Also, I'm using the "stock" DeOdexed/Rooted LG2 release.

Try using 7zip to just replace the target file
Sent from my SPH-L710 using xda premium

gtuansdiamm said:
Try using 7zip to just replace the target file
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Haha, I haven't gone that route. But it sounds so idiotically simple that I'll bet it works.
-Edit-
Can't get access to the values folder in which the bools.xml resides.

Anybody get this to work? I would love a flashable!!!!
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2

I've made a couple. I'll post a new zip tomorrow. This would be for stock LG2 Deodexed?
Sent from my SPH-L710 using Tapatalk 2

I bet you are having the plurals errors. Try this...
in res\values\plurals.xml
look for
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-en-rUS\plurals.xml
look for:
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-es\plurals.xml
look for:
Code:
<item quantity="other">%d de %d</item>
make it
Code:
<item quantity="other">%d de %%d</item>
It should compile just fine after that. I had the same errors.

Yes. Fergie. I have been using your Navy bar from blazer. I would like the bar to have the back and recent button reversed back to stock positions. Like the galaxy nexus button order. I sent a pm a fee days ago. THANKS
Sent from my galaxy s3

Tsudeily said:
I bet you are having the plurals errors. Try this...
in res\values\plurals.xml
look for
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-en-rUS\plurals.xml
look for:
Code:
<item quantity="other">%d of %d</item>
make it
Code:
<item quantity="other">%d of %%d</item>
res\values-es\plurals.xml
look for:
Code:
<item quantity="other">%d de %d</item>
make it
Code:
<item quantity="other">%d de %%d</item>
It should compile just fine after that. I had the same errors.
Click to expand...
Click to collapse
YES!

This would be sick if someone could get it working.

thekendog said:
This would be sick if someone could get it working.
Click to expand...
Click to collapse
I'm almost to my computer. If all goes well, I'll post the framework-res.apk shortly.

Good luck. If it doesn't compile let me know and I'll give a shot at enabling the on screen buttons. I just need to know the tutorial to follow.
holysmokesbatty said:
I'm almost to my computer. If all goes well, I'll post the framework-res.apk shortly.
Click to expand...
Click to collapse

Tsudeily said:
Good luck. If it doesn't compile let me know and I'll give a shot at enabling the on screen buttons. I just need to know the tutorial to follow.
Click to expand...
Click to collapse
Looks like it compiled, I'm about to backup my current framework and push this over, will report back in a minute.

Good to hear.
holysmokesbatty said:
Looks like it compiled, I'm about to backup my current framework and push this over, will report back in a minute.
Click to expand...
Click to collapse

Tsudeily said:
Good to hear.
Click to expand...
Click to collapse
Aaaaaand... Bootloop. Though weirdly when I copied framework-res.apk to /framework, the icon turned into the airplane mode icon just before I reboot, soo... I'm going to give this another shot.
Edit: Still no luck. I shouldn't be signing the apk, should I?

Did you give it the right permissions? 0644 I believe.
holysmokesbatty said:
Aaaaaand... Bootloop. Though weirdly when I copied framework-res.apk to /framework, the icon turned into the airplane mode icon just before I reboot, soo... I'm going to give this another shot.
Edit: Still no luck. I shouldn't be signing the apk, should I?
Click to expand...
Click to collapse

Tsudeily said:
Did you give it the right permissions? 0644 I believe.
Click to expand...
Click to collapse
How do I set permissions?

Depends on what you are using.. If Root Explorer, I believe you get the option if you tap and hold the file.
holysmokesbatty said:
How do I set permissions?
Click to expand...
Click to collapse

Tsudeily said:
Depends on what you are using.. If Root Explorer, I believe you get the option if you tap and hold the file.
Click to expand...
Click to collapse
I got it to boot. Sort of. But then it would have an error. SecPhone force closed, which was causing a soft boot.
This was after adb pushing the file instead of moving with Root Explorer. And whenever I replace system files using Root Explorer I always drop the file in root, which usually resets the permissions anyways.
Maybe adb push, boot to recovery and chmod from there?
If that would work, what's the shell command I should use to chmod for setting the permissions right?

Post the apk. Maybe we can get it to boot. And root explorer doesn't change the permissions for me. I have to do it manually.

Okay, so pushing the signed framework gets a boot but it crashes, and pushing an unsigned one causes a bootloop.
Gimme a sec, I'm upping to mediafire.
http://www.mediafire.com/?ff89zjoli50houi
That's the signed apk that sort of boots.

Related

[tutorial]**Fix for recompiling framework-res with apktool** 4/15/2012

Greetings
i do not have have a one x but i have come up with a solution for the errors in apktool when recompiling framework-res.
i have a rezound and have run sense 4.0 on my phone. the screen res is also very similar to the one x.
there are four xmls in values that need to be rewritten.
anims.xml
layout.xml
a small change in plurals.xml
and raw.xml
the change made in plurals has to be made in all the foreign language plurals if you want to keep the languages. you can however delete them if you like. the framework i am posting has the plurals fixed for all languages though.
i am posting also my version of apktool which i have modified to properly smali htc apks.
to begin.
download the apktool linked here
unzip and place the folder wherever you want on your computer.
pull framework-res.apk and com.htc.resources.apk from your rom and place in the apktool folder
open a command window to apktool. (right click on your apktool folder and hit shift at the same time. one of the options will be to open a command window.)
type apktool if framework-res.apk hit enter
then type apktool if com.htc.resources.apk hit enter
now your needed dependencies are installed.
type apktool d framework-res.apk framework hit enter.
note im naming the out folder framework. you can name it anything you like.
this will create a decompiled framework-res. i named the folder framework so there will be a framework folder in your apktool folder now.
go to res/values anims.xml
change this
<anim name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</anim>
to this
<item type="anim" name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</item>
go to res/values layout.xml
change this
Code:
<layout name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</layout>
<layout name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</layout>
<layout name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</layout>
<layout name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</layout>
<layout name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</layout>
<layout name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</layout>
<layout name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</layout>
<layout name="pin_keyboard">@layout/zzzz_pin_keyboard</layout>
to this
Code:
<item type="layout" name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</item>
<item type="layout" name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</item>
<item type="layout" name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</item>
<item type="layout" name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</item>
<item type="layout" name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</item>
<item type="layout" name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</item>
<item type="layout" name="pin_keyboard">@layout/zzzz_pin_keyboard</item>
go to res/values plurals.xml
go to line 79
change this
%d of %d
to this
%1$d of %2$d
now remember every foreign language plural needs that change or just delete them.
go to res/values raws.xml
change this
<raw name="fallbackring_htc">@raw/zzzz_fallbackring_htc</raw>
to this
<item type="raw" name="fallbackring_htc">@raw/zzzz_fallbackring_htc</item>
now when all of the plurals are changed or deleted ( do NOT delete the plurals in res/values. that has to be changed.)
type apktool b framework hit enter. this will build your apk.
here are the res/values xmls modded already to make this easy.
download here replace the existing decompiled xmls with these.
now when you decompile to make further changes you will find that three of the xmls
anims.xml
layout.xml
raws.xml
compile back to their original format so save the modified decompiled xmls
this is the modified framework
framework-res
please post any issues
For compile I'm using apktool b <directory>. I got http://pastebin.com/quWsK7mP
i just finished the tutorial which addresses those errors
Nice to see you here Fern I did the same as your guide yesterday. Very simple fix. Now if we can solve resources....
rayford85 said:
Nice to see you here Fern I did the same as your guide yesterday. Very simple fix. Now if we can solve resources....
Click to expand...
Click to collapse
i believe it is along the same lines. ill take a look at it
fernando sor said:
i just finished the tutorial which addresses those errors
Click to expand...
Click to collapse
Thanks now trying it
I need a place here.
Thanks very much for the heads up, good to see this fix
@fernando if you don't decompile .apk with -t then you don't need to install framework. To decompile framework-res.apk no dependencies are needed.
+1 ...
Been using this exact method since first deodexing the build.. htc-resources is unfortunately a very different story
Sent from my One Xtreme LeeDrOiD loaded Beast
also keep in mind that:
<item type="layout" name="htc_list_item_image_2text_image_bright">@lay out/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layou t/zzzz_htc_list_item_imageicon_2text_2stamp</item>
XDA is doing space in "layout", so warning for users: don't just copy-paste!
mike1986. said:
also keep in mind that:
<item type="layout" name="htc_list_item_image_2text_image_bright">@lay out/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layou t/zzzz_htc_list_item_imageicon_2text_2stamp</item>
XDA is doing space in "layout", so warning for users: don't just copy-paste!
Click to expand...
Click to collapse
Yeah thanks for pointing that out. Also the xmls are posted. I just thought people would want to know the fix.
Sent from my ADR6425LVW using xda premium
LeeDroid said:
+1 ...
Been using this exact method since first deodexing the build.. htc-resources is unfortunately a very different story
Sent from my One Xtreme LeeDrOiD loaded Beast
Click to expand...
Click to collapse
Yeah hopefully with a combined effort that can be figured out
Sent from my ADR6425LVW using xda premium
mike1986. said:
@fernando if you don't decompile .apk with -t then you don't need to install framework. To decompile framework-res.apk no dependencies are needed.
Click to expand...
Click to collapse
True but it is needed for other system apks. Just being thorough
Sent from my ADR6425LVW using xda premium
LeeDroid said:
+1 ...
Been using this exact method since first deodexing the build.. htc-resources is unfortunately a very different story
Sent from my One Xtreme LeeDrOiD loaded Beast
Click to expand...
Click to collapse
all the pros are on the one x!
fernando sor said:
all the pros are on the one x!
Click to expand...
Click to collapse
Yes they are
Time for you to jump on board bro.
Sent from my HTC One X using XDA
rayford85 said:
Yes they are
Time for you to jump on board bro.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Im def getting some form of this phone.
Sent from my PG86100 using xda premium
hey fern, will this process work for the whole One series of phones? or just the one x specifically?
pstevep said:
hey fern, will this process work for the whole One series of phones? or just the one x specifically?
Click to expand...
Click to collapse
It should work on any ics framework sense 4.0
Unfortunately com.htc. resources will not work until apktool is updated.
Sent from my ADR6425LVW using xda premium
fernando sor said:
It should work on any ics framework sense 4.0
Unfortunately com.htc. resources will not work until apktool is updated.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
That sucks. One of our guys themed resources image by image running them all thru draw 9 patch tool One by one
I felt sorry for him
Sent from my HTC One X using XDA

[HOW-TO] Add Another Thread in Settings | About Device

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:

[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!

[GUIDE][MOD] Make full framework/rom transparent(any colour) Easiest Method

I was searching galaxy y forums to make my rom transparent and I got few guides but none of them worked
So I find a way my self (with help of my seniors) :laugh:
You need-->
* framework-res.apk of your rom
* apktool or any tool to recompile or decompile
* text editor like notepad++
* 7zip
* patience
* 5 minutes
Procedure-->
*Decompile framework-res.apk
* Open decompiled framework-res.apk folder and find res/values/styles.xml
* open it via notepad++
Note--> styles.xml is the key file, it control all apps layout and look.
* In styles.xml search for <style name="Theme"> this is the main theme layout. all app uses this.
* Under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item>
*Now change this to <item name="colorBackground">@color/transparent</item>
* Now add this line <item name="windowIsTranslucent">true</item>
below this line--> <item name="colorBackground">@color/transparent</item> this line makes all system apps background to transparent.
Now you have to ways to set transparency and colour [Very Important part] Use any one method you like
first method -->
Make a transparent image save it as png file. Make sure it has correct resolution(for galaxy y it's 240 x 320 )
Dont make full transparent, it looks odd
Save it and paste in drawable ldpi (Might be mdpi/hdpi for other devices)
Now open res/values/styles.xml and look for <item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">@drawable/image</item> *(here I save my png named with "image",You can save it with any name)
Save it and recompile with original signature and push it to your system/framework folder :laugh:
second method -->
open res/values/styles.xml and look for
<item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">#80ffffff</item> or any other color hex code as u want. First two digits control transparency.
Save it and recompile with Original Signature and push it to system/framework and done.
Important notes-->
1.I use TickelMyAndroid tool to recompile and decompile..It's easy to use and there's an option to sign with original signature..If u don't use tickel my android then u need to do below steps
Compile framework-res.apk and open it with 7zip and delete resources file . open stock framework (unedited) with 7zip,, and open edited framework with 7zip.
drag and drop resources file and res folder from unedited to edited framework..
Thats it. Push it to system/framework.
2.If u push framework through mobile (root explorer or any root browser) then first change permission of framework-res.apk to r-w--r--r and then push
3.This procedure for stock rom.. If you use any custom roms then in styles.xml the codes might be setted already to transparency.. Then you just need to skip those lines and leave them and do the Rest procedure
Awesome
[email protected] said:
I was searching galaxy y forums to make my rom transparent and I got few guides but none of them worked
So I find a way my self (with help of my seniors) :laugh:
You need-->
* framework-res.apk of your rom
* apktool or any tool to recompile or decompile
* text editor like notepad++
* 7zip
* patience
* 5 minutes
Procedure-->
*Decompile framework-res.apk
* Open decompiled framework-res.apk folder and find res/values/styles.xml
* open it via notepad++
Note--> styles.xml is the key file, it control all apps layout and look.
* In styles.xml search for <style name="Theme"> this is the main theme layout. all app uses this.
* Under <style name="Theme"> search for <item name="colorBackground">@color/background_dark</item>
*Now change this to <item name="colorBackground">@color/transparent</item>
* Now add this line <item name="windowIsTranslucent">true</item>
below this line--> <item name="colorBackground">@color/transparent</item> this line makes all system apps background to transparent.
Now you have to ways to set transparency and colour [Very Important part] Use any one method you like
first method -->
Make a transparent image save it as png file. Make sure it has correct resolution(for galaxy y it's 240 x 320 )
Dont make full transparent, it looks odd
Save it and paste in drawable ldpi (Might be mdpi/hdpi for other devices)
Now open res/values/styles.xml and look for <item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">@drawable/image</item> *(here I save my png named with "image",You can save it with any name)
Save it and recompile with original signature and push it to your system/framework folder :laugh:
second method -->
open res/values/styles.xml and look for
<item name="windowBackground">@drawable/screen_background_dark</item>
Change this to <item name="windowBackground">#80ffffff</item> or any other color hex code as u want. First two digits control transparency.
Save it and recompile with Original Signature and push it to system/framework and done.
Important notes-->
1.I use TickelMyAndroid tool to recompile and decompile..It's easy to use and there's an option to sign with original signature..If u don't use tickel my android then u need to do below steps
Compile framework-res.apk and open it with 7zip and delete resources file . open stock framework (unedited) with 7zip,, and open edited framework with 7zip.
drag and drop resources file and res folder from unedited to edited framework..
Thats it. Push it to system/framework.
2.If u push framework through mobile (root explorer or any root browser) then first change permission of framework-res.apk to r-w--r--r and then push
3.This procedure for stock rom.. If you use any custom roms then in styles.xml the codes might be setted already to transparency.. Then you just need to skip those lines and leave them and do the Rest procedure
Click to expand...
Click to collapse
Awesomeee work sir..I will try this ASAP
Ok
kismatmansi said:
Awesomeee work sir..I will try this ASAP
Click to expand...
Click to collapse
Test it and report here...I test it in my galaxy y in 4 roms... So I hope it'll work for u too
[email protected] said:
Test it and report here...I test it in my galaxy y in 4 roms... So I hope it'll work for u too
Click to expand...
Click to collapse
Ok sir
I don't know where did you search but here is an all in one guide and it works well on galaxy y
[GUIDE][MOD]Transparency for froyo,gb, ics
AbhiLP said:
I don't know where did you search but here is an all in one guide and it works well on galaxy y
[GUIDE][MOD]Transparency for froyo,gb, ics
Click to expand...
Click to collapse
Sir I never Got any working method.. Thatswhy I post this. I got this idea from marcussmith2626's post ..where he guide to make lockscreen and statusbar transparent. I also got help from my seniors.
[email protected] said:
Sir I never Got any working method.. Thatswhy I post this. I got this idea from marcussmith2626's post ..where he guide to make lockscreen and statusbar transparent. I also got help from my seniors.
Click to expand...
Click to collapse
Basically, They are all same guides. It doesn't matter which one you try, you'll be doing same steps. The link i've posted above contains 4 guides including the ones you've posted here.
Anyway, a nice try !
AbhiLP said:
Basically, They are all same guides. It doesn't matter which one you try, you'll be doing same steps. The link i've posted above contains 4 guides including the ones you've posted here.
Anyway, a nice try !
Click to expand...
Click to collapse
Sir As I told u I tried many methods before. None of them worked for me . And the method was not worked for rest members also(I see the comments on those threads)... In those tuts they didn't mention to use transparent images Thatswhy they didn't worked..but in your link the third method only seems to be working (see my 2nd method here in the post ) Rest three methods of your link didn't worked for me .(as I tried before)

Categories

Resources