[Q] Tutorial for stock rom - LG Optimus 2x

hi there. i am wondering if someone can help me and guide me how to **** mine own rom?
at least how to change something basic in rom...like put other launcher , video player...etc. and all ZIP it than flash it via CWM.
i was searching forum for it but... cant find anything ( maybe i missed it ).
btw... it's for Win 7 64 bit. platform.
any way...sry if i am missed some similar post but... ty for any info.

you can change launcher by using 3rd party apps such as 'home switcher'.

y, know that mate. just need someone to explain me how to make all that what i ask and than make flashable zip file.

download a lauchner like GoLauncher.apk open your Rom.zip,dont extract!! only open it,go to the directory system/app,put the golauncher.apk in and delete the LGLauncher.apk ,you can do the same with camera,videoplayer,sms and somethting.
you must have a replacement for the original,thats all.
for optic,first go copy systemUI.apk and framework-res.apk from the open zip to your PC,then go to the xda kitchen,make your style,open the downloaded zip and copy the backed framwork and system apk to Our rom zip,of corse in the right direction;-) and then you flash your own styled rom

Related

[GUIDE] How to make mymode themes

Well I haven't had much time lately to make themes but I figured i got enough time to explain how. This is how i do it in windows 7.
1) First thing i assume that you already have androidsdk on the root of your C drive. Lets go ahead and add it to your system path. If it's not called androidsdk go ahead and change it to that. Now open up your startmenu, right click computer, click properties, then click advanced system settings, in the advance system settings select environment variables. In the second box down look for path select it and choose edit. copy and paste this
Code:
;C:\androidsdk\tools
in there. Click okay.
2) download the jre and jdk from here and install them. Now you need to add them to your system path so copy paste this
Code:
;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\Java\jdk1.6.0_20\bin
to your system path just like you did in the first step.
3) Download apk manager from here. Now run it and when it says clean out all current projects click yes. Now thats ready to go.
4) Download an image editing program. I use gimp. Also if you don't have it 7-zip
your all set to go now so lets start over with the numbers
1) choose a mymode apk and extract it with 7-zip. Open up the res folder select a png that you want to change and change it with the image editor you chose.
2) when you've changed the images you want open up the original apk as an archive with 7zip. Then place the res folder of the modified unzipped apk into the archive and close the archive.
3) Now open up apk manager and place the mymode apk into the place here for signing folder click script batch choose no then type 15.
4) Now put the newly signed apk into your androidsdk/tools folder and close apk manager.
5) open command prompt and type this
Code:
cd\
cd androidsdk/tools
adb install whatever.apk
I'll update this with pics a more thorough guide.
Thanks to everyone that made this easy
reserved for themes to come
Thanks been waiting for a thread like this.
thanks, if i ever get any free-time between jobs and kid and fiancee i will look into this a little more
This is an awesome guide! I messed around with theming mytouch/g1 back when I had one.. so this will be great to make some themes for the slide..
One question though.. let's say you pull the nest theme.. theme it and re install it.. will it just override the nest theme or in the theme listing will it appear as a new theme and still allow you to have the original theme?
Sent from my T-Mobile myTouch 3G Slide using XDA App
ryanolson7 said:
One question though.. let's say you pull the nest theme.. theme it and re install it.. will it just override the nest theme or in the theme listing will it appear as a new theme and still allow you to have the original theme?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
The nest theme is in the framework, its not an .apk like the rest, its built into the system. The rest of the mymodes themes are .apks and if you edit those they will override the stock "nest" theme. The only way it will show up different in the theme chooser is if you edit the preview snapshot to be a preview of your theme. If you wanna keep the original theme, the nest theme is it and you should edit a different theme .apk...
-BMFC
Sent from my ROOTED MyTouch3G Slide
Okay so I got the next three days off and I already got two mymode themes pretty much done well their done but I just learned of a way to change the name so they are there own standalone apk instead of using another apk name. I've been using puppypride (which by the way isn't puppies those are full grown dogs) and switching out the pngs and you couldn't have the regular puppypride now you can have both
hope you don't mind but I did a mod of your themes and took out the bubbles since some people always create threads about it
Help with following guide
I am a newb at this so please don't attack me if I am doing something wrong. I have been struggling with following the guide posted to make mymode themes. I have successfully got up to the step of signing the apk file. I modified the files in the free_kick.apk. When I try to use APK Manager 4.8 and using the directions given the file just gets erased and nothing happens. My log file just shows errors. Any help with a more detailed directions one what to do in APK manager as I am trying different things and not getting anywhere. I use the option 15 like told in the guide. I can send my modified apk file to anyone if they can get this to work and get it installed that would be appreciated so much. I hope I can figure this out my own but thought I would try get help from the forums. Thanks in advance.
impimms said:
I am a newb at this so please don't attack me if I am doing something wrong. I have been struggling with following the guide posted to make mymode themes. I have successfully got up to the step of signing the apk file. I modified the files in the free_kick.apk. When I try to use APK Manager 4.8 and using the directions given the file just gets erased and nothing happens. My log file just shows errors. Any help with a more detailed directions one what to do in APK manager as I am trying different things and not getting anywhere. I use the option 15 like told in the guide. I can send my modified apk file to anyone if they can get this to work and get it installed that would be appreciated so much. I hope I can figure this out my own but thought I would try get help from the forums. Thanks in advance.
Click to expand...
Click to collapse
Actually the guide needs to be fixed a little because i'm guessing your getting compiling errors when using apk manager? But the best way to do this is to open up the mymode theme (using 7zip) as an archive delete meta-inf folder then replace the pngs with ones of your choice as long as they are the same scale. Then resign. and install
totally lost
I've followed these directions to a T and when it comes to using the apk manager i am getting nothing, please help
You guys that are having trouble with apk manager...its honestly not necessary to use Apk Manager for this. Mymodes themes are system .apks and shouldn't be re-signed. What you need to do is forget about apk manager (for now) and drop the UNsigned .apk into the ROM update you are using, and resign the whole ROM using the autosign tool created by jesusfreke. Or just adbpush the .apk. but don't resign the .apk.
Here's the link for the autosign tool to sign ROM updates. its in the THIRD POST and its auto-sign .zip, NOT the signing.zip in the first post. you can put it anywhere you want and you just drop (a copy of) your ROM update in the autosign folder, rename it update.zip, then run the sign.bat to sign. it will create another file, update-signed.zip. you shouldnt need to wipe when flashing the same ROM over itself, but i cant guarantee this is true for all ROMs.
you can also make an update that will only flash the .apk to /system/app, and nothing else will be changed. basically just make a copy of the update for the ROM youre using, then delete everything but the /system directory from the zip. then go into that /system directory and delete everything but the /app directory, then go into it and delete all the .apks and odex file or whatevers in there. ALL OF IT. when you are finished you should have an update with nothing in it but a /system/app directory. you put your modded .apk in there in /system/app, and thats it for that.
then you must edit the update script and remove MOST of its contents so that it only does what you want it to. THIS IS IMPORTANT! Go here to learn how to create an update script. what youll need is way simpler than the examples, youll want it to look basically like this...
Code:
assert compatible_with("0.2") == "true"
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
this update script will copy ANYTHING in the /system directory to /system on your device, regardless of subdirectories. that means anything in /system will go in /system, anything in /system/app will go to /system/app, etc. but since you only have one .apk in there it wont mess with anything but what you put in there. this way, you have a NOWIPE update for...well, whatever you want to put in it.
so you just drop the new shortened update-script in /META-INF/com/google/android/
and then use the autosign tool to resign your new update then flash away! This also takes less time cus its only flashing one file instead of flashing a whole ROM just to replace that one file...
hope this helps...
-BMFC
Sent from my T-Mobile myTouch 3G Slide using XDA App
So you cannot do this on t-mobile's rom which is 2.1 right now? I'm leery of rooting in case they ever release froyo
Tbrewer80 said:
So you cannot do this on t-mobile's rom which is 2.1 right now? I'm leery of rooting in case they ever release froyo
Click to expand...
Click to collapse
I'm having issues with this as well... After I do the whole signing apk thing, it installs fine, but when I go to MyModes, the preview is black and when I select it, the MyModes app force closes. I don't get it.

[Q] I want your help.......?

hi
I have original 2.1 (eclair mod ) installed in my milestone
and i want to customize it ( change status bar, add and remove apps.......)
without installing new custom rom.
so can any help me how to do this ?
thanks in advance
i use 7-Zip to open .apk then you can edit/replace file in apk file
to change or edit .9.png file you need other program like 9patch or draw9patch to save in good format.
the main file to edit is framework-res.apk practically all theme is in that file
all system file does not need signing but all other should be sign before you put back in phone and don't forget to zipaling all file that you touch/edit.
many tutorial are available on the net on how to theme android for more in deep detail.
thanks a lot
I'll try
one more thing please
how to extract the current rom that i am using it and put it into update.zip
like cm6 so i can modify it ( like i want in the previous thread )
thanks in advance
hearts king101 said:
thanks a lot
I'll try
one more thing please
how to extract the current rom that i am using it and put it into update.zip
like cm6 so i can modify it ( like i want in the previous thread )
thanks in advance
Click to expand...
Click to collapse
well first do a nandroid backup of your rom then copy to pc, now extract system.img with unyaffs.
then you have all system file of your rom to play with.
after all your change copy file to sdcard/openrecovery/update/test-update-nosign.zip, don't forget to remove babble
i am using OpenRecovery_v1_46
hope it help
HO!NO! said:
well first do a nandroid backup of your rom then copy to pc, now extract system.img with unyaffs.
then you have all system file of your rom to play with.
after all your change copy file to sdcard/openrecovery/update/test-update-nosign.zip, don't forget to remove babble
i am using OpenRecovery_v1_46
hope it help
Click to expand...
Click to collapse
I did not understand the red part
if it's a program please upload it
if it's not can you tell me what is it?
thank you for your reply
unyaffs is a program to extract files from a yaffs file system image
google it you will find it for sure
I'm so sorry
i found it but i have no idea how to use it
sorry again
hearts king101 said:
I'm so sorry
i found it but i have no idea how to use it
sorry again
Click to expand...
Click to collapse
look for unyaffs.exe
then in a cmd windows type: unyaffs system.img
thank you so much
I've done it and i hope it works
but regarding the nandroid backup there are another files like
boot,bpsw,data.img........
are these files important in making custom rom?
thanks again

[theming help] Genie widget flashable.zip

hi I need some help with theming:
im having a hard time with the genie widget.apk. I´ve seen elsewhere that the gw should be flashed to System/apps but that not the case with my phone.On my htc desire it should be DATA/apps and I just can´t make a flashable.zip I get an error everytime(error at line1 something). I use a zipsign tool which works fine with system/apps maybe I need another tool, which leads me to my next question:
How do I make a flashable file where I move files to SDCARD / SYSTEM / DATA ?
acejacksooted said:
hi I need some help with theming:
im having a hard time with the genie widget.apk. I´ve seen elsewhere that the gw should be flashed to System/apps but that not the case with my phone.On my htc desire it should be DATA/apps and I just can´t make a flashable.zip I get an error everytime(error at line1 something). I use a zipsign tool which works fine with system/apps maybe I need another tool, which leads me to my next question:
How do I make a flashable file where I move files to SDCARD / SYSTEM / DATA ?
Click to expand...
Click to collapse
Alright this you will love I had same problems search for Update Zip Creator 2.0 by Daneshm90 you will love it and as far as flashing data/app/ it doesn't work you have to know how to make your update script install with permissions otherwise they just get copied in the right folder and don't work.
Edubyah said:
Alright this you will love I had same problems search for Update Zip Creator 2.0 by Daneshm90 you will love it and as far as flashing data/app/ it doesn't work you have to know how to make your update script install with permissions otherwise they just get copied in the right folder and don't work.
Click to expand...
Click to collapse
thats actually the tool i´m using by default , however I dont know how to make files copy over to Data/app and I also dont know how to make the zip creator move files to sdcard. I´ve only managed to use the updatezip creator to write to System/app, System/media and System/framework.
what should i do to get an update.zip with folders system / data / sdcard?
When I was trying I gave up when I would edit the generated update script I would get as syntax error what I started doing was put the data apps in a folder named Extra_apps or the theme name like Blue_Steel then tell update zip creator copy directories SDCARD then folder name and folder name again I wish I could help more but its something I'm trying to learn myself I believe w are going to have to learn to write the script manually I have asked on the update creator thread also never got an answer excuse the spelling on my phone thank god for swype..lol

How to change icon apps on the app drawer? (rooted)

I'm trying to change the icons on the app drawer with Root Explorer but I can't find the correct PNG to replace that on the system/app/"application.apk"/res/drawable/_____.png
Anyone knows the right name of the icon?
Thanks!
res/drawable-hdpi/file_manager_r.png ypu will have to turn the apk into a zip then put your new file into the hdpi folder and change the zip back to an apk then re install
Can I follow this steps with the Captivate or I need to do this on the computer?
Any easy way?
Thanks for the tip!
hi, i changed an image in drawable-hdpi in "phone.apk" (ic_jog_dial_unlock.png) like aceman said, but if i try to install new phone.apk it says "application not installed" (or something similar, my language phone is not english). how can i install new phone.apk??
I tried to istall it from recovery and there is the same result
thanks
You have to push the phone.apk file into /system/app with a root explorer or adb. Just installing it won't work like most other apks.
i have "root browser", can i use it? can u say to me all the steps i have to do with it or adb? i'm not an android expert user...
up...anyone ca help me?
install a different launcher app that lets you customize it. try launcherpro from the android market.
you wont understand the mod instructions.
screw it here they are...
mod instructions... basic if you need more info. learn to search there are 4000 guides on how to change an app image.
you need winrar on windows. if you arent running windows you should know better.
use root level file manager to go to 'system/app' folder and copy your launcher.apk to sdcard.
copy to PC
right click .apk > open with... > choose program > WinRar
look through folders inside APK and copy all folders with .PNG images to desktop (or work folder)
look through the images in the folders (change veiw to thumbnails) and find the name of the image you want to change and the name of the folder it was in.
Go get, or create your custom image, and name it that name. **Close to original shape size.
Use winRar to open the .APK again and naviage to the place where your image goes and drop the new one into that folder.
A window with options will come up and select Compression Profile : STORE
Click ok
Close winrar.
Copy .apk to SDcard
Use root file manager to rename original /system/app/launcher.apk to launcher.apk.bak (backup)
Then copy your modded .apk to /system/app.
Reboot (pull battery)
DONT MESS WITH ANY IMAGE ENDING IN .9.PNG only regular .pngs
for more on .9.pngs... search google.. what is ....
i*have*to*modify*phone.apk,*no*launcher.apk..*i*just*did*steps*you*sayd,*but*if*i*try*to*rename*phone.apk,*my*nexus*goes*in*full*crash
fist off this is the Captivate forums. not nexus.
and i was giving help to OP question not yours. either way the *stars*and*sp ac*es are friggin annoying. use your computer if your phone is messed up.
if you "tried" to modify the name... DID IT? try doesnt tell me much.
if it wouldnt let you, then nothing changed and your phone is screwed up from something else.
if it DID rename, then CHANGE IT BACK.. duh.
sorry for space and *, i wrote it with the mouse using google translate keybord and i saw them when i cut/past the text
i "tried" to rename phone.apk, so the phone went in a full crash and i had to restore system using an old backup in recovery
paino85 said:
sorry for space and *, i wrote it with the mouse using google translate keybord and i saw them when i cut/past the text
i "tried" to rename phone.apk, so the phone went in a full crash and i had to restore system using an old backup in recovery
Click to expand...
Click to collapse
Try apktool to extract all replace wteva ocon u want to and rebuild apk using the same tool and u need to sign the apk usin signapk tool so that device can recognise the.apk file for installation. I have done this and everything went fine in galaxy note. But i couldn't locate the file to rename the icon. Icon changing was not a prob.

[Q]How to convert a ODIN .tar.md5 file to flashable .zip file

Hy everyone i've searched for this on google and XDA but i didn't find anything i want, so the point is i wanna remove some of stock files of system and add someones new and i wanna make a zip file for recovery so then i can simply install the OS from my recovery mod... and when i wanna make some upgrades i cam simply edit with a normaly archiver program like 7-zip, winrar, or powerarchiver or another program.. i wanna specify that i'm new in development on android
Brocky2011 said:
Hy everyone i've searched for this on google and XDA but i didn't find anything i want, so the point is i wanna remove some of stock files of system and add someones new and i wanna make a zip file for recovery so then i can simply install the OS from my recovery mod... and when i wanna make some upgrades i cam simply edit with a normaly archiver program like 7-zip, winrar, or powerarchiver or another program.. i wanna specify that i'm new in development on android
Click to expand...
Click to collapse
Rom jelly bean building recovery.u can wait . But i think u need use titanium backup. Backup data them flash new rom jelly bean
Sent from my Sh*t phone using Sh*t app Tapatalk 2
thanks i will try
EDIT: Not working the titanium backup cannot backup (in my case) the system files so i cannot have the final file

Categories

Resources