I'm looking to create my version of a TW ROM using Evil1arts stock ROM as a base ( http://forum.xda-developers.com/showthread.php?t=2274795). After I add all the MODs, Debloat, etc. How do I add a custom kernel and set up the meta Inf folder so it will boot. (Probably just updater script but not sure)
Sent from my Tardis
ArianaGrande said:
I'm looking to create my version of a TW ROM using Evil1arts stock ROM as a base ( http://forum.xda-developers.com/showthread.php?t=2274795). After I add all the MODs, Debloat, etc. How do I add a custom kernel and set up the meta Inf folder so it will boot. (Probably just updater script but not sure)
Sent from my Tardis
Click to expand...
Click to collapse
its a long explenation but iam gonna be short and say you can take any script from the other rom devs... read it and understand easly whats going on and when it comes to using you can just ask him for it its the same script in all anyway only some small changes thats it
ArianaGrande said:
I'm looking to create my version of a TW ROM using Evil1arts stock ROM as a base ( http://forum.xda-developers.com/showthread.php?t=2274795). After I add all the MODs, Debloat, etc. How do I add a custom kernel and set up the meta Inf folder so it will boot. (Probably just updater script but not sure)
Sent from my Tardis
Click to expand...
Click to collapse
This belongs in the Q&A section. Here's a crash course........
Look at an existing ROM, ex: the one you listed. Extract all the folders in to one new folder on your desktop. Add your mods, remove your bloat, edit the build.prop. When you are satisfied, drop the boot.img (kernel) you want to use into that same folder and zip it. That zip becomes your ROM, the updater script is already there and I'm pretty sure Evil said it's cool to use his ROM as a base. So.......make sure you give proper credits for work you used, and people who helped you *wink wink*
**Do not zip the folder itself, but rather the contents. I included a screen shot of my ROM in a plain folder before I zip it for mass consumption
Thank you guys fire the help. And I'll give proper credit, where credit is due.
Sent from my Tardis
Related
All,
per positive response below is a link to a copy of ivanmmj Eris_Official 1.0 ROM that I have fully deodexed. This is more meant for devs for continued play time, but it is a flashable ROM. PLEASE NOTE that ivanmmj himself looks to be coming out with the next version of Eris_Official 1.0 per his thread http://forum.xda-developers.com/showthread.php?t=652044.
Hope this is helpful and Enjoy
Link: REMOVED FROM HOST SERVER
P.S. please let me know of any issues as this is my first full deodex also I would like to encurage using this tread to exploring moding some of the system files on Eris ROM builds as it has been fun to tweak things
P.P.S. If you want the Zanfer kernel let me know and I will look at adding it in however ivanmmj's new version should have it...
what is Deodex?
I'm definitely interested, but I also think Ivan is working on the same project himself. I'm pretty sure his "1.1" is deodexed and has Zanfur's kernel. Not sure what other changes he has in mind, but you might want to check with him before posting since you'll end up being the one getting all the PM's from people wanting help. ;-)
Yes please I'm looking for exactly that
-------------------------------------
Sent via the XDA Tapatalk App
That would be awesome.
Sent from my Eris using XDA App
BTW jcase's plain jane1.0 has zanfur overclocking kernel.....
i dont know what you think but it might be a better platorm than ivanmmjs
a deodexed version of that would be tight....
kernels are easy to compile and swap out, a different kernel isnt going to influence the build at all
i always seem to get better battery life from the non oc'ed kernel.
Morkai Almandragon said:
what is Deodex?
Click to expand...
Click to collapse
Yes, what does that mean ?
hallstevenson said:
Yes, what does that mean ?
Click to expand...
Click to collapse
it means you have a classes.dex file rather than a .odex file
it makes things easier, its also possible to metamorph these builds and its possible to install a deoexed app on multiple platforms.
anonomouse said:
it means you have a classes.dex file rather than a .odex file
it makes things easier, its also possible to metamorph these builds and its possible to install a deoexed app on multiple platforms.
Click to expand...
Click to collapse
Means I can finally modify Rosie.apk to my liking.
hallstevenson said:
Yes, what does that [deodex] mean ?
Click to expand...
Click to collapse
A more experienced developer can add more but a few quick basics:
.odex files are precompiled class flies that correlate to a .apk or .jar file. In an odex ROM an .apk/.jar file will not function without it's correlated .odex.
a deodex build takes all of the .odex files converts them to a classes.dex and puts them into the .apk or .jar file package
deodex ROM are easier to mod because each .apk or .jar is a "complete" package and can be more easily decompiled and ported (i.e. you do not have to worry about the .odex files)
A deodexed build requires less space in /system, but more space in /data
A deodexed build requires a longer initial boot because they must regenerating those odex files from the dex files in the .apks/.jars and save them to /data/dalvik-cache
Thats a quick list of what I know
odex only help speed up app loading time and first time boot. Think of this as Windows' prefetch.
If you want to re-create odex for apk for porting, etc... I suggest only do this to /system/app not /data/app because when you do update from market and your app will break, unless you wipe out dalvik-cache.
zach.xtr said:
This is more meant for devs for continued play time, but it is a flashable ROM.
Click to expand...
Click to collapse
Would this be ok for an every day ROM? Or should it just be used by dev's as a base ROM?
Hey guys I've been testing this for Ivan. same thing he has a version deodexed.
I edited this
http://forum.xda-developers.com/showthread.php?t=664951
to work for this rom. which works great, but I get an error of
com.htc.bgp because of it, does anyone have any idea why?
Romparoo said:
Would this be ok for an every day ROM? Or should it just be used by dev's as a base ROM?
Click to expand...
Click to collapse
Technically it is fine as an everyday ROM, however I do not recomend using it for such because it is not support and will have no additional features over ivanmmj origional 1.0.
So I guess, yes it meant to be used as a base ROM or "spare parts" for devs.
BlazeD OnE said:
Hey guys I've been testing this for Ivan. same thing he has a version deodexed.
I edited this
http://forum.xda-developers.com/showthread.php?t=664951
to work for this rom. which works great, but I get an error of
com.htc.bgp because of it, does anyone have any idea why?
Click to expand...
Click to collapse
Someone else did this, on androidforums.com. I haven't replied to his posting, but it's in like page 19 of the 'show off your UI layout' thread there. I'm working on a modified Rosie.apk right now, as soon as I get this de-odex'd Ivan's on my phone running. Titanium backup here I come.
FYI, I was able to flash the deodexed version over the original Eris_Official 1.0 Alpha without having to do a full wipe (just wiped dalvik-cache). Naturally, I went back and re-flashed Zanfur's overclock kernel after that.
How to install themes and kernels in G3. Can someone make a video Please.
Sorry if this might come off as rude, but why would somebody make a video for you? Why would somebody do that, if you (obviously) weren't willing to look for the info yourself? Go to the themes section, you are bound to find info on changing themes, go to the development section and open a custom kernel thread, you are bound to find info on flashing kernels.
vimalaug07 said:
How to install themes and kernels in G3. Can someone make a video Please.
Click to expand...
Click to collapse
go to the theme sections for more details..!!
you need your phone to be rooted to install themes..!!
many themes have different requirement and procedure.!!
generally you are required to replace the framework_res and tw_framework files in system/framework folder using root explorer..
you can also try the one click theme changer and g3 theme changer apps!!
more info in the themes sections.!!
you can install kernals by flashing them via odin!!!
more info in development section!!!!
you can always refer this link too!! http://forum.xda-developers.com/showthread.php?t=858583
this is there in stubborn_donkey's signature!!
and always try to search in the sections for your answer.. if you still dont get any then you post a new thread..!!!
Thanks guys for the reply. If there was a video it would be nice. I tried to install theme by using cmw and install zip from sd card, then my phone restarts and gets stuck in that and i have to flash the os again.
to install a theme just use this
to install a kernel download the kernel whta you want and flash it with odin, normaly it comes in a tar file including a zImage inside
vimalaug07 said:
Thanks guys for the reply. If there was a video it would be nice. I tried to install theme by using cmw and install zip from sd card, then my phone restarts and gets stuck in that and i have to flash the os again.
Click to expand...
Click to collapse
That was not the right way. U need to download a theme and replace the respective files
Acid lestitious 2.0. Fugumod 2.2
It's quite simple.
1. Kernels come in .tar packages, and you need only to flash them on your phone with ODIN as one package. They will overwrite your current kernel.
2. Themes come in .apk files. You should put them in /system/framework/
For that, I use adb (android shell).
But if you asked that question, you probably have an odexed rom, which makes it nearly impossible to use themes, so read around on the forums first!
jihaa said:
It's quite simple.
1. Kernels come in .tar packages, and you need only to flash them on your phone with ODIN as one package. They will overwrite your current kernel.
2. Themes come in .apk files. You should put them in /system/framework/
For that, I use adb (android shell).
But if you asked that question, you probably have an odexed rom, which makes it nearly impossible to use themes, so read around on the forums first!
Click to expand...
Click to collapse
it would be really appreciated if you can make a tutorial on how to use adb!!
Thanks for the explanation dude
Sent from my GT-I5800 using XDA App
Easiest and best way to port CM7,CM9,CM10 Based ROMs to HTC Aria/Intruder/Gratia
Code:
I do not guarantee any successful porting.
I am not responsible for [B]bricked devices, dead SD cards, or a broken device[/B].
[B]YOU[/B] are choosing to make these modifications,
and if you point the finger at me for messing up your device,
I will laugh at you.
->Copied from some xda thread.
*****
But a rom, no matter how bad should *not* do any physical non recoverable harm to your device,flashing a rom or restoring a nandroid backup via cwm *should* immediately fix any problems what so ever.
And I will try to help in any ways I can.
I am NOT a developer, I can not code,compile,etc, I am only an android enthusiast with half a brain able to follow specific instructions.
This guide is actually somewhat a good combination of various "how to port roms"
guides found here on xda suited and very slightly modified for our beloved Aria.
Thanks to all of those threads and their writers.
Click to expand...
Click to collapse
Actual Tutorial starts here:
I will try to make this guide as straight forward as possible.
PORT ROM:
First you need to figure out what rom you are going to be porting.
For our Aria, The rom you want to port should belong to a device that has:
HTC brand (optional but recommended)
A ArmV6 CPU (VVVV important)
A HVGA Resolution (optional, any mdpi should do,if not just open the system apk files using 7zip and resize all the BIG images.)
The Rom needs to be:
CM7 BASED OR CM10 BASED OR CM9 BASED.
The full zip size less than 150MB(Recommended).
What Does Port Mean:
This simply refers to the rom you will be trying to port.
Recommended device to port from is the HTC Wildfire S a.k.a Marvel.
But any other device
BASE ROM:
What Does Based Mean:
It means that the rom should have similar sources and stuff,
Meaning you can only attempt to port a android 2.3 rom if you already have a 2.3 rom on the device.(In our case cm7).
So,
For porting 2.3 roms, chose cyanogenmod 7.2 as BASE.
For porting 4.0 roms, chose cyanogenmod 9 as BASE.
For porting 4.1 roms, chose cyanogenmod 10 as BASE.
ETC... I hope you get the point.
:fingers-crossed:
Thing you will need:
A good Zip extractor and compressor. (I use 7zip, its free. If you have winrar or something else,it will also do.)
Notepad++ (This thingy is awesome! And you need it for some stuff)
Android SDK(Not the whole thing, just adb zip from our sticky thread will do.)
Some Basic Android Knowledge, Root knowledge.
Mostly Common Sense.
Click to expand...
Click to collapse
Step 1:
Extract our device rom zip and name the folder AriaRom,
Extract our Port rom zip and name the folder PortRom.
Step 2:
Delete the following folders on the AriaRom/system folder:
App(You can keep some non conflicting indepent apps if you want)
Framework
Fonts
Media
Step 3:
Go to
Code:
PortRom folder/system
and copy:
App(You can keep some non conflicting indepent apps if you want)
Framework
Fonts
Media
and then paste them to AriaRom/system.
Step 4:
You need to open these two folders side by side(on windows, open both folders then right click on the task bar and click "Tile windows vertically").
The two Folders are:
Code:
[LIST]
[*]AriaRom/system/etc
[*]PortRom/system/etc
[/LIST]
In
Code:
etc/permission
folder copy all the permissions files in PortRom to your AriaROM folder except
Code:
platform
handheld_hardware
Then open init.d Folder in AriaRom and Delete Everything except
Code:
banner
and then copy all the files inside init.d folder of PortRom to init.d folder of AriaRom.
Step 5:
Now
Code:
AriaRom/system/buid.prop
and
PortRom/system/buid.prop
files using Notepad++
On AriaRom Build.prop make changes as you wish.
Code:
[LIST]
[*]ro.build.id=
[*]ro.build.display.id=
[*]ro.build.date=
[*]ro.modversion=
[/LIST]
Copy and replace these values from PortRom buildprop to Aria rom buildprop.
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
Also Copy anything you Find Extra and important-ish in ADDITIONAL BUILD PROPERTIES using common sense.(Not much major stuff, but if bootlooped, copy whole thingy.)
IMPORTANT Step of commons sense:
Open up both
Code:
META-INF/com/google/android/updater-script
using Notepad++.
Compare AriaRom AND PortRom line by line(on two tabs in notepad++ easily done).
Copy extra/additional lines from PortRom which are not present in AriaRom to aria roms updater script.
Step 6:
If You find any extra file or folder in system folder of PORTrom than copy them to your Ariarom system folder.
Finally, zip the
Code:
META-INF
system
boot.img
data(if exists).
folders/files togather and use "normal" compression if asked.
Name the zip to whatever you want, and walla you have successfully ported the rom!
:fingers-crossed:
Doing the above steps should land you a pretty solid rom, as solid as the base rom.
Still,Incase of problems:
If the ported rom does not boot:
Stuck at boot screen
Bootlooping
Then copy system/lib/
Code:
libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so
files from PortRom to AriaRom system/lib.
It should boot, if it still doesnt, check the above steps and find out what you did wrong.
Common reasons could be:
Build.prop mess up
Updater Script mess up
Forgot to delete or copy file
After it boots,
Everything that worked on Base rom, should work on Ported.
Every problem on Base Rom will exist on Ported.
In case of root related problems(settings not being saved,system app FCs,etc), install a root app like titanium backup or something and check if it works,if it doesnt its surely root issue,just download and flash latest superuser zip.
If some FC,Port rom funciton not working,etc issues appear, you need to decompile framework-res.apk using apktool and change device specific xml files to ours.This is a part where I have the most trouble and suck at.
Just search xda for
How to Logcat,
Click to expand...
Click to collapse
this will help you to find the problems and search xda to solve them. Ask me if you want on this thread, & I will try to help, but I dont think I will be able to help much as I have very limited knowledge on compile De-compile stuff.
If someone is good at framework-res and framework decompile & recompile stuff, please help us.
Click to expand...
Click to collapse
Thanks for reading this,I hope you port over some awesome roms to our device.
:highfive:
I just tried to port the PACman ROM from Samsung Galaxy Ace to the Aria, but I am stuck at boot screen after following your tut, which is awesome by the way. Could you post a working build.prop and updater-script for this ROM? Maybe this will help me get it booting...
dansou901 said:
I just tried to port the PACman ROM from Samsung Galaxy Ace to the Aria, but I am stuck at boot screen after following your tut, which is awesome by the way. Could you post a working build.prop and updater-script for this ROM? Maybe this will help me get it booting...
Click to expand...
Click to collapse
That's an Armv7 device.
Still I'm gonna download it & try.
In the meantime take a look at bootclass path.
Why are SMARTphones soo... Freaking Dumb?
sifat3d said:
That's an Armv7 device.
Still I'm gonna download it & try.
In the meantime take a look at bootclass path.
Click to expand...
Click to collapse
I don't think so... the Samsung Galaxy Ace with device number S5830 should be Armv6, but in the Galaxy Ace Forums there is also a place for the Galaxy Ace II, which is Armv7. Maybe that's a bit confusing. But nims11 PAC-Man Rom is definitely for the Armv6 device.
hey man thnx for the tut but i tried porting the paranoid rom like you but i keep getting this error while flashing ( set_perm: some changes failed) i think it have something to do with the updater-script, could u upload the build.prop and the updater-script for me ? and btw why do we need the sdk ??
---------- Post added at 02:43 AM ---------- Previous post was at 02:03 AM ----------
actually now i tried not to change the updater-script and the rom flashed but stock at boot pleaaase help me i really want to try the paranoid rom (ive been trying to port the "pa_marvel-2.54-beta1-08NOV2012-164651" )
rami.ejle said:
hey man thnx for the tut but i tried porting the paranoid rom like you but i keep getting this error while flashing ( set_perm: some changes failed) i think it have something to do with the updater-script, could u upload the build.prop and the updater-script for me ? and btw why do we need the sdk ??
---------- Post added at 02:43 AM ---------- Previous post was at 02:03 AM ----------
actually now i tried not to change the updater-script and the rom flashed but stock at boot pleaaase help me i really want to try the paranoid rom (ive been trying to port the "pa_marvel-2.54-beta1-08NOV2012-164651" )
Click to expand...
Click to collapse
Here you go,
http://pastebin.com/62hbaQwL
on THAT ROM,
IF you follow the guide & use my posted script,
100% assurance rom will boot and work. except cm
The sdk is for getting the logcat when a problem occurs.
Why are SMARTphones soo... Freaking Dumb?
Nice tut very well done
XDA Moderator
dansou901 said:
I don't think so... the Samsung Galaxy Ace with device number S5830 should be Armv6, but in the Galaxy Ace Forums there is also a place for the Galaxy Ace II, which is Armv7. Maybe that's a bit confusing. But nims11 PAC-Man Rom is definitely for the Armv6 device.
Click to expand...
Click to collapse
In that case you'll need to unpack both boot.img aka the kernel , fix bootclass path in init.RC by replacing it with the value from port roms init.rc.
Ill try to port that rom soon and upload a fixed boot.img (if I can get it to boot),if you don't beat me to it. it looks cool.
Why are SMARTphones soo... Freaking Dumb?
Bootclasspath is the same on both roms. So there must be a mistake in updater-script and / or build.prop. I've just messed up my updater-script, I guess, so I'll make a new one and post it later together with the build.prop.
I got this pac rom booting & everything operational except per app dpi(exists in port rom).
This rom works with the guide.
http://forum.xda-developers.com/showthread.php?t=2118567
Why are SMARTphones soo... Freaking Dumb?
I'll try this and let you know if it worked.
Hi guys,
If you only want per app dpi,persistent apps,etc
Try this on winsuk bros cm10
http://forum.xda-developers.com/showthread.php?t=1574401
Its quite good.
...Devided by zero
dansou901 said:
I'll try this and let you know if it worked.
Click to expand...
Click to collapse
btw,
did it work?
...Devided by zero
Sadly, I didn't get any time to try so far. But on Sunday I lost my Gratia, so I won't continue this project; I've upgraded to the HTC Desire X.
dansou901 said:
Sadly, I didn't get any time to try so far. But on Sunday I lost my Gratia, so I won't continue this project; I've upgraded to the HTC Desire X.
Click to expand...
Click to collapse
That's a shame. Similar thing happened to me. I lost my Aria right before i had a chance to try this, and upgraded to the Nexus 4.
will this method work on cm10.1 and this http://forum.xda-developers.com/showthread.php?t=2297580 ??
Could work, just try... I would do it if I still had the phone...
dansou901 said:
Could work, just try... I would do it if I still had the phone...
Click to expand...
Click to collapse
rami.ejle said:
will this method work on cm10.1 and this http://forum.xda-developers.com/showthread.php?t=2297580 ??
Click to expand...
Click to collapse
It should pretty much work,
If it doesnt, just send me the
Updater script
Build.prop
files of BOTH roms, And I'll have a look.
I wouldve tried myself but my aria has no network and has random reboot issues due to falling hard.
Hi all.
I open this thread about how i theme my OMEGA V20 LSD ROM only for people who are using an LSD ROM (works with LSJ,LS8 or >) in 2nd ROM.
Before continuing reading my speech, You have to follow this uniq thread
http://forum.xda-developers.com/showthread.php?t=2120514
to understang what i'm talking about.
If you have understand the thread, you can adjust and use my ZIPs as you want.
(I use the thread mentioned with OMEGA V20 LSD which i REPACK for good use in 2ND ROM.)
I Assume that my ZIPs THEMER are working only in this configuration.
What about this special configuration with a little explaination :
due to the volume of LSJ,LS8,LSD rom,your system have to be organize like that :
\system\app\*.apk
\data\app\app\*.apk (which contain apks system which normally are in \system\app\ but in our case, they are
symlinked in \system\app\*.ln so we have gain place in partition \system\ , also *.apks and *.ln are
put with the good rights.
So if you have this configuration you can use my ZIP and in case modified them before flash if your APKs system are put in <> forders from mine.
I have to modify installtheme.sh and updater-script too.
You can see some example here too :https://www.youtube.com/watch?v=cCpwfLOP4As
some other interesting screenshot on pages http://paymadman.blogspot.fr/2013/03/theme-pour-omega-v20-lsd.html
and http://paymadman.blogspot.fr/2013/02/omega-v20-lsd-orange-ou-vert.html
If i make a mistake in creating thread here, inform me to help me too.
Thank's for reading until here and hope you have also understand my poor school english we learn in France and excuse it
All my ZIP here or here always updating
Be careful
Sometimes flashing my ZIP take very very long time but dont be affraid, it's not freeze like windows XP before blue screen , you have to be patient during flash, that's all
If someone make Omega(or any other stock rom) looks like a CM10.1 that would be an achievement for sure.
Nice info man.
AW: THEMES for LSxxxx 4.1.2 only in 2nd ROM
Well done Mate
Sent from my GT-I9100 using xda app-developers app
some other repack theme
ohwarumbloss said:
Well done Mate
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
All thank's to you Man, for your thread too
After http://forum.xda-developers.com/showthread.php?t=2172236 Liverpool Theme I repack for Omega v20 2nd Rom,
I test this from
http://foro.elrincondelmovil.com/ro...oid_4-1-2_xxms1-adesirello-y-sherpa47-243053/
New repacked MODS from ApriliaM3 and Spannaa
Regarding these 2 links
http://d-h.st/users/ApriliaM3/?fld_id=13203#files
and
http://goo.im/devs/Spannaa/SGSII_VRThemes/JellyBean_VRThemes/
I think some NeatRom users and others LSN JB 4.1.2 users that manage a 2nd ROM should have a look here , i share some repack i just finish now.
Thanks to waste time to test them
And Thanks ApriliaM3 and Spannaa for their great great works .
Guys Help me Update-binary I have made many mod many roms but i don*t how to make Update binary Pls Dont Say Search before pisting i need proper Guide If u help me i l give u thanks:thumbdown::thumbup:
This is about the 3rd time iv told you now
To start off with take the update binary from a base custom rom - if stock use a stock custom rom and if cm7 use percys rc update binary
with update script again take one from a custom rom base and edit it with your rom details and anything extra you may need to add or change
You may find the following threads helpful
Edify Script Language
How To Make A Custom Rom
Making Flashable ZIPs, EDIFY Script, ZIP Signing & Key Creation
D4 Update Zip Maker v1.2r1 - Make update.zip with some clicks!
marcussmith2626 said:
This is about the 3rd time iv told you now
To start off with take the update binary from a base custom rom - if stock use a stock custom rom and if cm7 use percys rc update binary
with update script again take one from a custom rom base and edit it with your rom details and anything extra you may need to add or change
You may find the following threads helpful
Edify Script Language
How To Make A Custom Rom
Making Flashable ZIPs, EDIFY Script, ZIP Signing & Key Creation
D4 Update Zip Maker v1.2r1 - Make update.zip with some clicks!
Click to expand...
Click to collapse
where i get percy rc
shadman0 said:
where i get percy rc
Click to expand...
Click to collapse
From Percy's cm7 rom
shadman0 said:
where i get percy rc
Click to expand...
Click to collapse
You know full well what I'm talking about as if you are making a cm7 rom you would of used it as a base
With regards to this and taking all your other posts into account I suggest you are here just to flame and annoy people
I recommend people just ignore you or report any spam you post to the mods