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.
Related
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!
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!
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.
Alright, so I've enabled the "Powered by Android" splash screen AND replaced the obnoxious Verizon boot animation with the stock HTC (One) boot animation, but I can't figure out how to enable the sound.
I have the HTC_Sense5_Boot.mp3 in system/customize/resource, but I get nothing when I reboot even if the sound on the device is on.
I've also checked the default.xml in /system/customize/cid/ and added audio="/system/customize/resourceHTC_Sense5_Boot.mp3" to the Boot Configuration section, but when I reboot all I get is the old Android boot.
Help?
ethan.r.besbris said:
Alright, so I've enabled the "Powered by Android" splash screen AND replaced the obnoxious Verizon boot animation with the stock HTC (One) boot animation, but I can't figure out how to enable the sound.
I have the HTC_Sense5_Boot.mp3 in system/customize/resource, but I get nothing when I reboot even if the sound on the device is on.
I've also checked the default.xml in /system/customize/cid/ and added audio="/system/customize/resourceHTC_Sense5_Boot.mp3" to the Boot Configuration section, but when I reboot all I get is the old Android boot.
Help?
Click to expand...
Click to collapse
Not sure if you copied and pasted, but there's a "/" missing after "customize" and before filename.
Precise language is:
Code:
audio="/system/customize/resource/HTC_Sense5_Boot.mp3"
and should be immediately after the animation; which should be renamed to vzw_bootup.zip. (Rename your old one vzw_bootup.old or *.bak). I have an audio file playing with my boot animation on my M8. I've read elsewhere that it will only play an animation called vzw_bootup.zip (although I suppose if you edit it in default.xml it should pick up the new name).
hgoldner said:
Not sure if you copied and pasted, but there's a "/" missing after "customize" and before filename.
Precise language is:
Code:
audio="/system/customize/resource/HTC_Sense5_Boot.mp3"
and should be immediately after the animation; which should be renamed to vzw_bootup.zip. (Rename your old one vzw_bootup.old or *.bak). I have an audio file playing with my boot animation on my M8. I've read elsewhere that it will only play an animation called vzw_bootup.zip (although I suppose if you edit it in default.xml it should pick up the new name).
Click to expand...
Click to collapse
It seems as though I was missing the " on the end of *.mp3. Hopefully this addresses my issue. I will reply back once I test.
hgoldner said:
Not sure if you copied and pasted, but there's a "/" missing after "customize" and before filename.
Precise language is:
Code:
audio="/system/customize/resource/HTC_Sense5_Boot.mp3"
and should be immediately after the animation; which should be renamed to vzw_bootup.zip. (Rename your old one vzw_bootup.old or *.bak). I have an audio file playing with my boot animation on my M8. I've read elsewhere that it will only play an animation called vzw_bootup.zip (although I suppose if you edit it in default.xml it should pick up the new name).
Click to expand...
Click to collapse
{
"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"
}
Same deal. Adding that line breaks the boot animation... Sigh...
Sent from my HTC6525LVW using Tapatalk
ethan.r.besbris said:
View attachment 2704322
Same deal. Adding that line breaks the boot animation... Sigh...
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
No, you have it as a new line, that's why. The boot animation info should all be together as follows:
Code:
<BootAnimation animation="/system/customize/resource/vzw_bootup.zip audio="/system/customize/resource/HTC_Sense5_Boot.mp3" />
Don't break the command like you did. Don't worry about word-wrap, the issue is what's between the < and the >
hgoldner said:
No, you have it as a new line, that's why. The boot animation info should all be together as follows:
Code:
<BootAnimation animation="/system/customize/resource/vzw_bootup.zip audio="/system/customize/resource/HTC_Sense5_Boot.mp3" />
Don't break the command like you did. Don't worry about word-wrap, the issue is what's between the < and the >
Click to expand...
Click to collapse
LOL! I'm an idiot! That's what I get for doing this at work!
hgoldner said:
No, you have it as a new line, that's why. The boot animation info should all be together as follows:
Code:
<BootAnimation animation="/system/customize/resource/vzw_bootup.zip audio="/system/customize/resource/HTC_Sense5_Boot.mp3" />
Don't break the command like you did. Don't worry about word-wrap, the issue is what's between the < and the >
Click to expand...
Click to collapse
Tried what you suggested, broke it again! Dammit!
<BootConfiguration>
<BootAnimation animation="/system/customize/resource/vzw_bootup.zip audio="/system/customize/resource/HTC_Sense5_Boot.mp3" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/hTC_downanimation.zip" image="" fps="10" />
ethan.r.besbris said:
Tried what you suggested, broke it again! Dammit!
<BootConfiguration>
<BootAnimation animation="/system/customize/resource/vzw_bootup.zip audio="/system/customize/resource/HTC_Sense5_Boot.mp3" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/hTC_downanimation.zip" image="" fps="10" />
Click to expand...
Click to collapse
Is there at least a space between ".zip" and "audio?" It's not clear whether you have a line break, space or not. Also, are you sure everything's named the way you want it?
hgoldner said:
Is there at least a space between ".zip" and "audio?" It's not clear whether you have a line break, space or not. Also, are you sure everything's named the way you want it?
Click to expand...
Click to collapse
There is a space between .zip and audio, yes. Everything is named correctly. I just double-checked.
ethan.r.besbris said:
There is a space between .zip and audio, yes. Everything is named correctly. I just double-checked.
Click to expand...
Click to collapse
Resolved. Please close.
Hi, in this tut, ill show you how to add rom banners in about phone settings of your lollipop rom.
Files required-
-Zip in attachments
-DEODEXED rom
-Brain(link?)
Part One-
-Extract the zip
-Copy these files into the folder--->
Code:
/system/priv-app/Settings/Settings.apk
And
Code:
/system/framework/framework-res.apk
-Run cmd.exe and run this command--->
Code:
apktool if framework-res.apk
This will install the framework.
-Then run this command to decompile settings.apk--->
Code:
apktool d Settings.apk
Part two-
-In apktool folder goto Settings/res/layout and create a logo.xml file
-Open it, and paste the following lines in it--->
-----------------------------------------------------------------------------------------------------------------------------------
"<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/logo" />
</LinearLayout>"
------------------------------------------------------------------------------------------------------------------------------------
-Resize your banner (which should be a PNG file) to 500x123 and rename it to logo.png. Then copy it to Settings/res/drawable
Part Three-
-Navigate to Settings/res/xml and open device_info_settings.xml.
-Add this line--->
------------------------------------------------------------------------------------------------------------------------------------
"<PreferenceScreen android:enabled="false" android:layout="@layout/logo" android:selectable="false" android:key="logo" />
------------------------------------------------------------------------------------------------------------------------------------
Right below this line--->
------------------------------------------------------------------------------------------------------------------------------------
"xmlns:android="http://schemas.android.com/apk/res/android">"
------------------------------------------------------------------------------------------------------------------------------------
-It should look like this--->
-----------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen android:enabled="false" android:layout="@layout/logo" android:selectable="false" android:key="logo" />
------------------------------------------------------------------------------------------------------------------------------------
Part four-
-Now open cmd.exe and type this to recompile--->
Code:
apktool b Settings
Part Five and most important!!
-After the last command finishes, goto Settings/original and copy everything inside it to
Settings/build/apk and replace the file if prompted
-Then again run--->
Code:
apktool b Settings
-Now you have your settings.apk in Settings/dist/
-Copy it to /system/priv-app/Settings/ and replace the old file, set rw-r-r- permissions and reboot!
NOTE- THIS HAS BEEN TESTED ON AOSP BASED LOLLIPOP ROM. I DO NOT GUARANTEE WORKING ON CUSTOMIZED ROMS LIKE TOUCHWIZ OR LG ROMS. ALL LINES MUST BE ADDED WITHOUT THE "(QUOTES) MARK AT THEIR STARTING AND ENDING.
It should look like this--->
{
"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"
}
HIT THNX IF IT HELPED!!!
Thanks alot i was looking for a guide like this but for 5.0+ also i dont see any xml code in the code parts?
Are u using xda app?
Whoops! I remember adding em. Anyways, I'll do it.
Would it be OK if I add em in few hrs? I hv school.