[MOD] Electron Beam / CRT screen off animation for JVP + PNGs optimization - Galaxy S I9000 Themes and Apps

CRT screen off animation for JVP for odexed (stock) and deodexed ROM's.
UPDATE 14.06.2011:
- /framework-res.apk/resources.arsc file isn't compressed (like in stock Samsung ROM's)
- optimized all framework PNGs (with optipng) in framework-res.apk and twframework-res.apk (lower memory footprint, maybe slightly faster)
- autofixing /system/framework permissions in CWM package
10.06.2011:
- fixed CWM package
- enabled animation in /framework-res.apk/res/values/bools.xml
All .apk files all zipaligned, like in stock ROM
Installation:
Download zip and apply via CWM:
CRT_screen_off-optimized-JVP-CWM3-proper.zip (5.71 MB)
OR (if you don't have CWM):
Download framework-res.apk and replace it in /system/framework/ directory by Root Explorer or adb shell. You should have ~6MB free space on /system partition before operation (delete some unneeded apps from system using Root Explorer or nitrality).
framework-res.apk (7.95 MB)
After installation you have to open Settings => Display => Animations and turn them ON to get it working Also don't change speed of animations by Spare Parts or nitrality - it will disable CRT screen off.

thank you so much that was prety fast
BTW what is electron beam ?
can you provide pics pls?

does not work, says installation aborted.

Tested? I Made the same and gives me a bootloop
Edit : cwm3 package Not working.
Sent from my GT-I9000 using Tapatalk

rhadoo04 said:
does not work, says installation aborted.
Click to expand...
Click to collapse
Same here.
Deodexed/zipaligned and dark core kernel 2.7.2 here.

Sorry didn't have CWM3 to test (CF-Root wasn't finished), and there was a problem with update-script. Here's the proper package, should work now:
--links in first post--
Tested on CF-Root for JVP, it works
BTW what is electron beam ?
Click to expand...
Click to collapse
It's other name for CRT screen off animation
Tested? I Made the same and gives me a bootloop
Click to expand...
Click to collapse
Using this framework-re.apk on my phone and it works

Bo$s said:
Sorry didn't have CWM3 to test (CF-Root wasn't finished), and there was a problem with update-script. Here's the proper package, should work now:
CRT_screen_off-JVP-CWM3-proper.zip (5.4 MB)
Tested on CF-Root for JVP, it works
It's other name for CRT screen off animation
Using this framework-re.apk on my phone and it works
Click to expand...
Click to collapse
thanks for the new file, gona try it!
Now i can begin with my new theme for JVP.
edit: Working as i should now, thanks!

CRT animation works a treat on JVP and SpeedMod 15H.
Thanks for doing this so quickly

I'll have to try this later

thanks, working like a charm

thanks great work!!! congratulation
can you please made like this mod for JPJV6 or tell me how to do it

suwidah said:
thanks great work!!! congratulation
can you please made like this mod for JPJV6 or tell me how to do it
Click to expand...
Click to collapse
Download apk_manager 5.0 beta (somewhere in apk_manager thread).
Download apktool 1.4.1 (or newer), extract it, replace apktool.jar in apk_manager/other folder with downloaded version.
Pull framework-res.apk and twframework-res.apk from /system/framework/ and put them in apk_manager (modding folder).
Open apk_manager, choose framework-res.apk as project, decompile it with dependency, as dependency give twframework-res.apk.
After decompile go to projects/framework-res.apk/res/values/.
Open bools.xml in notepad, change value of bool name='config_animateScreenLights' from 'true' to 'false' and save it.
Go to apk_manager, compile, answer Yes for question about system file, answer Yes in next question, go to keep folder, remove resources.arsc, then hit enter in apk_manager.
After successful compile you can choose zipalign options.
You will find unsignedframework-res.apk in modding folder, rename it to framework-res.apk and put in /system/framework/.
Pretty easy

WOW!! very useful and nice step by step.
Thanks Mr. Bo$s I will use your guide after I receive my SGS from repair in Sunday, I will tell you if I successful in this

no I haven't successful it's keep restart on boot animation:confused

I KNOW it says 'CWM3', but will it work with the 'CWM2.5' that comes with speedmod's new kernel?
thx for the response...

WORKED LIKE A CHARM!!!
I ended up using "Super Manager" (free) from the market to install the apk file instead of messing with CWM.
Thanks a lot for that!!
Raman's deodoxed XXJVP with Speedmod kernel k15-t6

DanDroidian said:
I KNOW it says 'CWM3', but will it work with the 'CWM2.5' that comes with speedmod's new kernel?
thx for the response...
Click to expand...
Click to collapse
It should work with CWM 2.5 too.
Sent from my GT-I9000 using Tapatalk

Bo$s said:
Download apk_manager 5.0 beta (somewhere in apk_manager thread).
Download apktool 1.4.1 (or newer), extract it, replace apktool.jar in apk_manager/other folder with downloaded version.
Pull framework-res.apk and twframework-res.apk from /system/framework/ and put them in apk_manager (modding folder).
Open apk_manager, choose framework-res.apk as project, decompile it with dependency, as dependency give twframework-res.apk.
After decompile go to projects/framework-res.apk/res/values/.
Open bools.xml in notepad, change value of bool name='config_animateScreenLights' from 'true' to 'false' and save it.
Go to apk_manager, compile, answer Yes for question about system file, answer Yes in next question, go to keep folder, remove resources.arsc, then hit enter in apk_manager.
After successful compile you can choose zipalign options.
You will find unsignedframework-res.apk in modding folder, rename it to framework-res.apk and put in /system/framework/.
Click to expand...
Click to collapse
after all that make reboot intio cwm recovery and take fix permissions
most of bt wifi drain or any problems come from noobish copying over files via adb, root explorer, cwm flashables that are not setting proper permisions and owners for files... fix permisions should be used 'just in case' after such interference with system

Thanks, works like a charm!

works like a charm, thanks.

Related

[MOD]9Lockscreen,Ext. power,Overscroll glow,CRT,Battery percentage for JVP/JVQ/JVR

This is a mod for deodexed JVP and JVQ (2.3.4) roms.
The main and the great job was done by Whitehawkx over this thread for making the 9 lockscreens. I just add the battery percentage,overscroll glow,CRT and extended power menu. SIP also added by Brotuck
How to change lockscreens:
Use EDT application to change the locks .(after installation of the file the application will be added to your device.). You may see some parts of this application (other than lockscreen) is not activated.If you are intrested in other parts like changing status bar icons or... please follow the guy who made this useful application on this thread
**After choosing the lockscreens like miui or 4tabs you have to choose "custom app" in edt application and assign an pplication for your like otherwise you may get fc or the phone may restart.
** if you are not satisfied with glow color or battery style, you can change and modify framework-res.apk at UOT kitchen
Tested on Ramad deodexed JVP and JVQ ROM
JVQ/JVR
JVQ/JVR and JVP have the same android.policy and framework-res but framework.jar have minor changes. to get a mod on pure JVQ/JVR I recompiled framework.jar for JVQ/JVR MOD.
how to install:
Download the file and copy to sdcard and flash via recovery (or you may extract the files and copy manually using rootexplorer
http://www.multiupload.com/IGRG5G3VA1 CWM2
http://www.multiupload.com/5YL3ZA30H0 CWM3 (thanks to cyberdemon8 )
Color changing signals:
please copy systemui.apk to /system/app and reboot
SystemUI.apk
Additional patch for persian/arabic/urdu (JVQ/JVR):
This cwm file will add the above mentioned mods + right to left language support + samsung and swype keypad in persian/arabic/urdu
I recommend to flash ramad deodexed rom and then flash a cwm supporting kernel like speedmod and the last install this patch via recovery
libwebcore is not included in this patch
Download:
http://www.multiupload.com/6JC6Z1PV1N (no libwebcore)
http://www.multiupload.com/SAL62JH4I9 (+libwebcore, gmail and internet surfing possible thanks to madmack and brightidea)
JVP:
How to install:
Method A:
download the rar file and extract
use rootexplorer
1-copy EDT.apk to /system/app
2-copy all other files to /system/framework
3-reboot
Download:
http://www.multiupload.com/NTCRGTIRUI
Method B: (Thanks Brotuck for providing the files)
Download the CWM3 compatible file below and install via recovery
http://www.multiupload.com/029O1V0B5N (No SIP)
http://www.multiupload.com/HCN017UPCA (SIP Enabled)
Credits:
DAGr8 For the Source files
Whitehawkx for the lockscreens
dhiru1602 for overscroll glow source files
birgertime and the team for EDT application (I always appreciate guys with new ideas)
Madmack for RTL patch
UOT kitchen for battery MOD
Coooooooooool
Thanks m8
don't work on deodexed 2.3.4 CF root 3.7 and Speedmod K15H T8B.
Bootloops on Speedmod and installation aboved on CF root
donk74 said:
don't work on deodexed 2.3.4 CF root 3.7 and Speedmod K15H T8B.
Bootloops on Speedmod and installation aboved on CF root
Click to expand...
Click to collapse
I will recheck the file and upload again if necessary.
thank i really enjoyed by this mod ^^
Seems that CWM file giving some problems, just to make sure I flashed deodexed JVP from ramad thread and test the files and its working. this time download the file and extract then copy the files manually using rootexplorer
do not flash in recovery
I follow your method and bootloop again
Edit : I have tested on a friend 's Galaxy S and it's the same problem
donk74 said:
I follow your method and bootloop again
Edit : I have tested on a friend 's Galaxy S and it's the same problem
Click to expand...
Click to collapse
As I said I flashed the deodexed rom from ramad and just copy the files and reboot. maybe needs a wipe which you can do from recovery. it is also possible if you are on a custom rom that many files has been modified other than the 3 framework files in this update (framework.jar, framework-res.apk , android.policy.jar) which is causing such problem. lets see what other people say and if it's not working will ask a professional dev. for his/her ideas
Thanx ! You just saved me a few hours to do it myself
Brotuck said:
Thanx ! You just saved me a few hours to do it myself
Click to expand...
Click to collapse
just to let you know I am using your mod and the edt tweak app with Brotuck's rom and the install was fine and all is functioning very well -- nice work guys!
Made a little CWM3 package for it. Thanx for the MOD !
http://www.multiupload.com/029O1V0B5N
Brotuck said:
Made a little CWM3 package for it. Thanx for the MOD !
http://www.multiupload.com/029O1V0B5N
Click to expand...
Click to collapse
Thanks so much it may help alot. the first post updated
Maybe a little addition, i did modify the battery icon for the icon used in my theme.
Just to let people know !
I installed the CWM version and the edt.apk.
Installation runs fine, but in the app the
Lock Screen Options, Misc, Show Signal Strength and Show dBm Text
are all greyed out. So they couldn't be activated.
Any suggestions to solve this issue?
I am running JVP from tricky with tegrak kernel.
EDIT: And there is no ext.power menu.
Installed it,, and it is working fine
skodaslx said:
I installed the CWM version and the edt.apk.
Installation runs fine, but in the app the
Lock Screen Options, Misc, Show Signal Strength and Show dBm Text
are all greyed out. So they couldn't be activated.
Any suggestions to solve this issue?
I am running JVP from tricky with tegrak kernel.
EDIT: And there is no ext.power menu.
Click to expand...
Click to collapse
You have used the wrong files somehow.
The modified .Jar files in the CWM are really needed.
Brotuck said:
You have used the wrong files somehow.
The modified .Jar files in the CWM are really needed.
Click to expand...
Click to collapse
Sorry, but i don't understand you.
I flashed the cwm version.
Why i have the wrong files?
Sent from my GT-I9000 using XDA App
same here flashed that zip. Already got EDT tweaks inside system partition and i had removed it from zip files. But change lockscreen is greyed out.
Ok i think i know what is wrong, if you already have another EDT.apk file.
You first need to delete this one.
Then flash the CWM with the newer EDT.apk
Let me know how it goes
Little notice for those on tricky's JVP special edition. It seems that /system/framework/ isn't deodexed, and that might cause some trouble when installing themes. Can someone else double-check that /system/framework/ is not deodexed?

A guide to rom cooking, a bit of theming and a bit of modding!

Although it does seem rom cooking is difficult, in fact, it's easy to create a simple rom, with everything you want in it. There are still a few things missing which i'll add in the next few days
Here it goes....
Lets start with a bit of theory:
Needed programs:
Cygwin
7zip
Baksmali/smali
Apk manager
Text editor (notepad ++ for example)
SGS kitchen (https://github.com/rmgeren/Android-Kitchen/tree/galaxy_s)
Autosmali: http://forum.xda-developers.com/showthread.php?t=970728
First of all, download the cwm stock deodexed rom from here http://forum.xda-developers.com/showthread.php?t=948790
This will save a lot of time since you wont need to deodex, nor to extract /system from factoryfs.rfs
There are three folders inside:
META-INF - here is where the updater-script and updater-binary are located. This files are very important, because they are in charge of making the phone copy files from the zip, symlinking etc...
updates - here is were the kernel (zimage) and modem (modem.bin) are located
system - here are all libs, apks and things that will be copied to /system
Explanation of some directories in /system
System/app:
Here are all system apps
System/framework:
By modding files here, you'll be able to theme.
System/lib:
Here are libs needed for many things to work.
System/Build.prop:
Mod this line to change the name of the rom shown in about ro.build.display.id=
System/media -
Ringtones, bootanimations and othet things are stored here
System/etc:
Here are some files you might want to mod, like hosts ( for adfree), files for gps, and you can create an init.d folder for scripts that you want to get executed at startup (if kernel supports it)
Those are all the main directories you'll need to mod
Setting up the kitchen
Download cygwin and install it. Then download rmgeren's sgs kitchen. Create a folder called kitchen wherever you want and copy all files of rmgeren's github into it.
Create a folder inside kitchen called WORKING_111111_111111
Extract the zip of the stock deodexed rom to kitchen/WORKING_111111_111111/
In case you are having any problems with it, please do take a look at this post : http://forum.xda-developers.com/showpost.php?p=5626300&postcount=3
Cleaning up system/app
I usually delete this apks:
Aldiko
Layar
Infoalarm
Dualclock
Protips
Samsung widgets
Minidiary
Writeandgo
Phonesetupwizard
Days
Pressreader
APK Modding:
For theming use method 1, for modding xml use method 2
Method 1 - right click on the apk and select 7zip and extract in /* (* is the name of the apk)
Open the folder, then res, then drawable-hdpi, and then mod the pngs you want.
Once yoy're finished, open the apk with 7zip and replace res/drawable-hdpi with the new one
Method 2-
Place the apk inThe apk modding folder (apk manager)
Open script, choose a project to work on (22 in windows), then decompile (for some apks you'll need dependencies).
Go to projects and the folder of your apk, then mod any xml you need to mod
Recompile it, it will ask if it is a system/app. Just answer Y or N.
You'll be asked another thing, type Y, press enter
Then it'll say something about a keep folder, go to the keep folder and look for the xmls you modded and delete them. In case you cant find one, delete the ones you can find and delete resources.arsc
Now press enter
You'll have an unsigned*.apk just rename it to the old ones name.
Theming
Same process that you use for apks, but this time you mod twframework-res.apk and framework-res.apk, you also mod systemui.apk for status bar
Some xml and pngs you might want to mod (framework-res.apk)
Xml:
Res/values/styles.xml
Res/values/bools.xml
Res/drawable/progress_horizontal (for colour of this bar View attachment 637481)
Png's (drawable-hdpi)
default_wallpaper.png - it's the default homescreen wallpaper
For overscroll glow:
overscroll_glow.png
overscroll_edge.png
For this (the bar you move) View attachment 637482:
seek_thumb_normal.png
seek_thumb_selected.png
seek_thumb_pressed.png
There are many more, but this are a few that are quite useful. You can easily find out about any, but in case you can't, you can just ask here and i'll be glad to answer
If you want to pre-install a theme, just copy the files of the theme into the correct places. For example system/framework to system/framework
For ctr off animation, decompile framework-res.apk, go to res/values/bools.xml
and in the line: config_animateScreenLights, turn it to false. If you want a more step by step guide, try this guide: http://forum.xda-developers.com/showthread.php?t=977501
Using baksmali/smali
To mod classes.dex, i use baksmali/smali
I use ubuntu for this, but you can use another linux distro if you want.
This is what i do in Ubuntu:
Steps to follow:
1. Get the .jar you want to mod. framework.jar for example
2. Open it and get classes.dex
3. I usually copy it to the desktop
4. Open terminal
5. Type sudo su and then your password
6. then cd /home/Coldflid/Desktop ( type the location where you have copied it).
7. java -jar baksmali-1.2.6.jar classes.dex
8. Once you've modded it, type java -jar smali-1.2.6.jar (name of the output folder)
9. A new .dex file will be generated, just replace the old one with the new one
This is what i do in windows
1. Grab the jar you want to mod
2. Open it with 7zip and get classes.dex
3. Copy classes.dex to the same folder autosmali is in
4. Run baksmali.bat
5. Make the desired changes
6. Create AutoSmali_In folder and place the folder of the decompiled classes.dex inside
7. Run smali.bat
8. Rename AutoSmali_Out.dex to classes.dex and replace the old one in the .jar with the new one (using 7zip)
Finishing the rom
Now that you've finished with modding, theming etc... Now replace apks with new ones, add a few that you want, and copy libs if needed.
You can add ringtones from other phones to system/media, bootanimation of sgs ii etc...
Replace the kernel with the kernel you like the most, and the modem with the one that works best for you.
Now it's time to zipalign. Open cygwin, type cd c:/ * (where * is where you have the kitchen). Press enter
type ./menu, then press enter
Now you just select the zipalign option.
When it finished, select all three folders of the rom and right click, 7zip, add to file, zip, name it and then you're good to go.
Install it using cwm.
If you want to make it flashable through odin, follow darky's guide:
http://forum.xda-developers.com/showthread.php?t=960946
If this was useful, hit the thanks button
Hope you like it.
If there's something wrong, tell me and i'll correct it. Also post if it was useful
Thanks
rmgeren for sgs android kitchen
[Ramad] for stock deodexed roms
creator of baksmali/smali and the creator of cygwin
Daneshm90 for apk manager
Thanks to dsixda for cygwin faq, and to gazza1988 for suggesting the idea of including it in this post
Thanks to Daneshm90 for the ctr off animation tutorial i've linked to in this thread
schmittx for autosmali: http://forum.xda-developers.com/showthread.php?t=970728
Reserved...
thanks alot...will try this so how can we make wipe and non wipe? is there a way?
zaanrider said:
thanks alot...will try this so how can we make wipe and non wipe? is there a way?
Click to expand...
Click to collapse
You need to modify the updater-script
Enviado desde mi GT-I9000 usando Tapatalk
There's option for Wipe state in kitchen right?
Not interested in doing this myself, but a very informative guide, much knowledge gained......only one critisism....how about some credits ie ramad for deodexed etc etc....once again many thanks
Insanity cm 015/glitch
Thanks for the guide. Always wanted to try, now this guide make me want to do it. Thanks gain Coldflid! You are Awesome!
Hi Tweaky,
I am not a ROM cooker but hopefully I can pass info to UTO Kitchen. A lot of devs like to add "overscroll glow". Can you tell us how to revert this if possible?
I for one like the default overscroll effect like this http://www.youtube.com/watch?v=dOyWCDhlxv8
And if it is possible I would like to pass the information to UOT.
Thanks.
Hello.. I did exactly what you said in OP. Can you assist me, what if I've to add custom kernel in my custom ROM? There's option for it in Kitchen. I placed zImage into working folder, Kitchen moved it to /updates. I packed the files in zip using menu BUILD ROM in kitchen. I got bootloops..
Can you help me please?
Very nice Cold, GJ m8. Helped me a lot
cenonmin said:
Hi Tweaky,
I am not a ROM cooker but hopefully I can pass info to UTO Kitchen. A lot of devs like to add "overscroll glow". Can you tell us how to revert this if possible?
I for one like the default overscroll effect like this http://www.youtube.com/watch?v=dOyWCDhlxv8
And if it is possible I would like to pass the information to UOT.
Thanks.
Click to expand...
Click to collapse
overglow sux
Fr4gg0r said:
overglow sux
Click to expand...
Click to collapse
Same here I never really liked it.
Rahulrulez said:
Same here I never really liked it.
Click to expand...
Click to collapse
Fr4gg0r said:
overglow sux
Click to expand...
Click to collapse
I dislike it in samsung roms, but i do like it in cyanogenmod.
cenonmin said:
Hi Tweaky,
I am not a ROM cooker but hopefully I can pass info to UTO Kitchen. A lot of devs like to add "overscroll glow". Can you tell us how to revert this if possible?
I for one like the default overscroll effect like this http://www.youtube.com/watch?v=dOyWCDhlxv8
And if it is possible I would like to pass the information to UOT.
Thanks.
Click to expand...
Click to collapse
To get rid of it, get classes.dex from the framework.jar of the rom you're running that has it, and get classes.dex from stock framework.jar
Using baksmali, decompile classes.dex from both.
Then get the overscroll glow source. Open the decompiled classes.dex folder of the stock one and the source. Find the files that have been modded and copy them to the folder of the decompiled classes.dex of the rom that has the overscroll glow.
Then use smali to compile it back to classes.dex and then copy it into framework.jar
This will become easier as soon as i post the baksmali/smali guide.
Anyway, i'm going to upload the JVP original scroll source.
Rahulrulez said:
Hello.. I did exactly what you said in OP. Can you assist me, what if I've to add custom kernel in my custom ROM? There's option for it in Kitchen. I placed zImage into working folder, Kitchen moved it to /updates. I packed the files in zip using menu BUILD ROM in kitchen. I got bootloops..
Can you help me please?
Click to expand...
Click to collapse
I wouldn't use the build rom option, much better if you select the folders and make the zip with winrar or 7zip.
Just extract ramads deodexed stock rom zip, and change the zimage in /updates, then compress META-INF, system and updates into a zip and you have ramad's stock deodexed rom with the kernel you chose. Same process for every rom (location of zimage may vary though, some devs tend to place zimage in other folders)
somberi said:
Thanks for the guide. Always wanted to try, now this guide make me want to do it. Thanks gain Coldflid! You are Awesome!
Click to expand...
Click to collapse
Thanks. there's no problem in trying and seeing what you can do, you may prove to be the best rom cooker
slaphead20 said:
Not interested in doing this myself, but a very informative guide, much knowledge gained......only one critisism....how about some credits ie ramad for deodexed etc etc....once again many thanks
Insanity cm 015/glitch
Click to expand...
Click to collapse
Will add the credits as soon as i add the baksmali/smali part
Rahulrulez said:
There's option for Wipe state in kitchen right?
Click to expand...
Click to collapse
Yup, but it'll work on update-script only, (amend scripting) which you can't use in older versions than cwm 2.x
Wipe/no wipe is just if it deletes /dbdata and /data or not.
Vertumus said:
Very nice Cold, GJ m8. Helped me a lot
Click to expand...
Click to collapse
Thanks, glad it was useful
Thing's i'll add today:
Baksmali/smali tutorial
I'll upload META-INF no wipe and META-INF wipe that you can use
Modding the updater-script tutorial
So wiping data means only recursive deletion of /system, /cache, /data and datadata. am i right??
One more thing. when i zip the rom contents using winrar or 7zip, what compression settings should be used?
Rahulrulez said:
So wiping data means only recursive deletion of /system, /cache, /data and datadata. am i right??
One more thing. when i zip the rom contents using winrar or 7zip, what compression settings should be used?
Click to expand...
Click to collapse
Wiping data means wiping /data (where apks you've installed are stored) and /dbdata (where the data of the apps is stored)
Just use winrar, select the folders, add to file, and you type a name and in file format you choose zip
Hi i have done all my modding and themeing etc, but as i follow instruction to zipalign
i do cd c:/kitchen then ./menu (as instructed) and all i get is constant error messages
ie scripts/check_binaries: line 12: clear: command not found
lots of stuff about asking for help for htc android kitchen
ignore and proceed anyway? y or n
i type y and then get another one saying "gcc" is not installed
y or n to continue?
then perl, then wget, then cpeo, then i get a menu, should i be getting those error messeages and is it safe to continue?
EDIT can i suggest the OP links to this post as it contains info on how to setup the rom kitchen properly, and avoids errors like the ones i am experiencing,
Hey awesome guide. Have been trying to learn.
Heres my question if i wanted to use a premade JVP theme such as crysis or any of those that works on deodexed ROMS such as the ones from that section how would i do that?
Thanks and awesome guide
EDIT: Alright I got it booting finally I just have 4 more questions and then Im done.
1. For the captivate port how did y'all fix the home button fix, I have a flashable zip I created that fixes the home button but I know that used to be a problem on the old i9000 2.3.3 ROMs, so I'm just wondering how you implement that
2. How do you implement the CRT Screen Off Animation
3. If I wanted to use this theme http://forum.xda-developers.com/showthread.php?t=1083188 in my ROM how do I implement it into the ZIP?
THank you so much!
I want to integrate TalonDEV modem in JVP..
I found this in kernel updater-script of JVP zip (CWM flashable)
Code:
show_progress(0.200000, 80);
ui_print(" ");
ui_print("Installing Primary Kernel...");
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml7");
show_progress(0.200000, 90);
ui_print(" ");
ui_print("Installing Secondary Kernel...");
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml8");
Whereas, in TalonDev modem's updater-script, it is written like this -
Code:
set_perm(0, 0, 0755, "/tmp/bmlwrite");
ui_print("Flashing kernel...");
run_program("/tmp/bmlwrite", "/tmp/zImage", "/dev/block/bml7");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
ui_print("Done. Please reboot.");
Somehow, I'm finding it difficult to know the different between these two. There's redband_ua in ROM's updater-script. Is it necessary? Or I can replace it with the script from Kernel's updater-script?
Please tell me meaning and difference between following lines -
run_program("/tmp/bmlwrite", "/tmp/zImage", "/dev/block/bml7");
and
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml7");
run_program("/tmp/redbend_ua", "restore", "/tmp/zImage", "/dev/block/bml8");
totally confused in bml7 and bml8. Kernel needs to be restored in both bml7 and bml8? Because in TalonDev's kernel installation script, it is given ONLY bml7
Please help me
Is there any way to run smali, baksmali on windows?
Rahulrulez said:
Is there any way to run smali, baksmali on windows?
Click to expand...
Click to collapse
Yes. Works a charm. Syntax is:
java -jar baksmali.jar
java -jar smali.jar
Obviously you need java installed

[fix] WIFI for JVU (useable on previous release to) 100% tested

I will be releasing the fix on my rom sometimes next week , and I will not compile this for every set up / theme / rom out there but if you know what you are doing this is pretty easy fix
Here is how the fix works :
Our present kernel source is 2.3.4 and we are running 2.3.6 base . So I looked at what was different in the wifi files from 2.3.4 to 2.3.6 and there you go .
Files attached at the end of the post are 2.3.4 JVQ (already modified for JVU)
(fyi these files come from apk manager just rename your jar files to apk to decompile them then copy the files attached at the end of the post in there respective places )
_framework.jar :
delete: \android\net\wifi\WifiStateTracker$1.smali
and copy paste the files attached and recompile
_services.jar :
copy paste the files attached and recompile
_'etc' folder copy paste into your /system folder in your rom/Phone
(not 100% sure its needed but better use them anyways)
IF you are not on JVU you need to change the ids manually , the names of the values are written in the smali so that will make it easier to port to other versions .
Tested on Belkin router (the worst of them all) and on public wifi with no dhcp assigned . after an hour no disconnect flawless victory
For beginers here is a guide by pantrif13 : http://forum.xda-developers.com/showpost.php?p=22032781&postcount=16
Credits to Shoman94 for pointing me in the right direction and providing files to help me diff(and being insistent about it )
suprstar for testing
and gtg465x who achieved this first on the SGS2
Will this fix the adhoc problem too ?
You are the master.
Sent from my GT-I9000 using xda premium
HSaber said:
Will this fix the adhoc problem too ?
Click to expand...
Click to collapse
well this fix the current wifi bug , rule of thumb if it was wokring back on JVQ for you , and it stopped after that , now it works .
try and tell us
I'm using it in my rom thank you!
Can some1 please explain me how to recompile...
Sent from my GT-I9000 using XDA App
burakgon said:
I'm using it in my rom thank you!
Click to expand...
Click to collapse
Pleasure.. Spam my thx button ?
Little mention on your credits maybe
To others if you don't know how to use apkmanager this mid is not for you
Tell your favorite rom dev about it it takes a few minutes to apply this
I could have kept this to my rom but I put it out there for all rom to use
This fix really works
DAGr8 said:
Pleasure.. Spam my thx button ?
Little mention on your credits maybe
To others if you don't know how to use apkmanager this mid is not for you
Tell your favorite rom dev about it it takes a few minutes to apply this
I could have kept this to my rom but I put it out there for all rom to use
This fix really works
Click to expand...
Click to collapse
Bootloop when I try it on odexed rom. (Deodexed applied odexed) JVU
burakgon said:
Bootloop when I try it on odexed rom. (Deodexed applied odexed) JVU
Click to expand...
Click to collapse
well use odex jvq ..
(fyi these files come from apk manager just rename your jar files to apk to decompile them then copy the files attached at the end of the post in there respective places )
_framework.jar :
delete: \android\net\wifi\WifiStateTracker$1.smali
and copy paste the files attached and recompile
_services.jar :
copy paste the files attached and recompile
_'etc' folder copy paste into your /system folder in your rom/Phone
(not 100% sure its needed but better use them anyways)
Click to expand...
Click to collapse
cant get the instrucstion newbie here..how can i use this one pls can u use much more clearer instructions for newbies..thank you very much in advance
Great work!
Thx for your time.
titaempoy said:
cant get the instrucstion newbie here..how can i use this one pls can u use much more clearer instructions for newbies..thank you very much in advance
Click to expand...
Click to collapse
As said in OP, until built for any ROM version: Be your own developer!
Adb pull the system .jar files, decompile with dependency, edit, compile, rename, adb push result.
are a beginner and I did not understand anything ,more clear PLEASE if you can, thanks!...I think your work is useful
I think many people could do with a step by step guide for this if anyone has the time to do it
Please note our desires about this topic...declared above..thanks!
romyo said:
Please note our desires about this topic...declared above..thanks!
Click to expand...
Click to collapse
I think that dagr8 explain very clear what needs to be done (but you need to have some experience with decompiling and compiling).
Here what you need to do in case you are on jvu:
1) First off all you need the latest JDK and JRE installed on your system.
2) Then go here to learn how to set up apktool.
3) After the setup of apktool pull the services.jar (services.odex if you have odex rom) and framework.jar (framework.odex in case of odex rom) and put it in your apktool folder
4)
a. If you are on deodex rom you only need to run these commands from the folder of apktool (go to apktool folder and press ctrl and shift -open command window here)
Code:
apktool d framework.jar
apktool d services.jar
You will find two new folders (servicesout and frameworkout)
Then do what dagr8 said in op.
b. if you are on odex rom: get the latest baksmali from here
then pull all your system/framework to your pc and put baksmali.jar there.
Open commant window and write:
for sevices:
Code:
java -jar baksmali.jar -c :core.jar:bouncycastle.jar:ext.jar:framework.jar:android.policy.jar:services.jar:core-junit.jar -xa 10 services.odex -o services.jar.out
for framework:
Code:
java -jar baksmali.jar -c :core.jar:bouncycastle.jar:ext.jar:framework.jar:android.policy.jar:services.jar:core-junit.jar -xa 10 framework.odex -o framework.jar.out
Then do what dagr8 said.
5)Both deodex odex: get the latest smali from here
Put it in the folder with out folders and write:
for services:
Code:
java -jar smali.jar sevices.jar.out -o classes.dex
you will find a new classes.dex file.Open services.jar with winrar and drag and drop (overwrite) there.
Then for framework:
Code:
java -jar smali.jar framework.jar.out -o classes.dex
Same here (open the jar with winrar and drag and drop)
5) if you are on deodex rom you finished just push the new services and framework to the system along with the files which provide dagr8 for etc folder.
6) if you are on odex...go here and follow the guide from the part odexing back...
I hope i helped!
Thanks a lot dagr8 for this!!
can dev provide the public.xml that this was made with for comparison of ids?
Thanks for your time and explanations given pantrif13 and dagr8, expecting something more simple ... you can install the CWM (example) ... so (who knows it's easy anyway)...expect other solutions!!!to solve the problem with wifi...
Great job. Thanks
i m on jw1 deodex jetpack custom rom 8.2 and i am using the jvt modem...
will you provide fix for jw1 rom next days? thank you !!!

[HOW TO] For beginner| Deodex and Odex back | 3 Way Ext. Power Menu| CRT-OFF| MWC

This kitchen is for begin easily with moding.
this is written for oxeded rom
Remember you need custum kernel (latest siyah or boeffla or perseus......... )
Why I do it? Coz when I flash a new rom I want extended power menu, CRT and MWC immediately so I decide to learn how to do.
This kitchen is done specially for this 3 mod but the scripts are very simple and you can easily modify them.
remember you need custum kernel (latest siyah or boeffla or perseus... )
You must have all drivers installed on your PC, ADB, 7zip, java…
Your phone must be rooted + busybox installed …
Be sure your firewall does not block ADB…
When you install a new rom unzip the archive WORK1.7z and change the name example WORK_XXEMA2 connect your phone then open then follow English menu.bat
You have a script in French
Forgive my English…
I am working under seven 64 bits… I not test it in another system…
If this post helps you push the thank button
You can use it like you want but don’t forget to put a link to this post.
script updated now u can reoxed without quitting first script
Let’s see the job:
Launch english menu (english) or menu (french)
let the script opened all long your mod you just follow all steps
for 1,16 and 17 you must plug your phone
The number 1 is very important without it you can do nothing…
1 = download from phone all the framework, FlashBarServices.apk and init.rc.
Init .rc is saved as init.doc for you open it and manually extract the BOOTCLASSPATH and write it in framework\BOOTCLASSPATH.txt
2= copy android.policy.odex and services.odex and FlashBarServices.odex to the mod directory
3= baskmali android.policy.odex to deoxeded it
4= edit GlobalActions.smali in android.policy (if you search it you’ll lose time!)
5= edit GlobalActions$SinglePressAction.smali in android.policy
6 = edit PhoneWindowManager.smali in android.policy
7 = copy the 3 globalactionsfiles files to android.policy for mod extended power menu
8 = smali android.policy to get classes.dex (the classes.dex is incorporated in the jar) and copy originals files and moded files to auto oxeder
9 = baskmali services.odex to deoxeded it
10 = edit PowerMangerService$ScreenBrightnessAnimator.smali in services
11 = edit MultiWindowManagerService.smali in services
12 = smali services to get classes.dex and copy originals files and moded files to auto oxeder
13 = baskmali FlashBarServices.odex to deoxeded it
14 = edit FlashBarInfo.smali in FlashBarServices
15 = smali FlashBarServices to get classes.dex and copy originals files and moded files to auto oxeder
16 = re-oxed an framework exemple android.policy.jar or Services.jar and send it to phone (plug the phone and be sure your firewall allow ADB)
17 = re-oxed an apk exemple FlashBarServices and send it to phone (plug thephone and be sure your firewall allow ADB)
echo 18 quit
After you connect your phone then open auto oxeder and you run the script (it’s untouched coz perfect) and you follow instructions it’s very simple.
Advices :
do a nandroid backup before all !!!
If you have a box like this
Code:
[LEFT]#getter for: Lcom/android/server/PowerManagerService;->mScreenBrightnessHandler:Landroid/os/Handler;
invoke-static {v7}, Lcom/android/server/PowerManagerService;->access$7300(Lcom/android/server/PowerManagerService;)Landroid/os/Handler;
move-result-object v7
const/16 v9, 0xa[/LEFT]
Push Ctrl then click in the box for select t all or you will just select the visible part of the text.
In documentation.7z you have copy of all mod, an init.rc saved as init.pdf inside you have BOOTCLASSPATH in red, you must remove all path in this text (system/framework) and save the result in BOOTCLASSPATH.txt (you have an exemple of BOOTCLASSPATH.txt)
MWC you take MWC apk here LegendK95 [MOD][4.1.2][Deodex/Odex]MultiWindow Complete Control {Deodex XXELLA Added!}
if u have trouble with Adb didable firewall to see if it is responsable
when you want to mod your phone remember that you often need custum kernel coz stock kernel not allow you to do what you want
Hope I forget nothing. Good moding
CREDITS:
THANKS TO ALL WITHOUT YOUR WORK NO KITCHEN
Sicopat [HOW TO][Windows] Manually Deodex and Odex back
Alkhafaf [UTIL][4/1/13] Auto Odexer Script- Now much easier to mod or theme your odex files
Sorg [Manual] Proper CRT-OFF for JB
magn2o [MOD/HOWTO] [UCALG1/UCALH1] Extended Power Menu
Cristiano Matos [HOW TO] AOSP Lock + Toggle| 3 Way Ext. Power Menu| CRT-OFF| Long Menu Press to Kill
LegendK95 [MOD][4.1.2][Deodex/Odex]MultiWindow Complete Control {Deodex XXELLA Added!}
DOWNLOAD
documentation.7z
WORK1.7z
other download =
work1 https://skydrive.live.com/redir?resid=4AE88384347A26BF!156&authkey=!AK9HeWrP4tz147I
documents https://skydrive.live.com/redir?resid=4AE88384347A26BF!155&authkey=!AO5-StT-l1_4dv4
this one is for de-oxeded rom
You need custum kernel (siyah, boeffla perseus...)
Need testers coz i have not de-oxeded rom
run english_deodex_menu.bat an follow all step as explain in first post
for instructions it's same that the other
when i have time i'll write an how to
download=
work 2 https://skydrive.live.com/redir?resid=4AE88384347A26BF!159&authkey=!AJKyDn6NlNs4Iy0
documents [url]https://skydrive.live.com/redir?resid=4AE88384347A26BF!155&authkey=!AO5-StT-l1_4dv4[/URL]
brave person to try?
another tip:
install PhilZ Touch with aroma filemanager
copy your originals files in sdcard for exemple in sdcard/sauve.
if you have a pbm bootloop... you reboot recovery and open aroma filemanager and restore your originals files to the good place.
if you open /system in aroma and you find nothing = go back and mount system, for next time you tick in aroma the option automount
this tip is valable also for all thing you want to copy in system if you have not root explorer and it is free
another tip:
X-plore Filemanager is free with it you can manage root (be carefull with root files )
I want to try it to enable crt off effect on my s3 with Android Hd Revolution...what happens if i fail?
Will i brick my phone?
Also it's impossible to download your files without registering...
Willy89 said:
I want to try it to enable crt off effect on my s3 with Android Hd Revolution...what happens if i fail?
Will i brick my phone?
Also it's impossible to download your files without registering...
Click to expand...
Click to collapse
no u can, there simple script with adb, one of them is auto oxeder script
very easy to use.
no u can download without registering (perhaps 4 shared change ? ) i'll upload it in my box !
it is very easy to use an i have done an update for reoxeding without quiting first script
do as i say in my tip = install phill recovery and aroma file manager and try it to be sure it work.
create a directory in sdcard and copy (if u have not root explorer do it with aroma)from /system/framework android.policy .odex and .jar and services.odex and .jar go to /system/app and copy flashbarservice.odex and .jar
it u have pbm you reboot recovery and copy these file back to there place and redo your mod to see where u fail
kondronaute said:
no u can, there simple script with adb, one of them is auto oxeder script
very easy to use.
no u can download without registering (perhaps 4 shared change ? ) i'll upload it in my box !
it is very easy to use an i have done an update for reoxeding without quiting first script
do as i say in my tip = install phill recovery and aroma file manager and try it to be sure it work.
create a directory in sdcard and copy (if u have not root explorer do it with aroma)from /system/framework android.policy .odex and .jar and services.odex and .jar go to /system/app and copy flashbarservice.odex and .jar
it u have pbm you reboot recovery and copy these file back to there place and redo your mod to see where u fail
Click to expand...
Click to collapse
You mean that i can't enable crt off effect with this mod? Sorry but i don't get what you mean...
And another question: where can i find the file i need to download in step one? I mean "all the framework, FlashBarServices.apk and init.rc."
Willy89 said:
You mean that i can't enable crt off effect with this mod? Sorry but i don't get what you mean...
And another question: where can i find the file i need to download in step one? I mean "all the framework, FlashBarServices.apk and init.rc."
Click to expand...
Click to collapse
have you an samsung SIII ?
plug it and do english menu (if you speak english) or menu if you speak french.
when you put choose number 1 in the script it will do all that for you,
after you enter2 and it will do what explained ....
it seem you not lauch english menu or menu
for choice number1, 16 and 17 phone must be connected to PC
other thing when you edit files(4,5,6,10,11,14) the file is opened in notepad but you must write in your mod , you have in documentation.7z all mod or you can open cristiano matos guide and follow it....
Willy89 said:
I want to try it to enable crt off effect on my s3 with Android Hd Revolution...what happens if i fail?
Will i brick my phone?
Also it's impossible to download your files without registering...
Click to expand...
Click to collapse
i just see Android Hd Revolution i dont know if it is oxeded or desoxeded ?
my kitchen is for stock (probably it work also with oxed rom without any pbm)
edit= i do a search it seem deoxeded
Hello,
I just tried it and it works just fine.
A word of advice for people who are afraid this can mess up their phone, all the original files are in \framework\ directory, so if something doesn't work simply replace the new modded files with the ones found in that directory and you're good to go
kondronaute said:
have you an samsung SIII ?
plug it and do english menu (if you speak english) or menu if you speak french.
when you put choose number 1 in the script it will do all that for you,
after you enter2 and it will do what explained ....
it seem you not lauch english menu or menu
for choice number1, 16 and 17 phone must be connected to PC
other thing when you edit files(4,5,6,10,11,14) the file is opened in notepad but you must write in your mod , you have in documentation.7z all mod or you can open cristiano matos guide and follow it....
Click to expand...
Click to collapse
Answered to your Pm....
So what my first step?
Could you please make a noob prof step by step tutorial?
Lost.soul said:
Hello,
I just tried it and it works just fine.
A word of advice for people who are afraid this can mess up their phone, all the original files are in \framework\ directory, so if something doesn't work simply replace the new modded files with the ones found in that directory and you're good to go
Click to expand...
Click to collapse
thank you its nice to you to try it
i see a lot of poeple waiting for CRT extended menu and MWC now they can do it in 20 minutes
Willy89 said:
Answered to your Pm....
So what my first step?
Could you please make a noob prof step by step tutorial?
Click to expand...
Click to collapse
belive me the op is very clear :
attach phone to computer
unzip work1 and documments
rename work1 directory with the rom u want to mod exemple work1_xxema2
in this directory lauch english menu.bat (or open a cmd and launch it)
you have 17 options
type 1 and enter = if it work alle framework are dowloaded to work1_xxema2/framework
if not work = your firewall block ADB so disable it and do 1 enter
after that you folow all step 2 to 17
in step where you edit files= 4,5,6,10,11,14 = the files are edited in notepad just make the good change and save (for the good changes in document you have the 3 mods in pdf documents, or you can follow cristiano matos OP )
my job is just for you gain time all take 20 minutes !!!
Trying right now with the support of a paper sheet.
In this sheet i'm writing one by one passage (in italian) so if i'm succesful i could write a step by step ultra noob guide to improve your efforts
Willy89 said:
Trying right now with the support of a paper sheet.
In this sheet i'm writing one by one passage (in italian) so if i'm succesful i could write a step by step ultra noob guide to improve your efforts
Click to expand...
Click to collapse
yesssssss that will help me and others
it seem your rom is deodex sorry i'll try (if i have time ) to do a kitchen for deodex i think it will be easier coz 2 steps removed = deodex and reodex
kondronaute said:
it seem your rom is deodex sorry i'll try (if i have time ) to do a kitchen for deodex i think it will be easier coz 2 steps removed = deodex and reodex
Click to expand...
Click to collapse
Thank you.
If other people is willing to try this but it's afraid to fail just do it.
Kondronaute is one of the kindest person here on XDA and it will help you in every way he can.
I've tried it personally, he's very kind and helpful.
ok Willy89 i put an version for de-oxeded rom for test coz my rom is odex...
kondronaute said:
for de-oxeded rom
Need testers coz i have not de-oxeded rom
run english_deodex_menu.bat as administratror an follow all step as explain in first post
for instructions it's same that the other
when i have time i'll write an how to
download=
https://skydrive.live.com/redir?resid=4AE88384347A26BF!157&authkey=!AMLUm8dx4lFtX-U
[url]https://skydrive.live.com/redir?resid=4AE88384347A26BF!155&authkey=!AO5-StT-l1_4dv4[/URL]
Click to expand...
Click to collapse
Found tester you kind man!!!
I know that is a noob question but what i have to do when i reach step for and it opens "global Action.smali" text file?
I answerr by my self...yhis is the txt for extended power menu
Willy89 said:
Found tester you kind man!!!
I know that is a noob question but what i have to do when i reach step for and it opens "global Action.smali" text file?
I answerr by my self...yhis is the txt for extended power menu
Click to expand...
Click to collapse
i think now you got it
just make all change for what you want to do (3 ext, crt mwc)....
and follow all number one by one
kondronaute said:
i think now you got it
just make all change for what you want to do (3 ext, crt mwc)....
and follow all number one by one
Click to expand...
Click to collapse
Like you said in pm my fail could be caused by stock kernel...

[MOD][CM10.1][June 28] Disable Crt Off Effect

Hi guys...As we all know that the Crt off Effect in Cm10.1 4.2.2 is glitchy and not smooth compared to the ICS builds. Well i was little annoyed by it and found out a way to disable it.
You can disable crt animation by modifying framework-res.apk by changing the value of animatescreenlights to true(If it is already set to true try false.) in res/values/bools.xml.
I have modified the framework-res.apk to disable it. Attaching the modified framework-res.apk.:good:
Use RootExplorer(or similar software) to replace the modified framework-res.apk.
-copy the modified framework-res.apk from the directory where u had it.
-navigate to the System folder paste the apk here.
-Change the permissions of the apk to rw-r-r. move the apk after changing the permissions.
-Navigate to the folder Framework i.e System/framework/ and replace it with the original apk.
-Reboot after replacing:good:
Sorry i dont know to create a flashable zip.
tested on temasek's UNOFFICIAL BUILD - RC0.2 and works great.
performing a Nandroid backup before changing system files is recommended .
P.S:Added a flashable Zip( not sure whether it works )
Hey OP, Update your title. It's still June
neemzeey said:
Hey OP, Update your title. It's still June
Click to expand...
Click to collapse
Lol your signature says I'm using safari but I'm using dolphin

Categories

Resources