hi
i am trying to build REVOLT ROM (the Jb 4.2 version for now) from source for my device - Xperia LWW (WT19i/coconut)...nd i am using UBUNTU 12.04 LTS 64-bit environment...
i am facing an Error during the final ROM.zip creation...so i request:fingers-crossed: any1 with knowledge on ROM building or anything...to help me solve the Error wich iv'e posted here... http://pastebin.com/gqzphg4f
The ROM works fine from the emulator as is obvious from the screenshots i've attached below...
ABOUT THE ERROR (what i know/got to know from others) :
its something wich is got to do with the ota packaging file which is not compatible with coconut source
the --no_assert parameter in the Revolt Rom's Script is causing the error...
the file(python script) wich contains the above mentioned parameter is here... https://github.com/ReVolt-ROM/andro...ba29/tools/releasetools/ota_from_target_files or http://pastebin.com/zmi6zN9X
( location of this file on my PC - mydir/build/tools/releasetools/ota_from_target_files )
the file(python script) in wich the above mentioned parameter is checked for, is here... https://github.com/LegacyXperia/and...-10.2/releasetools/semc_ota_from_target_files or http://pastebin.com/7VC38Cxx
( location of this file on my PC - mydir/device/semc/msm7x30-common/releasetools/semc_ota_from_target_files )
the --no_assert parameter required by the "ota_from_target_files" script checks for the parameter in my device's script "semc_ota_from_target_files" but as it does not occur in my device's script the error occurs nd the build stops...
WHAT I HAV TRIED:
i hav tried commenting out (inserting a '#' infront of the line to make it unexecutable by making it as a comment) all the occurences of the parameter in the "ota_from_target_files" script but it was in vain as i got the same error again:crying:
CORRECT ME IF I AM WRONG ANYWHERE...
PLS PLS DO HELP ME ON WHAT SHUD I DO TO SOLVE THE ERROR??
This question should be moved to the Q&A section cause this section is reserved for guides not open questions
matt95 said:
This question should be moved to the Q&A section cause this section is reserved for guides not open questions
Click to expand...
Click to collapse
sorry my bad...i v'e reported the thread (but somebody already reported it)...hope the moderator moves it...
Why don't you just use a file from XperiaLegacy and remove the assert check manually (if it's necessary, of course)?
Where are the device trees you are using ? I want to check the sources ...
Update : Now I can see it .......
Try checking the device tree you use in that file and compare it with a similar device ...
I don't build for that device so am not fully aware of it ..
johnhany97 said:
Where are the device trees you are using ? I want to check the sources ...
Update : Now I can see it .......
Try checking the device tree you use in that file and compare it with a similar device ...
I don't build for that device so am not fully aware of it ..
Click to expand...
Click to collapse
sorry for replyin late...had gone out of station...nd thank u vry much for replyin...
but i m sorry i dont understand ?? wat file shud i compare and with which file???
Related
Hi,
I'm currently woring on creating a complete VM and a document with instraction of getting from compile to flahsing from begining.
The complete enviroment will be set and ready with the Stock ROM (currently targeting 4.0.2.A.0.58) and the Android OS.
This will allow users to be able to take this VM and start right a away to change the Stock ROM and integrate changes for that from other modes.
will update this thread when it's done. and links for download (unless someone will be faster the me )
18/12 Update:
Just now finish creating an working and compiling enviroment with 2.3.4_r1 of Android
now working on making it to work with the Sony Ericson source code...
Regards,
LaBBa.
Hi,
I need a little help here... i have followed the steps in Google:
http://source.android.com/source/initializing.html
and also the Journal:
http://journal.tianhao.info/2010/12/compile-android-gingerbread-on-ubuntu-10-10/
i have compiled the code and got it up and running and also in emulator with the command line that was written in the Journal and the Android is working..
now i try to understand the Sony Ericson guide:
http://developer.sonyericsson.com/wp/2011/05/06/how-to-build-a-linux-kernel/
I have downloaded the ARM cross-compiler and installed it, was really bad instructions on how to install it. but just need to run: sh ./the_downloaded.bin
and installed it correctly
after installing the ARM cross-compiler successfully done a make to the kernel but only after fixing the symbolic link that from some reason was attach to 0x86 arch and not arm.
the paths where different since i used the default installer path and match the same version that they used: 2010q1
so first done this for the .config :
ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- make semc_zeus_defconfig
Click to expand...
Click to collapse
then run the make:
ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- make
Click to expand...
Click to collapse
now i got kernel compiled!
the question is:
i know that with the Android compiling i got 3 files in the /source_android/out/target/product/generic:
1. ramdisk.img
2. system.img
3. userdata.img
do i need to use the ramdisk from the Android for the next steps of SE guide ?
1. Getting a RAM disk and extract it
2. Re-package it with all of the kernel of SE that we just compiled
3. Assembling the boot.img using the mkbootimg
moreover, after i assemble the files i want to make a really clean installation and cleaning all the flash and installing all in a vanilla mod.
what should be the next steps ?
Regards,
LaBBa.
I thought that the community here will help in this small matter so we will have more pepole that could join the efforts of making brtter and cooller roms... I guess I was wrong. All I wanted to do is help the dev community and create the full step by step guide to starting developers in the android world....
Sadly I'm forced to end this thread due to lake of knowledge...
Sent from my R800i using XDA App
labbala said:
I thought that the community here will help in this small matter so we will have more pepole that could join the efforts of making brtter and cooller roms... I guess I was wrong. All I wanted to do is help the dev community and create the full step by step guide to starting developers in the android world....
Sadly I'm forced to end this thread due to lake of knowledge...
Sent from my R800i using XDA App
Click to expand...
Click to collapse
im sorry i would help but i dont know much lol srry no one that knew could or would help
hi,
I hope that you are able to get this working.
i will use it when it is finished
Edit: what have you exactly done?
Maybe i can help
all i wanted to do is to download all the source codes and compile it and then creat the same version (for this case the .58) manually and get to the same images that need to be flahed.
i wanted to create from this a complete tut that others that have allot of knowladge in development could start working without the stragling of setting up an eviroment or all the issues about how to get from compiling to acctuall creating an .img to flash it on your device.
just a simple "out of the box" solution so pepole could get and work right a way without wasting time in assembling the source codes and setting then env.
ok, and where are you?
I mean what have you done for now??
please see the second post.. it's all there..
yes you need that ramdisk for the kernel.
but you need to edit the ramdisk to work with the xperia play.
i can do that, can you upload it??
what i'm going to do now is, i'm going to upload all the VM to the web and write the complete tutrial for all the steps i have done so far and then we could continue. thank you for trying to help!
ok,
if you need some help PM me!
Hello , I'm going to try to compile JB for my device ( it have android 4.0.3 now - stock & cooked by me).
I'm following this guide : http://forum.xda-developers.com/showthread.php?t=1762641
but, I can't find a github for the device that I'd like to add to the build list (my mediacom.. it should be " full_rk29-eng" )
Any help pls ?
Anyone? please :/
Luca-91 said:
Anyone? please :/
Click to expand...
Click to collapse
Try this my nice guide: http://forum.xda-developers.com/showthread.php?t=1935162
You will need you're recovery.img and boot.img from you're device.
Those files are used to make a device tree/github for you're device.
You should first try the recovery builder site from the link. This gives a nice bit of info! Even might build a working recovery for you. And it give you the files for the device tree to! You will than have to add some info to the files in the device tree. Info about the cpu, gpu, kernel, recovery and others. Goodluck
Hello everyone.... I want build for my zen2laser a cm13 rom... So i find the way build cm13 rom.... And i have more knowlege but have something i dont know (im bad english for translate it T.T :crying: ) Please help me >…<
.......
First i want to ask is
What the code to use local_manifest.xml i creat?
(I find it "repo init -m .repo/local_manifests/local_manifest.xml"
But some threads i read they replace "-m" by "-u" ?!?)
....
The seconds i want ask is when i Emulator ubuntu on window,does i need "install ubuntu" ? Or i just choose "try ubuntu" for Build Rom.
.....
Third....
Example i download my source kernel is asus and then i extract, i have some folder and file how i can upload it to github?
.....
Final....
I don't see vendor for my phone! So how i can to find it? Or get from my phone?
Can i use https://github.com/CyanogenMod/android_vendor_cyanogen
?
......
Thank for read my thread.... ^^
Up
Hi.
Im going to build CM 11 for my unsupported device LG Optimus Lte2. I need help with many steps as im a newbie.
1) First of all are the steps explained here all which i need to do or do i have to do some extra steps with my mobile's boot.img as my mobile is an unsupported mobile.
2) i am very confused with making the local manifest for downloading my mobile's device tree, kernel and vendor.
To be honest idk where to get these three files from. I found a link on github but i dont know to recognize a device tree so can someone please tell me if this is a device tree? https://github.com/zcop/android_devi..._d1lkt?files=1
Please also tell if i download the kernel and vendor file found in that link or any other?
I would be very delighted if someone can make the local manifest file for me using the above link or atleast explain to me in noob-friendly way about how to make it.
3) After that i have to make device tree compatible just by changing the name and some contents of some files as shown in this post. Am i right? But in the post it was shown for slim rom. I replace slim with cm, right?
After that i compile the rom.
Is that all?
hello,
i search and found out that there is a way to Extract a Device Tree File from Android Firmware Files , using a linux tool "device tree compiler".
I tried to follow the instructions from the link below, but without luck to install it.
How to Extract a Device Tree File from Android Firmware Files
source for the compiler..
https://launchpad.net/ubuntu/+source/device-tree-compiler
i hope it will help as to make a better rom .
Dmxsir said:
hello,
i search and found out that there is a way to Extract a Device Tree File from Android Firmware Files , using a linux tool "device tree compiler".
I tried to follow the instructions from the link below, but without luck to install it.
How to Extract a Device Tree File from Android Firmware Files
source for the compiler..
https://launchpad.net/ubuntu/+source/device-tree-compiler
i hope it will help as to make a better rom .
Click to expand...
Click to collapse
The kernel does not implement the dtd format sadly, but we are working on a device tree as well as a better twrp.
Thats a good news.
Thank you!!
Sent from my SM-A9100 using Tapatalk
hey dev,
I'm trying to translate the Chinese version to my language, and to remove some apps .
i know i need the framework-res.apk
when i extract the zip file there is no system folder .
I have the "rom porter" and "kitchen", and not one of them extract with the system .
i know im missing something, i tried to google it but i didn't find any info.
please guide me .
thank you very mach.