[HOWTO][MOD] Remove Battery, No AMPM, Center Clock and more... - One (M7) Android Development

This is a howto thread ... Copied from the one I had opened in Butterfly Themes/Apps Section to help others ...
Tools Required :
1. apktool (For Decompile/Compile)
2. Notepad++ (My preferred smali/xml editor)
3. 7zip (Windows) or Text Editor (Mac)
4. Java Runtime
MOD 1 - Remove Battery Icon from Status Bar
This technique applies to ALL ROMs.
This will remove the ugly green battery icon totally from the Status Bar. Then you can use your own apps to show battery % etc and it looks very clean imo.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Manual Steps
File to modify - /system/app/SystemUI.apk
Tools needed - 7zip
Steps -
1. Copy over your SystemUI.apk to your Computer
2. Open (Do not extract) using 7zip
3. Browse to folder "/res/drawable"
4. Delete files "stat_sys_battery.xml" & "stat_sys_battery_charge.xml" (Keep backup if you like)
5. Close 7zip (No option to save, etc.. just close the application)
6. Either push this SystemUI.apk file back to your phone or best is to download one of my zips below, open using 7zip and then copy over your SystemUI.apk overwriting the one in the zip. Then simply flash in CWM or TWRP.
All Done !
Click to expand...
Click to collapse
MOD 2 - Remove AM/PM From Status Bar Clock
This mod removes the AM/PM totally from the Status Bar Clock.
Click to expand...
Click to collapse
Steps -
1. Need to extract /system/app/SystemUI.apk to your computer and decompile with your favourite tool
2. Edit file - smali/com/android/systemui/statusbar/policy/Clock.smali (I use Notepad++)
3. Change 1st instance of const/4 v0, 0x1 to const/4 v0, 0x2
4. Save file and recompile the apk
5. Push apk back onto phone
Click to expand...
Click to collapse
MOD 3 - Centre Status Bar Clock
This mod centres the Status Bar Clock
Click to expand...
Click to collapse
Steps -
1. Extract all files for apktool into a folder (Lets say C:\apktool for this example)
2. Extract files from your phone and copy into c:\apktool :
/system/framework/framework-res.apk
/system/framework/com.htc.resources.apk
/system/app/SystemUI.apk
3. Open a command prompt at c:\apktool
4. Run following commands :
apktool if framework-res.apk
apktool com.htc.resources.apk
apktool d SystemUI.apk
5. This should decompile the SystemUI apk successfully and create folder SystemUI in c:\apktool
6. Change into SystemUI folder. Edit file - res/layout/status_bar.xml (I use Notepad++)
7. Find the first "LinearLayout Area".
8. Remove everything between the 2 LinearLayout tags (Only the first one, not the ticker ones)
9. Add following between the tags :
Code:
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_alignParentLeft="true" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:layout_toRightOf="@id/moreIcon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.policy.Clock android:layout_centerInParent="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="@*android:color/white" android:gravity="center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_toLeftOf="@id/battery" />
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toLeftOf="@id/signal_cluster" />
</RelativeLayout>
10. Save file and recompile the apk using command prompt :
apktool b SystemUI
11. New compiled apk will be available in c:\apktool\SystemUI\dist
12. You can use attached template zip and open (DO NOT EXTRACT) using 7z
13. Change into system/app folder in 7z and drag the new compiled SystemUI.apk into it. Answer YES if you get prompt in 7z
14. Similarly use the template to create an original zip for your untouched SystemUI.apk for reverting back to original
15. Flash away in Recovery and Enjoy!
Click to expand...
Click to collapse

Thanks for this tips!
Work perfect on my HTC
Do you know how to delete icon of the "energy economy" option?

alexbds said:
Thanks for this tips!
Work perfect on my HTC
Do you know how to delete icon of the "energy economy" option?
Click to expand...
Click to collapse
From menu in your app drawer select Manage Apps. Swipe to All, then scroll down until you find Power. Click on it and then deselect Show Notifications. That's it

Dunc001 said:
From menu in your app drawer select Manage Apps. Swipe to All, then scroll down until you find Power. Click on it and then deselect Show Notifications. That's it
Click to expand...
Click to collapse
Thanks for the tip but it is not working with power application. The Show notifications is unaccessible for this app.
My phone is in root mode with 4.2 ROM custom from Mike1986.

Do you mean the power save notification ? If yes I think I know the way .. Will post back soon
Sent from my HTC One using xda premium

Yes , the power save application has a notification that you can not desactivate if you use the application.
---------- Post added at 04:10 PM ---------- Previous post was at 04:04 PM ----------
I just found how to desactivate it: just download application "notification off" and you will be able to desactivate the notification icon without stopping the application anc continue to have power save benefits

Thank you very much for the tutorial! I do have a small request though.... I like my Statusbar very minimal with only data/wifi showing and everything else gone.
How would I remove gps crosshair, clock, alarm, and signal icons if you have the time. Thank you

knightwolf123 said:
Thank you very much for the tutorial! I do have a small request though.... I like my Statusbar very minimal with only data/wifi showing and everything else gone.
How would I remove gps crosshair, clock, alarm, and signal icons if you have the time. Thank you
Click to expand...
Click to collapse
just download "notifications off" app and you will be able to remove all notifications you want!

alexbds said:
just download "notifications off" app and you will be able to remove all notifications you want!
Click to expand...
Click to collapse
I tried that. Didn't have the options I'm looking for. Great however for disabling notifications for apps I've downloaded from the market though.

Can anyone do me a huge favour, could someone please remove the clock and the battery from the statusbar. Looking at this Remove Clock it guides people through on how to do it, I cant as I seem to be unable too, can anyone help.

nintendolinky said:
Can anyone do me a huge favour, could someone please remove the clock and the battery from the statusbar. Looking at this Remove Clock it guides people through on how to do it, I cant as I seem to be unable too, can anyone help.
Click to expand...
Click to collapse
Also attach the framework files I have mentioned in OP
Sent from my HTC One using xda premium

framework-res.apk is here Thanks mate

Here use the attached zip, also attached the Original for reverting. Removed clock and battery from Status bar.

v-b-n said:
Here use the attached zip, also attached the Original for reverting. Removed clock and battery from Status bar.
Click to expand...
Click to collapse
Doesnt work mate, getting status bar has stopped error, and them systemui force close.

Which ROM is this btw ? I will recompile on my laptop shortly and upload again (My mac is not upto speed for this)

It's trickdroid 3.5.0 and thanks, really appreciated.
Sent from my M7 using Tapatalk 2

Removed my whole status bar

I'm trying to do mod 1 but for some reason when i try to delete the two files in 7-zip, it tells says "Not Implemented!". Any ideas?

Awesome tutorial, thanks a lot!
Sent from my Tricked-out M7 using xda premium

Oh thats coincidental. The other day I had many attempts to remove the am and pm. Pretty much did the same thing. It seems like HTC must've really ****ed with the clock.smali, because it didnt work.

Related

[MORPH] Desire Lock Screen Text

So I've made a Morph to make the lock screen tab transparent, inspired by Pervert Power haha
http://forum.xda-developers.com/showthread...389#post6016389
Here it is:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'd like to add my first and last name underneath the date. Does anyone know what files will need to be edited for that to happen? And can that be Morphed?
Attached is the LockScreen Morph if anyone is interested. (Reboot after Morph)
Probably an xml change. I can try and hack it if pointed at the right location
ps: found this
britoso said:
Probably an xml change. I can try and hack it if pointed at the right location
Click to expand...
Click to collapse
I'm guessing you're not using Desire?
ps: found this
Click to expand...
Click to collapse
Wow, that guy is looking for the same thing I am. What are the chances!
I looked through the XML's but didn't see one that was specifically for lock screen. Hopefully this doesn't require editing the Kernel?...
Wow this forum moves fast!
This would be way cool! You should also check it out for cyanogen, i would love this
Found the XML!!! (attached)
\cyanogen-android_frameworks_base-67dd0a3\core\res\res\layout\keyguard_screen_tab_unlock.xml
Note there is a keyguard_screen_tab_unlock_land.xml file too for landscape mode.
Just need to
1) decompile this XML in framework-res.apk\res\layout\
2) make our changes
3) and compile it back.
update: Eclipse compiles your xml to binary when you test/build your app. Testing it now.
britoso said:
Just need to
1) decompile this XML in framework-res.apk\res\layout\
Click to expand...
Click to collapse
BOOM
My brain just exploded
britoso said:
update: Eclipse compiles your xml to binary when you test/build your app. Testing it now.
Click to expand...
Click to collapse
I tried this, put all the xml files in a HelloWorld project, built and ran it on the emulator, then got the lock screen xml files from the .apk and morphed it to my phones framework-res.apk.... phone went beserk on restart. (bootloop until i pushed my backup back in, then after startup UID mismatch FCs for all apps...fixed via recovery option.)
And can please put the standard files (images) from the screen lock? It is very necessary!
Behold:
Decompiled XML files attached. (2 files)
framework-res.apk-decoded\res\values\ids.xml (added just one line. #140)
framework-res.apk-decoded\res\layout\keyguard_screen_tab_unlock.xml
Note: Files are based off a CM506-N1 ROM. Do not use these files directly for Desire.
Steps:
1) pull framework-res.apk from your phone.
Code:
adb pull /system/framework/framework-res.apk .
2) decompile everything to a folder named framework-res.apk-decoded. you need apktool.jar
Code:
java -jar apktool.jar d -s framework-res.apk framework-res.apk-decoded
3) replace or merge-in the changes from the two files attached.
4) rebuild the apk.
Code:
java -jar apktool.jar b framework-res.apk-decoded
5) rename framework-res.apk-decoded\build\dist\out.apk to framework-res.apk
6) create a new update.zip containing framework-res.apk. Instructions and the testsign utility here.
This is the command I ran to sign the update.zip file.
Code:
java -cp testsign.jar testsign update.zip update-signed.zip
7)copy update-signed.zip to the root of your sd card.
8)reboot to recovery.
Code:
adb reboot recovery
9)Nandroid everything. Important.
10) Flash the update file.
Note: Here is the latest source on cyanogens github
Re: Desire Lock Screen Text
Nice thanks. I will try on my desire rom.
Nice job.... Is there a way I can just change the carrier text on my Desire rom lockscreen without changing any layout or anything but just change carrier text to my name for example?
LevitateJay said:
Nice job.... Is there a way I can just change the carrier text on my Desire rom lockscreen without changing any layout or anything but just change carrier text to my name for example?
Click to expand...
Click to collapse
It should be doable, in keyguard_screen_tab_unlock.xml change
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="8.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
to
Code:
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="[B][COLOR="Red"]0.0sp[/COLOR][/B]" android:ellipsize="marquee" android:gravity="bottom|right|center" android:id="@id/carrier" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="8.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
[COLOR="Blue"]<TextView android:text="[B][COLOR="DarkGreen"]My Name[/COLOR][/B]" android:textAppearance="?textAppearanceMedium" android:ellipsize="marquee" android:gravity="bottom|right|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="8.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_alignParentRight="true" /> [/COLOR]
I have not tested this.
Update: removed the ids.xml line for this case. No other xml element refers to this one so its not needed.
Wow, amazing! Will have to mess around with this stuff this weekend.
britoso said:
Note: Files are based off a CM506-N1 ROM. Do not use these files directly for Desire.
Click to expand...
Click to collapse
Will these changes work with Desire? I mean, won't the line(s) be different because the lock screen puts different text in different places than stock Android?
Paul22000 said:
Wow, amazing! Will have to mess around with this stuff this weekend.
Will these changes work with Desire? I mean, won't the line(s) be different because the lock screen puts different text in different places than stock Android?
Click to expand...
Click to collapse
update: keyguard_screen_tab_unlock.xml appears to be the same in r21. Only difference is that the .apk is at /data/system-framework/
dont know if this xml is used though
@britoso
You could treat decoded apk as any Android app , so:
you could create new ids through: android:id="@+id/carrier_custom" and don't modify ids.xml
android:id is optional - used for referencing it in other XMLs and a code. You don't need it in this situation.
Brut.all said:
@britoso
You could treat decoded apk as any Android app , so:
you could create new ids through: android:id="@+id/carrier_custom" and don't modify ids.xml
android:id is optional - used for referencing it in other XMLs and a code. You don't need it in this situation.
Click to expand...
Click to collapse
Yes, thanks. I copied the code from below in the layout where everything was relative.
WOAAAAAAAAAAH
Does this help??
http://www.cyrket.com/p/android/stericson.ninjamorph/
Paul22000 said:
http://www.cyrket.com/p/android/stericson.ninjamorph/
Click to expand...
Click to collapse
anyone know how this is different from MetaMorph.
Update: Its the "without hooking up a pc" part
They say its free for 24 hours only, so get yours!
britoso said:
anyone know how this is different from MetaMorph.
Click to expand...
Click to collapse
MetaMorph is only for changing images?
I think that's that difference.

[Transparent Notification Background] For latest 8/1 Froyo update

This is the patched services.jar that allows the status bar background to be transparent. YOU MUST ALSO EDIT THE "status_bar_background.png" in the RES/DRAWABLE-HDPI FOLDER!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
INSTALL:
-Download and unzip file to your sdk tools folder
-Mount system in recovery, partitions menu
Code:
adb push services.jar /system/framework/
-Reboot
Instructions to mod the services.jar yourself:
xeudoxus said:
search
.line 1773
const/4 v5, 0x2
change to
.line 1773
const/4 v5, -0x3
Click to expand...
Click to collapse
All Thanks Goes to Xeudoxus...Please DONATE for all his contributions to our community
For those not that proficient with adb or just want a quick easy 50% shade on their notifications, this is a .zip with the STOCK framework with only the 50% shade and the services.jar.
Download, place on sd card and install through CWRecovery or Rom Manager
SoCalMiles said:
This is the patched services.jar that allows the status bar background to be transparent. YOU MUST ALSO EDIT THE "status_bar_background.png" in the RES/DRAWABLE-HDPI FOLDER!
INSTALL:
-Download and unzip file to your sdk tools folder
-Mount system in recovery, partitions menu
Code:
adb push services.jar /system/framework/
-Reboot
Instructions to mod the services.jar yourself:
All Thanks Goes to Xeudoxus...Please DONATE for all his contributions to our community
Click to expand...
Click to collapse
Great work. I was wondering if you know how to make the "all apps" (in the app drawer) backround transparent as well.
Can you make the top bar fully transparent?
this is new to me... how do i edit the status_bar_background.png?
naTTan said:
Can you make the top bar fully transparent?
Click to expand...
Click to collapse
also wondering this...
i've heard the framework in froyo is a problem
obededom said:
also wondering this...
i've heard the framework in froyo is a problem
Click to expand...
Click to collapse
i just found this:
Pull your framework from your phone.
adb pull /system/framework/framework-res.apk /android-sdk-windows/tools (or wherever you wanna pull it, I choose tools cause its easy)
Open it up with winrar or something of the sort. Navigate to res>drawable-hdpi.
Find the file titled status_bar_background. Change it to whatever you want (may it be a transparent image, or a blank image for 100% transparency.
once you're done use
adb push framework-res.apk /system/framework
to push it back to your phone.
Click to expand...
Click to collapse
i had to rename the framework.apk to a .zip and extract it. then you can find the .png file and edit it. haven't finished doing it yet, but so far, so good. i'll let you know.
EDIT: nope, just put my phone into a boot loop... i'll wait for better instructions.
naTTan said:
Can you make the top bar fully transparent?
Click to expand...
Click to collapse
Not sure if by top bar you mean the guy that says 'verizon wireless' when you drag the panel down, or if you mean the notification bar where the signal meter and stuff are. I really wanna see the latter happen - particularly with a 'frosted' translucent look, perhaps just for the icons.
Basically a notification bar + related icons to match the default Launcher Pro icons. Or a perhaps the effect the vanilla lock screen sliders have. By switching to launcher pro & hiding the notification bar, the home screens really open up compared to the dark framing the stock htc objects give the phone. When I get fired from work for spending too much times on cell phone and subaru forums, I'll get on this... but until then, I'd be happy to pay/donate to someone who can make this happen.
Thanks SoCalMiles. Works great!
SoCalMiles said:
YOU MUST ALSO EDIT THE "status_bar_background.png" in the RES/DRAWABLE-HDPI FOLDER!
Click to expand...
Click to collapse
Can you explain this better?
Also i installed the .jar and it did nothing. Just gave me a super long boot sequence.
bisbers said:
Not sure if by top bar you mean the guy that says 'verizon wireless' when you drag the panel down, or if you mean the notification bar where the signal meter and stuff are. I really wanna see the latter happen - particularly with a 'frosted' translucent look, perhaps just for the icons.
Basically a notification bar + related icons to match the default Launcher Pro icons. Or a perhaps the effect the vanilla lock screen sliders have. By switching to launcher pro & hiding the notification bar, the home screens really open up compared to the dark framing the stock htc objects give the phone. When I get fired from work for spending too much times on cell phone and subaru forums, I'll get on this... but until then, I'd be happy to pay/donate to someone who can make this happen.
Click to expand...
Click to collapse
Yes i am i wish i can make it transparent . It's making my homescreen look ugly.
naTTan said:
Yes i am i wish i can make it transparent . It's making my homescreen look ugly.
Click to expand...
Click to collapse
That's a sick launcher, what is that?
SoCalMiles said:
For those not that proficient with adb or just want a quick easy 50% shade on their notifications, this is a .zip with the STOCK framework with only the 50% shade and the services.jar.
Download, place on sd card and install through CWRecovery or Rom Manager
Click to expand...
Click to collapse
Just locked up my phone on boot. Running 8/1 2.2 with super circle battery (last one) themed-battery-08-4-10.zip
restoring nandbackup.
SoCalMiles said:
This is the patched services.jar that allows the status bar background to be transparent. YOU MUST ALSO EDIT THE "status_bar_background.png" in the RES/DRAWABLE-HDPI FOLDER!
INSTALL:
-Download and unzip file to your sdk tools folder
-Mount system in recovery, partitions menu
Code:
adb push services.jar /system/framework/
-Reboot
Instructions to mod the services.jar yourself:
All Thanks Goes to Xeudoxus...Please DONATE for all his contributions to our community
Click to expand...
Click to collapse
How would I go about modifying the services.jar file myself? I'm trying to combine this with: http://forum.xda-developers.com/showthread.php?t=740502
If I'm not mistaken, unless it's a difference in Froyo over Eclair, it's not necessary to modify services.jar AT ALL for a simple graphical switcheroo like this.
To modify any image in framework-res.apk, you need to associate APK files with your favorite Zip file manager (e.g. 7-zip, BetterZip, whatever). The key is to find a program that allows you to open and view the contents of the zip without extracting it.
Once you're viewing the contents of the apk file, extract a copy of the image you wish to edit. After your edit is finished, put the modified image back into the apk, replacing whatever original file was there. Then save the apk. Finally, push the apk back to your phone while in recovery mode, with the /system mounted, with "adb push <path to framework-res.apk> /system/framework/framework-res.apk".
Again, the key here is not to try to extract and then try to re-zip the apk -- Android expects all apk files to be "signed" in order to use them. You can search the XDA forums for more on how to sign your own apks (it's actually very easy), but what I've described here is sort of the "poor man's" method for theming framework-res.apk.
Of course, I take no responsibility for any pleasure/pain you experience from trying this. I'm relatively new to this myself, but searching the XDA forums will lead you to a wealth of information on this topic.
Good luck!
Thanks, I know I can change the files in the .apk by doing that. What I was referring to didn't get quoted. From the original post:
Instructions to mod the services.jar yourself:
Originally Posted by xeudoxus
search
.line 1773
const/4 v5, 0x2
change to
.line 1773
const/4 v5, -0x3
Click to expand...
Click to collapse
I tried opening services.jar with a hex editor but didn't get anywhere. I'm not sure what program I'm supposed to be using.
would like to know how to do this as well so i can combine it with the no location icon zip
its launcher pro
I like the transparent status bar so much I'm fine with leaving the location icon there but would prefer it to be hidden.
bcgaynor82 said:
If I'm not mistaken, unless it's a difference in Froyo over Eclair, it's not necessary to modify services.jar AT ALL for a simple graphical switcheroo
Click to expand...
Click to collapse
It is. With froyo, you have to make a change in services.jar as well as a transparent or semi-transparent image.

HOT: Asphalt 7 deviceconfig for HTC One S

Hello All,
I've searched the web for days to find an Asphalt 7: Heat 1.0.1 deviceconfig file that works with the HTC One S to no avail...so I created my own.
The game now looks amazing with hi-res textures, high detail cars, motion blur and the farthest draw distance ever and still runs at an excellent framerate. It also includes real time reflection mapping, detailed trees and other effects. It also DOES NOT include the texture clipping/flickering of other device configs that I ran across.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HOW TO:
1. Connect your phone to the computer and enable Disk Drive via the pulldown status bar on the One S and click Done.
2. Go to SD:\Android\obb\com.gameloft.android.ANMP.GloftA7HM
3. Rename main.101.com.gameloft.android.ANMP.GloftA7HM.obb to .zip and open with winrar (I use 7zip) navigate data/DeviceConfig and relpace the DeviceConfig.xml with one that I made. You can drag and drop it over the original. Also make a copy of the original deviceconfig by pasting it on your desktop in the rare event that you want your original file.
(I cut and paste the entire obb file to my computer and THEN rename it, open it on my desktop, navigate to the deviceconfig folder and then drag and drop, then rename it vs it still being on my One S. My PC copies/saves faster than from the phone.)
4. Once the deviceconfig file is replaced with the new one, rename the .zip back to .obb (If you copied the obb to your desktop, copy it back to its original location on the phone)
5. Start Asphalt 7, download the 1MB file if it asks and enjoy the enhanced graphics that are in the screenshots.
For those that want to know what I changed in the deviceconfig file:
Medium-Lodev class devices
-->
<device name="android_medium_lodev" parent="default">
<attributes>
<bool name="use_msaa" value="true" />
<bool name="use_car_shadow" value="true" />
<bool name="use_radial_blur_on_nitro" value="true" />
<bool name="use_menu_high_res_texture" value="true" />
<bool name="use_orientation_locked" value="false" />
<bool name="use_hud_low_res_texture" value="false" />
<bool name="use_traffic_shadow" value="true" />
<bool name="use_set_min_filter_linear" value="true" />
<bool name="use_hires_map" value="true" />
<bool name="use_swf_posteffect_render_texture" value="true" />
<bool name="is_low_res_platform" value="false" />
<bool name="use_lodev_textures" value="false" />
<bool name="use_glLive_iPad" value="false" />
<float name="a_lod_table_box" value="27500000.0" />
<float name="a_lod_table_low" value="15000000.0" />
<float name="a_pickup_visibility_multiplier" value="1.0" />
<string name="showTrackLowLODDistance" value="FAR" />
<bool name="use_gamma_luminance" value="false" />
<bool name="use_second_render_target" value="true" />
<float name="ReflectionMapU" value="0.46875" /><!-- Dynamic Reflection Shader U coordinate to take for the relfection -->
<float name="ReflectionMapV" value="0.3125" /><!-- Dynamic Reflection Shader V coordinate to take for the relfection -->
<bool name="use_high_quality_car_shader" value="true" />
<bool name="use_dynamic_reflection_on_cars" value="true" /><!-- Special case for low device, ignore on high end one -->
<bool name="optimize_dynamic_reflection" value="false" /><!-- Skip one frame on two -->
<bool name="draw_car_reflection_garage" value="true" />
</attributes>
</device>
Click to expand...
Click to collapse
Thank you and enjoy!
i dunno why u needed this as bobiras has modded asphalt 7 for all phones so it runs on one S and X without any problem !!
Hi, thanks for the tip for Asphalt 7, Deaconclgi.
acerulz said:
i dunno why u needed this as bobiras has modded asphalt 7 for all phones so it runs on one S and X without any problem !!
Click to expand...
Click to collapse
What are you talking about ? What thread ?
Is it possible to do the same with Batman Rise?
acerulz said:
i dunno why u needed this as bobiras has modded asphalt 7 for all phones so it runs on one S and X without any problem !!
Click to expand...
Click to collapse
Link please
Gesendet von meinem HTC One S mit Tapatalk 2
Deaconclgi said:
Hello All,
I've searched the web for days to find an Asphalt 7: Heat 1.0.1 deviceconfig file that works with the HTC One S to no avail...so I created my own.
The game now looks amazing with hi-res textures, high detail cars, motion blur and the farthest draw distance ever and still runs at an excellent framerate. It also includes real time reflection mapping, detailed trees and other effects. It also DOES NOT include the texture clipping/flickering of other device configs that I ran across.
HOW TO:
1. Connect your phone to the computer and enable Disk Drive via the pulldown status bar on the One S and click Done.
2. Go to SD:\Android\obb\com.gameloft.android.ANMP.GloftA7HM
3. Rename main.101.com.gameloft.android.ANMP.GloftA7HM.obb to .zip and open with winrar (I use 7zip) navigate data/DeviceConfig and relpace the DeviceConfig.xml with one that I made. You can drag and drop it over the original. Also make a copy of the original deviceconfig by pasting it on your desktop in the rare event that you want your original file.
(I cut and paste the entire obb file to my computer and THEN rename it, open it on my desktop, navigate to the deviceconfig folder and then drag and drop, then rename it vs it still being on my One S. My PC copies/saves faster than from the phone.)
4. Once the deviceconfig file is replaced with the new one, rename the .zip back to .obb (If you copied the obb to your desktop, copy it back to its original location on the phone)
5. Start Asphalt 7, download the 1MB file if it asks and enjoy the enhanced graphics that are in the screenshots.
For those that want to know what I changed in the deviceconfig file:
Thank you and enjoy!
Click to expand...
Click to collapse
thanks by the way ! I made the same for TDKR

[No Root Needed] Customise Your Own Apps to Work With MultiView on Android 4.1.2

Hi, it has been a while since I am active on XDA forum. This following method may have work for other S3/ Note variants since awhile back. But since the Android 4.1.2 has just released ( At least in my region) for Samsung Galaxy S3 LTE I9305, I have tested this and I can prove that it's working on this phone as well.
In case you don't know what is MultiView (Only available on Android 4.1.2 Updates),
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Following is a relatively noob-proof tutorial to show you how you can mod almost any apps to work with multi-window without rooting your precious phone.
WHAT YOU NEED
- SAMSUNG Galaxy S3 LTE I9305 running Android 4.1.2
- Windows PC
- Latest Java JRE ( Download here )
- Latest Java SDK ( Download here )
- Apk Multi Tool ( Download here )
- General keyboard typing skills
INSTRUCTIONS
SETTING UP THE APK MULTI-TOOL
1. Make sure you update your Java JRE and JDK first before we proceed with the rest of the steps below.
2. [OPTIONAL] You can get the apk file for your desired apps via third party market or you can backup all existing apps on your mobile using App Backup & Restore and it will automatically convert all apps to .apk format.
3. Create a new folder on your desktop, named it as " Apk" or whatever file name you like, and transfer the apks from your phone to that folder.
4. Create another new folder, named it as "apk manager".
5. Unzip APK Multi Tool into the root of "apk manager" folder.
6. For the first time only, go into apk manager> APK-Multi-Tool> Run setup.bat
7. Once it's running, type "3" and let it create the sub-directories and folders for you, then just press ANY key to continue.
8. When it's back to the main screen, type"00" to quit the cmd.exe screen.
DECOMPILE THE APK
1. Copy the apk that you would like to decompile from the "apk" folder you created earlier on desktop.
2. Paste it inside apk manager>APK-Multi-Tool>place-apk-here-for-modding folder
3. Next, run the script.bat.
4. Press any key to continue, follow by a screen full of different running numbers and description.
5. Type "9" and hit Enter to decompile the apk you placed at "place-apk-here-for-modding" folder.
6. Be patient, wait for the "test..." to finish and you will see the "test..." disappear and goes back to "Please make your decision..."
7. Minimize the cmd.exe for now, and go back to the "APK-Multi-Tool" folder. DO NOT EXIT THE SCRIPT.BAT
8. Go to "projects" and you will see the decompiled apk there.
9. That means you have successfully decompiled the apk. You should be able to see folders like "res", "smali" and files like " AndroidManifest.xml" and "apktool.yml".
10. For this tutorial we only need to edit the "AndroidManifest.xml". DO NOT TOUCH THE REST UNLESS YOU KNOW WHAT YOU ARE DOING.
EDITING THE ANDROIDMANIFEST.XML
1. Open the AndroidManifest.xml with Notepad and find the following text.
Code:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2. Add one more line to it so that it become
Code:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
[COLOR="DarkOrange"]<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />[/COLOR]
</intent-filter>
3. Next, find the following lines near the bottom of the file.
Code:
</application>
4. Similarly, copy and paste the following codes before the line so that it appears as:
Code:
[COLOR="DarkOrange"]<uses-library required="false" name="com.sec.android.app.multiwindow" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598.0dip" />[/COLOR]
</application>
5.Save and overwrite the existing file. Exit notepad.
COMPILE THE APK
1. Go back to script.bat on cmd.exe.
2. Type "12" for Non-system apk.
3. Wait for the compiling process until it prompts you for the input again.
4. Choose "1" as unsigned Apk and keep the original file. Wait for it to complete until a prompt appears to ask you to delete the file in the "keep" folder". DO NOT EXIT THE SCRIPT.BAT YET, MINIMIZE IT
5. Go to apk manager> APK-Multi-Tool>"keep" folder.
6. Remove AndroidManifest.xml and resources.arsc files.
7. Go back to script.bat on cmd.exe and hit Enter to let it re-compile again the apk.
8. When it's done it will revert back to the main screen of cmd.exe, type "13" to sign the apk.
9. Copy or push the apk file back to your phone to install.
IMPORTANT NOTICE
- Remember to uninstall the existing apps first before you reinstall the new signed copy of the apk.
- By doing this, your apps will not be detected by Google Play for updates and if you want the latest version, you will have to reinstall the new version and recompile the apk again in order to use this in the MultiView window.
- Although it is highly impossible, I take no responsibility in damaging/ bricking your phone should there be any problems happen to your phone.
EXTERNAL REFERENCES
In case there are any difficulties, you may look for the following guides:
Tech Freeks
XDA Forum> Verizon Galaxy Note II
Android Central Verizon Note II
Let me know if it works for you.
oooh cool gonna test soon.
Sent from my GT-I9305 using Tapatalk 2
bleepsake said:
oooh cool gonna test soon.
Sent from my GT-I9305 using Tapatalk 2
Click to expand...
Click to collapse
Hope to hear from you soon. However not all S3 i9305 are eligible for this method since some countries have not receive this 4.1.2 firmware update yet.
Cheers.
Works on XXBMA5
Followed OP instructions to the letter and I was able to start a modifed app and ran a 2nd multiview app.
Only thing is it looks like the modified app isn't recognised as an app that supports multi window mode, therefore can't be added to the multiview tray.
I suspect, for the moment at least, that means apps that are modified this way would not be able to run along side each other.
Works well for 8 of 10 apps I tried. 2 Others go on full screen when use it
Thanks for this job.. I used your thread to make one in french
TUTO - GT-I9305 - (non Root) Intégrer n'importe quelle appli dans MultiView
Note: your - Latest Java SDK ( Download here ) link is dead
Not necessarily all apps cannot run alongside each other. Some apps are tested to be working though.
Well, if it ain't working for the split multi view, at least it is located beside the screen within a swipe. Hehe.
Sent from my GT-I9305
Sure no problem for me with the repost. Just hope to notify the i9305 users out there. Thanks for the effort.
Cheers.
Sent from my GT-I9305
Will this method work for Note 2 running 4.1.2 non rooted?
I can't promise you either, but theoretically it should work. You can try it out.
Sent from my GT-I9305
l3ong91 said:
I can't promise you either, but theoretically it should work. You can try it out.
Sent from my GT-I9305
Click to expand...
Click to collapse
Thanks. I just tried it out and it did work out for the non-system apps. I am going to have to just buckle down and root this thing already. I haven't really felt the need until now but it would be nice to do the Google now fix as well. This is such an easy fix you would think the app developers would take care of this for us.
Thanks for the instructions!

[MOD][Feb 22] UI MODs for Virtuous ROM (No Battery Icon/Centre Clock/No AMPM....)

THESE WILL MOST LIKELY BREAK YOUR % OR OTHER MODs . BEST IS TO EDIT THE FILES MANUALLY (AS DESCRIBED BELOW) IF YOU HAVE ADDITIONAL MODS.
Once again to emphasize, the ZIPs attached are for X920D version of Virtuous DNA+ v1 ROM Only. I have not tested on other versions!
ALL DOWNLOADS HERE -> http://vps.rana.sg/x920d/Virtuous_MODs/
Revert SystemUI to Stock -> Here
MOD 1 - Remove Battery Icon from Status Bar (SystemUI_HideBattery.zip)
This technique applies to ALL Sense ROMs, however, the zip file attached is specific to Virtuous ROM v1 for x920d variant.
This will remove the ugly green battery icon totally from the Status Bar. Then you can use your own apps to show battery % etc and it looks very clean imo.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Manual Steps
File to modify - /system/app/SystemUI.apk
Tools needed - 7zip
Steps -
1. Copy over your SystemUI.apk to your Computer
2. Open (Do not extract) using 7zip
3. Browse to folder "/res/drawable"
4. Delete files "stat_sys_battery.xml" & "stat_sys_battery_charge.xml" (Keep backup if you like)
5. Close 7zip (No option to save, etc.. just close the application)
6. Either push this SystemUI.apk file back to your phone or best is to download one of my zips below, open using 7zip and then copy over your SystemUI.apk overwriting the one in the zip. Then simply flash in CWM or TWRP.
All Done !
Click to expand...
Click to collapse
Removes Battery Icon, rest is Stock
MOD 2 - Remove AM/PM From Status Bar Clock (SystemUI_HideBattery_HideAMPM.zip)
This mod removes the AM/PM totally from the Status Bar Clock.
Click to expand...
Click to collapse
Steps -
1. Need to extract /system/app/SystemUI.apk to your computer and decompile with your favourite tool
2. Edit file - smali/com/android/systemui/statusbar/policy/Clock.smali (I use Notepad++)
3. Change 1st instance of const/4 v0, 0x1 to const/4 v0, 0x2
4. Save file and recompile the apk
5. Push apk back onto phone
Click to expand...
Click to collapse
1. Removes AM/PM from StatusBar
2. Removes Battery Icon
3. Enables Stock JB Style Multitasking
MOD 3 - Centre Status Bar Clock Combo (Virtuous_v1_SystemUI_Modded.zip)
This mod centres the Status Bar Clock. This zip also incorporates all the above MODs in it.
Click to expand...
Click to collapse
Steps -
1. Need to extract /system/app/SystemUI.apk to your computer and decompile with your favourite tool
2. Edit file - res/layout/status_bar.xml (I use Notepad++)
3. Find the first "LinearLayout Area".
4. Remove everything between the 2 LinearLayout tags (Only the first one, not the ticker ones)
5. Add following between the tags :
Code:
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_alignParentLeft="true" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:layout_toRightOf="@id/moreIcon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.policy.Clock android:layout_centerInParent="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="@*android:color/white" android:gravity="center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_toLeftOf="@id/battery" />
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_toLeftOf="@id/signal_cluster" />
</RelativeLayout>
4. Save file and recompile the apk
5. Push apk back onto phone
Click to expand...
Click to collapse
1. Removes AM/PM from StatusBar
2. Removes Battery Icon
3. Enables Stock JB Style Multitasking
4. Centres Statusbar Clock
Added Combo Mod -
1. Remove Battery Icon
2. Remove AM/PM
3. Centre Statusbar Clock
4. JB Style Multitasking
Battery icon
can you tell me how to move the battery icon to the left side of status bar?? i edited the status_bar.xml with no luck.. i followed this <ImageView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" /> but no luck either.
amazing, thank you!

Categories

Resources