Who here is developer? i need to modify one nexus 4 for rom it's very simple what i have to modify but i still need a help i will be pleasurable if anybody offer for help me :victory:
Acfanderson said:
Who here is developer? i need to modify one nexus 4 for rom it's very simple what i have to modify but i still need a help i will be pleasurable if anybody offer for help me :victory:
Click to expand...
Click to collapse
what do you want to modify?
ricky310711 said:
what do you want to modify?
Click to expand...
Click to collapse
Is it very simple man i would like to replace launcher2.apk in the nexus 4 factory image to googlehome.apk becouse thia is TVE nexus 5 launcher. Van you help me to do this?
Acfanderson said:
Is it very simple man i would like to replace launcher2.apk in the nexus 4 factory image to googlehome.apk becouse thia is TVE nexus 5 launcher. Van you help me to do this?
Click to expand...
Click to collapse
Remove launcher2.apk and replace it with googles? i released a modpack for the s3 that includes the requirements, just pluck them from the package(i grant permission) and done
ricky310711 said:
Remove launcher2.apk and replace it with googles? i released a modpack for the s3 that includes the requirements, just pluck them from the package(i grant permission) and done
Click to expand...
Click to collapse
Yes this is what i have to do =D can you help me?
Acfanderson said:
Yes this is what i have to do =D can you help me?
Click to expand...
Click to collapse
Hahahaha why do you need help? The task is simple? Delete the launcher2.apk and grab all the apps from my modpack? Its easy!
ricky310711 said:
Hahahaha why do you need help? The task is simple? Delete the launcher2.apk and grab all the apps from my modpack? Its easy!
Click to expand...
Click to collapse
of course is simple, but i need to moodify the STOCK ROM .TGZ file (factory image) when i extract this file i have some file with .IMG extension and one of this files is System.IMG in this file haver the folder called Priv-apps and the old launcher is it there so i need to replace this apk and repack the rom to original FORM but i don't have idea for do this
Acfanderson said:
of course is simple, but i need to moodify the STOCK ROM .TGZ file (factory image) when i extract this file i have some file with .IMG extension and one of this files is System.IMG in this file haver the folder called Priv-apps and the old launcher is it there so i need to replace this apk and repack the rom to original FORM but i don't have idea for do this
Click to expand...
Click to collapse
Look up how to decompile .img files, im pretty sure you use unyaffs.exe to do it! I done it once but I dont remember how
ricky310711 said:
Look up how to decompile .img files, im pretty sure you use unyaffs.exe to do it! I done it once but I dont remember how
Click to expand...
Click to collapse
is it necessary have LINUX for use this method and my computer use WINDOWS and i can't run a virtual machine here
Acfanderson said:
is it necessary have LINUX for use this method and my computer use WINDOWS and i can't run a virtual machine here
Click to expand...
Click to collapse
No need for linux, also consider using my rom kitchen for windows, cygwin isnt needed!
ricky310711 said:
No need for linux, also consider using my rom kitchen for windows, cygwin isnt needed!
Click to expand...
Click to collapse
who will do this for me my computer is LOW and i don't have idea for do this =\ THX for try to help me =D
Related
This Thread is closed now
Visit new thread for more tutorials
Look link in my signature
Hi,
If you willing to learn to build custom ROM then you should have following things
Basic Knowledge about handling Command Promt
Basic Windows software knowledge
PC with all tools properly installed
And a mobile with bootloader unlocked
This tutorial is for "Windows OS (Windows 7 x64 in my case)" And Android 2.3+ OS (2.3.4 GingerBread in my case).
In this whole post you will learn How To -
Make custom ROM
Unpack .ftf packages
Use Cygwin
Setup Android Kitchen
Edit .apk files
Edit .jar files
Edit .9.png files
Rooting System
Writing scripts
Making flashable zips
Porting apk software
A2SD Techs
Editing build.prop
Editing init.d tweaks
Information of every customizable file
Making Hosts
apn configs
editing boot.img
converting png to rle or vice versa
more and more things to arrive
Tools Required :
Download the tools as per your need.Link is given in the name itself below....
Flashtool - For Flashing stock ROM if anything goes wrong (Download link in the installation tab of website)
apktool - for editing apk files and jar files (you can use APK manager but apktool is simpler)
Cywign - Linus Terminal For Windows
ROM Kitchen (ROM Development Tool) - For Cooking custom ROM + boot.img related tools - to edit boot.img files (Its inside the ROM Kitchen Files)
ftf-extractor - It will extract system files from the ftf package which you will use to make your ROM
fastboot - For flashing kernel to your device
DoomLords Easy Root Kit v4 - To Root Stock/Custom ROM
Demo META-INF Folder - For Making Flashable zip files
DroidExplorer - For advance tools regarding real time phone memory handling through windows.
Flashable Zip Demo - For those who want to just apply some stuffs through CWM
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Tools Overview
Introduction
This video gives information about the basic tools for ROM development.
Tools will be uploaded once the tutorial is completed.And the links will be posted in 1st post.This tutorial is for all kinds of devices.No matter what your device is ... you can use this tutorial...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Settings Up Cygwin And Kitchen
This video teaches you how to setup Cygwin And Kitchen.The softwares told in this video can be downloaded from first post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Setting Up Remaining Tools (ftf extractor,flashtool,fastboot etc)
This video teaches you how to setup all remaining files and folders...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Getting System Folder
Extracting .FTF FileThis tutorial guides you how to extract system folder from .ftf packages and get system folder for your custom ROM easily.
For this we have used ftf extractor.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Working With Android Kitchen
Getting StartedThis tutorial will tell you how to setup working folder in kitchen and how to root your ROM,change name,add busy box etc.
This is pre requirement on ROM development.So this video will continue after total customization is done !
After this video you can jump to next post to proceed with customization and then come back to setup to second video in this post so you can continue packing of system folder in flashable zip
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Finalizing ROMThis video shows you how to finalize making zip file of your ROM and use it for flashing.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Working With APKTOOL
Editing .APK Files
This video teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Editing .JAR FilesIn this next video you will get information on how to edit .jar files like services.jar using APKTOOL.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Customization Tutorials
Dealing With .9.png Files
This video teaches you how to edit draw9 i.e .9.png image files easily without any errors.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Reserved for more work 6
Reserved for more work 7
Reserved for more work 8
Reserved for more work 9
Would love this tutorial. Hope you complete it soon.
Really looking forward for this!
Android is based on Linux(and kind of java also) so you would need Linux and java knowledge also, if you want to customize the ROM throughly.
Sent from my WT19i using xda premium
I always knew buying a Mac was a bad idea :'(
Someguyfromhell said:
Android is based on Linux(and kind of java also) so you would need Linux and java knowledge also, if you want to customize the ROM throughly.
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
Yes thats true BUT this tutorial is for windows and it doesn't require any kind of expert knowledge.
Its damn simple to make a custom ROM
BudgyN1 said:
I always knew buying a Mac was a bad idea :'(
Click to expand...
Click to collapse
Not at all !!
You can Run windows 7 virtually on your Mac and use this tutorial
Isn't it cool ?
Its damn simple to make a custom ROM
Click to expand...
Click to collapse
Simple custom ROM, yes. But it is only MY IMO. You NEED Linux knowledge, you need some android knowledge, and you need to understand what are you doing to make really OUTSTANDING ROM.
respawned said:
Simple custom ROM, yes. But it is only MY IMO. You NEED Linux knowledge, you need some android knowledge, and you need to understand what are you doing to make really OUTSTANDING ROM.
Click to expand...
Click to collapse
Can you explain what linux knowledge you talking about ?
For example, in your v4, i saw remount tweak, and there was JOURNALISM removing for ext4 partition. But you noticed that it is only for /data /system? Our partitions are in yaffs2, so we don't have journal.
Knowledge comes with experimentation ... keep it up dude
I've been wanting to try the kitchen out to see if I can try deodexing and zipaligning etc on the stock touchwiz ROM I'm running.
Do you think it would work? (despite it being discontinued)
yes it works still, works on ics & jellybean (i use it myself to deodex and zipalign)
Theshawty said:
I've been wanting to try the kitchen out to see if I can try deodexing and zipaligning etc on the stock touchwiz ROM I'm running.
Do you think it would work? (despite it being discontinued)
Click to expand...
Click to collapse
Yes dxixda kitchen works but you will need to add another file with gs3 parameters in the edify_defs folder with name m0..still the updater-script does not work . It gives me errors in the installing boot.img stage.. . Anyways you can use the kitchen to create your rom and then package your rom manually using updater-script and update-binary from some other working rom.. Then sign it..
If you or anyone finds a solution to that problem do let us know..
:thumbup:
Sent from someone in the Milky Way
zoot1 said:
but you will need to add another file with gs3 parameters in the edify_defs folder with name m0
Click to expand...
Click to collapse
Where do I find such file?
zoot1 said:
Yes dxixda kitchen works but you will need to add another file with gs3 parameters in the edify_defs folder with name m0..still the updater-script does not work . It gives me errors in the installing boot.img stage.. . Anyways you can use the kitchen to create your rom and then package your rom manually using updater-script and update-binary from some other working rom.. Then sign it..
If you or anyone finds a solution to that problem do let us know..
:thumbup:
Sent from someone in the Milky Way
Click to expand...
Click to collapse
I have a file for myself will upload it here once I reach home.. On my way back.. Hopefully you can see what is wrong.. I tried to get help from wanam also but we could not find the problem..
Edit: here you go..put the m0 file in the edify_defs folder..check if you can find any problem with it..
Sent from someone in the Milky Way
zoot1 said:
I have a file for myself will upload it here once I reach home.. On my way back.. Hopefully you can see what is wrong.. I tried to get help from wanam also but we could not find the problem..
Edit: here you go..put the m0 file in the edify_defs folder..check if you can find any problem with it..
Sent from someone in the Milky Way
Click to expand...
Click to collapse
I don't know anything about stuff like that
I'm a complete noob and just wanna try to deodex and stuff
Theshawty said:
I don't know anything about stuff like that
I'm a complete noob and just wanna try to deodex and stuff
Click to expand...
Click to collapse
Deodexing will work just fine..no probs..some times you might get an error with one or two apps..just use the option to deodex a single app and you will be good to go..
:good:
Edit:
Most important change the api level to 16 before deodexing..
just make a copy of your zipped rom, drop it into the working folder, deodex the files you want to and then pull those files out of the working folder and drop them into the original rom zip folder (minus the original odexed files)
no need to change anything, no need to drop new files in or mess with update script
as you will use your existing update script/meta inf folder blah blah blah, it means you can say yes to the mods the kitchen wants to make as you will only be taking the deodexed files from there, nothing else
(does that make sense? - im guessing you will ignore this anyway like my previous post))
Darkside Agent said:
just make a copy of your zipped rom, drop it into the working folder, deodex the files you want to and then pull those files out of the working folder and drop them into the original rom zip folder (minus the original odexed files)
no need to change anything, no need to drop new files in or mess with update script
as you will use your existing update script/meta inf folder blah blah blah, it means you can say yes to the mods the kitchen wants to make as you will only be taking the deodexed files from there, nothing else
Click to expand...
Click to collapse
Thanks, will try this.
Darkside Agent said:
(does that make sense? - im guessing you will ignore this anyway like my previous post))
Click to expand...
Click to collapse
Uh, sorry about that. I totally missed your post!
Did you get it all sorted in the end?
Darkside Agent said:
Did you get it all sorted in the end?
Click to expand...
Click to collapse
Nah, I basically said "f*ck it and deleted the whole thing.
Gonna let someone else deal with zipaligning, deodexing and all that.
Theshawty said:
Nah, I basically said "f*ck it and deleted the whole thing.
Gonna let someone else deal with zipaligning, deodexing and all that.
Click to expand...
Click to collapse
You need Patience my friend..
zoot1 said:
You need Patience my friend..
Click to expand...
Click to collapse
One of many things I lack and will probably always lack.
Sorry for dragging out an old thread but I thought I would have a go with this. I have the kitchen installed, I have put I9300XXDLI5_I9300OXADLI5_I9300XXDLI5_BTU.zip in the original_update and have the m0 file in tools/edify_defs
I then try and extract the ROM but I get an error Error: No system folder found!
How can I not even get started? I must be missing something basic here!
Kangburra said:
Sorry for dragging out an old thread but I thought I would have a go with this. I have the kitchen installed, I have put I9300XXDLI5_I9300OXADLI5_I9300XXDLI5_BTU.zip in the original_update and have the m0 file in tools/edify_defs
I then try and extract the ROM but I get an error Error: No system folder found!
How can I not even get started? I must be missing something basic here!
Click to expand...
Click to collapse
IIRC, the archive file must be a tar archive containing at least a system.img.
Sent from my GT-I9300 using Tapatalk 2
Theshawty said:
IIRC, the archive file must be a tar archive containing at least a system.img.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Kangburra said:
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Click to expand...
Click to collapse
Extract the tar file and put the system.ext4.img and boot.img in the update folder.. Then Dxixda kitchen will recognize it..
Sent from the iPoop killer ==>>>
Kangburra said:
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Click to expand...
Click to collapse
Oh yeah, I forgot, the system.img must be coverted from yaffs img to an ext4 file. I believe the utility is called ext2fs (or something like it)
Dsixda's tool should provide that program anyhow.
Well I unzipped the ROM and untarred the md5 and then it at least got me started. I am now just working out what I can do and what I need to get. Thanks for your help.
[edit]Well I built the ROM and tried both the update and updater scripts but both fail. Will go and re-read the help. [/edit]
Kangburra said:
Well I unzipped the ROM and unatarred the md5 and then it at least got me started. I am now just working out what I can do and what I need to get. Thanks for your help.
[edit]Well I built the ROM and tried both the update and updater scripts but both fail. Will go and re-read the help. [/edit]
Click to expand...
Click to collapse
Well that is the problem which I am not to work out yet.. As Dxixda kitchen does not support s3
Best way it to use meta-inf folder from other rom..
Sent from the iPoop killer ==>>>
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
explain more
Help Building a CUSTOM(from STOCK ROM)
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
cheqolada said:
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
Click to expand...
Click to collapse
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Maybe this is what you search:
http://forum.xda-developers.com/showthread.php?t=1976412
yashwantpiduru said:
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
Click to expand...
Click to collapse
My Answer is for kagouro - Becouse i Don't see your post when I write.
If Your Phone is dedected in adb you can use logcat (adb logcat in windows cmd) if phone don't dedected in adb - flash recovery via fastboot, join in recovery , instal working rom and found bad files in rom (try add modyfication singly - first root, second busybox etc - in this metod you can see whad mod don't work - probably stupid method but work :cyclops
yashwantpiduru said:
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Click to expand...
Click to collapse
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
yashwantpiduru said:
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
Click to expand...
Click to collapse
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
yashwantpiduru said:
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
Click to expand...
Click to collapse
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for the heads up... I am gonna check the updater script.
sent from my oc'd incS
How can i unpack & repack system.img? I have no linux and I only have Windows Xp s3. I just want to create a custom rom for my device. I use kitchen but i have an error status 6. so i want to try repacking my system.img so that i can install my rom. thanks in advance!
badtreep said:
How can i unpack & repack system.img? I have no linux and I only have Windows Xp s3. I just want to create a custom rom for my device. I use kitchen but i have an error status 6. so i want to try repacking my system.img so that i can install my rom. thanks in advance!
Click to expand...
Click to collapse
Google is our friend , try to google compile and decompile apk tool + xda developers
Hit the thx button if i helped ya in anyways
i don't think the apktool is the solution with my problem. i want to decompile and recompile a system.img not an apk file.
badtreep said:
i don't think the apktool is the solution with my problem. i want to decompile and recompile a system.img not an apk file.
Click to expand...
Click to collapse
Oops my bad
Hit the thx button if i helped ya in anyways
it might help .....
http://forum.xda-developers.com/showthread.php?t=1477845
thebdcoder said:
it might help .....
http://forum.xda-developers.com/showthread.php?t=1477845
Click to expand...
Click to collapse
This needs Linux, as written in the Guide. But yes, installing Linux through VirtualBox in Windows will do the trick, on the other hand if you ask.
@ OP, this is a tool for windows. Check this out, and see whether it works.
[WINDOWS][TOOL]Android ICS JB EXT4 ImageFile Unpacker!!!
Hello!
Can someone explain to me what differences are between these roms? (see attachements):
I have MT6755 device and it's stock ROM has inside a boot.img, system.new.dat, system.patch, META-INF, etc..
And then I found a device which ROM has inside just boot.img, META-INF and system folder.
What's the difference?
If I want to port a custom rom, does my device need to have in a custom rom these files(system.new.dat, system.patch...) too, or can I use a "structure" of the ROM zip with just boot.img and system?
As far as i know You just need only System,boot.img and meta-inf also data if you wish to add an app as user
sohamsen said:
As far as i know You just need only System,boot.img and meta-inf also data if you wish to add an app as user
Click to expand...
Click to collapse
So if I want to port a ROM from device that has (system.new.dat, etc..), I need only to extract system.new.dat to get system folder and just use it?
Adreno306™ said:
So if I want to port a ROM from device that has (system.new.dat, etc..), I need only to extract system.new.dat to get system folder and just use it?
Click to expand...
Click to collapse
Ya
sohamsen said:
Ya
Click to expand...
Click to collapse
Ok, I will try it.
Thank you for your answer
Adreno306™ said:
Ok, I will try it.
Thank you for your answer
Click to expand...
Click to collapse
best of luck