using apk manager i tried to decompile framework-res.apk to edit the above mentioned file. my goal was to remove the clock/date, and to make the background on the lockscreen transparent instead of just showing the home background image.
i followed all the guides and instructions for how to remove and replace a framework apk, and edit and recompile it with apk manager. here is what i changed.
i removed this line:
Code:
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="15.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="56.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
and edited this:
Code:
android:background="#70000000"
to:
Code:
android:background="#00000000"
(my understanding is that the first two characters are alpha, and "00" would be transparent.)
after all was edited, recompiled, pushed back to the proper place on the phone, i rebooted the phone.. and it was stuck in a boot loop. the bootanimation would hardly even start before it froze for a few moments and restarted.
i followed all the directions exactly.. i am pretty sure.. i had no errors.. what might have went wrong?
Did you resign the apk before pushing it to your phone?
Yes but the signed apk was named "signedframework-res.apk", so I renamed it.. would that have unsigned it again?
Sent from my nonsensikal froyo using XDA App
mindnumbinglyfun said:
Yes but the signed apk was named "signedframework-res.apk", so I renamed it.. would that have unsigned it again?
Sent from my nonsensikal froyo using XDA App
Click to expand...
Click to collapse
That shouldn't have unsigned it, I've renamed apks and zips with no problem
Framework-res.apk is a system resource. Signing it will corrupt the apk. Recompile and push it back unsigned...
sk842018 said:
That shouldn't have unsigned it, I've renamed apks and zips with no problem
Click to expand...
Click to collapse
Sent from my Ginger Tazz using XDA App
Macrodroid said:
Framework-res.apk is a system resource. Signing it will corrupt the apk. Recompile and push it back unsigned...
Sent from my Ginger Tazz using XDA App
Click to expand...
Click to collapse
yea no need to resign it
oh btw bro have u ?
If I haven't apologized for this post yet, I'll have to later, I'm sure...
Yeah, there's no need to sign a framework-res.apk file. It seems like you would need to, but no. Good luck and happy editing!
Ok I think i have found a solution for fixing the MMS Size in Sense Roms. First off, i take no credit for this, I just was searching the forums and found it. Then i tried it and it worked. I wanted to post this in for development forum in the thread that i found it, but I am a new user and don't have that permission yet. Now I don't know if this will work for all Sense roms, but i found the Fix in the Virtuous Unity thread on page 13. At first when i tried to edit the file and recompress it back to a zip on my macbook it wouldn't work, but then i used parallel windows to run windows 7. Then i used 7zip to open the archive, went into the system and edited the file with notepad and then i followed the rest of the directions in the Fix. I know a lot of people were looking for a fix for the Sense picture problems and when i found Joemm post about it i figured i share it.
Below i put the whole process from the thread and page i mentioned for those who don't want to go and search through the thread
MMS PIC SIZE FIX...........
This use to be a problem when Virtuous first came out and I remembered this fix.
I have tested this fix on this rom and its working great. I now have FULL size MMS pictures.
I downloaded Virtuous Unity 1.0.0 rom, opened it with winzip, went into system/customize/MNS/default.xml and edited the default.xml file with wordpad, scrolled all the way to the bottom of the document, second up from the bottom you'll find this below, now just change the text (I highlighted it in red) that says "HTC_Sensation_Z710e/1.0" to say "Nexusone",
<!-- MMS UA string -->
<module name="MMS">
<function name="ua_string">
<set name="single">
<item name="value">HTC_Sensation_Z710e/1.0</item>
</set>
</function>
</module>
when your done it should look like this, but not highlighted in red of course:
<!-- MMS UA string -->
<module name="MMS">
<function name="ua_string">
<set name="single">
<item name="value">Nexusone</item>
</set>
</function>
</module>
Saved the change and rezipped the rom back up.
Installed the modified rom to the root of my sd card.
Rebooted into recovery.
This next step is important, YOU MUST DO A COMPLETE DATA WIPE, then flash the rom, it will not work if you just flash it over your existing Virtuous Unity rom without a full data wipe. What this does is trick the servers into thinking the phone is a Nexus one.
Then go thru the enitre setup process again.
After that you will have full size MMS pic's again.
Originally posted as a fix in the Virtuous Thread by gteye developed by Disconn3ct
/QUOTE]
Click to expand...
Click to collapse
Please any body help me i m stuck i want to make the system ui topbar and background transparent please help me how to do it is it xml editing or just replacing the pic
nsnikhil said:
Please any body help me i m stuck i want to make the system ui topbar and background transparent please help me how to do it is it xml editing or just replacing the pic
Click to expand...
Click to collapse
Just follow this link freind it will help you to aim your target.....
LINK-forum.xda-developers.com/showthread.php?t=1714481
:thumbup: DON'T FORGET TO GIVE THANKS IF I HAVE A BIT SUCCESS TO HELPING YOU :thumbup:
nsnikhil said:
Please any body help me i m stuck i want to make the system ui topbar and background transparent please help me how to do it is it xml editing or just replacing the pic
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2018688
use this thread to create a transparent background....
for statusbar....
but in status_bar_tracking.xml
just below this:
Code:
<com.android.systemui.statusbar.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
will be a :
Code:
<View android:background:#a color code.................>
delete the whole line and then replace it with
Code:
<View android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
then in drawble-ldpi folder there will be a file named status_bar_background.9.png (note the '_' ) delete that image it'll be a light grayish image
recompile SystemUI..ur done
I wrote a whole thread about this - please search next time
it's right here http://forum.xda-developers.com/showthread.php?t=2204389
Hey all, thanks for looking. I'm rooted on the latest JB ota and every time I try to install KK it stops about halfway through and boots back up notifying me it failed. I don't have any custom ROM installed. In fact, I would prefer to return to complete stock and then do KK but I can't get find an answer as to whether I can fastboot with the latest JB ota. Thanks for any advice in advance.
Sent from my XT907 using XDA Free mobile app
i have the same problem does yours stop halfway thru installing and then a android with exclamation point appears
Yes indeed it does. Exactly the same issue it sounds like.
Sent from my XT907 using XDA Free mobile app
32853345 30
You can flash a stock ROM through RSD or FastBoot on any version of xt907. Just turn it off, hold volume down and tap the power button and fastboot will appear. Flash using your favorite method. If you're locked, you can flash an update or the same version of your ROM, but you cannot downgrade.
I did that, and I still can't get the update to work.
root had my update failing too. i just did a restore with RSD and stock JB firmware. took the KK update fine after that.
chuck solid said:
root had my update failing too. i just did a restore with RSD and stock JB firmware. took the KK update fine after that.
Click to expand...
Click to collapse
hey please give me the firmware which you flashed?? please give me the link i also have to update to KK but i rooted the phone and the same thing happens it stops. i want to flash a new JB firmware and the firmware i downloaded doesnt seem to load on RSD lite please give me the proper firmware which loads on RSD LITE properly. i need help!!please
whizinc said:
hey please give me the firmware which you flashed?? please give me the link i also have to update to KK but i rooted the phone and the same thing happens it stops. i want to flash a new JB firmware and the firmware i downloaded doesnt seem to load on RSD lite please give me the proper firmware which loads on RSD LITE properly. i need help!!please
Click to expand...
Click to collapse
here ya go!
http://sbf.droid-developers.org/
click on 'Droid Razr M' (XT907). i used the firmware on the bottom.
chuck solid said:
here ya go!
http://sbf.droid-developers.org/
click on 'Droid Razr M' (XT907). i used the firmware on the bottom.
Click to expand...
Click to collapse
I used the exact sbf but it wont load in rsd lite it says either xml file is wrong and bla bla please help me !! what should i do???
whizinc said:
I used the exact sbf but it wont load in rsd lite it says either xml file is wrong and bla bla please help me !! what should i do???
Click to expand...
Click to collapse
did you modify the XML file? read this. you have extract the firmware contents. then modify the XML file. save it (as XML not TXT) and then use that file in RSD.
http://www.andromods.com/tips-trick...oid-razr-m-xt907-stock-original-firmware.html
chuck solid said:
did you modify the XML file? read this. you have extract the firmware contents. then modify the XML file. save it (as XML not TXT) and then use that file in RSD.
http://www.andromods.com/tips-trick...oid-razr-m-xt907-stock-original-firmware.html
Click to expand...
Click to collapse
yes i tried but i didnt made sure to save as XML let me do it right now I will let you know btw thanks alot!! please stand by brother i really need to flash this sbf on my phone
---------- Post added at 02:14 PM ---------- Previous post was at 02:06 PM ----------
chuck solid said:
did you modify the XML file? read this. you have extract the firmware contents. then modify the XML file. save it (as XML not TXT) and then use that file in RSD.
http://www.andromods.com/tips-trick...oid-razr-m-xt907-stock-original-firmware.html
Click to expand...
Click to collapse
ok so i tried you method i edited the XML file like they said no get var no oem lines still is the same error and i am editing the XML file in zip i didnt extracted may this be the problem??
whizinc said:
yes i tried but i didnt made sure to save as XML let me do it right now I will let you know btw thanks alot!! please stand by brother i really need to flash this sbf on my phone
---------- Post added at 02:14 PM ---------- Previous post was at 02:06 PM ----------
ok so i tried you method i edited the XML file like they said no get var no oem lines still is the same error and i am editing the XML file in zip i didnt extracted may this be the problem??
Click to expand...
Click to collapse
i extracted mine from the zip. easiest way to make sure you save the XML file correctly.
chuck solid said:
i extracted mine from the zip. easiest way to make sure you save the XML file correctly.
Click to expand...
Click to collapse
thank youu sooooo much!!!! MAN !! you saved me ok the mistake what i was doing was that i was editng the XML file and was puting it in the zip again i wasnt extracting it
let me clear for the folks who are doing mistakes just like me
download your sbf first
extract it in C (prefer C drive always for sbfing)
edit the xml file in the extracted folder
go to rsd lite and load the exact xml file that you extracted earlier (no need to zip it back!!)
and voila
special thanks to Chuck Solid made my concept clear
i used this XML its working like a charm
<?xml version="1.0"?>
<flashing>
<header>
<phone_model model="SM_JB_VZW_CFC" />
<software_version version="smq_vzw-user 4.1.2 9.8.1Q-94-1 77 release-keysSM_BP_101032.021.32.80P" />
<interfaces>
<interface name="AP" />
</interfaces>
</header>
<steps interface="AP">
<step operation="oem" var="fb_mode_set" />
<step operation="flash" partition="partition" filename="gpt_main0.bin" MD5="FB3D9083F1B5890BBF2FA8617D31A70A" />
<step operation="flash" partition="sbl1" filename="sbl1.mbn" MD5="FB458002D5B1B3430B0519E0F206C361" />
<step operation="flash" partition="sbl2" filename="sbl2.mbn" MD5="5E1E096A29FB49A955C595B3E7759CA7" />
<step operation="flash" partition="sbl3" filename="sbl3.mbn" MD5="16813AF63FFBF4044FBF72D75BD47DB1" />
<step operation="flash" partition="rpm" filename="rpm.mbn" MD5="0C3F4FF07D3B5037E17B8EFE5F4C66EE" />
<step operation="flash" partition="tz" filename="tz.mbn" MD5="474F31095C8146D1F86D0E5CE72B878F" />
<step operation="flash" partition="aboot" filename="emmc_appsboot.mbn" MD5="A40F6AAFA4A581023A2EDA9F23202453" />
<step operation="flash" partition="modem" filename="NON-HLOS.bin" MD5="3E7F1624D8DDA8C8E4995F99A68B321F" />
<step operation="flash" partition="fsg" filename="fsg.mbn" MD5="0898A1859E77F05B62E2A6D04251E30E" />
<step operation="erase" partition="modemst1" />
<step operation="erase" partition="modemst2" />
<step operation="flash" partition="logo" filename="logo.bin" MD5="506F42184C465D9CD8BB2BD27DB77F1A" />
<step operation="flash" partition="devtree" filename="device_tree.bin" MD5="66AD59B88203992915EAF476C9E17E58" />
<step operation="flash" partition="boot" filename="boot.img" MD5="624AD56D21BE40E2C62F2D8666C1A3DA" />
<step operation="flash" partition="recovery" filename="recovery.img" MD5="A51ACEFFB3DE7BB9259F345AF8E5ABB6" />
<step operation="flash" partition="cdrom" filename="cdrom" MD5="8C578BC3308036F86BF30BA802E488DF" />
<step operation="flash" partition="system" filename="system.img" MD5="AFF82B543EF8E558892AA67D4909C067" />
<step operation="erase" partition="tombstones" />
<step operation="erase" partition="cache" />
<step operation="erase" partition="userdata" />
<step operation="oem" var="fb_mode_clear" />
</steps>
</flashing>
whizinc said:
thank youu sooooo much!!!! MAN !! you saved me ok the mistake what i was doing was that i was editng the XML file and was puting it in the zip again i wasnt extracting it
let me clear for the folks who are doing mistakes just like me
download your sbf first
extract it in C (prefer C drive always for sbfing)
edit the xml file in the extracted folder
go to rsd lite and load the exact xml file that you extracted earlier (no need to zip it back!!)
and voila
special thanks to Chuck Solid made my concept clear
Click to expand...
Click to collapse
right on man! good deal! enjoy the update. i needed (2) reboots of the phone before it settled down but after that it runs smooth like butter.
chuck solid said:
right on man! good deal! enjoy the update. i needed (2) reboots of the phone before it settled down but after that it runs smooth like butter.
Click to expand...
Click to collapse
yeah i did it completely flashed new sbf phones is back to factory state now i am gonna go ahed and download the KK update! P.S in first boot my phone worked like a charm didnt need to do more reboots. and thank you so much man!!! Thanks alot!! :good::good:
---------- Post added at 03:22 PM ---------- Previous post was at 02:43 PM ----------
chuck solid said:
right on man! good deal! enjoy the update. i needed (2) reboots of the phone before it settled down but after that it runs smooth like butter.
Click to expand...
Click to collapse
now another problem please help man i flashed everything properly and phone seems to work great now i have to update to KK update now when i come in my system updates it says "System updates" is not available without a motorola service account there are 2 options cancel and setup when i press setup nothing happens just a blanks screen with "communicating with server please wait" nothing happens i really need to update it to KK please help me my google account is logged in and still nothing happens its not getting the update.. the update started like a charm before the sbf flash. please help man
whizinc said:
yeah i did it completely flashed new sbf phones is back to factory state now i am gonna go ahed and download the KK update! P.S in first boot my phone worked like a charm didnt need to do more reboots. and thank you so much man!!! Thanks alot!! :good::good:
---------- Post added at 03:22 PM ---------- Previous post was at 02:43 PM ----------
now another problem please help man i flashed everything properly and phone seems to work great now i have to update to KK update now when i come in my system updates it says "System updates" is not available without a motorola service account there are 2 options cancel and setup when i press setup nothing happens just a blanks screen with "communicating with server please wait" nothing happens i really need to update it to KK please help me my google account is logged in and still nothing happens its not getting the update.. the update started like a charm before the sbf flash. please help man
Click to expand...
Click to collapse
sounds like the 'motorola services' isn't running. try this: do a 'factory reset' inside 'settings'. when the phone restarts DO NOT set up your google account. agree to the motorola crap but SKIP google sign in. this will make sure nothing is loaded from the playstore. not even your contacts. skip over the verizon contact restore and accounts. then try the update again. that's what i did after RSD. give it a shot.
chuck solid said:
sounds like the 'motorola services' isn't running. try this: do a 'factory reset' inside 'settings'. when the phone restarts DO NOT set up your google account. agree to the motorola crap but SKIP google sign in. this will make sure nothing is loaded from the playstore. not even your contacts. skip over the verizon contact restore and accounts. then try the update again. that's what i did after RSD. give it a shot.
Click to expand...
Click to collapse
ok so now the service is working but it says check for update is not available at this time.. now what to do?
---------- Post added at 03:44 PM ---------- Previous post was at 03:41 PM ----------
chuck solid said:
sounds like the 'motorola services' isn't running. try this: do a 'factory reset' inside 'settings'. when the phone restarts DO NOT set up your google account. agree to the motorola crap but SKIP google sign in. this will make sure nothing is loaded from the playstore. not even your contacts. skip over the verizon contact restore and accounts. then try the update again. that's what i did after RSD. give it a shot.
Click to expand...
Click to collapse
and i didnt factory reset after doing the RSD i didnt do any resets it just got past through the service thing automatically now its stuck on "Check for update is not available'
i did 3,4 reboots after it got past through the service thingy
whizinc said:
ok so now the service is working but it says check for update is not available at this time.. now what to do?
Click to expand...
Click to collapse
keep checking. my kid lost his update notification yesterday. he saw it at school but waited to download it till he got home and on wifi. when he got home it kept saying "no updates available" until about 9 o'clock last night. if you can't wait, these guys are playing with a download of the OTA:
http://forum.xda-developers.com/showthread.php?t=2752011
chuck solid said:
keep checking. my kid lost his update notification yesterday. he saw it at school but waited to download it till he got home and on wifi. when he got home it kept saying "no updates available" until about 9 o'clock last night. if you can't wait, these guys are playing with a download of the OTA:
http://forum.xda-developers.com/showthread.php?t=2752011
Click to expand...
Click to collapse
thanks alot man i think i will download this OTA or i will wait becuase i am on a slow network it will take about 2 hours for this file to download well thank you so much for your help i really appreciate it :good::good:
Hey guys, thanks so much for your responses. I was just unaware that I could RSD, I felt like I read somewhere that once I took the latest JB ota I couldn't RSD at all. Thank you again, I'll report back my findings.
Sent from my XT907 using XDA Free mobile app
Hello All,
recently Im working on my own project to add characters to the LG G2 default phone dialer (I know I can download other dialers), i spilited this project in to two parts 1.source code handling 2.GUI handling
currently I am still working on the first part and I hope I will have some breakthrough soon.
now regarding the second part.
I used ADB in order to pull out the LGcontacts.apk file, after I opened it I found that all dialpad related png files are located under "res\drawable-xxhdpi" folder.
I went to the following XML files located in the following paths
1.res\layout-land
2.res\layout-ldpi
3.res\layout
and changed the following lines from this:
<View android:layout_width="@dimen/dialer_dialpad_col_interval" android:layout_height="fill_parent" />
<com.android.contacts.dialpad.DialpadImageButton android:id="@id/two" android:background="@drawable/btn_dial" android:src="@drawable/dial_num_2_wht" android:contentDescription="@string/description_image_button_two" style="@style/DialtactsDialpadButtonStyle" />
<View android:layout_width="@dimen/dialer_dialpad_col_interval" android:layout_height="fill_parent" />
<com.android.contacts.dialpad.DialpadImageButton android:id="@id/three" android:background="@drawable/btn_dial" android:src="@drawable/dial_num_3_wht" android:contentDescription="@string/description_image_button_three" style="@style/DialtactsDialpadButtonStyle" />
To this:
<View android:layout_width="@dimen/dialer_dialpad_col_interval" android:layout_height="fill_parent" />
<com.android.contacts.dialpad.DialpadImageButton android:id="@id/two" android:background="@drawable/btn_dial" android:src="@drawable/dial_num_2_wht_il" android:contentDescription="@string/description_image_button_two" style="@style/DialtactsDialpadButtonStyle" />
<View android:layout_width="@dimen/dialer_dialpad_col_interval" android:layout_height="fill_parent" />
<com.android.contacts.dialpad.DialpadImageButton android:id="@id/three" android:background="@drawable/btn_dial" android:src="@drawable/dial_num_3_wht_il" android:contentDescription="@string/description_image_button_three" style="@style/DialtactsDialpadButtonStyle" />
After the changes done I saved the files rebuilt the APK using APK Studio and pushed the apk file to /system/priv-app using ADB.
after reboot to the device the APK was installed however after opening the APP i noticed that nothing has changed.
honestly i dont know why nothing was changed, does anyone know what did I do wrong?
Thank you for your help in advanced.