Enabling Gingerbread ScreenOff Animation - Android Software/Hacking General [Developers Only]

The CRT style screen off / lock animation that comes with Gingerbread is disabled by default. This tutorial (partially copied and edited) will help you to Enable this.
First, you should root your device.
[SCH-i509] Gingerbread ScreenOff Animation
What you need:
- Root Explorer
- APK Manager from APK Multi-Toolkits | APK Multi-Tool
- Notepad
- 7Zip
1. Using Root Explorer, take the framework-res.apk (you can copy it from system/framework to /sdcard, and load it to your pc)
{
"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"
}
2. Copy from /sdcard to your PC. Paste it at "place-apk-here-for-modding" at the APK Manager folder.
3. For the first time you run APK Manager, please run setup.bat, and then choose option number 3. Please wait untill the progress done. Run Script.bat from the APK Manager folder. Press any key, choose 9 (decompile) and wait.
4. When it finishes go to \APK_Manager\projects\framework-res.apk\res\values.
5. Open up the file called bools.xml in Notepad (Right click and open with Notepad)
Look for a line that says "<bool name="config_animateScreenLights">true</bool>"
Change true in that line to false so it should read
"<bool name="config_animateScreenLights">false</bool>"
Click to expand...
Click to collapse
6. Go back to the apkmanager script.bat. Open it, or if you still have it open you want to type 11 (Compile the apk) and then press "y"
When you see the picture like below, dont press any key too fast.
Theres a new folder in the apk manager directory called 'keep'. Before you hit enter to finish the process... go to that 'keep' folder and find a file called resource.arsc. Delete that file.
Go back to the apk manager and hit enter. It will start copying a bunch of files and it will be done. Close the script.bat window when it finishes.
7. Navigate to that folder that you put your framework-res.apk in initially and you'll see a new unsigned .apk. Open it in 7-zip and pull out the resource.arsc file inside of it (drag and drop it like on your desktop...do not unarchive/unzip). Using 7-zip open your framework-res.apk that you initially used for this mod (from your flashable .zip) and delete the old resource.arsc file thats in it...and drag and drop your new one in.
Code:
http://static.pbsrc.com/flash/onSiteVideo.swf?file=http://vid124.photobucket.com/albums/p32/lucubrb/SCH-i509/part07.mp4&t=1350846756&os=1&ap=1
8. Copy your new framework-res.apk to /sdcard. And then move it to /system. Do not copy the file to \system\framework at this point or you will cause the system to bootloop. Change the file permissions to rw-r--r--. Graphically it would look something like this:
9. Move framework-res.apk from \system to \system\framework, letting it overwrite the original. Completely power down your device, then power it back.
10. Last, using Root Explorer, goto /system/build.prop. Find "debug.composition.type=mdp" and change "debug.composition.type=gpu"
11. Restart your phone, and see the different
Tested at my SCH-i509. Do it with your own risk and good luck
Sources from here before i do some modif

Thank you for the very detailed guide. I managed to do everything without ending up with any bootloops or problems but the animation remains the same old one, even after enabling all animations at the end in my display settings. It actually removed my previous animation which was a quick fade out, now when I press the lock button it's like it quickly shuts off, doesn't really bother me but I really wanted to have CRT animation.
Got any suggestions on what else to try? I'm running Gingerbread 2.3.6

Mitko said:
Thank you for the very detailed guide. I managed to do everything without ending up with any bootloops or problems but the animation remains the same old one, even after enabling all animations at the end in my display settings. It actually removed my previous animation which was a quick fade out, now when I press the lock button it's like it quickly shuts off, doesn't really bother me but I really wanted to have CRT animation.
Got any suggestions on what else to try? I'm running Gingerbread 2.3.6
Click to expand...
Click to collapse
Well did you add the gpu line
Debug composition type gpu

Related

[HOWTO] RainbowMods Theme Tutorial

INTRO:
{
"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"
}
Finally! The long wait has come to an end! Here is the RainbowMods theme tutorial!
Now this Tutorial is for a very basic type of theme. By basic I mean that what you can theme are the back button, home, recentapps, menu, search, and battery, and wifi icons, and also the button press color.
In the following days i will be making a tutorial on advanced themes. Where you will be able to change clock color, expanded settings bar items, such as: sound and brightness icons and bar color and as well and settings icon, and everything else in the notifications bar
REQUIREMENTS:
ZipThemer
ICS or JellyBean Rom .zip
Root Explorer or similar
Icons that you want to use
And a little Patience
INSTRUCTIONS:
YOU CAN DO ALL THIS ON YOUR KINDLE! NO NEED TO USE YOUR COMPUTER.
1.Download my custom_statusbar.zip file and extract it to a spot on your sdcard.
2.Go to the extracted. then CustomStatusBar/systemUI/res.
3.This is where all the drawable (images) are located. The ones we are editing in this tut. are located in drawable-sw600dp-mdpi.
4.Now go to system appsand extract your systemUI apk. go to that extracted. and go to res/drawable-sw600dp-mdpi. This i just so you know what your editing.
5. Download and extract atticus182's softkeys (or you can use any of your own!) and find one you want to use. Rename it and get rid of the (#) after it. and copy and past the image in the customstatusbar's drawable-sw600-mdpi fold. Say if you are using one that says ic_sybar_back (24) you would get rid of (24) and copy the image TWICE! rename one of them to ic_sybar_back_land
the land part is for landscape mode. so do this same thing for any icons you would like to change. just remember to rename them EXACTLY how they are in your original systemUI.apk. This is the same for any battery or wifi mod too.
6. after you are done with the pictures you are swapping out., zip the ENTIRE CustomStatusBar folder.
7. Go to zipthemer. If you have used zipthemer before with your rom then SKIP this Step. GO to zipthemer. Press the menu button and then hit update edify. HIt browse and find the rom that you are currently using. MIne would be jandycane_otter-v1.5.1_0xD34D.zip.and press configure. It will say success.
8. In zip themer press +Theme. Then find the zipped customstatusbar file. and click build it! is will ask you about making a undo file and click always.
When its finished it will show a buildl log.
9. Reboot into recovery. TWRP or CWM. when in recovery hit install. and find the customstatusbar.zip. Flash it. and wipe delvikcache. reboot and tada!!
10. go to http://forum.xda-developers.com/showthread.php?t=1413582 and thank atticus182 for letting me use his sofkey icons!
THANKS:
atticus182 for his icons
stericson for getting me into theming!
and be sure to thank me!
How would i change the clock
Sent from my Amazon Kindle Fire using xda app-developers app
Agent358 said:
How would i change the clock
Sent from my Amazon Kindle Fire using xda app-developers app
Click to expand...
Click to collapse
That will be in the advanced tut, but I personally like the stock clock.

[Theme] [JB] Lock Screen Colors

Made some colored lock screens, followed the guide on the portal
Credit goes to Josepho1997
-= Not responsible for whatever happens to your device =-
Since i'm not updating these on a regular basis anymore, I thought i'd give you the files so you can just update the framework yourself.
Just open the newest framework-res.apk with 7zip, drag & drop the res folder from whatever color you want over to 7zip and click yes to copying the files over, close 7zip and you're done.
Just the colored files, not the framework
ALL COLORS.ZIP Zip version
ALL COLORS.RAR <-- All of them in one rar file
Green
Green - Biohazard
Purple
Purple - Decepticon
Blue
Blue - Deadmau5
Red
Red - Deadmau5
Pink
{
"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"
}
- Update -
Just added the files without the framework, feel free to copy them over.
If you have any requests just hit me up.
Can somone make a zip of these please love the Idea and work I am a user and abuser.
Made a zip version for you.
morphuex said:
Made a zip version for you.
Click to expand...
Click to collapse
Thank you been so long thought you for got. Now that I have them how do get them to work I am on rayman TX cm10 jb hope I am not being greedy just do not how to install
philseven said:
Thank you been so long thought you for got. Now that I have them how do get them to work I am on rayman TX cm10 jb hope I am not being greedy just do not how to install
Click to expand...
Click to collapse
First off you need to get the framework-res.apk file from your tablet to your PC. Use root explorer or some kind of file explorer that has root access. The file is located in /system/framework either copy it to your sdcard or send it to your cloud service such as box or google drive. Open it up on your PC with 7zip in another window go to the color you want, you should see a res folder, just drag and click the res folder over to the framework-res.apk you have open with 7zip, then merge when it asks you to. Now put the new framework-res.apk on your sdcard and copy it into the /system/framework folder make sure you have r/w on whichever file explore you are using, it'll ask you to replace the file, do so then reboot the system. If you did it correctly it should be changed.
morphuex said:
First off you need to get the framework-res.apk file from your tablet to your PC. Use root explorer or some kind of file explorer that has root access. The file is located in /system/framework either copy it to your sdcard or send it to your cloud service such as box or google drive. Open it up on your PC with 7zip in another window go to the color you want, you should see a res folder, just drag and click the res folder over to the framework-res.apk you have open with 7zip, then merge when it asks you to. Now put the new framework-res.apk on your sdcard and copy it into the /system/framework folder make sure you have r/w on whichever file explore you are using, it'll ask you to replace the file, do so then reboot the system. If you did it correctly it should be changed.
Click to expand...
Click to collapse
Okay thank you.

[INGRESS][12-15-2012] Ingress Lockrings

Change your default lockring to 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"
}
We need to modify the framework-res.apk, so we need a file explorer with root access, like Solid Explorer Beta2
PLEASE MAKE SURE THAT YOU MAKE A NANDROID BACKUP BEFORE TRYING THIS!
Step 1 Download the lockring that you like.
There are two options for each style: HDPI or XHDPI.
Download from here:
Ingress style 1: HDPI or XHDPI.
Ingress style 2: HDPI or XHDPI.
Click to expand...
Click to collapse
Step 2 Copy your framework-res.apk from /system/framework to SD card and from SD card to the computer. If you have your current ROM on the computer as a zip file, copy the framework-res.apk from there, it`s faster.
Step 3 Open the framework-res.apk with 7Zip.
Navigate to res\drawable-hdpi\ or res\drawable-xhdpi\. You should find a file named "ic_lockscreen_handle_normal.png". This is for ICS and JB.
Step 4 Go to the archive that you downloaded and unzip it, open the folder and Drag and Drop the .png file from here to the res\drawable-hdpi\ or res\drawable-xhdpi\. Click yes to confirm.
Step 5 Close the 7Zip archive and copy your modified framework-res.apk to the SD card. Keep the original framework-res.apk for backup.
Step 6 On the phone open Solid Explorer Beta2 and navigate to the modified framework-res.apk, long press it, select Copy. Navigate to /system and Paste it. Long press it again and select Properties. Under Attributes tab select Change. Set permissions to 644 -rw-r--r-- Click OK.
Long press the framework-res.apk again and select Cut. Now navigate to /system/framework and select Paste and overwrite the framework-res.apk from here.
Step 7 Your phone should reboot now, if it doesn't, reboot manually.
You should now have the new lockring installed.
Feel free to alter the design or make you own.
Here are the dimensions in pixels for HDPI: 162x162 and XHPDI: 216x216. The image must be a .png file.
Thanks to Senior Member sharingan92 for the flashable zips! Second post.
Post a reply and click the Thanks button if this helped and you like it. I would appreciate it!
hey mate love the idea but a bit to much work for some users so i made you some flashable zips
sharingan92 said:
hey mate love the idea but a bit to much work for some users so i made you some flashable zips
Click to expand...
Click to collapse
Thanks!

[GUIDE] Changing status bar icons and more (framework-res.apk)

So friends, here is a quick and easy guide for changing the status bar icons of your Gingerbread(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-mdpi (in my case, as our phone is mdpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A Android (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-mdpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"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"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having
Reserved
Reserved
Reserved
BUMP
BUMP
thanks - interesting reading!
Wow Amazing.. will check and post the results ..
Phelin said:
Wow Amazing.. will check and post the results ..
Click to expand...
Click to collapse
Thanks
Please include screen shots
o0ojake13o0o said:
Please include screen shots
Click to expand...
Click to collapse
Will do after exams
o0ojake13o0o said:
Please include screen shots
Click to expand...
Click to collapse
I know it's old
But why do you need screenshots for a guide?
Where attach for platlogo
Any guide for marshmallow?

Lollipop for samsung galaxy core 2 duos

Hi guys
Came back to xda after long times
Sorry to all my fans
If you like my work do please hit thanks
Now it is a very bad truth that core 2 will never ever get a lollipop official upgrade as its hardware is not going to support lollipop.
So i thought to provide my fans a bit long but trusted way to get a lollipop look,feel,performance on their lazy kitkat devices.
Lets get start
I SUPPOSE THAT YOU HAVE A ROOTED DEVICE. if not then check out my previous guides.
YOUR DROID HAVE ATLEAST 80 % BATTERY.
AND YOU HAVE NO BRAIN
with all this things you arevready to go.
Folllow me boys step by step
1 - UPGRADING LOLLIPOP LAUNCHER
for this we are going to use NOVA LAUNCHER. You can use any lollipop styled launcher for yourself.
Firstly go to es file explorer and onnnnnn the root explorer option.
Then copy the nova launcher apk and past it to /system/priv-app.
After pasting long press it and on right bottom click three dot symbol.head on to permissions and just diasble all exicutable and Botton two write permissions like thisView attachment 3431496
After doing that just delete the default launcher apk and odex file from same folder.
Reboot device and you get the lollipop launcher.
2 - UPGRADING LOLLIPOP KEYBOARD
for this we are going to use latinimegoogle keyboard.
Firstly go to es file explorer and onnnnnn the root explorer option.
Then copy the apk and past it to /system/app.
After pasting long press it and on right bottom click three dot symbol.head on to permissions and just diasble all exicutable and Botton two write permissions like thisView attachment 3431496
Then copy the lib and past it to /system/lib.
After pasting long press it and on right bottom click three dot symbol.head on to permissions and just diasble all exicutable and Botton two write permissions like
thisView attachment 3431496
After doing that just delete the default samsung keyboard apk and odex file from same folder.
Reboot. After rebooting go to settings of keyboard as usually and go to advance section there you will find that material theme option.choose material theme for lollipop look.
Apk and lib files are on this link
Apk https://drive.google.com/file/d/0ByZiuaK2U388UTQ0dkJlc2RaZ2c/view?usp=docslist_api
Lib https://drive.google.com/file/d/0ByZiuaK2U388ZGZVMFFrVk03RFU/view?usp=docslist_api
3 - UPGRADING LOLLIPOP LOCKSCREEN
just follow all instructions which you used for launcher.but you do nat have any specific apk for lockscreen in samsung devicea so you do not need to delete any apk.
Download any lockscreen from market of your choice.
Make shure you have changed file permissions.
4 - UPGRADING LOLLIPOP NOTIFICATIONS
all love heads up notification.
For that you need to download two akp
Xposed installer and its module " heads up notifier" both are in apk form so for both files follow the same instructions as launcher but again you do naot have to delete any apk at last.
Remember the correct permissions.
After rebooting just open xposed framwork and click on modules and enable the notifier module.come back to main menu and click framework and click on install and it will ask for rebooting.after reboot younwill have heads up notifications enabled.
5 - UPGRADING CORE 2 DISPLAY
now a bit different thing.
Open es file explorer and navigate to /system/build.prop.
Open this file.
Tap on the pencil on right top.
Now you will see a line ending with 4.4.2 just change it to 5.2.0
There are two lines saying ro.sf.lcd_density 240 change the value to 200 in both the lines
There are lines like
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=68m
dalvik.vm.heapsize=94m
Change them to
dalvik.vm.heapstartsize=10m
dalvik.vm.heapgrowthlimit=68m
dalvik.vm.heapsize=256m
Done save changes and reboot
Your device now is mostly like lollipop and you have a 20% boosted performance device which eats less battery when in power saving mode.
6 - UPGRADING LOLLIPOP STATUS BAR ICONS
You can download xstana module of xposed installer.install it on your device and tap on notification in status bar after rebooting open the app and choose which style you want.
Follow the same launcher guide above but you dont have to delete any app.
NOW FOR IF YOU WANT TO HAVE A NAVIGATION BAR IN YOUE DEVICE YOU HAVE TO EDIT YOUR BUILD.PROP AND ADD A LINE AT ITS END
qemu.hw.mainkeys = 0
After saving fild just reboot and you will get mavigation r right at botton.
This is a screen shot of my device
{
"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"
}
At last but not least i did not steal any work.this is my original idea but i have not developed the apps you can always donate the creaters of apps.they have done a good job i just assembeled the whole in one device for their combined look.
If you have any problem you can contack me
My gmail is [email protected]
You can send message at hangouts.
Please if you like my work please hit thanks
Good luck guys.
Peace

Categories

Resources