View Single Post
Old 04-29-2015, 07:35 PM   #1
DoctorWkt
Connoisseur
DoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmos
 
Posts: 54
Karma: 21028
Join Date: Apr 2015
Device: T68 Lynx, T68+
Modifying the T68 Sleep and Power Off Screens

I wanted to change my T68 so that when it is sleeping or off, the splash screen shows my contact details. This is just in case I leave it somewhere; people will know who it belongs to and how to contact me.

I copied the file /system/framework/framework-res.apk off my T68 to a Linux box. Using the jar tool, I unpacked the APK file:

Code:
jar vxf framework-res.apk
In the assets/images folder there are two files: standby-1.bmp and shutdown.bmp. They are 1440x1080 landscape greyscale images.

To replace them, I created two portrait 1080x1440 images with my photo and contact details. I rotated them clockwise to be in landscape format and saved them as greyscale BMP files, overwriting standby-1.bmp and shutdown.bmp.

Using the jar tool, I updated these two images in the framework-res.apk file:

Code:
jar uvf framework-res.apk assets/images/shutdown.bmp assets/images/standby-1.bmp
Using Root Explorer, I mounted the /system/framework folder read-write, and copied in the new framework-res.apk file. Then I rebooted the T68.
DoctorWkt is offline   Reply With Quote