how to add app. while porting a rom - OS Porting

does any one know how to add apps to a rom while porting and after that does i have to edit some think in build.prop please help me i want to port a rom for lg p690 and want some apps in it so please help me
guys if u found my question useful then thank me

It depends on some apps. Some are tied to system folders and some aren't.
Which ones are you trying to add?
And no need for build.prop edits
Sent from my HTC One X using xda premium

just download the .apk and with Esexplorer mount system as r\w and copt the apk to ^^system root/app^^ touch and hold copied apk and change permission and tick all apply and REBOOT!
WALLAH!!!!!!!!:victory:

i want to add you tube and camera.apks so what to do

J.E.abhishek kumar said:
i want to add you tube and camera.apks so what to do
Click to expand...
Click to collapse
just put them in your rom's /system/app folder

then can i flash my rom after pasting the apks

I want to change the kernel in Miui v5 How to do it?

the boot.img in rom zip is kernel so u can try to change it .just put the boot.img of any rom like for cm to cm and aokp toaokp.etc built for your device and had not tried it yet so try it on your wn risk and reply what happened

waleed78636 said:
just download the .apk and with Esexplorer mount system as r\w and copt the apk to ^^system root/app^^ touch and hold copied apk and change permission and tick all apply and REBOOT!
WALLAH!!!!!!!!:victory:
Click to expand...
Click to collapse
Wallah bro?
J.E.abhishek kumar said:
then can i flash my rom after pasting the apks
Click to expand...
Click to collapse
It depends if your roms format is correctly. Deleting something that is required by the system bootloops the rom.
What are you pasting them with?

i want learn too
Sent from my YP-G70 using xda app-developers app

J.E.abhishek kumar said:
does any one know how to add apps to a rom while porting and after that does i have to edit some think in build.prop please help me i want to port a rom for lg p690 and want some apps in it so please help me
guys if u found my question useful then thank me
Click to expand...
Click to collapse
You shouldn't be porting ROMs if you don't know this..

just drag your app to flashable zip rom
Sent from my SCH-i509 using xda premium

J.E.abhishek kumar said:
does any one know how to add apps to a rom while porting and after that does i have to edit some think in build.prop please help me i want to port a rom for lg p690 and want some apps in it so please help me
guys if u found my question useful then thank me
Click to expand...
Click to collapse
Just put the .apk file in the app folder and compress it but some application also need lib files with them
So make sure you also put them in lib folder
Sent from my HTC Explorer using xda premium

Tell me how framework edit? For add app while porting ROM??
Sent from my AD683G using xda app-developers app

Related

[Q ] apk file

hello guys, I have a problem, I put the launcher in system / app and it the works but also have assets files that serve to make it work good,in wich folder i put them??????
famonaco said:
hello guys, I have a problem, I put the launcher in system / app and it the works but also have assets files that serve to make it work good,in wich folder i put them??????
Click to expand...
Click to collapse
just install the apk thro es file explorer from the market... u dnt need to put it in system/app..
Leather|Face said:
just install the apk thro es file explorer from the market... u dnt need to put it in system/app..
Click to expand...
Click to collapse
thx for the answer but i put it in my custom rom and then i must rebuild with the kitchen so i would know where i must put the assets files , in wich folder in my build rom
thx in advance
i didnt get wat u mean... if u put the laucher in. Zip of the rom. . I think it wont work cuz all custom roms are signed by dev's
Sent from my Desire HD using XDA Premium App
Leather|Face said:
i didnt get wat u mean... if u put the laucher in. Zip of the rom. . I think it wont work cuz all custom roms are signed by dev's
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
i know i always sign my rom
The launcher works but without assets works no good ......

[Q] using bootanimation.zip instead of .qmg

Hey, is it possible to use bootanimation.zips instead of those .qmgs? I've got some pretty cool animations but idk how to use them on this phone...
swyped from my overclocked GT-I9100 using XDA Premium App
Does nobody know how to ?
swyped from my overclocked GT-I9100 using XDA Premium App
We have to wait for a Kernel which supports custom bootanimation.zip's
KLoNe1 said:
We have to wait for a Kernel which supports custom bootanimation.zip's
Click to expand...
Click to collapse
I don't really think that we have to use custom kernels... Isn't there any normal file we have to change to get it working..?
Swyped from my overclocked GT-I9100 using XDA Premium App
You can try dropping it in the usual place it will either work or not .
Modified QMG will don't know about zip.
System Media
jje
I know i'm not a newb at android
Ok never used .qmgs so how can i modify them? which programm do i have to use?
I prefer .zips instead of those .qmgs
/system/media
/system/media/video
There
Swyped from my overclocked GT-I9100 using XDA Premium App
PoTi_96 said:
I don't really think that we have to use custom kernels...
Click to expand...
Click to collapse
Yes you do. You can use this kernel : http://forum.xda-developers.com/showthread.php?t=1103399
PoTi_96 said:
I know i'm not a newb at android
Ok never used .qmgs so how can i modify them? which programm do i have to use?
http://quramsoft.com/solution_e/qmage.asp
jje
Click to expand...
Click to collapse
BlueScreenJunky said:
Yes you do. You can use this kernel : http://forum.xda-developers.com/showthread.php?t=1103399
Click to expand...
Click to collapse
I know CF and his things so no need for linking, i'm a active member but THANKS
Swyped from my overclocked GT-I9100 using XDA Premium App
JJEgan said:
PoTi_96 said:
I know i'm not a newb at android
Ok never used .qmgs so how can i modify them? which programm do i have to use?
http://quramsoft.com/solution_e/qmage.asp
jje
Click to expand...
Click to collapse
Thanks
But i can't find any programm there...
Am i blind?
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
PoTi_96 said:
JJEgan said:
Thanks
But i can't find any programm there...
Am i blind?
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
There is no program to get. It's a closed format, if you want edit their files - then you need to pay.
Click to expand...
Click to collapse
DuMaX said:
PoTi_96 said:
There is no program to get. It's a closed format, if you want edit their files - then you need to pay.
Click to expand...
Click to collapse
Oh but i read somewhere that there is a program to edit it...
Anyways thank you
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
well theres a way
guys theres no way to edit those .qmg formats.....but theres a way we can make our phones use zip formats.....this mod is for froyo and gingerbread.you can try on honeycomb and ics but follow the precautions given in the end:
1.go to system/bin folder....find the file named samsungani ,rename it to samsungani.bak.....
2.then find the file bootanimation in the same folder,rename it to samsungani...set its permissions as rwxr-xr-x.if you dont understand these permissions then simply check the permissions of any other file in the same folder and set the same permissions.
3.place your bootanimation.zip in system/media and set its permissions ---rwxr-x
4.now, when i did this on my phone,i entered a bootloop and even after my phone had booted properly,the custom bootanimation kept playing .thank god i have and external keyboard and when i opened it the screen orientation changed .now,the bootanimation was unable to cover the whole screen,so some part of the screen became visible, i used that part to go to system/bin/samsungani and i renamed it back to bootanimation,then i rebooted and there was no bootanimation
due to above problems i suggest u to use a bootanimation of the smallest possible size.that way ,even if u enter a bootloop the bootanimation will cover a small part of the screen and u will be able to revvert the changes .
actually ,gingerbread needs custom kernel to support the above mod,thats why i entered a bootloop.....all of us have different kernels so not all will encounter the same problem.....
please hit thanks button if i helped.......(really important ,otherwise the mod wont work
Simple method use a kernel that supports boot animation zip and place boot animation.zip in system/media folder job done .
jje
Thank you!
shredmatix said:
guys theres no way to edit those .qmg formats.....but theres a way we can make our phones use zip formats.....this mod is for froyo and gingerbread.you can try on honeycomb and ics but follow the precautions given in the end:
1.go to system/bin folder....find the file named samsungani ,rename it to samsungani.bak.....
2.then find the file bootanimation in the same folder,rename it to samsungani...set its permissions as rwxr-xr-x.if you dont understand these permissions then simply check the permissions of any other file in the same folder and set the same permissions.
3.place your bootanimation.zip in system/media and set its permissions ---rwxr-x
4.now, when i did this on my phone,i entered a bootloop and even after my phone had booted properly,the custom bootanimation kept playing .thank god i have and external keyboard and when i opened it the screen orientation changed .now,the bootanimation was unable to cover the whole screen,so some part of the screen became visible, i used that part to go to system/bin/samsungani and i renamed it back to bootanimation,then i rebooted and there was no bootanimation
due to above problems i suggest u to use a bootanimation of the smallest possible size.that way ,even if u enter a bootloop the bootanimation will cover a small part of the screen and u will be able to revvert the changes .
actually ,gingerbread needs custom kernel to support the above mod,thats why i entered a bootloop.....all of us have different kernels so not all will encounter the same problem.....
please hit thanks button if i helped.......(really important ,otherwise the mod wont work
Click to expand...
Click to collapse
Thank you very much!
It works on Samsung Galaxy note 2 but the dimensions of bootanimation.zip must be instead 720/1280 ยป 360/640.
Merry Christmas!

[REQ][HOWTO] Making your own battery mod?

People are using different rom's , some other are asking for specific mod etc
Could someone write some guide how to do it, to enlight those who are not aware ?
Take the framework-res.apk from your current rom and upload it to http://uot.dakra.lt/kitchen
Once uploaded go to battery mod and select the battery style u want and cook it.
When its cooked extract the framework-res.apk from the downloaded file and either replace it with root explorer or push it with adb back into the phone.
Sent from my GT-I9100 using Tapatalk
Locster126 said:
Take the framework-res.apk from your current rom and upload it to http://uot.dakra.lt/kitchen
Once uploaded go to battery mod and select the battery style u want and cook it.
When its cooked extract the framework-res.apk from the downloaded file and either replace it with root explorer or push it with adb back into the phone.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
This is what I know already, but this is not working and phone is keeping crashing
masi0 said:
This is what I know already, but this is not working and phone is keeping crashing
Click to expand...
Click to collapse
Depends of which rom you are running but if you use VillainRom I think you need to open your modded framework with 7-zip and replace "META-INF" directory with the one found in the original framework of your rom. This is needed to sign the file.
However I'm not sure you use VillainRom (where files must be signed) and I didn't use yet the kitchen ... but your feedback is usefull if you want to try ...
shaolin79 said:
Depends of which rom you are running but if you use VillainRom I think you need to open your modded framework with 7-zip and replace "META-INF" directory with the one found in the original framework of your rom. This is needed to sign the file.
However I'm not sure you use VillainRom (where files must be signed) and I didn't use yet the kitchen ... but your feedback is usefull if you want to try ...
Click to expand...
Click to collapse
I am using stock KE4
masi0 said:
I am using stock KE4
Click to expand...
Click to collapse
Ok so ignore what I said upper ... should be only for signature of the rom (not needed in stock roms).
Anyway ... if someone has the solution ...
I always made that on my own...
Open the decompiled .xml in the framework-res.apk, edit those lines, add my own battery.pngs and that was all...
I didnt test it on my sgs2... But it should be the same way to get it...
Swyped from my overclocked GT-I9100 using XDA Premium App
PoTi_96 said:
I always made that on my own...
Open the decompiled .xml in the framework-res.apk, edit those lines, add my own battery.pngs and that was all...
I didnt test it on my sgs2... But it should be the same way to get it...
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
could you tell which .xml to edit and what to add within the file?
I juz grab one of the batt mod out there and replace the .png files under /res/drawable-hdpi-v4 with the ones I want. guess its kind of a lazy way to do it=)
I have KE2 and get a "signature verification failed" error when trying to apply the UOT.zip file :-(
Anyone some idea how to get this applied?
Also my original framework-res.apk file doesn't have any folder called "/res/drawable-hdpi-v4" but the UOT file has!?
masi0 said:
could you tell which .xml to edit and what to add within the file?
Click to expand...
Click to collapse
I dunno exactly which one it was right now but I think the battery.xml somewhere in the first 3 or 4 folders...
sorry idk it anymore ... Long time no use for :/
Swyped from my overclocked GT-I9100 using XDA Premium App

[Q] [HELP NEEDED] accountsandsyncsetting.odex ODEX file

All:
I've accidentally deleted accountsandsyncseetings app using Titanium backup on my Galaxy-Y. To restore it, I've copied accountsandsyncseetings.apk at /system/app folder using 'root explorer', but I'm not seeing 'Account and Sync Settings' option in Settings yet.
After looking at /system/app folder, I realized that each apk has a corresponding odex file. Do I need the ODEX file for accountsandsyncseetings? If yes, where do I get it.
Information:
Model: GalaxyY (India)
Build: 2.3.6 Touchwiz
Thanks in advance.
srathi said:
All:
I've accidentally deleted accountsandsyncseetings app using Titanium backup on my Galaxy-Y. To restore it, I've copied accountsandsyncseetings.apk at /system/app folder using 'root explorer', but I'm not seeing 'Account and Sync Settings' option in Settings yet.
After looking at /system/app folder, I realized that each apk has a corresponding odex file. Do I need the ODEX file for accountsandsyncseetings? If yes, where do I get it.
Information:
Model: GalaxyY (India)
Build: 2.3.6 Touchwiz
Thanks in advance.
Click to expand...
Click to collapse
Yu shud backup ur current rom before editing system folders... yeah yu need odex file to make it work...
Sent from my GT-S5360 using xda premium
I can send you the odex file if you can wait for maybe half an hour. The file is on my pc so yeah.
Sent from my GT-S5360 using xda premium
Thanks
Silvane said:
I can send you the odex file if you can wait for maybe half an hour. The file is on my pc so yeah.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Please send it to me whenever possible.
Do I just need to copy it in /system/app and reboot my cell? Or are there any other steps involved?
Thanks.
srathi said:
All:
I've accidentally deleted accountsandsyncseetings app using Titanium backup on my Galaxy-Y. To restore it, I've copied accountsandsyncseetings.apk at /system/app folder using 'root explorer', but I'm not seeing 'Account and Sync Settings' option in Settings yet.
After looking at /system/app folder, I realized that each apk has a corresponding odex file. Do I need the ODEX file for accountsandsyncseetings? If yes, where do I get it.
Information:
Model: GalaxyY (India)
Build: 2.3.6 Touchwiz
Thanks in advance.
Click to expand...
Click to collapse
http://www.mediafire.com/?8ehai7v696bs0e1
srathi said:
Please send it to me whenever possible.
Do I just need to copy it in /system/app and reboot my cell? Or are there any other steps involved?
Thanks.
Click to expand...
Click to collapse
Ah there, someone uploaded.
Copy to system/app, fix permissions to rw-r--r-- then reboot.
Specify
Sent from my GT-S5360 using XDA App
Specify what
Sent from my GT-S5360 using xda premium
Silvane said:
Ah there, someone uploaded.
Copy to system/app, fix permissions to rw-r--r-- then reboot.
Click to expand...
Click to collapse
Thanks a lot.
However, even after copying .apk and .odex files in system/app directory and setting up the permissions and rebooting, I still do not see 'Accounts and Sync Settings' in my Settings menu. I've downloaded the apk from a spreadsheet provided on xda-forums for Galaxy Y.
Please look at the attached screenshots and help me to get this setting back.
Thanks a lot in advance for your help.
Silvane already told. If you want too much specifics - download the odex file and copy it to your sd card. Now open root explorer and select rw mode on top. Now goto sd card and find where you kept the odex and copy it. Now go back and open system/app and paste it here. And i assume you have the apk of it already in the system/app folder. Now restart. If it does not come, make a cwm backup (you must have upto 300 mb of free space - it is advised but 200 will also do). After backup you can restore. You will get it back.
Sent from my AURORA ULTRA GT-S5360 through XDA Premium Customized by Androhacker Xavier
Try my method of backup and restore i have given above. It might work.
Sent from my AURORA ULTRA GT-S5360 through XDA Premium Customized by Androhacker Xavier
srathi said:
Thanks a lot.
However, even after copying .apk and .odex files in system/app directory and setting up the permissions and rebooting, I still do not see 'Accounts and Sync Settings' in my Settings menu. I've downloaded the apk from a spreadsheet provided on xda-forums for Galaxy Y.
Please look at the attached screenshots and help me to get this setting back.
Thanks a lot in advance for your help.
Click to expand...
Click to collapse
Looks like I need to attach JPEG screenshot. Please find them here.
And press the thanks button if it works! ( even if it dont! I have given time to this! )
Sent from my AURORA ULTRA GT-S5360 through XDA Premium Customized by Androhacker Xavier
Androhacker said:
And press the thanks button if it works! ( even if it dont! I have given time to this! )
Sent from my AURORA ULTRA GT-S5360 through XDA Premium Customized by Androhacker Xavier
Click to expand...
Click to collapse
Of course, I press the Thanks button to anyone who has helped me here. I truly appreciate it.
Androhacker said:
Silvane already told. If you want too much specifics - download the odex file and copy it to your sd card. Now open root explorer and select rw mode on top. Now goto sd card and find where you kept the odex and copy it. Now go back and open system/app and paste it here. And i assume you have the apk of it already in the system/app folder. Now restart. If it does not come, make a cwm backup (you must have upto 300 mb of free space - it is advised but 200 will also do). After backup you can restore. You will get it back.
Sent from my AURORA ULTRA GT-S5360 through XDA Premium Customized by Androhacker Xavier
Click to expand...
Click to collapse
Thanks Androhacker! I've followed all the steps mentioned above except 'cwm backup and restore'. I'm not sure what it is but I'll try to google it.
Again, thanks!
srathi said:
Thanks Androhacker! I've followed all the steps mentioned above except 'cwm backup and restore'. I'm not sure what it is but I'll try to google it.
Again, thanks!
Click to expand...
Click to collapse
It means to make a backup from clockworkmod and then restore it from the same
hell_lock said:
It means to make a backup from clockworkmod and then restore it from the same
Click to expand...
Click to collapse
Thanks. I've tried my best to google it but I can't find cwm for Galaxy Y. I don't see it in the list of supported devices on cwm website.
Please point me to the instruction page for installing cwm. I'm sorry for the barrage of questions, but I'm very much new with Android development.
Well cwm for sgy is just scattered all over the forum lol. sorry I don't have a specific link but it's easy to find. :x
Btw I think the problem is the apk. It might not be for SGY. Because that spreadsheet isn't for SGY specifically. Ask someone to upload one for you. Can't get it myself. On phone again. :x
Oh and make sure the apk is from stock, not deodexed, to anyone who wants to help and upload for him.
Sent from my GT-S5360 using xda premium
Silvane said:
Well cwm for sgy is just scattered all over the forum lol. sorry I don't have a specific link but it's easy to find. :x
Btw I think the problem is the apk. It might not be for SGY. Because that spreadsheet isn't for SGY specifically. Ask someone to upload one for you. Can't get it myself. On phone again. :x
Oh and make sure the apk is from stock, not deodexed, to anyone who wants to help and upload for him.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
You might have been right but there is no apk file given. We say that he should use only the odex not the apk.
Sent from my AURORA ULTRA GT-S5360 through XDA Premium Customized by Androhacker Xavier
srathi said:
Thanks. I've tried my best to google it but I can't find cwm for Galaxy Y. I don't see it in the list of supported devices on cwm website.
Please point me to the instruction page for installing cwm. I'm sorry for the barrage of questions, but I'm very much new with Android development.
Click to expand...
Click to collapse
go to the page of any rom... you will find the cwm at the end.. we hav a port of cwm thats y u culdnt find it

owner info

hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
saltalabanca said:
hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
Click to expand...
Click to collapse
i believe spacecaker have that guide sir
just search his name and you can change your name in lockscreen too
saltalabanca said:
hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
Click to expand...
Click to collapse
1. Decompile framework res.apk
2. Go to res/values/string.xml
3. Edit with notepad++
4. Find this : Draw pattern to unlock
5. Replace with ur name
Note: This'll make the Draw pattern to unlock into ur name
thanks sir, before school i try do this.
thanks for two
Sent from my GT-S5360L using XDA Free mobile app
GalKill said:
1. Decompile framework res.apk
2. Go to res/values/string.xml
3. Edit with notepad++
4. Find this : Draw pattern to unlock
5. Replace with ur name
Note: This'll make the Draw pattern to unlock into ur name
Click to expand...
Click to collapse
when i go to res dont find values
saltalabanca said:
when i go to res dont find values
Click to expand...
Click to collapse
you didnt decompile the apk then - you probably just unzipped it
decompiling means you must use apktool to decompile the apk using baksmali
see my thread in my signature for apktool guide
wehn i decompile the apk with apk manager 5.0 cant view the value carpet help me
saltalabanca said:
wehn i decompile the apk with apk manager 5.0 cant view the value carpet help me
Click to expand...
Click to collapse
like I said use apktool and read my thread for the guide - link in my signature
i search with root explorer the framework-res.apk and i send the apk from gmail for hotmail and download with my computer. this are ok?
okay, i do all, how to add the newframework-res.apk to mi phone??
saltalabanca said:
okay, i do all, how to add the newframework-res.apk to mi phone??
Click to expand...
Click to collapse
rename it back to framework-res.apk and put in a flashable zip and flash in cwm with system mounted
cwm flashable template is
http://d-h.st/sr9
just open with winrar and put your framework-res.apk in system/framework
marcussmith2626 said:
rename it back to framework-res.apk and put in a flashable zip and flash in cwm with system mounted
cwm flashable template is
http://d-h.st/sr9
just open with winrar and put your framework-res.apk in system/framework
Click to expand...
Click to collapse
i sign the apk or no sign?
cant sign with drag2sign
saltalabanca said:
i sign the apk or no sign?
cant sign with drag2sign
Click to expand...
Click to collapse
no need to resign if you havent changed the androidmanifest.xml and dont use drag2sign to sign system apps - use zipsigner from the playstore
marcussmith2626 said:
no need to resign if you havent changed the androidmanifest.xml and dont use drag2sign to sign system apps - use zipsigner from the playstore
Click to expand...
Click to collapse
i flash the zip but nothing change :/
thanks of all mods
saltalabanca said:
i flash the zip but nothing change :/
thanks of all mods
Click to expand...
Click to collapse
did you mount system before you flashed the zip?
in cwm goto mounts and storage and mount system (if system is mounted it will display "unmount system")
remember if you are using a cm kernel like biels kernel you have to unmount system and remount it so its best to just unmount it and remount anyway just to make sure

Categories

Resources