miui help - Samsung Galaxy Core

can anyone tell me why i am gettting this error
>>> build out/framework-miui-res.apk...
/home/pramod/patchrom/tools/apktool --quiet d -f -t miui /home/pramod/patchrom/miui/XHDPI/system/framework/framework-miui-res.apk out/framework-miui-res
/home/pramod/patchrom/miui/src/frameworks/miui/core/res/res/values-xhdpi/alias.xml:1: error: Error parsing XML: not well-formed (invalid token)
make: *** [out/framework-miui-res.apk] Error 1

I think if u want to make a rom. You must make a thread of disscusion, for easier to ask.
Sent from my GT-I8262 using XDA Premium 4 mobile app

Are you trying to compile a ICS patchrom using a jellybean stock rom? xDDDD.The branch of that source tree is ICS not Jellybean...Try to sync the correct repo first with $ repo init -u git://github.com/MiCode/patchrom.git -b jellybean

Related

[Q] Error with compiling?

Hi guys I occured an error while trying to compile my own rom .. I'm actually a starter to developing roms .. and so I tried compiling a Stock 4.0.4 rom for the nexus S and I got this error:
Text version :
host C++: libLLVMJIT <= external/llvm/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/Compiler.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/FileHandle.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/FileHandle.o] Error 1
make: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/Compiler.o] Error 1
[email protected]:~/ICS_SOURCE#
.. Can anyone help me ? not sure what to do ..
I was using this video ; http://www.youtube.com/watch?v=OS5c_ws_N7g
There is a makefile in framework/compile
Find the package. The fix is similar to this. Its because of your gcc version.
https://github.com/Rom2012/android_...mmit/2762b8375e1b0185b910614a7cb5ea59ebed08d7
Edit: looks like frameworks/compile/libbcc
Sent from my Nexus S 4G using xda premium
lithid-cm said:
There is a makefile in framework/compile
Find the package. The fix is similar to this. Its because of your gcc version.
https://github.com/Rom2012/android_...mmit/2762b8375e1b0185b910614a7cb5ea59ebed08d7
Edit: looks like frameworks/compile/libbcc
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
I'm sorry can you help me out a little? I'm a HUGE noob .. I've been trying to make B2G and ICS roms .. I'm actually learning how to.. not TO familier with ubuntu, only used it a couple of times .. so can you dumb it down a little ? :$
smoke_weed said:
I'm sorry can you help me out a little? I'm a HUGE noob .. I've been trying to make B2G and ICS roms .. I'm actually learning how to.. not TO familier with ubuntu, only used it a couple of times .. so can you dumb it down a little ? :$
Click to expand...
Click to collapse
Go into your build folder.
then
Code:
cd frameworks/compile/libbcc
Open Android.mk, remove -Werror
lithid-cm said:
Go into your build folder.
then
Code:
cd frameworks/compile/libbcc
Open Android.mk, remove -Werror
Click to expand...
Click to collapse
Hi,
I also have this problem while compiling.
I try to find -Werror but I cannot find it in the file.
I am running Ubuntu 11.10 and I followed all instruction on source.android.com
This is my error.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/FileHandle.o] Error 1
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/Compiler.o] Error 1
Thanks
I don't have -werror also ..
I also don't have -Werror in Ubuntu 13.04 or 12.10 or 12.04
So which switch is he talking about?
The correct file for -Werror is another one
Hi, the folder is ok but the file is not "Android.mk" but "libbcc-config.mk"
Before: libbcc-config.mk:libbcc_CFLAGS := -Wall -Wno-unused-parameter -Werror
After: libbcc-config.mk:libbcc_CFLAGS := -Wall -Wno-unused-parameter
Best regards,
Iker De Echaniz.
lithid-cm said:
Go into your build folder.
then
Code:
cd frameworks/compile/libbcc
Open Android.mk, remove -Werror
Click to expand...
Click to collapse
---------- Post added at 03:51 PM ---------- Previous post was at 03:24 PM ----------
Although the file I said previously is the correct one to eliminate -Werror, a better solution exists.
code.google.com/p/android/issues/detail?id=20795
Best regards,
Iker De Echaniz
deviker said:
Hi, the folder is ok but the file is not "Android.mk" but "libbcc-config.mk"
Before: libbcc-config.mk:libbcc_CFLAGS := -Wall -Wno-unused-parameter -Werror
After: libbcc-config.mk:libbcc_CFLAGS := -Wall -Wno-unused-parameter
Click to expand...
Click to collapse

[DEV] How to build cm7 for galaxy y (GT-S5360) ! Ubuntu 32 bits !

Requirements :
OS linux Ubuntu 12.04 32bits
2Gb RAM with 3Gb swap or above
Processor dual core or above
120Gb Harddisk or above
Fast internet connection ( i have no this )
First download this file
Installer SDK and Build packages by squadzone modified for me
you will get installerBuildRomGalmin.sh , run this file via Terminal on Ubuntu!
Code:
chmod a+x ~/installerBuildpackages.sh
installerBuildpackages.sh
Create the Directories
You will need to set up some directories in your build environment.
To create them:
mkdir -p ~/bin
mkdir -p ~/android/system
Install the Repository
Enter the following to download make executable the "repo" binary:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
NOTE: You may need to reboot for these changes to take effect.
Now enter the following to initialize the repository:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j16
Device repo !
clone its
choose branch master
put on device tree or replace totoro folder on device tree
(/device/samsung/totoro)
Vender folder clone its
pu on vendor folder !
(/vendor/samsung/totoro)
Download RomManager
NOTE: This only needs to be done when an update to RomManager is released. If you are-up-to date, you may skip to Building CyanogenMod.
Download RomManager which is needed by the build:
~/android/system/vendor/cyanogen/get-rommanager
Configure Build & Compile
Now, the environment must be configured to build and the ROM compiled, from code, for the Galaxys2.
. build/envsetup.sh && brunch totoro
Notes :
based on tutorial for galaxy mini by squadzone
the device repo created for me ( add credits if you use its )
sorry bad english !
changelog :
1.0
-initial tutorial for cm7 galaxy y ( may need some modifications! )
reserved for more updates if necessary !
Thanks for this buddy :good:
OFF : Any news about CM9 ?
wow.. reserved sir whitexp.. long time no post? D
I WIIL TRY IT BOR
By SOMKLL
But this Cyanogen has the same bugs,right?
whitexp what about cm9 ? when will u continue xD
and great guide
This message is COPYRIGHTED to me and stolen from:My post
Cyanogen 7/9 only get developed again when the gpu driver become released
Awesome tutorial sir...
Just one question...if we still have GPU restrictions while compiling CM7/9/10, then what is the use of the tutorial? Is there any update I should be aware of?
I'm not at all disrespecting OP's efforts...I respect him...he is doing commendable job for this device..hat's off! this question is just out of curiosity!
everyone needs brodcom drivers,without it nothing is possible.
PREMOLIKES said:
everyone needs brodcom drivers,without it nothing is possible.
Click to expand...
Click to collapse
Well it's still possible to boot it, so yeah. It's a handy tutorial, LEARN to appreciate guys! That's the reason why SGY devs are leaving, 1 by 1, because of you people that whine! Thank them for the effort!
PREMOLIKES said:
everyone needs brodcom drivers,without it nothing is possible.
Click to expand...
Click to collapse
Without this kind of tutorial and with gpu drivers will you make cm7 for sgy????
Awesome tutorial sir!!
Tutotial is good.no doubt.I said drivers are a stumbling block.
PREMOLIKES said:
Tutotial is good.no doubt.I said drivers are a stumbling block.
Click to expand...
Click to collapse
Drivers will be here soon! I am gettin ready already!
Sent from my GT-S5360 using XDA
Mohamed.Anwar said:
Thanks for this buddy :good:
OFF : Any news about CM9 ?
Click to expand...
Click to collapse
what gaming rom r using
Exellent tut buddy.:thumbup::thumbup:
sent while doin' some burnouts
hell_lock said:
Drivers will be here soon! I am gettin ready already!
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
really?
broadcom will release their drivers or are you just joking around because i just installed windows again on my pc ...
cosminx13 said:
really?
broadcom will release their drivers or are you just joking around because i just installed windows again on my pc ...
Click to expand...
Click to collapse
A suggestion from me.you can use both os like dualboot.for info about this try google
MANY GREEEEETZ!!!

[Guide][cm7] How to build cyanmobile from source

Hello guys i'm here with my first guide of how to build cyanmobile from source for galaxy fit ......
As you all might know cyanmobile went opensource thanks to squadzone now we can compile it from source with our own modifiactions.....
Requirements
1)Linux machine (recommended 64bit and ubuntu) with atleast 50gb free space
2)Common sense of how to use google and fix errors
3)Basic knowledge of git and its commands
4)A possibilty of bricking your fit
5)A fast and stable internet connection
now lets get started
Assuming we have linux installed
installing required build packages
from terminal
HTML:
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
Note:- All the packages are important dont skip any of them
now making the directories to download the source
HTML:
mkdir -p ~/bin
mkdir -p ~/android/system
here mkdir stands for make directory
~ refers to your home folder (incase if you are a beginner)
Next
making the repo command executable
copy paste this terminal
HTML:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
Reboot your system after executing this
This defines the repo command or the repo command usable on your machine
chmod is giving permissions to the folder a+x is the permissions given don't go deep into this.
Next
Downloading the source
i will be referring execute to copy pasting in the terminal
HTML:
repo init -u git://github.com/CyanMobile/android_cyanmobile.git -b gingerbread
now
repo sync
alternatives
repo sync -jx
here x can be anything depends on your internet speed ther will x number of simultaneous download if you use the arguement
like if you use
repo sync -j4
There will 4 downloads going on simulatneously
Next after the source has been downloaded you will find someting like this...
syncing working tree 100
now you have the source downloaded
Preparing the build environment
install java jdk6 or jdk 5 using this tutorial
http://codingforme.wordpress.com/2012/05/14/installing-oracle-java-jdk-6-or-7-on-ubuntu-12-04/
Install the android sdk following this tutorial
http://www.howtoforge.com/setting-up-an-android-app-build-environment-with-eclipse-android-sdk-phonegap-ubuntu-11.04
not testsed on jdk 7 so better use 6 or 5
fix its path using "export PATH=$PATH:"ur sdk path""
ur sdk path depends on where you install it
install adb using this guide
http://forum.xda-developers.com/showthread.php?t=921169
Connect your phone with usb debugging enabled and execute this
preferable do this when you are on a cm based rom ..
HTML:
adb devices
if you see something like this its working for you
HTML:
List of devices attached
S5670efac482b device
now go to device > samsung > beni execute extract-files.sh as root use sudo and drag that to terminal and hit enter
now cd into the root of your source folder
HTML:
cd ~/android/system
then
HTML:
source buid/envsetup.sh
HTML:
lunch
you will see all the build properties something like this
HTML:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.8
TARGET_PRODUCT=cyanogen_beni
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
now type make -jx otapackage
x depends on your hardware more it is faster the build
you will find the built one in out/samsung/beni /cm--xxx.zip
Flash it and enjoy
credits
wilfredcool007
vishwanthptl
sakindia123
yajnab
ravi h basawa
adit_pat
squadzone
google
xda
without these guys it wouldnt be possible pree thanks for them plz
1 st reserved
Thumbs up
Nice guide ajay :good:
Its same as the building of cyanogenmod. But to continue this thread u have to first build a copy too for promoting this and the errors while building , so start repo syncing. I am syncing the jelleybean now.
Best of luck for this thread
yajnab said:
Its same as the building of cyanogenmod. But to continue this thread u have to first build a copy too for promoting this and the errors while building , so start repo syncing. I am syncing the jelleybean now.
Best of luck for this thread
Click to expand...
Click to collapse
i am too doing a list of common errors encountered and will update the op
speed_bot said:
i am too doing a list of common errors encountered and will update the op
Click to expand...
Click to collapse
I'm on a low bandwidth. Can u please make a highly compressed .uha or Uharc compression package of the cyanmobile so that i can also help u in building this. not having the cm7 sources too. It cn be a grat sart for making a more modified cyanombile than squadzone.
yajnab said:
I'm on a low bandwidth. Can u please make a highly compressed .uha or Uharc compression package of the cyanmobile so that i can also help u in building this. not having the cm7 sources too. It cn be a grat sart for making a more modified cyanombile than squadzone.
Click to expand...
Click to collapse
dude do this remove all devices and sync only beni and tass the source is small and use aosps prebuilt the download is only 3gb bro...and can plz upload the prebuilt directory for me i will upload frameworks and devices by tmrw for you..........plz i need the prebuilt directory
You rock man, keep up the good work.. thank you..
praveen_kalasa said:
You rock man, keep up the good work.. thank you..
Click to expand...
Click to collapse
thanks bro..
Nice Work
Very useful Guide for Begineers. Keep this thread updated
RishabhAd said:
Very useful Guide for Begineers. Keep this thread updated
Click to expand...
Click to collapse
but only few people responded to it so what can i update with
??
hi.i am trying to build from your how to...will report ...thank you for this...
desalesouche said:
hi.i am trying to build from your how to...will report ...thank you for this...
Click to expand...
Click to collapse
im already compiling for your device
How to build cyanmobile x from source for p500?
thanks
x-dira said:
How to build cyanmobile x from source for p500?
thanks
Click to expand...
Click to collapse
just choose p500 during lunch
building for huawei u8800pro and u8860
hi can i build with 3.0.87 kernel?
or should i use a 2.6.35 one?
can we build only gingerbread or is there possibility to build 4.2.2?
thank you
Nice guide :thumbup:
I'll try it for GalaxyW
desalesouche said:
hi can i build with 3.0.87 kernel?
or should i use a 2.6.35 one?
can we build only gingerbread or is there possibility to build 4.2.2?
thank you
Click to expand...
Click to collapse
u need kernel 2.6 for gb 3.x supports only ics and above.android 4.2.2 is buildable provided u have all drivers and other binaries
K_TECH said:
Nice guide :thumbup:
I'll try it for GalaxyW
Click to expand...
Click to collapse
dude this guide is for galaxy fit but u can build it for w or any device by using the tress specific for that device.
Bump
I wanna try to port this ROM to the LG e739, but I have no idea what to do at this point. I downloaded the sources, but the device tree I have from cm7.2 is just plain, it lacks everything else the other devices have and to be honest I'm overwhelmed. Any help is greatly appreciated

[CUSTOM KERNEL] JB CINK KING Sources. Need help

Hi, i want to compile a custom kernel from cink king JB sources. After a lot of studies of the linux kernel, its modules and configuration, i started a compilation on Ubuntu 12.04 with all ndk and toolchains for android development. After a lot of errors during the kernel compilation that i solved, there is an error that i can't solve and so i need yourhelp.
I write:
$ [email protected]:/kernel# make TARGET_PRODUCT=mt6577 MTK_ROOT_CUSTOM=../mediatek/custom
The compilation begins and it stucks whit this error:
Make: *** No rule to make target "include/config/auto.conf" needed in "include/config/kernel.release". Exiting.
I googled a lot, but nothing helped me.
Sorry for scarry english.
Sent from my GLADIATOR (a110) using xda app-developers app
tatto97 said:
Hi, i want to compile a custom kernel from cink king JB sources. After a lot of studies of the linux kernel, its modules and configuration, i started a compilation on Ubuntu 12.04 with all ndk and toolchains for android development. After a lot of errors during the kernel compilation that i solved, there is an error that i can't solve and so i need yourhelp.
I write:
$ [email protected]:/kernel# make TARGET_PRODUCT=mt6577 MTK_ROOT_CUSTOM=../mediatek/custom
The compilation begins and it stucks whit this error:
Make: *** No rule to make target "include/config/auto.conf" needed in "include/config/kernel.release". Exiting.
I googled a lot, but nothing helped me.
Sorry for scarry english.
Sent from my GLADIATOR (a110) using xda app-developers app
Click to expand...
Click to collapse
Dude use motorola source wiko sources are not usable.
Thanks fo your answer. I will try Motorola source and post here for results.
Sent from my GLADIATOR using xda app-developers app

[Q] Need help!!! Building Kernel for android phone.Please help.

I am working on a building a custom kernel in Ubuntu 12.0.4 LTS for GT-S7560M . I have Android NDK r-10. And when I am going for a command it is printing an error.
The command is
export CROSS_COMPILE=/home/shakcorporation/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-
make clean && make mrproper
make: No rule to make target 'clean' . Stop
I am going all this by watching a video on youtube by OhHeyItsLou. In that video he used fedora instead of Ubuntu and the ndk version he used was r-5c and iam using r-10. I also installed pakage tools for ubuntu and modifies the Makefile to my custom path as it was written in the readme file of th kernel.
Should I download older r-5c version of ndk.
Please help me
:'( :'(
Sent from my GT-S7560M using XDA Premium mobile app

Categories

Resources