How to build a Flasher - eXpo GW820, GW825 IQ ROM Development

What is needed?
1. Winrar
2. One of the flashers (depending on your device) from the following post: Flasher
After you have both extract the flasher using Winrar. Next place your rom in \LGMOBILEAX\Phone. After that navigate to LGMOBILEAX\SmartPhoneSetup and open SPConf.ini with Notepad. You will see a line called DZNAME =. After the = sign insert the physical name of the rom you placed in the Phone folder. Make sure you have the dz extension at the end. Also make sure there are no spaces in the name of the rom. There is also a line called SWVERSION. You can change that to whatever you want as long as there is no spaces. After you are done with editing this file save it.
Next right-click on the LGMOBILEAX folder and choose Add to Archive. Now name the flasher what you want and then check Create SFX Archive. After that click the Advanced tab. Click on SFX options. Now set path to extract to "C:\Users\All Users" for Windows 7 or "C:\Documents and Settings\All Users\Application Data" for Windows XP. Also set Run after extraction to "LGMOBILEAX\SmartPhoneSetup\SP_Starter.exe".
Note: There are options to set icons, pictures, and text in the installer, but is not necessary. If you want to play with that you can by going to the text and icon tab.
Now that you have all that set click ok and then ok again. It will start to create your flasher. IOnce it is done all you need to do is run it.

Related

[Tutorial] How to Enable/Disable CRT-Off for ICS ROMs

This tutorial is written for those interested in modifying the framework-res.apk to enable/disable CRT-Off effect on ICS (Samsung) ROMs using Windows 7. I'm sure it doesn't vary that much with other operating systems. I have used many tutorials from XDA (sources below) - but I will compile everything into one easy guide. Hope this helps! Otherwise, you can get the CWM flashable ones here.
What you need
- APKTool: apktool.jar, aapt.exe, apktool.bat, apktool1.4.3.tar.bz2
- APK Multi-Tool
- XML Editor: Notepad++ or Windows Notepad
- WinRAR or 7-zip
Update: You can also use this modified ApkTool. - thanks sileshnair.
Instructions
I will be splitting this tutorial into several steps to break down the processes (and possibly provide easier troubleshooting help).
Setting up the Files You Need
1. Download all the files needed above.
2. Install necessary programs (winRAR, 7-zip, Notepad++, APK Multi-Tool, etc.)
APK Multi Tool should ask you to choose a default folder. Just make sure you know where it is.​3. Create a folder where you can access. (for me: My Documents/Flash/APKTool)
4. Place: apktool.jar, aapt.exe, apktool.bat, and apktool1.4.3.tar.bz2 into that folder.
Decompile
1. Obtain framework-res.apk from your phone. This can be done using Root Explorer and going to: system/framework/
2. Place framework-res.apk into the folder where you placed apktool.jar (and the rest of them).
3. Exit the folder (so that you are looking at it as "APKTool"). Hold-shift and right-click the folder (APKTools), and select "open command window here.
4. A command prompt should pop up. Type the following:
apktool if framework-res.apk​apktool d frameowrk-res.apk
This should decompile the framework, allow it to run and close after it completes.​
Editing CRT-Off Effect
1. Once the decompiling completes, go back into "APKTools" folder and you should see another folder (framework-res).
2. Open it, and go to: framework-res/res/values.
3. Right-click bools.xml and either press "edit" or "edit with Notepad++".
4. Find the line that says "(bool name="config_animateScreenLights">true</bool) (I changed the first and last part into brackets because it would comflict with the forum code, it should be "<" and ">" respectively).
5. Change the "true" to "false".
6. Save and close.
Compiling
1. Go back into APKTools folder where you had apktool.jar, apktool1.4.3.tar.bz2, etc.
2. Unzip apktool1.4.3.tar.bz2, and unzip again, inside should be a file called "apktools.jar". Replace the original one in "APKTool" folder.
3. Leave the folder (like you did in decompiling) and hold shift and right-click the folder and select "open command window here".
4. Type the following in the command window:
apktool b framework-res​5. Now go to: APKTool/framework-res/dist/
6. There should a file created called "framework-res.apk", right-click and open with winRAR or 7-zip.
7. In winRAR, click "Extract To" and press OK. (Pretty sure you can extract in 7zip too).
8. This should create a new folder called "framework-res". Go inside it where you see the files (assets, res, AndroidManifest, resource.arsc).
9. Go find your original framework-res.apk (located in the root APKTool/ folder) and right-click and open with winRAR (or 7zip).
10. Select "META-INF" and "AndroidManifest.xml" and extract it to the folder created in step 8.
11. Select-all the files within the folder (of step 8) (it should now contain: assets, res, META-INF, AndroidManifest, resource.arsc) and right-click and "add to archive" (again, with winRAR - sure 7zip is something else).
12. In the prompt, change the following: Archive format = zip, Compression method = store. Press OK.
13. This should once again create a framework-res.zip file in the folder.
14. Press alt (assuming you are using Window 7) > Tools > Folder Options. Press the view tab, and uncheck "hide extensions for known file types.
15. Rename "framework-res.zip" to "framework-res.apk".
Now this "framework-res.apk" file is ready to be pushed to your phone's system/framework folder. Your phone should hang, restart it, and you now have CRT-Off effect! If you want to make a CWM flashable - below is the tutorial.
Making a CMW-Flashable File
1. Go below and download my template.zip. Extract the folder "template".
2. Take the completed framework-res.apk from earlier and place it in: template/system/framework.
3. In the template/ root directory, select META-INF and system and right-click, add to archive.
4. In the prompt, change the following: Archive format = zip. You can rename it to whatever you wish "LPS_CRTOff_On.zip".
5. Take the zip file to where your APK Multi Tool directory and place it in the "place-apk-here-for-signing" folder.
6. Open APK Multi Tool application from the start menu > programs.
7. Press any key to continue, and press 19 (Sign an apk (Batch Support)(inside place-apk-here-for-signing folder only)).
8. It should close when it is done, the zip is now ready to be flashed with your phone.
And there we go. I tried! LOL. Good luck. =) If I wasn't very clear, you can go back to my sources and derive what I did from them.
Sources
- [MOD] Decompile and Rebuild ICS framework-res.apk without errors by stars2
- [Tutorial] How to add CRT TV off effect by tweezit
- [TUTORIAL] How to create an CWM installable .zip (Mod) by FlorisNL
Thanks, thanks and thanks. This is the first method that works for me to decompile framework-res.apk and systemui.apk. Thank you.
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Brotuck said:
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Click to expand...
Click to collapse
I tried it with ICS roms and it did not work for me. Thus - having to use the apktool instead. =(
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
sileshnair said:
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
Click to expand...
Click to collapse
Sweet thanks!
@krazykat
On bools.xml:
<bool name="config_animateScreenLights">false</bool>
It is set to 'false' by default.
Any idea on this? Thanks in advance.
More info: Xperia Neo V, official ICS 4.0.4 by Sony
dafuq is CRT-OFF?
Thanks you so much @ OP
It was a very simple task.

How to Remove or Change "Swipe Screen to Unlock" NEW

:highfive:Hello,
i used this tut from this link below and sucsefully removed unlock text on my sgw with REBEL ROM
here is the link:
http://forum.xda-developers.com/showthread.php?t=1561369
the only differnce at me was the line to delete it into CircleLockScreen.smali.
.line 159
......
.......
Click to expand...
Click to collapse
i'm newbe but its very simple
If you like it press Thanks Button :fingers-crossed::fingers-crossed: by dev LegendK95 for this tut
P.S: At first i have error at cmd window and had to rename folder.
You can download the Unlock.rar file from DL Link unpack it on your PC push your android-policy.jar file into folder and follow the post from Dev.The Folder include all files you need to mod
DL:
http://dl.dropbox.com/u/70025396/Unlock.rar
IF YOU WANT CHANGE LOCKSCREEN TEXT AND ANOTHER ONE THIS IS TUTORIAL HOW I DO THAT SUCCSEFULLY!!!​
You need:
1.APK Manager or APK tool installed on your PC and Notepadd++ for editing .xml files and 7Zip to open .apk files
2.Copy your original framework-res.apk into Input Folder
3.rund script.bat for Windows user right click run as admin.
4.Choose first option 22 to set the current project
5.Choose 9 to decompile framework-res.apk
6.now you goto folder /projects/framework-res.apk/res/values/strings.xml and open it with Notepad++
7.Now you can edit what you want to change.(THIS IS ONLY FOR ENGLISH!!!)
7a. Ctrl+f and searc for "swipe to unlock" and change text
7.b I look by Ibanez7 some silly Screenshot where he changed
RECOVERY---> BOOTLOOP or
DOWNLOAD --> HARDBRICK :laugh::laugh:
you can change if you want those things just a few lines under Unlocktext line,you see it.
see here :
http://dl.xda-developers.com/attach.../4/8/0/6/5/uploadfromtaptalk1340385533687.jpg
If your system language is e.g German as by me you must goto
values-de/strings.xml and make changes there.​
All changes made now we must recompile framework-res.apk
8. Choose 11 to recompile and wait
8a. Choose Y for system file and choose Y at second question.
8.b we have 2 folders now build and keep folders
9.We made changes of .xml files so we goto keep folder on the root and delete resources.arsc from keep folder and push any button
9a. into input folder we have file unsignedframework-res.apk
9b. Choose 12 to resign the file.
When i put those file into system/framework folder i have a lot of FC so i do a follow step.(IT'S VERY IMPORTANT)
10. Choose original framework-res.apk rightclick -->7Zip--->Open (let this window open)
11. Goto Apk Manager Folder then to projects/framework-res.apk/built/apk and pick the resources.arsc file and drag and drop copy into 7 Zip Opened window.Apply it.
12.Close 7Zip Window.
13.Push framework-res.apk file from input folder NOT signedframework-res.apk
into system/framework and overwrite the original one.
14 Reboot once and thats all
Enjoy :highfive::highfive::highfive:
C ya
If you like it press -----> Thanks Button
help!!
AsmirGT said:
:highfive:Hello,
i used this tut from this link below and sucsefully removed unlock text on my sgw with REBEL ROM
here is the link:
http://forum.xda-developers.com/showthread.php?t=1561369
the only differnce at me was the line to delete it into CircleLockScreen.smali.
i'm newbe but its very simple
If you like it press Thanks Button :fingers-crossed::fingers-crossed: by dev LegendK95 for this tut
P.S: At first i have error at cmd window and had to rename folder.
You can download the Unlock.rar file from DL Link unpack it on your PC push your android-policy.jar file into folder and follow the post from Dev.The Folder include all files you need to mod
DL:
http://dl.dropbox.com/u/70025396/Unlock.rar
IF YOU WANT CHANGE LOCKSCREEN TEXT AND ANOTHER ONE THIS IS TUTORIAL HOW I DO THAT SUCCSEFULLY!!!​
You need:
1.APK Manager or APK tool installed on your PC and Notepadd++ for editing .xml files and 7Zip to open .apk files
2.Copy your original framework-res.apk into Input Folder
3.rund script.bat for Windows user right click run as admin.
4.Choose first option 22 to set the current project
5.Choose 9 to decompile framework-res.apk
6.now you goto folder /projects/framework-res.apk/res/values/strings.xml and open it with Notepad++
7.Now you can edit what you want to change.(THIS IS ONLY FOR ENGLISH!!!)
7a. Ctrl+f and searc for "swipe to unlock" and change text
7.b I look by Ibanez7 some silly Screenshot where he changed
RECOVERY---> BOOTLOOP or
DOWNLOAD --> HARDBRICK :laugh::laugh:
you can change if you want those things just a few lines under Unlocktext line,you see it.
see here :
http://dl.xda-developers.com/attach.../4/8/0/6/5/uploadfromtaptalk1340385533687.jpg
If your system language is e.g German as by me you must goto
values-de/strings.xml and make changes there.​
All changes made now we must recompile framework-res.apk
8. Choose 11 to recompile and wait
8a. Choose Y for system file and choose Y at second question.
8.b we have 2 folders now build and keep folders
9.We made changes of .xml files so we goto keep folder on the root and delete resources.arsc from keep folder and push any button
9a. into input folder we have file unsignedframework-res.apk
9b. Choose 12 to resign the file.
When i put those file into system/framework folder i have a lot of FC so i do a follow step.(IT'S VERY IMPORTANT)
10. Choose original framework-res.apk rightclick -->7Zip--->Open (let this window open)
11. Goto Apk Manager Folder then to projects/framework-res.apk/built/apk and pick the resources.arsc file and drag and drop copy into 7 Zip Opened window.Apply it.
12.Close 7Zip Window.
13.Push framework-res.apk file from input folder NOT signedframework-res.apk
into system/framework and overwrite the original one.
14 Reboot once and thats all
Enjoy :highfive::highfive::highfive:
C ya
If you like it press -----> Thanks Button
Click to expand...
Click to collapse
it keeps me sending annoying FC screens.. i follow all the directions carefully, what should i do
thenks

[Q] Problems in Deodex Using ROM Kitchen

I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites:
1. XUltimate or any other similar tool which can pull all the Apk's and Framework's from the phone.
2. Rom Kitchen (Link On OP)
3. Zip utilities.
4. Deodex Empty Shell zip. (Deodex_Cwm_Shell .zip - 236 KB)
5. Windows (Cygwin) or Linux ( I won't go into technicalities)
How:
1. Pull all the Apk's and Framwork's along with the .odex files.
2. Rename the folder with the Apk's as "app"
3. Rename the folder with the Framework's as "framework"
4. Create a folder called Deodex_Cwm. (You can choose your name).
5. Inside the Deodex_Cwm folder, create another folder called system.
6. Copy the app and framework folder with the apk's and framework's into system.
7. In the case of ION, I found that there is a file "playstationcertified.odex", rename it to "com.playstation.playstationcertified.odex".
7. Zip the Deodex_Cwm folder.
8. Copy this zip into "original_update" folder inside Rom_Kitchen folder.
9. Run the menu script.
10. From menu select "0 - ADVANCED OPTIONS", then select "24 - Miscellaneous options / Plugin scripts".
11. Now select "(4) Batch_Deodex"
12. Press Enter to continue.
13. Press Enter Again to continue.
14. Press Enter Again to continue.
15. Press Enter Again to continue.
16. Now the Deodexing process will start. It will show a message when the process ends.
17. Rom_Kitchen creates a WORKING_mmddyy_hhmmss folder for processing the files.
18. Once the processing is done, the files are moved to batch_mmddyy_hhmmss.
19. Open the Deodex Empty Shell zip (do not extract). drag and drop the app and framework folders from the batch_mmddyy_hhmmss into the system folder inside the opened zip.
20. You also change the Text inside the updater script in the folder "META-INF/com/google/android" inside the open zip. Use notepad++ under windows, under linux you can use any editor.
21. Now close the zip and copy it to the external sd card in the phone and flash it using CWM Recovery.
Click to expand...
Click to collapse
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
waqasazfar said:
I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
Click to expand...
Click to collapse
Post your question under Ion dev. deodex thread.
Sent from my Ion* using Tapatalk 2
waqasazfar said:
I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
Rom Kitchen Requires Linux. So either use Linux as OS or install Cygwin under Windows. How to use Linux/Cygwin is beyond the scope of the tutorial.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
to run menu, type the following in command prompt.
chmod +x menu (required only once to make menu executable script)
./menu
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
It is for you to download Cygwin
Click to expand...
Click to collapse
Answers under your question.
Thankyou
ganeshbiyer said:
Answers under your question.
Click to expand...
Click to collapse
Thankyou.

[GUIDE] How to Modify the Halo Icon on ANY ROM (that uses Halo, that is)

Hello fellow XDA members! Today I will be showing you how to theme your NEXUS 7's Halo!
First, go grab whatever halo icon's you would like from this thread by ATTACK: http://forum.xda-developers.com/showthread.php?t=2309936
Second, make sure you have the app ZipThemer (link is on ATTACK's thread also) and grab ATTACK's ZipThemer TEMPLATE.
Next, you'll want to create a folder on your desktop where you will be working.
After that, drag all the Halo icon's you want to be changed into that folder.
In that folder, you'll want to put the ZipThemer TEMPLATE you acquired earlier, extract it so you see "[ZipThemer] TEMPLATE" as a folder (IF YOU SEE "SystemUI" AND "TEMPLATE.xml", THEN YOU EXTRACTED IT WRONG! CHOOSE "Extract files..." AND MAKE A FOLDER!).
Then, you'll want to drag and drop your icons you chose earlier into SystemUI>res>drawable-hdpi and remove drawable-xhdpi and drawable-mdpi.
For all the files, they will most likely be named "halo_bg (16).png" or "halo_back_left (3).png", etc. Remove the numbers in parentheses and make SURE the file name is "halo_whatever.png", with no numbers and no spaces. Then go zip it back up (DO NOT zip the "[ZipThemer] TEMPLATE" folder, select the folders INSIDE that, go to 7zip's menu (or winrar) and select "add to blahblah.zip".
Now, use ADB to push that new zip to your android. Here are two methods to doing this:
Method 1 (using ADB with a USB): "adb push c:\path\to\the\dot.zip /sdcard/Halo_Themes" or whatever you want the folder with the theme to be named
Method 2 (using ADB Wireless): First, go into the Play Store and search for "ADB Konnect (wireless ADB)". Install it and open it up. MAKE SURE YOUR COMPUTER AND YOUR TABLET ARE ON THE SAME NETWORK OR THIS WILL NOT WORK! Turn Wireless ADB on in the app, then run this in your command line: "adb connect 192.168.1.102:5555" OR whatever it tells you to run in the app (eg it might be different between you and me). NOW, do the adb push command again: "adb push c:\path\to\the\dot.zip /sdcard/Halo_Themes".
Now you're ready to move on to the ZipThemer part. Open up ZipThemer, and update Edify. ATTACK's thread has the instructions on how to do this if you don't know how.
Click on the +Theme button on the main UI of ZipThemer. Navigate to wherever you pushed the .zip to be, and select the zip.
Now, choose the output location (if you want it to stay in /sdcard, don't change anything).
Click "Build It!"
Click "Always" (this will make a backup of your current SystemUI.apk in case you screw anything up.
Now, once it's finished building the theme, boot into recovery (via ADB: "adb reboot recovery").
FOR CWM: Select Install, Install from sdcard (or whatever, not sideload), navigate to the .zip, select it, flash it, clear cache and dalvik-cache (you don't really have to do this, but better safe than sorry).
Reboot, and your Halo orb/icon should be changed!
If I helped, please Thank me!
If I derped up anything, let me know and I will fix it ASAP.
**I WILL ADD PICTURES WHEN I CAN LINK (so ask questions!)**

[MOD] - Navbar/sotfkeys 30dp to cm10.2 for xperia ZL

Thanks to help from Drummerjed, for doing more than making this mod, but for teaching me to do it myself.
I leave here the framework-res.apk modified by me (for cm10.2 stable version only) and the guide made by Drummerjed
by Drummerjed:
"Hi, it's very easy to do:
1.Download the latest version of Tickle My Android from here - http://forum.xda-developers.com/show....php?t=1633333
2. Install it using the instructions in the first post
3. Open Tickle My Android and select Option 2 (Theming Menu)
4.Then select Option 2 (Pull Files From Device)
5. Connect your phone to your PC, make sure you have ADB installed correctly on your PC and 'USB debugging' is enabled on your phone
6. Select Option 1 to pull framework-res.apk from your phone
7. When it asks you if you'd like to decompile the file say yes
8. Then select yes again when it asks you if you'd like to install the file to the PC
9. Go to the '_working' folder in the 'TickleMyAndroid' directory and open the 'framework-res.apk' folder
10. Navigate to 'res/values/dimens.xml' and open 'dimens.xml' with notepad++
11. You should see "navigation_bar_height" "navigation_bar_height_landscape" and "navigation_bar_width" near the top of the list
12. Change the values of these strings to 36.0dip, 36.0dip and 32.0dip in that order
13. Save the file. Close Tickle My Android if it's already open, then launch it again
14. Select Option 2 (Theming Menu) again
15. Then select Option 14 (Recompile Files)
16. Select Option 2 (Recompile App With Original Signature)
17. Select "framework-res.apk" then say yes to recompile it
18. The new "framework-res.apk" file will be in the '_out' folder in the 'TickleMyAndroid' directory
19. Now simply push this file to your phone and move it to /system/framework and overwrite when prompted. Or you can create a flashable zip with Tickle My Android, just select Option 17 from the Theming Menu
Hope this helps. This guide should work with all future versions of Android."
To use my framework-res.apk modified just use some app file manager (eg root explorer) and put in the folder /system/framework. For me to put the apk the device reboots automatically but it works.
Remember to make a backup before, it may give some wrong things ok!
I found a way to make this modification. Later I put here the framework-res.apk changed.
And a little tutorial how to do, and the credits of who showed me how.

Categories

Resources