[MOD] 3Minit Battery - READ OP - Request Only! - [30 Dec 2015] - T-Mobile LG V10 Themes and Apps

{
"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"
}
PLEASE READ OP​
This is the work of @gharrington and the 3Minit Team, please see the original thread HERE, or HERE, I only compiled for users that are unfamiliar with the use of apktool, head over to his thread and thank him if you haven't already!
This will give you the option of choosing between over 1100 different battery images on the FLY without a Reboot!!!​
------------------------------------------------------------------------------
Screenshots - Informational, Tips, and Tricks
------------------------------------------------------------------------------
Take Full Advantage of 3Minit. You can adjust the size of the battery in the settings menu by changing the offset. Experiment and have fun!!
---------------------------------
How To Install:
---------------------------------
Method 1 :
1. Download the free or paid version zip file for your specific ROM
2. Reboot phone into TWRP
3. Wipe Dalvick Cache / Cache
4. Go To Install
5. Flash Zip
6. Reboot and Enjoy
Method 2 :
1. Download the zip file for your ROM in download section
2. Extract the LGSystemUI.apk and MinitBatteryResources.apk from the zip
3. Copy these 2 files to your phone
4. Navigate to /system/app with Root Explorer
5. Create a folder named MinitBatteryResources and set folder permissions to rwxr-xr-x or 0755
6. Copy MinitBatteryResources.apk inside of that folder
7. Set permissions to rw-r-r or 0644
8. Navigate to /system/priv-app/LGSystemUI
9. Copy the modded LGSystemUI.apk attached to this post
10. Set permissions to rw-r-r or 0644 (If it reboots before you can do that, just set permissions after pgone reboots)
11. Reboot phone and hopefully you are good to go!
-----------------------------------------------------
ATTENTION: USEFUL INFO - DON'T IGNORE - (KEEP IN MIND I USE THE PAID VERSION SO I DON'T KNOW WHAT FREE ONE DOESN'T HAVE
If the battery seems small, you can change the offset to make it larger so it's not so tiny you can't see it. The Offline batteries that are included, they seem to be perfect size all together. Just tinker around with it, that's just the size I use
For Batteries that you download by Colourable, You have to move the slider down to zero on Battery Text Colour or a percentage will be over top of that battery. Additionally, the mid level color I set to zero or else it will turn yellow at 50%. I turn it to zero and I actually use the 25% slider. You can put them all to zero if you like and the battery will do what it is meant to do. This only applies to the Colourable one's. The slider will not even adjust for different Batteries. See the Screenshot below
**Please report any issues you have...in a kindly manner
Give Thanks To:
@gharrington - For the Awesome MOD and hardwork
@Ticklefish - For the Awesome APK Tool set
XDA:DevDB Information
3Minit Battery for the LG V10 - created by @gharrington
Contributors
gharrington, bdorr1105,
Version Information
Status: Stable
Current Stable Version: 4.0.1
Stable Release Date: 2015-11-03
Created 2014-06-30
Last Updated 2015-11-03

DOWNLOAD AND HOW TO DO IT YOURSELF SECTION​
------------------
DOWNLOADS
------------------
1. Stock Rooted ROM
Current Version - Build Number: LMY47V / Software Version: H90110C Official
Download Free Version - (If You didn't buy the 3Minit App) HERE
Download Paid Version - (If you already purchased the 3Minit App) HERE
(For PAID VERSION ONLY - After Flashing zip, download 3Minit paid version from playstore if you have not already done so)
2. H901_10C_Deodexed_1.3
Current Version - Build Number: LMY47V / Software Version: H90110C Official
Download Free Version - (If You didn't buy the 3Minit App) HERE
Download Paid Version - (If you already purchased the 3Minit App) HERE
(For PAID VERSION ONLY - After Flashing zip, download 3Minit paid version from playstore if you have not already done so)
3. H901-10c-Deodexed-siraltus
Current Version - Build Number: LMY47V / Software Version: H90110C Official
Download Free Version - (If You didn't buy the 3Minit App) HERE
Download Paid Version - (If you already purchased the 3Minit App) HERE
(For PAID VERSION ONLY - After Flashing zip, download 3Minit paid version from playstore if you have not already done so)
**If you decide that this mod isn't for you...Request a removal zip. You must state your ROM, current version of that ROM, and provide a link to the OP. If you do not do this I will ignore your request. Not trying to be mean about it, just don't have time to ask over and over. Help me help you
---------------------------------
HOW TO DO IT YOURSELF
---------------------------------
If you want to do this yourself, you will need to have a deodexed ROM that you are working with. If you know how to deoedex that's good for you, but if you are not able to do that, and the ROM is not deodexed, then you are out of luck. There are smali files that you need to add to the system ui which are only found in deodexed APKs
Recommended Tools: Notepad ++, Advanced APK Tool, 7zip
1. You need to download the Smali FIles for APK Tool 2.x.x which can be found at http://www.3minit.com/
2. From Root Explorer - Copy Your LGSystemUI.apk, framework-res.apk, and lge-res.apk to your SD Card
3. Pull LGSystemUI.apk, framework-res.apk, and lge-res.apk off your phone and on your Computer
Extremely Important (Note: Use 7zip to extract META-INF folder and AndroidManifest.xml to Desktop before you decompile)
4. Install the Framework and decompile your LGSystemUI.apk (This requires Decompile knowledge - You should know what I am talking about)
5. Once decompiled, navigate to res/layout/system_icons.xml and open with notepad ++
6. Find:
Code:
android:layout_width="fill_parent"
and
Code:
android:layout_height="wrap_content"
Note: These values may not be an exact match, doesn't matter
Change both values to
Code:
android:layout_width="[COLOR="Red"]0.0dip[/COLOR]"
and
Code:
android:layout_height="[COLOR="red"]0.0dip[/COLOR]"
7. Hit enter and directly underneath that line add:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
Code:
[COLOR="red"][/COLOR]
8. Save your work and close notepad ++
9. You now to need to navigate to smali/com/android/systemui/statusbar/policy folder
10. Copy the 4 smali files into that policy folder
11. Time to recompile the LGSystemUI.apk
12. Once Compiling of LGSystemUI.apk is complete, open archive with 7zip (DON'T EXTRACT)
13. Delete META-INF folder and AndroidManifest.xml from newly compiled LGSystemUI.apk
14. Add the originals from Step 3
15. Download the 3Minit_Battery_free_Insert_ROM_NAME_HERE.zip or 3Minit_Battery_paid_Insert_ROM_NAME_HERE.zip (This will be your Flashable Zip)
16. Use 7zip to open ROM_NAME_HERE.zip and navigate to system/priv-app/LGSystemUI
17. Drag the Newly Compiled Completed SystemUI.apk into system/priv-app/LGSystemUI
18. Your Zip can now be flashed... Name the Zip whatever You want!!
Don't worry, if you need help because you are having issues, post your SystemUI.apk and framework-res.apk and give me the exact ROM and version you are running so we can help. I make no promises.
I am also not teaching how to Deodex or Decompile an APK....You must have knowledge in that area to do this...Good luck

Good work! :thumbsup:

Ticklefish said:
Good work! [emoji106]
Click to expand...
Click to collapse
Thanks appreciate it very much
Sent from my LG-H901 using Tapatalk

Thank you so much for this... It's great that we can now use this on any rom, very much appreciated, merry Christmas.
Sent from my LG-H901 using Tapatalk

@bdorr1105
Great work Sir.... Save me a lot of time and yes TMA by @Ticklefish the best tool for theming? not to mention 3minit devs @gharrington @pas2001 and @*wii360* always been great for XDA community..?
*Swyped from T3DROID V10*

ted77usa said:
@bdorr1105
Great work Sir.... Save me a lot of time and yes TMA by @Ticklefish the best tool for theming not to mention 3minit devs @gharrington @pas2001 and @*wii360* always been great for XDA community..
*Swyped from T3DROID V10*
Click to expand...
Click to collapse
Thanks, it is much appreciated, enjoy 3minit

Updated OP and Added ROMs
OP was Updated
1. Fixed Broken Links under Tips and Tricks from photobucket.
2. Removed Redundant information
3. Added 3Minit support for @siraltus latest revision of 29 Dec
4. Added support for @Rydah805 latest Deodexed Base
5. Links are provided in post #2

This really works cool.. Thnaks

Help
bdorr1105 said:
DOWNLOAD AND HOW TO DO IT YOURSELF SECTION​
------------------
DOWNLOADS
------------------
1. Stock Rooted ROM
Current Version - Build Number: LMY47V / Software Version: H90110C Official
Download Free Version - (If You didn't buy the 3Minit App) HERE
Download Paid Version - (If you already purchased the 3Minit App) HERE
(For PAID VERSION ONLY - After Flashing zip, download 3Minit paid version from playstore if you have not already done so)
2. H901_10C_Deodexed_1.3
Current Version - Build Number: LMY47V / Software Version: H90110C Official
Download Free Version - (If You didn't buy the 3Minit App) HERE
Download Paid Version - (If you already purchased the 3Minit App) HERE
(For PAID VERSION ONLY - After Flashing zip, download 3Minit paid version from playstore if you have not already done so)
3. H901-10c-Deodexed-siraltus
Current Version - Build Number: LMY47V / Software Version: H90110C Official
Download Free Version - (If You didn't buy the 3Minit App) HERE
Download Paid Version - (If you already purchased the 3Minit App) HERE
(For PAID VERSION ONLY - After Flashing zip, download 3Minit paid version from playstore if you have not already done so)
**If you decide that this mod isn't for you...Request a removal zip. You must state your ROM, current version of that ROM, and provide a link to the OP. If you do not do this I will ignore your request. Not trying to be mean about it, just don't have time to ask over and over. Help me help you
---------------------------------
HOW TO DO IT YOURSELF
---------------------------------
If you want to do this yourself, you will need to have a deodexed ROM that you are working with. If you know how to deoedex that's good for you, but if you are not able to do that, and the ROM is not deodexed, then you are out of luck. There are smali files that you need to add to the system ui which are only found in deodexed APKs
Recommended Tools: Notepad ++, Advanced APK Tool, 7zip
1. You need to download the Smali FIles for APK Tool 2.x.x which can be found at http://www.3minit.com/
2. From Root Explorer - Copy Your LGSystemUI.apk, framework-res.apk, and lge-res.apk to your SD Card
3. Pull LGSystemUI.apk, framework-res.apk, and lge-res.apk off your phone and on your Computer
Extremely Important (Note: Use 7zip to extract META-INF folder and AndroidManifest.xml to Desktop before you decompile)
4. Install the Framework and decompile your LGSystemUI.apk (This requires Decompile knowledge - You should know what I am talking about)
5. Once decompiled, navigate to res/layout/system_icons.xml and open with notepad ++
6. Find:
Code:
android:layout_width="fill_parent"
and
Code:
android:layout_height="wrap_content"
Note: These values may not be an exact match, doesn't matter
Change both values to
Code:
android:layout_width="[COLOR="Red"]0.0dip[/COLOR]"
and
Code:
android:layout_height="[COLOR="red"]0.0dip[/COLOR]"
7. Hit enter and directly underneath that line add:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
Code:
[COLOR="red"][/COLOR]
8. Save your work and close notepad ++
9. You now to need to navigate to smali/com/android/systemui/statusbar/policy folder
10. Copy the 4 smali files into that policy folder
11. Time to recompile the LGSystemUI.apk
12. Once Compiling of LGSystemUI.apk is complete, open archive with 7zip (DON'T EXTRACT)
13. Delete META-INF folder and AndroidManifest.xml from newly compiled LGSystemUI.apk
14. Add the originals from Step 3
15. Download the 3Minit_Battery_free_Insert_ROM_NAME_HERE.zip or 3Minit_Battery_paid_Insert_ROM_NAME_HERE.zip (This will be your Flashable Zip)
16. Use 7zip to open ROM_NAME_HERE.zip and navigate to system/priv-app/LGSystemUI
17. Drag the Newly Compiled Completed SystemUI.apk into system/priv-app/LGSystemUI
18. Your Zip can now be flashed... Name the Zip whatever You want!!
Don't worry, if you need help because you are having issues, post your SystemUI.apk and framework-res.apk and give me the exact ROM and version you are running so we can help. I make no promises.
I am also not teaching how to Deodex or Decompile an APK....You must have knowledge in that area to do this...Good luck
Click to expand...
Click to collapse
Hey I Wanted To See If U Could Do The Mod For THe Deodexed 6.0 rom We Have This Is The Link
http://forum.xda-developers.com/tmobile-lg-v10/development/rom-v10h901v20estock-customized-t3360240
I Tried Doing It My Self But Not Too Much Experience In Compiling And Decompiling

Can work on V10_H901_V20J_Stock_Custom_2e ????

Is there anyway you could do this for the latest stock 20L? I understand the process, but in years past could never successfully deodex a whole Rom .

Sweet! Got this to work on my rooted LG V10 Verizon VS990, LMY47V, VS99011B. ?

After a long hard battle with Deodexing the odex file, I finally got it set. If anyone needs the zip to flash LGSystemUI for the latest version of 20L let me know. I am planning on uploading it and posting the link here. The instructions for this thread were great! I am just glad after 2 days of struggling with Odex file I am done!
The work was worth the payoff!!!

neo4uo said:
After a long hard battle with Deodexing the odex file, I finally got it set. If anyone needs the zip to flash LGSystemUI for the latest version of 20L let me know. I am planning on uploading it and posting the link here. The instructions for this thread were great! I am just glad after 2 days of struggling with Odex file I am done!
The work was worth the payoff!!!
Click to expand...
Click to collapse
Please share.
Sent from my Robin using XDA-Developers mobile app

sabresfan said:
Please share.
Click to expand...
Click to collapse
I am uploading them as we speak, internet is slow will be a little bit longer
---------- Post added at 06:29 AM ---------- Previous post was at 05:49 AM ----------
Here is the stock 20L zips for the V10. Just remember the first one is for the free battery app and the second is for the paid battery app.
3minit free;
https://drive.google.com/file/d/0B-vPyc2YYzpraWQ4MjJrWXV6NVk/view?usp=drivesdk
3minit paid;
https://drive.google.com/file/d/0B-vPyc2YYzprVjNvNGlQZ2pqWVU/view?usp=drivesdk
Have Fun!

Related

[HOW TO][Windows]Extract Deodex Sign and Zipalign an official ROM

Hi,
Just want to share tools I found in order to :
- Extract SGS2 stock firmwares :
* Use sgs2toext4.jar Application from drphrozen to convert .img files to ext4.img
* Then MOUNT ans EXTRACT ext4.img with Diskinternals Linux Reader : Here
- Deodex, sign and zippalign :
with this deodex kit : _Kit_Deodexage.zip
- Create your CWM customROM (wype script)
using a Skeleton ROM : Custom_ROM GS2 by SicOpaT.zip
Click to expand...
Click to collapse
Nothing from me, just reporting for you
Links at the end of post (or in changeLog)
EDIT 16/08 :
1/ update of Kit_deodexage with last versions of smali/baksmali v1.2.7 to avoid LAG bug of browser
2/ add of Custom_ROM GS2 by SicOpaT_v2.zip with a new CWM script NON WIPE
To customise the CWM script, go to Custom_ROM GS2 by SicOpaT.zip\META-INF\com\google\android and edit updater-script with notepad ++
Step by step guide ​:
Preparation :
1/ Extract Custom_ROM GS2 by SicOpaT.zip in order to have a folder with the same name (your future customROM)
2/ Extract sgs2toext4.zip to sgs2toext4.jar and put it in C:\
3/ Extract _Kit_Deodexage.zip to a folder of the same name
4/ install Diskinternals Linux Reader : Here
5/ Install Java SE Development Kit (JDK) if not already installed : Here
Click to expand...
Click to collapse
Extracting the stock ROM :
1/ open your stock__firmware.tar with 7-zip or winRAR
2/ extract in C:\ :
factoryfs.img,
cache.img (if you have 3 tar files in your firmware, extract cache.img from CSC.tar)
modem.bin
zImage : your kernel
Click to expand...
Click to collapse
* Extracting KERNEL and PHONE part :
3/ put zImage and modem.bin in the root folder of : Custom_ROM GS2 by SicOpaT (next to META_INF)
Click to expand...
Click to collapse
* Extracting Factoryfs.img :
4/ Double click sgs2toext4.jar, a windows is opening :
{
"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"
}
5/ drag factoryfs.img in the sgs2converter.jar windows
factoryfs.ext4.img is created
6/ Open Diskinternals Linux Reader
Code:
> Drives > Mount Image > browse to your factoryfs.ext4.img > Mount
Then a new drive appears in the Diskinternals window, called Linux native Volume > double click on it
7/ Select all and press Save > Next > Browse to Custom_ROM GS2 by SicOpaT/System/ check for Save directory structure and then press Next > Next > Finish
8/ In Diskinternals click Back and then right click to your Linux volume and select unmount
Click to expand...
Click to collapse
* Extracting cache.img :
9/ Double click sgs2toext4.jar
10/ drag cache.img in the sgs2converter.jar windows
cache.ext4.img is created
11/ Mount cache.ext4.img in diskinternals
12/ In your linux drive goto \recovery and save sec_csc.zip
Don't save it in your Custom_ROM GS2 by SicOpaT folder
13/ Extract sec_csc.zip (same structure as an update.zip)
14/ Copy everything in /system exept /app to Custom_ROM GS2 by SicOpaT/system
like here :
Now you can unmount and close diskinternal, we have done with extracting the ROM
Click to expand...
Click to collapse
Now time to Deodex, sign and zipalign : with the _Kit_Deodexage script
1/ in Custom_ROM GS2 by SicOpaT/system/ MOVE everything in the app folder to _Kit_Deodexage/app
3/ in Custom_ROM GS2 by SicOpaT/system/ MOVE everything in the framework folder to _Kit_Deodexage/framework
4/ Press : Deodex_Gingerbread.cmd and it will
- deodex
- sign
- zipalign
4 bis/ edit after beginning of deodexing process the NePasSigner.txt and add samsung apps
5/ 2 folders are created : Deodex_framework and Deodex_app
6/ verify that the /app and /framework folders are empty
6/ Move everything from /Deodex_framework exept java.awt.jar to Custom_ROM GS2 by SicOpaT/system/framework
7/ Move everything from Deodex_app to Custom_ROM GS2 by SicOpaT/system/app
Click to expand...
Click to collapse
Buid your CWM update.zip :
With WinRAR : CTRL A in your custonROM root folder and Right Click > Add to Archive > ZIP and None or Normal compression
Click to expand...
Click to collapse
That's all ! You have a stock customROM fully deodexed, signed and zipaligned
PS : You should change the Kernel for the CF-Root Kernel (CWM Manager ...) changing the zImage with the zImage from ChainFire CF-Root
PS 2 : You can add some apps (like Titanium backup) in the /data/app folder of your customROM
EDIT 1 : The deodexed browser.apk obtained will be bugy : Lag scrolling
Since pulser_g2 found the FIX, DEVs used an old deodexed browser.apk (from KE2 ROM for example).
So pulser_g2 foung the FIX, in order to avoid this Lag trouble using the last deodexed browser.apk (KF2 for example). You can see the How To FIX yourself the laggy browser.apk following advices from pulser_g2 in the changeLog of 07/03/2011.
EDIT 2 : just added a zip of an META_INF folder witch can be used for update over a previous deodexed customROM with same signature (a previous ROM built with the same script).
With this META_INF, you will not loose any data/cache
Credits :
Thanks to drphrozen for sgs2toext4.jar and sgs2converter.jar tools
Thanks to xeudoxus for his custom java.awt.jar (deodexing some apks without errors)
Thanks to Okarin for his Deodex script
Thanks to Pulser-g2 for the laggy Browser Fix
Thanks to omrij for showing us an alternative to _Kit_Deodexage : AutoDeoTool (see below)
Click to expand...
Click to collapse
ChangeLog of the HOW TO :
07/04/2011 :
* Switch bugy sgs2converter.jar to new sgs2toext4.jar from drphrozen
* Re-Add the Convert_sgs2img.exe tool to extract .img to .ext4.img (end of post)
CMD command :
Code:
Convert_sgs2img.exe factoryfs.img factoryfs_ext4.img
07/02/2011 :
Modification of _Kit_deodexage.zip in order to add the custom java.awt.jar from xeudoxus
07/01/2011 :
Add the new version of drphrozen sgs2converter.jar, available HERE
Now you just need to double click on the sgs2converter.jar, without opening any CMD promt command.
You drag and drop your stock .img file and the tool will convert it in <inputname>.ext4.img in the same folder
06/30/2011 :
How to manually deodex Email.apk and MobilePrint.apk : (working for others APKs)
Code:
[QUOTE][B]1/[/B] In the same folder, you put :
[QUOTE]*Email.apk
*Email.odex
*MobilePrint.apk
*Mobileprint.odex
AND
all the content of the initial ODEXED framework folder (with all JAR files)
PLUS custom [B]java.awt.jar[/B]
AND
*smali.jar ---> found in _Kit_Deodexage/_binaires/
*baksmali.jar ---> found in _Kit_Deodexage/_binaires/[/QUOTE]
[B]2/[/B] Then open a [B]CMD promt[/B] in the target folder
[B]3/[/B] Then type :
[CODE]java -Xmx1024m -jar baksmali.jar -c :am.jar:android.policy.jar:android.test.runner.jar:bmgr.jar:bouncycastle.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:ext.jar:framework.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:libvtmanagerjar.jar:monkey.jar:pm.jar:sec_feature.jar:seccamera.jar:sechardware.jar:secmediarecorder.jar:services.jar:sqlite-jdbc.jar:svc.jar:twframework.jar -x Email.odex
You have a new OUT folder created
4/ Then type :
Code:
java -Xmx1024m -jar smali.jar out -o classes.dex
A classes.dex file is created
5/ Open (without extracting) Email.apk with 7-zip
Push classes.dex in Email.apk with 7-zip
6/ Put the new deodexed Email.apk in app folder, in _Kit_Deodexage
Press Deodex_Gingerbread.cmd
You now have a fully deodexed signed zipalligned Email.apk
Now Mobileprint.apk :
7/ DELETE classes.dex ans Out folder created before
8/ Same procedure, in CMD pompt, type :
Code:
java -Xmx1024m -jar baksmali.jar -c :am.jar:android.policy.jar:android.test.runner.jar:bmgr.jar:bouncycastle.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:ext.jar:framework.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:libvtmanagerjar.jar:monkey.jar:pm.jar:sec_feature.jar:seccamera.jar:sechardware.jar:secmediarecorder.jar:services.jar:sqlite-jdbc.jar:svc.jar:twframework.jar -x MobilePrint.odex
You have a new OUT folder created
9/ Then type :
Code:
java -Xmx1024m -jar smali.jar out -o classes.dex
A classes.dex file is created
10/ Open (without extracting) MobilePrint.apk with 7-zip
Push classes.dex in MobilePrint.apk with 7-zip
11/ Put the new deodexed MobilePrint.apk in app folder, in _Kit_Deodexage
Press Deodex_Gingerbread.cmd
You now have a fully deodexed signed zipalligned MobilePrint.apk[/CODE]
Important !! You should NOT have error while deodexing
Click to expand...
Click to collapse
06/27/11 :
added : old version of sgs2converter.jar from drphrozen get it HERE
How To :
Extract sgs2converter.zip to sgs2converter.jar
Put in the same folder : Stock .IMG file, sgs2converter.jar
Open CMD Promt in the folder
run command :
Code:
java -jar sgs2converter.jar factoryfs.img factoryfs.ext4.img
factoryfs.ext4.img is created in same folder. You can pen it with Diskinternals Linux Reader
*AutoDeoTool an alternative to the "kit_deodexage" from HERE thanks to omrij
[/QUOTE]
BONUS :
To personalise your customROM, you can change the name of the ROM shown in Parameters > Version number :
with Notepad++, open the file "\Custom_ROM GS2 by sicOpaT\system\build.prop" and look for the line beginning with : "ro.build.display.id=" (often the 4th). Example : ro.build.display.id=GINGERBREAD.XXKF2
Replace everything after the "=" with what you want. Example : ro.build.display.id=SicOpaT's ROM KF2
Then save the file
Thanks for the infor .. but what does the " - CWM GS2 Skeleton ROM (wype script) : Custom_ROM GS2 by SicOpaT.zip" do ??
anyway of getting a step by step guide.
Thanks
I've used Ubuntu until now... Testing this one
xinfinityoO said:
Thanks for the infor .. but what does the " - CWM GS2 Skeleton ROM (wype script) : Custom_ROM GS2 by SicOpaT.zip" do ??
anyway of getting a step by step guide.
Thanks
Click to expand...
Click to collapse
This is the begining oh a CWM update.zip with the structure folders and I just added : busybox, superuser an su.
I am going to add a step by step guide
nice thanks
Email.apk and MobilePrint.apk are leftover. Trying to do them manually but can't find superclass Ljava/awt/componet;
Mackzen said:
nice thanks
Email.apk and MobilePrint.apk are leftover. Trying to do them manually but can't find superclass Ljava/awt/componet;
Click to expand...
Click to collapse
got the same problem, i took deodexed ones from other deodexedROM
Couldn't flash using cwm (maybe battery low, don't know)
better luck tomorrow I guess
How does the script take care of the Linux file permissions in Windows?
Thanks for the info.
That was some info which i was looking for the last few weeks, but mostly ended in apps that didn't work for everything.
Gonna give it a shot tomorrow.
Thnx for the info.
very well defined and this will sure help some newcomers to build thier own custom roms. you deserve a star from me !!
Thanks for this Guide!
1.) The last step would be to put the new CustomRom Folder to a Zip and flash via CWM?
...or is it a problem with signing then?
EDIT: you have to put the files back into the original ZIP!
2.) why do we have to put cache.img and modem.bin to the customrom root folder?
Thanks
Flashed via cwm 4.0.2 -> Bootloop :/
No modifications done at the moment
walda said:
Thanks for this Guide!
1.) The last step would be to put the new CustomRom Folder to a Zip and flash via CWM?
...or is it a problem with signing then?
EDIT: you have to put the files back into the original ZIP!
Click to expand...
Click to collapse
Yes you have to create an update.zip archive with all in your CustomROM root folder
walda said:
2.) why do we have to put cache.img and modem.bin to the customrom root folder?
Thanks
Click to expand...
Click to collapse
No you have to put :
- zImage (your kernel)
- modem.bin (phone part in ODIN)
Mackzen said:
Couldn't flash using cwm (maybe battery low, don't know)
better luck tomorrow I guess
Click to expand...
Click to collapse
walda said:
Flashed via cwm 4.0.2 -> Bootloop :/
No modifications done at the moment
Click to expand...
Click to collapse
I have forgotten wype.sh in the /system folder of the skeleton customROM.
The wype.sh will wype everything in the /data folder in order to prevent bootloops
I reuploaded the CustomROM GS2 with the wipe.sh
Thanks! Works now
walda said:
Thanks! Works now
Click to expand...
Click to collapse
You're welkome
Sorry for the forgotten wype.sh
thanks for this!
i am running per instructions, trying to deodex KF2 rom. but i face problem at the deodex/sign/zipalign. after running the script file, there are still a lot of files in the "app" and "frameworks" directory. what am i doing wrong?
edit: 2nd round works, no idea why?? but left email and mobileprint, and as per you suggestion get it from another deodex rom.
This is EXACTLY the thing i was looking for since getting my SGS2 this week.
Wanted this since the Hebrew/RTL routine fixing i did on other devices needed deodexed ROMs to work (modifies framework.jar/libwebcore.so).
I'll give it a shot today or tomorrow and report back.
Either way, THANK YOU very much for the effort!
I know this is a stupid question, but where can i find my factoryfs_out.img iv done the cmd bit but cannot find the factoryfs_out.img to mount??

[04.10.11][Saturator]Correct saturation in Rom,Apk,possible color branding issue fix

Ok guys , as we all know we have 16 bit color display , and that is our "big" problem.I decide do something with this , and i trie to correct saturation in pictures ,and i understand - "this is it" .
After a 2 week hard coding i proudly present : SATURATOR.
What is it?
This app resaturate png\jpg pictures:
Resaturate png\jpg pictures in apk.
Resaturate your favorite wallpaper.
Resaturate your favorite cyanogen mod 7 themes (apk).
Resaturate your favorite MIUI themes (mtz).
Resaturate ROM!
How to use:
You must install java!!!
i recomended use jre 6.27 x86.
Download "Saturator".Extract "Saturator" folder to root of your hard drive (of course you can try another path BUT I STRONGLY RECOMMENDED PLACE SATURATOR FOLDER TO ROOT OF YOUR HARD DRIVE).Inside saturator folder you can find some files and folders, But we will use:
rom-apk folder - there we will place our files for processing.
iconer folder - you can place your templates for Iconer here.
saturator.ini - there you can change some information.
saturator.exe - it is app itself.
DO NOT DELETE ANYTHING IN THE SATURATOR FOLDER!!!
GUI Interface:
Elements:
Modes - apktool - this mode use apktool for reenginering apk files.
Modes - zip - this mode use rar for unpacking ,and 7zip for packing apk.
Saturation - there you can choose your saturation - use values from 0 to ...what you want.Type your value here and press enter.You will see changes on the picture with "HTC" label
IconerN - use iconer feature in "detect by name" mode.
IconerWH - use iconer feature in "detect by widht and height" mode.
prop-on - this is a proportion for iconer.Change this value and press enter.You will see the chages on picture above.Do not remember choose a template first from list below.
Modes
APKTOOL - apktool will be used for reenginering apk.This mode more accurate then zip mode,BUT in this mode NOT ALL APK CAN BE PROCESSED.So use it ONLY when zip mode fails.
ZIP - rar and zip will be used for reenginering apk.I recommended use this mode.
Iconer
This feature allows you modify icons while processing pictures.See this post for screens.
There is a 2 modes for file processing:
IconerN - Icons will be detected by names in 2 values (by default defined 1 value - icon).You can change values in the saturator.ini, there is a 2 parameters:
icname - icon name variant 1
icname2 - icon name variant 2
By default icname=icon.That means when pictures are processing and file name contain "icon" - iconer will be used.So if you change this value to...browser, for example, the name of file that contain word "browser" will be processed by iconer.
If you also define the icname2 , both of them will be used.Example:
icname=icon
icname2=ic_launcher
files that contain "icon" and "ic_launcher" will be processed by iconer:
.....\com_android_camera_ic_launcher_gallery.png - this file will be processed, because it contain ic_launcher.
.....\com_android_camera_icon_gallery.png - this file will be processed, because it contain icon.
.....\com_android_camera_ic_gallery.png - this file will be not processed, because it not contain ic_launcher and icon.
IconerWH - Icons will be detected by width and height.There is a 2 values for that in saturator.ini (if icwh1 and icwh2 are defined,both of them will be used ):
icwh1 - by default this parameter is defined =48
icwh2 - by default this parameter is defined =72
That means when files are processing and the width and height of picture equal icwh1 or icwh2 - iconer will be used.
I recommended to you use this mode,because almost icons are 48x48 on hdpi,and 72x72 ldpi.
If you want to use your own template for iconer:
Place your templates in iconer folder.The file MUST BE IN PNG FORMAT.height and width of your choice,there is no restriction, but in reasonable aisles.
Saturator.ini
The file in the saturator folder , and you can change (if you want and when you know what are you doing ) this parameters:
icname
icname2
icwh1
icwh2
do not touch anything else!!!!because all other parameters change automatically from the GUI.
restrictions
Restriction by paths:
For APKTOOL mode:
YOU MUST PLACE YOUR APK FILES IN ROM-APK FOLDER WITHOUT SUBFOLDERS:
rom-apk\myapp.apk - OK.
rom-apk\ANYfolder\myapp.apk - wrong.
For ZIP mode:
NONE
Restriction by names of files:
NON ENGLISH SYMBOLS:
rom-apk\com.android.myapp_v1.2.3-1.apk - OK
rom-apk\программа.apk - WRONG.
Apk files CAN CONTAIN ANY SYMBOLS.
Apk files CAN CONTAIN SPACES - They will be renamed automatically:
rom-apk\my app.apk will be renamed to rom-apk\myapp.apk.
PLACE AND GRAB YOUR FILES ONLY TO\FROM ROM-APK FOLDER!!!SATURATED FOLDER - IS A TEMP FOLDER!!!THAT FOLDER AUTOMATICALLY DELITING ON PROGRAMM START.SO AFTER PROCESSING ARE FINISHED YOU CAN SEE THE CHANGES IN THIS FOLDER.BUT THE FILES YOU NEEDED - IN THE ROM-APK FOLDER!!!!!
soon I'll make FAQ with examples.....
Download v1.2
http://www.multiupload.com/J5D0RVSNHK
You also can try my own resaturated version of Typhoon 3.6.8/3.6.9 rom.See details here.
Please feedback to me how it works for you.
OLD VERSION
for easy understanding how it works see video tutorial:
http://www.multiupload.com/VKC3ZHAWW5
Video tut on youtube (thanks to sajin1):
Small explanations:
All files you want to processed you must place in rom-apk dir,and grab it back from that dir.
Saturated folder - is a temp folder for processing pics ,this folder automaticaly deliting on program starts.
saturator.ini - this is a configuration file for saturator, in there you can change saturation 0 - colorless, 0 -... i don`t no limitation, i allways use 1.6
saturatorAmode - in this mode apktool uses for repacking apk - this mode needed in some cases when zip mode not work,in this mode more accurate and safely,but NOT ALL apk can be processed.And there is a limitation in path to apk:you need to place apk files in rom-apk dir WITHOUT subfolders , example - if you put xy.apk in ...rom-apk\app\xy.apk - YOU get NOTHING, but if you put xy.apk in ...rom-apk\xy.apk - it should be fine.
saturatorZmode - use zip\rar for repacking apk,in this mode you can processed ALL APK,MTZ....and everything is packed with zip , and there is NO limitation in path to apk.
Download V1.0
http://www.multiupload.com/FNF7W4ALWY
Download v1.1
http://www.multiupload.com/ZQ4CNZMDCY
I hope our devs use this app !!!
I realy never go back on non resaturated rom - because it looks great!.You can trie it by yourself and see how much diferent between non and resaturated roms,apps,pics.If you don`t see a diferent - you are blind!!!
Will be force with you.
Enjoy!
Sorry for my bad english.
For moders - because this app is relevant to nand rom`s ,i decide to create thread in nand section.Please don`t move it.
---------- Post added at 07:04 AM ---------- Previous post was at 07:03 AM ----------
Changelog
04.10.2011 - V 1.2
Fixed - Images quality.Now 100% quality only.
30.09.2011 - V 1.1
Added - Iconer
Added - Zipalign
Added - rom-apk dir checking for compability apktool and zip mode
Added - new GUI
Fixed - x64 Support
and something i don`t remember
19.09.2011 - initial release.
This is awesome!
i seen you theme in 4pda =)
May i use you program in Mac Os X? or it work only in phone?
this app for windows only
bad, but its the way for Saturator 2. Work without pc
Please set an example
I'm gonna try this on my own rom port.
Will report back (I hope) tomorrow.
hi, thanks!
trying now.
what is the difference
SaturatorAmode
SaturatorZmode
???
Thanks!
dorimanx said:
hi, thanks!
trying now.
what is the difference
SaturatorAmode
SaturatorZmode
???
Thanks!
Click to expand...
Click to collapse
As far as i can see
SaturatorA is for APK files
SaturatorZ is for ZIP files
This is awesome! That **** is crazy!
I was just going to try this out but discovered the following problem:
I've pushed the whole system/apps/ folder to rom-apk dir and executed SaturatorZmode.
The .apk files now in "saturated" folder arent .apk files anymore, but folders named as XYZ.apk see here:
{
"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"
}
Installed a CM7 Theme whose images I have resaturated => bootloop ...
How to fix this bootloop?
Flash a new framework.res?
D3LTA said:
As far as i can see
SaturatorA is for APK files
SaturatorZ is for ZIP files
Click to expand...
Click to collapse
oh! this is nice.
but warning! do not use it on framework on systemui
only on standart apps, not critical system apps.
or damage to ROM will accure.
Sent from my HD2
D3LTA said:
As far as i can see
SaturatorA is for APK files
SaturatorZ is for ZIP files
Click to expand...
Click to collapse
NO NO NO, SaturatorA use apktool for repacking apk,SaturatorZ use zip\rar for repacking apk.
dorimanx said:
oh! this is nice.
but warning! do not use it on framework on systemui
only on standart apps, not critical system apps.
or damage to ROM will accure.
Sent from my HD2
Click to expand...
Click to collapse
This is NOT true, you can safely proccessed framework-res.Right now i am tried 5 rom`s in zip mode and there is NO problem with framework.Only do not touch bootscreen.
you want example? ok.
I do not have permissions from langtang , but i think he will be not gainst about this (if so i remove it ):
This rom MIUI v27.1 from langtang
I`ve do not any changes in this rom, i`am use z mode on this rom with saturation=1.6 ONLY.
ok.here we go:
download:
http://narod.ru/disk/25283464001/TWeakos_MIUI_GINGER_RS_V27.1_MAGLDR.zip.html
and some themes (mtz)
honeycomb and slatesense
http://narod.ru/disk/25283607001/HoneyComb_SlateSense_RS.7z.html
and some screenshots:
I am on this rom about 1 week and i have NO problem trie it maybe you like it
---------- Post added at 03:26 AM ---------- Previous post was at 02:47 AM ----------
Tak3r07 said:
This is awesome! That **** is crazy!
I was just going to try this out but discovered the following problem:
I've pushed the whole system/apps/ folder to rom-apk dir and executed SaturatorZmode.
The .apk files now in "saturated" folder arent .apk files anymore, but folders named as XYZ.apk see here:
Installed a CM7 Theme whose images I have resaturated => bootloop ...
How to fix this bootloop?
Flash a new framework.res?
Click to expand...
Click to collapse
you need grab apk files back from rom-apk dir and replace it in original rom.if you do all exactly how on video tutorial you have no problem with this.
If you want resaturate some cm7 theme:
place your apk theme file in rom-apk dir, next start saturatoramode (apktool) and wait untill its finished.grab your new theme from rom-apk dir.install.enjoy.
for example:
this is a mixer theme you can find original thread in android themes forum, it is sense like theme.
download
http://www.multiupload.com/R6IZA40LT4
again - i do not any changes in this apk , there is only resaturated images.
it is working great! trie it.
tweakos said:
you need grab apk files back from rom-apk dir and replace it in original rom.if you do all exactly how on video tutorial you have no problem with this.
If you want resaturate some cm7 theme:
place your apk theme file in rom-apk dir, next start saturatoramode (apktool) and wait untill its finished.grab your new theme from rom-apk dir.install.enjoy.
for example:
this is a mixer theme you can find original thread in android themes forum, it is sense like theme.
download
http://www.multiupload.com/R6IZA40LT4
again - i do not any changes in this apk , there is only resaturated images.
it is working great! trie it.
Click to expand...
Click to collapse
I would have grabbed them from rom-apk dir, but this one was empty! I've watched the whole video and in your video the rom-apk dir isnt empty, while doing the same steps as i did...
Sent from my HTC HD2 using XDA Premium App
What mode do you use? If you use saturatorAmode you need to place apk files in rom-apk dir WITHOUT subfolders , example - if you put xy.apk in ...rom-apk\app\xy.apk - YOU get NOTHING, but if you put xy.apk in ...rom-apk\xy.apk - it should be fine.
saturatorZmode do not have this limitation, you can place your files with subfolders like a ..rom-apk\app\xy.apk.
tweakos said:
What mode do you use? If you use saturatorAmode you need to place apk files in rom-apk dir WITHOUT subfolders , example - if you put xy.apk in ...rom-apk\app\xy.apk - YOU get NOTHING, but if you put xy.apk in ...rom-apk\xy.apk - it should be fine.
saturatorZmode do not have this limitation, you can place your files with subfolders like a ..rom-apk\app\xy.apk.
Click to expand...
Click to collapse
I have tried both without subdirs.
Sent from my HTC HD2 using XDA Premium App
What version of windows? Are you have java sdk installed?
Oh....i think i know what is the problem(maybe),on your screenshot you have path this contain 2 saturator folder,just place saturator folder on root of your hard drive and that`s it.
First of thanks for your contribution and making our lives easier.
I have tried to use your app without succes, as mentioned in previous posts all seems to go well but just like others i end up with all apk`s extracted in the saturated folder and the rom-apk folder is empty. Would it be possible this is because of Windows 7 64?
Edit: in SaturatorAmode things seem to work, however when i repack the build with changed apk`s i start missing a lot of apps in the build. The SaturatorZmode doesn't seem to work at all leaving extracted apk files in the saturated folder.
Any way to resaturate a NAND backup that we can then restore so we don't need to reinstall everything?
my wallpaper before and after
thanks a lot! Flashing tytungs nexus rom saturated ;D hope it works
Edit:
Bootloop, damn it
Saturatorzmode... Doesn't do another ng it just stays a extracting for hours.... And when I use SaturatorAmode each and every of my all file goes missing.... What am I doing wrong please help me out?? ... Only way to enhance my pics is to copy the pics it self
Sent from my HTC HD2 using XDA App

[GUIDE] How to Customize a ROM

I made this guide because I've found that a lot of us doesn't satisfied with our current custom ROM. Please don't bully the dev to make a rom with our personal preference. You may follow this guide instead to modify the custom rom to suit with your personal taste. I hope I could make it as simple as possible so all of us so even a new android user could understand. Please make sure you've read this guide throughly before make any modification.
Please note that this is just a simple guide. You won't find any guide about theming a rom here. Please refer to another guide about uot kitchen or apk modification.
Click to expand...
Click to collapse
tools:
1. a custom rom (to be customized) or stock rom.
2. 7zip or another similar program
3. apk files
4. dsixda kitchen (not mandatory)
5. apktools (not mandatory)
6. titanium backup (not mandatory)
7. CWM.
First of all, extract your custom rom. You'll see that the custom rom's zip file contain several files and folders. Some of them are common and could be find in almost all custom rom. The files and folders are:
1. meta-inf : contain the script needed to install the rom (don't touch it if you don't understand about scripting nor dsixdia kitchen).
2. system : contain the system files and folder of the custom rom
3. boot.img : the kernel used in the custom rom
4. additional file : (eg:install-busybox, check-data and bmlunlock) additional file contain scripts needed to install additional feature (eg: busybox, additional app in data/app, and install custom kernel) in the custom rom.
NOTE: you can start from either stock or custom rom. If you start from stock rom, use CWM to make nandroid backup, then extract the system.rfs.tar. That's the system folder that we need later. You'll need installer script from other custom rom to make your rom installable to other device. In my past experience, the script form hybrid 2.1 or myss 3.4 is easy to use. I'd like suggest use them if you only want a light customization (without custom kernel, init.d script, or a2sd support.)
Click to expand...
Click to collapse
If you don't know much about them, don't touch anything but system folder. now, open the the system folder. You'll see a lot of folders and some common files. Leave CSC files and SWconfiguration intact if you don't know about them. You can edit build.prop to insert more build.prop setting or modify the content if you understand how to do it. To change the rom's name, edit the value for 'ro.build.display.id'. You may also change the value for 'ro.build.version.release' to any number like 9.9.9 if you want to show off your modified custom rom
I'll give a quick explanation about the folders in /system.
1. app : contain all the system's app
2. bin : contain the command and bin files for the rom (don't touch it)
3. cameradata : camera files
4. csc : csc files. contain dictionary for the keyboard
5. etc : additional setting and files for the rom
6. font : the fonts
7. framework : system's framework
8. lib : drivers, modules, kernel related files for the rom
9. media : media files-ringtones, notification
10. sd : folder created by a2sd darktremor. (don't touch it)
11. usr : files needed for keyboard, bluetooth, etc.
12. xbin : additional command and bin files (busybox is normally installed here)(don't touch it)
13. T9DB: dictionary and language database for swype and stock keyboard
NOTE: if you start from stock rom, copy all the files under /system folder (the one from system.rfs.tar) except /system/bin and system/xbin. don't touch them.
Click to expand...
Click to collapse
now, you're ready to customize the rom. I'll divide the guide into several section. pass the section if you don't want to modify it.
>>> SYSTEM APP-CUSTOMIZATION <<<
Click to expand...
Click to collapse
DEODEX VS ODEXED ROM. Most of custom rom available is deodexed rom while our stock rom is half deodexed rom. I'll try to explain it in most simple way. First of all, we should understand that mostly every app in android consist of three part, *apk files, *dex/odex files, and lib files.
ODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in same folder with the apk files (/system/app). the positive side, it consume less internal memory and a execute faster. the negative side, it makes the app uncostumizable (cannot apply custom themes) and need more space in system partition.
DEODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in /data/dalvik-cache. the positive side, the app can be themed (full customizable) and consume less system partition. we could put more app in /system/app in deodexed rom. the negative side, it consume a lot of internal memory. please be cautious with the internal memory space if you use deodexed rom. (NOTE: if you start from stock rom, you may use dsixdia to convert odexed to deodexed rom).
system app customization is easy. you can add or remove any app in /system/app folder as long as it fit with the space in sistem partition (220MB). if you start from stock rom, please be cautious to not remove essential app from the folder. you may see the app in hybrid rom v.2.1 to see which app is safe to remove or not (the spreadsheet document in this forum is gone. sorry). having ~20mb free space in system partition is a good thing if you want to make the rom more customizable.
NOTE:
1. not all apk could be placed in /system/app (especially keyboard app)
2. tw launcher file is named tw'xxxxx'launcher.apk. you may remove it if you have another launcher.
3. not all custom launcerh could be placed in /system/app. you may put the launcher from other custom rom to minimalize the risk.
4. for the app info reference, please refer to this link
https://docs.google.com/spreadsheet/pub?key=0AulpDQBL_oTOdDRIbnV5b0UyQTd0TDNZSFBKYXJ1blE&output=html
if anyone want to edit it please contact me.
Click to expand...
Click to collapse
>>> THEME-CUSTOMIZATION <<<
Click to expand...
Click to collapse
Basicly, theme is easily changed by replacing systemUI.apk in /system/app and framework-res.apk in /system/framework. You may put theme from another custom rom or make for yourself from uot kitchen or make it by yourself with apktool. A high modified theme like dysmenorrhea is also modify some part in setting.apk and jobmanager.apk. and another app. Don't forget to delete the *odex file (for all changed app only)from /system/app if you start from stock rom.
NOTE: please be aware with the base firmware of the rom. make sure that systemUI.apk and framework-res.apk files are from exact firmware version. I've found that theme for DXLA, DXLB, DXLC are exchangeable but you can't put theme from DXKL2 to DXLA or the reverse. to minimize any risk, please use themes only from exact same firmware.
>>> PERFORMANCE-TUNING <<<
Click to expand...
Click to collapse
Performance tuning could be done in several ways. the easiest (proven works but risky) method is by edit build.prop file. I won't give you all the script. Feel free to search and apply the script with your personal preference. you can found in this forum or just copy from another rom. these script below is used to increase gprs/hsxdpa speed. this script is a common script and proven to be works in a lot of device. (I forgot the original source. sorry)
Code:
ro.ril.enable.dtm=1
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.3g.prefix=1
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
ro.ril.hsxpa=2
ro.ril.enable.a53=1
there are also some common tweaks for build.prop file. these are the one I always using in my rom.
Code:
#mod battery kats
debug.performance.tuning=1
pm.sleep_mode=1
video.accelerate.hw=1
windowsmgr.max_events_per_sec=150
ro.ril.disable.power.collapse=1
wifi.supplicant_scan_interval=150
#mod performance
dalvik.vm.execution-mode=int:jit
persist.sys.purgeable_assets=1
dalvik.vm.dexopt-flags=m=y
ro.media.enc.jpeg.quality=100
ro.telephony.call_ring.delay=0
video.accelerate.hw=1
ro.kernel.android.checkjni=0
ro.HOME_APP_ADJ=1
======
the second way, (little bit harder, but its still proven works) by create or modify some file in /system/etc. I'll give you some of them.
1. sysctl script-to increase internet speed.
make a new file in system/etc, name it 'sysctl.conf' (or edit if it already exist). put this script inside.
Code:
net.ipv4.tcp_wmem = 4096 39000 187000
net.ipv4.tcp_rmem = 4096 39000 187000
net.ipv4.tcp_mem = 187000 187000 187000
net.ipv4.tcp_rfc1337 = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
net.ipv4.route.flush = 1
net.ipv4.ip_no_pmtu_disc = 0
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
its a common sysctl mod for linux based OS (I found it in another mod for another device but I forgot the source). you'll need busybox, and terminal emulator. to run it, type:
'su
'sysctl -p
in your terminal emulator (without ' symbol).
2. GPS mod-to make the GPS lock faster
this mod is based on zeusseuz's guide. please see this page for further information (the script is quite long) http://forum.xda-developers.com/showthread.php?t=1552076
======
the last way...by init.d script. it only works in custom kernel. I won't put any script here. you should find by yourself. you can use make a file in init.d with there script to check if your kernel support init.d script.
Code:
#!system/bin/sh
touch data/kurotsugi_test.txt
set the both init.d folder and the file's permission to rwxrwxrwx (777)
if the script work, you'll find kurotsugi_test.txt in /data.
======
>>> ADDITIONAL CUSTOMIZATION <<<
Click to expand...
Click to collapse
I'll only put the one I've tested and proven to be works.
1. beats audio
this is the old version but doesn't have FC issue. get the file from here http://forum.xda-developers.com/showthread.php?t=1526643
unzip. copy all the files into their respective folder
2. bravia engine
put be_photo and be_movie in system/etc folder then edit the build.prop file doesn't seems work. The real bravia engine mod is consist of
- be_photo, be_movie in /system/etc
- com.sonyericsson.android.SwIqiBmp.xml in /system/etc/permission
- com.sonyericsson.android.SwIqiBmp.jar in /system/framework
my megabassbeat mod contain these files. you can get it from there.
3. boot animation
download or get custom boot animation file from another custom rom or another source. rename it to bootanimation.zip, put it on /system/media.
you may check this out http://forum.xda-developers.com/showthread.php?t=1548479
please note that DXLB rom doesn't support bootanimation. you need to put bootanimation and samsungani files from another rom (like hybrid) in /system/bin and replace all file in /system/lib with lib files from older firmware (DXLA or older)
4. boot sound
make or download boot sound. please make sure the format is *ogg. rename it to poweron.ogg then put it in /system/etc.
5. custom ringtones, notification,
make or download the sound file (in ogg format). put it in /system/media/audio/(respective folder)
6. disable boot animation (for quick boot)
put 'debug.sf.nobootanimation=1' in build.prop.
7. megabassbeats (better than beat bass)
you can get the file from this link http://forum.xda-developers.com/showthread.php?t=1646406. you'll need to copy the files into its respective folder.
If you've done with the customization, enter the custom rom folder. select all the files then create zip file. to install the rom, copy to your sdcard, flash it either by stock recovery or CWM after wipe /data. PLEASE MAKE SURE THAT ALL THE FILES DOESN'T EXCEED THE LIMIT 220MB BEFORE ZIPPED.
This guide can be used if you want to make your own rom. if you start from stock rom, you may use this script (its from myss v.3.4) to install the rom. please make note that it will only install the rom, not the kernel. you'll still need the bin and xbin folder from custom roms in order to make it work.
http://www.mediafire.com/download.php?skw1ytt37mklb4o
DISCLAIMER:
1. do it with your own risk
2. please note that NOT ALL YOUR MODIFICATION WILL WORK. ROM modification is seriously hard thing. its not easy. thats why we should give the dev proper respect to them. you'll need a lot of research to make it work.
3. this guide is made for personal use only. don't publish the customized rom without permission from the original dev.
Click to expand...
Click to collapse
All credits for the dev who make the rom, the one I've used the guide here, and all XDA member. no need to say thanks or press it for me. give that to the real dev. I'm just a noob here. Feel free to correct me if I'm wrong.
ADDITION STUFFS
==============
Click to expand...
Click to collapse
1. dualboot
this mod actual intent is to make developing a rom a lot more easier without risking our native rom. I was using it a lot when customizing my rom. you can get the original link for dualboot here: http://forum.xda-developers.com/showthread.php?t=1598803 and for a little more detailed step how to use it http://forum.xda-developers.com/showthread.php?t=1600973.
you can find another dualboot kernel here. http://www.mediafire.com/download.php?gkb33aktyf7wbbh
this one have init.d support. all credits goes to irfanbagus
2. data2sd
this mod is used to increase data partition size. you can find the complete guide here http://forum.xda-developers.com/showthread.php?t=1622052
Noob guide: Light theming
just for addition...this guide is only about change minor aspect in your theme. please don't expect any hard modification. we'll only change some of the picture used by the app.
what you need:
1. 7zip
2. any graphic editor program
3. systemUI.apk and framework-res.apk
the steps:
1. extract both apk files
2. open /res/drawable-ldpi. you'll see the graphic files used by the app.
3. replace any graphic files with yours. please make sure the resolution size and the name are same.
4. open the apk file. right klik>7zip>open archive
5. drag n drop /res folder (from the extracted one) to 7zip.
6. push it to your rom
7. cross your finger...reboot your device.
IF YOU WANT TO CHANGE THE SETTING BACKGROUND, CHECK THIS LINK.
http://forum.xda-developers.com/showpost.php?p=25061115&postcount=90
it's a tranlated version of this post:http://www.kaskus.us/showpost.php?p=649687134&postcount=5784
all credits for heriawan.fx who make the original post.
m only translated it and post it to here.
CAUTION:
some user have found that this background setting mod cause a problem in deskclock.apk. if this happen, you can replace the deskclock.apk with this one http://www.mediafire.com/download.php?w5vchbdyj2k9837
please delete deskclock.odex if you're using a stock odexed rom.
Click to expand...
Click to collapse
NOTE:
- don't forget to make backup
- you may use the files attached in this post to push the file into your ROM. put systemUI in app and framework in framework.
here are some pic from my customized rom. its an odexed rom with a slight customized repencis v.2.5 theme.
{
"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"
}
the launcher is downloadable here
http://forum.xda-developers.com/showthread.php?t=1596280
Hmm, gonna read this later. It's a wall of text on phone lol. Hope I don't forget.
Anyway thumbs up for the effort.
Sent from my GT-S5360 using xda premium
reserved
good work dude
have done a lot of homework lol
excellent work bro !!
very informative.....really appreciate your work
thanks alot .
Wonderful thread. Can you give tutorials on how to recompile framework-res.apk with apktools? I always end up with lots of warnings regarding translations and end up with an apk which is about half the size as the original. And lots of force closes once it is pushed
Sent from my GT-S5360 using Tapatalk
bumslayer said:
Wonderful thread. Can you give tutorials on how to recompile framework-res.apk with apktools? I always end up with lots of warnings regarding translations and end up with an apk which is about half the size as the original. And lots of force closes once it is pushed
Sent from my GT-S5360 using Tapatalk
Click to expand...
Click to collapse
Sorry...I'm just a chemistry student and consider my self as a noob here. I never use apktool before and only use 7zip, notepadd++ and simpel graphic editor program to modify an apk files (only light theming). its a lot of simpler and easy for a mid user like me.
you may follow this guide instead
http://forum.xda-developers.com/showthread.php?t=1466100
Noted bro. I already took a peek at the link you gave. Thanks anyway.
Sent from my GT-S5360 using Tapatalk
bumslayer said:
Wonderful thread. Can you give tutorials on how to recompile framework-res.apk with apktools? I always end up with lots of warnings regarding translations and end up with an apk which is about half the size as the original. And lots of force closes once it is pushed
Sent from my GT-S5360 using Tapatalk
Click to expand...
Click to collapse
hey
I can provide you the tutorial for framework and system ui apks
with apktool for sgy
I think you are trying to make your themes
if that is I will provide the tutorial tommorow
if you need it
why don't you PM repencis? the setting.apk in repencis v3 changed a lot from the original one. I thought he could help you.
EDIT: thedeadlycoder seems already have the solution for you
Hahaha indeed he does! @deadlycoder I am anticipating your pm soon
Sent from my GT-S5360 using Tapatalk
I think I'll put a light theming tutorial in my reserved post...
Thanks for saving us dude! You rawk!
Sent from my AURORA ULTRA GT-S5360 through XDA Premium Customized by Androhacker Xavier
Very useful thread.Thanks
How can i confirm my init.d is working?is there any specific command for terminal emu :
su
init.d check (myb?) or with init.rc etc installed would be enough to prove it is working?
previously i tried init d-autorun-stock to my stock rom but not confident with tht method.Found [Script] init.d for STOCK ROM thread n member report its worked.
Thanks in adv.
thats a good question. please note that some of init.d script doesn't work in our device even if the script is running. stamatis's battery n performance script is one example. because of some script in init.rc (in kernel) it never change the value for RAM setting. to check the init.d script you may make a new file in init.d script. name it stest, put these script
\system\etc\init.d\99test
#!/system/bin/sh
touch /data/local/tmp/init.d_log_test.txt
echo "done" >> /data/local/tmp/init.d_log_test.txt
these script is made by doky73. if the init.d script works, you'll find 'init.d_log_test.txt' file in /data/local/tmp/ . init.d scipts need busybox don't forget to install it in your device
Kurotsugi
What is the correct permission for 99test?is it same like the others=777?
no problem if i change through root explore right?my device deny the latest version
of busybox 19.4 is this due to old su binary?19.3 will do right?
yup...thats fine. as long as the system could read it, the script will run at boot (if only it really support init.d scipt). any busybox version is OK as long as you have the binary files needed (in this case echo and touch). in my past experience, only vivek's kernel proved to support init.d script. I forgot the version. but its the last version without CWM integration.
kurotsugi said:
only vivek's kernel proved to support init.d script.
Click to expand...
Click to collapse
Kurotsugi..Thank u so much.I agree with u.Init.d script will only work with some kernel only.It is kernel dependent.My 1st attempt with stock kernel failed then
i change with stock kernel modify by blooper1 and succeed..Are u really a chemist
student ...Today is my off day n im gonna create all ur provided script.Thanks
again..
well...thanks for everyone here and this forum which help me learned a lot of stuff about android much faster. sgy is my first android device and I've only been using it for three months. with everyone help and information here I could make my own custom rom about one month ago. it sure nice to share about our sgy here :3
Wow! This seems really helpful and very useful thread. It gives me an eye opener.. Thanks!

RUJELUS22's AIO script (Updated 2-16-13)

The Goods​
About My Script:
I have been using and working on this script for sometime now, I started back when ICS first came out and we where no longer able to decompile apks in 1 step. All of the mods and things that I have posted on xda in the last year, have been made with this script. This script allows for editing those apks with a few buttons clicks. It can edit apks from any version of android. It has been posted on the Team Venum Forum and has been working for many of the Team Venum members.
With this script you will be able to:
Compile/decompile (Odexed and Deodexed) apks and jars
Make CWM zips of your projects
Flash and Push things to the phone
Make and install signed apk projects
Search decompiled apks
and much much more...
Sections:
Header bar: This displays the script info and current project.
AIO Tool: These are all options that you can use to mod. They will all be highlighted if they are available, otherwise they will be grayed out and have a short description why it’s not available.
Mid Section: 11 and 100 will always available. 11 allows you to choose your project from the “place-here-for-modding” folder. 100 will refresh the menu (usually for connecting/dis your phone).
Odex Section: These options will only be enabled if a phone is plugged in. The phone you are working with is needed for odexing and deodexing.
- 20 Deodex the entire ROM on your phone
- 21 Deodex just one apk or jar file
- 22 Odex the entire ROM on your phone
- 23 Odex a single file
Special Items section: These are portable apps and options.
- 91 Open Color edit. Allows you to visually view and change the color.xml file
- 92 Compile all .9 images inside the dot9 folder
- 93 MD5 Checker – Seldom used, handy to double-check MD5 to verify good file downloads.
- 94 Phone/Emulator – menu for phone and emulator choices.
- 95 Search tools – app to search inside smali or res files (ie textColor="#ffc0c0c0"). (Must have C++ runtime or PRGrep installed)
- 96 Open Notepad++ – best Windows/Android editor that has smali and log syntax highlighting tweek.
- 97 Color Wheel – color wheel with cool color drag and drop from anything feature.
- 98 Color Change – for smali only. Converts from hex to smali.
- 99 Options & Misc – set Header Bar options, clean folders and check logs, Sounds, and color theme for the Script.
- ** Exit the App – usually a better option for closing the Script because it closes the ADB running in the background.
I tried to designed this to make editing apks and doing things with your phone as easy as possible.
{
"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"
}
So here you go. If you have any questions or would like to see something added just let me know.
To Install: (For Windows Only)
1. Extract the zip file to a folder on your computer that does not have spaces in the name Ex. C:\apk\
2. Run the Start_AIO script (When this is opened it will check for updates and make sure adb and java are installed. Will also make all of the needed folders in the AIO dir)
3. Place an apk or jar in the place-here-for-moddding folder and have fun.
To Update: (For Windows Only)
1. Extract the new zip into you previous AIO folder.
2. Let it overwrite the current version files
3. Have Fun.
Requirements:
1. Java JDK must be installed
2. Android SDK must be installed and up to date
Downloads:
Downloads on TeamVenum.com
ChangeLog:
Version 2.0.0.3
-Added New chgcolor that is smaller
-Added New hex to smali script from Allockse and removed xUltimates colorchange.exe
Version 2.0.0.2
-Added Updated apktool 1.5.2
Version 2.0.0.1
-Added Updated apktool 1.5.1
-Updated aapt
-Updated notepad++
-Fixed a few bugs in the script
Setting up your PC for success!
1. Download and install the Java JDK from here
http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Download and install the Android SDK
http://developer.android.com/sdk/index.html
3. After the SDK is installed open it and check and install these boxes
Android SDK Tools
Android SDK Platform-tools
Check the whole folder for any version you want to work on (You can check multiple, I have from 4.1 to 2.3.3)
When installing if any ask for a password just click cancel on those
4. Set your windows environment path
Follow this guide until step 3 - http://www.itechtalk.com/thread3595.html
In the image in step 4 find the Path Variable in the bottom section (Double Click to edit it)
Add your android sdk platform-tools folder (Usually C:\Program Files (x86)\Android\android-sdk\platform-tools or C:\Program Files\Android\android-sdk\platform-tools
So at the end of what is already there in Path put this ;C:\Program Files (x86)\Android\android-sdk\platform-tools (Make sure to add the ; before the whole string)
Click ok and save all of that
5. Open my script and setup your framework files
Choose option 99, hit enter
Choose option 4, hit enter
Choose your phone, or choose the last option to put the files in manually.
Choose option 11, select your apk and have fun modding.
6. At this point you should be all setup and should be able to decompile and compile apks and jars successfully.
Please let me know if I forgot something, it has been a minute since I set it up.
Nice work :good:
Sent from my SPH-D710 using Tapatalk 2
You are a beast, thanks for the awesome script!
DarkJelly Gnex on JellyBro sent this from the app.
Thanks! Awesome work!
This will be in Android Development for all phones very soon. This is real development. Congrats and thanks to my friend Rujelus. If a noob like me is starting to understand it, this is going to make themers lives so much easier.
Sent from my Galaxy Nexus using Xparent SkyBlue Tapatalk 2
This is an awesome time-saving tool. Thanks for sharing.
Sent from my SPH-D710
thank you for this. tyvm.
So please forgive the noobish question, but I've been doing some reading in preparation of trying to learn how to theme.
Could I literally create a theme for a TW Rom using this tool? I say SystemUI mentioned but not Framework, so I wasn't sure if I could create an entire theme using this tool or not.
You sir are the man! Thank you for such a great tool. :thumbup::beer:
Sent from my SPH-D710 using xda premium
Thanks for all your work to make it easier for us. Great Tools. :victory:
Working on a new version the last few days that will have the ability to, work with odexed ROMs. It will be able to make a flashable zip to deodex and odex the ROM. It will also be able to pull a file deodex it, then you can mod it. Then it will compile it, reodex it and push it back to the phone.
Still got a bit of work to do on it, but I wanted to see if there was interest in this, or if there was something else in regards to odexing that you would like to see added.
mjs2011 said:
So please forgive the noobish question, but I've been doing some reading in preparation of trying to learn how to theme.
Could I literally create a theme for a TW Rom using this tool? I say SystemUI mentioned but not Framework, so I wasn't sure if I could create an entire theme using this tool or not.
Click to expand...
Click to collapse
Yes you can mod any apk or jar with this. The only other thing you would need is some sort of image editor. Like photoshop or paint.net
rujelus22 said:
Working on a new version the last few days that will have the ability to, work with odexed ROMs. It will be able to make a flashable zip to deodex and odex the ROM. It will also be able to pull a file deodex it, then you can mod it. Then it will compile it, reodex it and push it back to the phone.
Still got a bit of work to do on it, but I wanted to see if there was interest in this, or if there was something else in regards to odexing that you would like to see added.
Click to expand...
Click to collapse
Great concept. Are you sticking strictly with the apk's or will this script be able to deal the jar files as well for odex/deodexing?
tdunham said:
Great concept. Are you sticking strictly with the apk's or will this script be able to deal the jar files as well for odex/deodexing?
Click to expand...
Click to collapse
It does apks and jars
Sent from my SPH-D710 using Tapatalk 2
rujelus22 said:
Yes you can mod any apk or jar with this. The only other thing you would need is some sort of image editor. Like photoshop or paint.net
Click to expand...
Click to collapse
Thanks, I'm going to use this as my starting point for making themes!
So the new AIO is almost ready. I have some people testing it out. What is everyone's thoughts about a free and a pro version for $1. The pro version would allow for batch odexing and deodexing of a rom in minutes with one click. The free version would still allow for editing and modding odexed files the same way we do deodexed now.
With this it will make it so there is no reason to have a deodexed ROM.
New things that have been added are
-odexing full ROMs
-deodexing full ROMs
-odexing and deodexing single files
-editing of odexed apks and jars with no extra steps
-making/restoring/deleting/and fixing md5 mismatch for nands
-Tons of optimized code
-Redone most menus for easier viewing
-More I am sure I am forgetting
Let mess know what you think. I would definitely like some opinions.
Sent from my SPH-D710 using Tapatalk 2
You do so much for us that I think giving back is always good. I am up for it.
Sent from my SPH-D710 using Tapatalk 2
A dollar for the project version..?
I say go for it..a dollar is not much and some devs would charge way more for those types of options
-TeaM VeNuM Like A Boss
-Galaxy Note II Edition

FMRadio FM2 Lineage-16/AOSP themed

Since we don't have the newer FM Radio App in lineage-16 and because I don't like the "old" FM2, I recolored it for my needs
I made two flashable packages, one is the new themed FM2 and the other is the Stock FM2, if You don't like it.
INSTALLATION:
Reboot to installed TWRP
Mount ---> Select System
Install package
Reboot
Tested on my lineage-16 (20190530), might work on other AOSP Pie Roms with FM2.
{
"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"
}
zitronenmelissa said:
Since we don't have the newer FM Radio App in lineage-16 and because I don't like the "old" FM2, I recolored it for my needs
I made two flashable packages, one is the new themed FM2 and the other is the Stock FM2, if You don't like it.
INSTALLATION:
Reboot to installed TWRP
Mount ---> Select System
Install package
Reboot
Tested on my lineage-16 (20190530), might work on other AOSP Pie Roms with FM2.
Click to expand...
Click to collapse
does it have RDS info ??
boe323 said:
does it have RDS info ??
Click to expand...
Click to collapse
It's the older FM Radio APP used in CM11/CM12 too, I never had RDS with it.
I guess the newer lineage/CyanogenMod FMRadio APP since CM13 has RDS?
Is it works with stock oreo?
I have TWRP installed on my phone...
No, I don't think so. These is for Pie Roms and fmradio lib should be enabled in kernel and "libqcomfm_jni.so" should be in /system/lib64. But it's always worth a try remember to backup files, that will be overwritten, "libqcomfm_jni.so" is attached, extract from zip file (rw-r-r in /system/lib64)
zitronenmelissa said:
Since we don't have the newer FM Radio App in lineage-16 and because I don't like the "old" FM2, I recolored it for my needs
I made two flashable packages, one is the new themed FM2 and the other is the Stock FM2, if You don't like it.
Click to expand...
Click to collapse
Hi, do you have a version Black themed? or can you tell me how did you themed it? did you used android studio or others way? Thanks
simone81 said:
Hi, do you have a version Black themed? or can you tell me how did you themed it? did you used android studio or others way? Thanks
Click to expand...
Click to collapse
I use apktool:
extract FM2 and framework-res.apk from Your rom
apktool if framework-res.apk
apktool d FM2.apk
Important files are /res/values/color.xml and some in /res/drawable
Color is written in hex color code with transparency ahead: #ff000000 is black #ffffffff is white for example.
You can decompile my file and for Your needs it will be enough to edit /res/values/color.xml
Recompile: apktool b FM2 and don't forget to put Original META-INF folder and AndroidManifest.xml back in new compiled FM2.apk in /dist folder (I use 7zip Archive Manager to do that)
I'm actually on latest Stock Rom, but I can try later to make a dark version.
simone81 said:
Hi, do you have a version Black themed? or can you tell me how did you themed it? did you used android studio or others way? Thanks
Click to expand...
Click to collapse
zitronenmelissa said:
I use apktool:
extract FM2 and framework-res.apk from Your rom
apktool if framework-res.apk
apktool d FM2.apk
Important files are /res/values/color.xml and some in /res/drawable
Color is written in hex color code with transparency ahead: #ff000000 is black #ffffffff is white for example.
You can decompile my file and for Your needs it will be enough to edit /res/values/color.xml
Recompile: apktool b FM2 and don't forget to put Original META-INF folder and AndroidManifest.xml back in new compiled FM2.apk in /dist folder (I use 7zip Archive Manager to do that)
I'm actually on latest Stock Rom, but I can try later to make a dark version.
Click to expand...
Click to collapse
Thanks so much for the explanation!!! i can try following your guide..... but im not sure to be able to modify color because im not good with the steps you wrote... By the way, if you can make a black version i would be very happy :fingers-crossed:
simone81 said:
Thanks so much for the explanation!!! i can try following your guide..... but im not sure to be able to modify color because im not good with the steps you wrote... By the way, if you can make a black version i would be very happy :fingers-crossed:
Click to expand...
Click to collapse
I can try. What about ... whats blue will be grey, whats grey will be black?
zitronenmelissa said:
I can try. What about ... whats blue will be grey, whats grey will be black?
Click to expand...
Click to collapse
Wow, It is perfect!! I like your color idea!!
I did try to follow your way to change the color file with notepad .... but i think i did a mistake when i have to zip together with Androidmanifest and the folder META-INF ( which have inside 3 files: CERT.RSA , CERT.FS, MANIFEST.MF) instead of your version That have a folder META-INF --> com-->google-->android-->and here 2 files : updater-script and update-binary).
Then i miss also the folder named system--> app -->FM2 with apk inside. <--- But i think this folders i have to create.
I made a try but doesnt work.... and i see my radio.zip ( i made so many try) is too small compared with yours.... ( more than 1mb, mine about 650kb)
So im sure i did miss some step or i did something wrong....
Thanks again to helping me :fingers-crossed:
View attachment RadioFm.zip
simone81 said:
Wow, It is perfect!! I like your color idea!!
I did try to follow your way to change the color file with notepad .... but i think i did a mistake when i have to zip together with Androidmanifest and the folder META-INF ( which have inside 3 files: CERT.RSA , CERT.FS, MANIFEST.MF) instead of your version That have a folder META-INF --> com-->google-->android-->and here 2 files : updater-script and update-binary).
Then i miss also the folder named system--> app -->FM2 with apk inside. <--- But i think this folders i have to create.
I made a try but doesnt work.... and i see my radio.zip ( i made so many try) is too small compared with yours.... ( more than 1mb, mine about 650kb)
So im sure i did miss some step or i did something wrong....
Thanks again to helping me :fingers-crossed:
View attachment 4779785
View attachment 4779786
Click to expand...
Click to collapse
The files from /original in decompiled FM2 folder have to be added to the new FM2.apk in /dist folder. You can open .apk files with 7zip too, because it's an advanced .zip file. The META-INF folder and the AndroidManifest.xml are necessary files in .apks.
The META-INF folder in flashing .zip files contains flashing script and binary to flash to correct directory for example.
You can use my FMRadio-themed.zip file as a template, if You want to. Just replace the FM2.apk in /system/FM2 folder.
I made a dark version, but it's a blind edition, could not test it on stock ROM, but it should work.
Structure of the .zip file for flashing:
/META-INF/com/google/android/update-binary
/META-INF/com/google/android/updater-script
/system/app/FM2/FM2.apk
Structure of FM2.apk:
/META-INF/CERT.RSA
/META-INF/CERT.SF
/META-INF/MANIFEST.MF
/res/...
AndroidManifest.xml
classes.dex
resources.arsc
Good luck
zitronenmelissa said:
The files from /original in decompiled FM2 folder have to be added to the new FM2.apk in /dist folder. You can open .apk files with 7zip too, because it's an advanced .zip file. The META-INF folder and the AndroidManifest.xml are necessary files in .apks.
The META-INF folder in flashing .zip files contains flashing script and binary to flash to correct directory for example.
You can use my FMRadio-themed.zip file as a template, if You want to. Just replace the FM2.apk in /system/FM2 folder.
I made a dark version, but it's a blind edition, could not test it on stock ROM, but it should work.
Structure of the .zip file for flashing:
/META-INF/com/google/android/update-binary
/META-INF/com/google/android/updater-script
/system/app/FM2/FM2.apk
Structure of FM2.apk:
/META-INF/CERT.RSA
/META-INF/CERT.SF
/META-INF/MANIFEST.MF
/res/...
AndroidManifest.xml
classes.dex
resources.arsc
Good luck
Click to expand...
Click to collapse
Thanks so much zitronenmelissa, i really appreciate your time for helping me, even if i could not see any changes. I tryed to flash using twrp, with original app, but no luck, then i tried hibernate ( deactivating) the original radio app and installing the zip, but nothing changed. In the end i uninstalled the original radio app and flash again your .zip but once again no luck.
Its strange, because im on Pixel experience now but before i was on RR Rom....
At least you helped me learning a little more about this apktool.
Thanks
simone81 said:
Thanks so much zitronenmelissa, i really appreciate your time for helping me, even if i could not see any changes. I tryed to flash using twrp, with original app, but no luck, then i tried hibernate ( deactivating) the original radio app and installing the zip, but nothing changed. In the end i uninstalled the original radio app and flash again your .zip but once again no luck.
Its strange, because im on Pixel experience now but before i was on RR Rom....
At least you helped me learning a little more about this apktool.
Thanks
Click to expand...
Click to collapse
Did You mount System first via twrp? In twrp ---> Mount ---> check on System? Otherwise it won't install to system ....
zitronenmelissa said:
Did You mount System first via twrp? In twrp ---> Mount ---> check on System? Otherwise it won't install to system ....
Click to expand...
Click to collapse
No, i didnt know. Thats why it does not work. But now IT WORKS :victory::victory::victory:
Thanks really so much, i like the color :good:
Would You please make screenshots for the thread how it looks? I couldn't test it on stock Rom ...
zitronenmelissa said:
Would You please make screenshots for the thread how it looks? I couldn't test it on stock Rom ...
Click to expand...
Click to collapse
Sure, I can also post "my version" where i inverted your color theme.... the rds info are pretty easy to be readed . ( if you want i can post my .zip file)
This is your version:
This is my version:
I was wondering if were possible to change the white text radio info, into for example green.... I coded the color.xml and the station_info.xml, but i got an error if i only change the string white into green :
TextView android:textSize="16.0sp" android:textStyle="bold" android:textColor="@android:color/green" <-- instead of white
simone81 said:
Sure, I can also post "my version" where i inverted your color theme.... the rds info are pretty easy to be readed . ( if you want i can post my .zip file)
This is your version:
This is my version:
I was wondering if were possible to change the white text radio info, into for example green.... I coded the color.xml and the station_info.xml, but i got an error if i only change the string white into green :
TextView android:textSize="16.0sp" android:textStyle="bold" android:textColor="@android:color/green" <-- instead of white
Click to expand...
Click to collapse
WOW :good: I like Your ideas, very good. Thank You for the screenshots
You can also use every hex8 color:
android:textColor="#ff00ff00" is green
Here You can generate Your color codes:
http://www.colorscodes.com/color-code-hex/00ff00
Works on LG G2 D802 with LineageOS 18.1? Thk
When I installed it through TWRP on my Samsung Galaxy S N7000 with Lineage OS 16 - there is no any icon for this radio, but in system\system I see FM2.apk
Why?

Categories

Resources