yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 General] #Henkate:
[MENTION=5093942]KINGbabasula[/MENTION] : When i booted my rom i got 1 FC from system ui,also when i flashed again also got system ui FC just 1-3 times.Can be something wrong with my frameworks_base?Also,i got FC at com.android.phone and Theme apk (these 2 errors i got always) and im not able to take logcat because cant be avoided these. In your actual patch,in these frameworks are fixes just for omx?You didnt told me what is with system_core.

PS: Now im building again but without any patch,hope is working...

EDIT: Now i got errors.Before "unfinished jobs" message,i got much errors :No resource found that matches the given name. And after "unfinished jobs" i got more errors.I upload them,please check them and tell me whats wrong.. Screenshots: http://i58.tinypic.com/rknehc.png , http://i60.tinypic.com/2mxg76w.png , http://i61.tinypic.com/2w39emb.png .
[Galaxy S Advance I9070 General] KINGbabasula:
You can take logcat if you have fc -.- Anyway i told you patches are for omx. And in system core there is a bit of everything. Those errors are related to the rom you are building. Not my fault
[Galaxy S Advance I9070 General] #Henkate:
I cant take logcat,i tried.nvm...
[Galaxy S Advance I9070 General] br4infreze:
thanks man
[Galaxy S Advance I9070 General] Flo0008:
Please help [MENTION=5093942]KINGbabasula[/MENTION] :

So, my carbon 4.4 rom was repo synced 100 % and everything worked, but then I ran . patch.sh and got an error ... so I tried to repo init and repo sync again and now I get this error:

florian@florian-desktop:/$ repo sync -j6

error: command 'sync' requires repo to be installed first.

Use "repo init" to install it here.

florian@florian-desktop:/$ cd /home/florian/android/carbon4.4

florian@florian-desktop:~/android/carbon4.4$ repo sync -j6

error: .repo/manifests/: contains uncommitted changes

florian@florian-desktop:~/android/carbon4.4$ repo init -u https://github.com/CarbonDev/android.git -b kk && repo sync -f

error: Your local changes to the following files would be overwritten by checkout:

default.xml

Please, commit your changes or stash them before you can switch branches.

Aborting

error: .repo/manifests/: manifests checkout 77302e58f0cdf909ec4bd15deea99882eec637ae

Traceback (most recent call last):

File "/home/florian/android/carbon4.4/.repo/repo/main.py", line 408, in <module>

_Main(sys.argv[1:])

File "/home/florian/android/carbon4.4/.repo/repo/main.py", line 384, in _Main

result = repo._Run(argv) or 0

File "/home/florian/android/carbon4.4/.repo/repo/main.py", line 143, in _Run

result = cmd.Execute(copts, cargs)

File "/home/florian/android/carbon4.4/.repo/repo/subcmds/init.py", line 390, in Execute

self._SyncManifest(opt)

File "/home/florian/android/carbon4.4/.repo/repo/subcmds/init.py", line 239, in _SyncManifest

m.Sync_LocalHalf(syncbuf)

File "/home/florian/android/carbon4.4/.repo/repo/project.py", line 1192, in Sync_LocalHalf

upstream_gain = self._revlist(not_rev(HEAD), revid)

File "/home/florian/android/carbon4.4/.repo/repo/project.py", line 2178, in _revlist

return self.work_git.rev_list(*a, **kw)

File "/home/florian/android/carbon4.4/.repo/repo/project.py", line 2335, in rev_list

p.stderr))

error.GitError: manifests rev-list ('^HEAD', u'77302e58f0cdf909ec4bd15deea99882eec637ae', '--'): fatal: bad revision '^HEAD'

Hope anybody can help :(
[Galaxy S Advance I9070 General] AntaresOne:
Delete all folders and files inside .repo folder except local_manifests and projects, run repo init then repo sync

Inviato dal mio GT-I9070
[Galaxy S Advance I9070 General] Paul L.:
The patches are bound to CM, if you are building something else (I am sorry, but it's the truth) you will have to patch it manually.

Also, there seems to be a lot of errors on frameworks_base. Not related to the patch but to missing translations/images.

https://github.com/TeamCanjica/andr...mmit/88c70f9227531d7b890e49f44e97f58bff59c9c3

That patch has been around forever. But it's good that you fixed it by yourself. The explaination is there on the commit.
[Galaxy S Advance I9070 General] :
Sorry what should I change to make it work in Samsung galaxy s3 mini with [MENTION=4495609]OliverG96[/MENTION] sources?
[Galaxy S Advance I9070 General] #Henkate:
[MENTION=4351285]Paul L.[/MENTION]I solved that error.Can you take a look at my problem in this thread,please? http://xdaforums.com/showthread.php?t=2640660 Maybe you can help me...
[Galaxy S Advance I9070 General] Flo0008:
Hope anybody can help me :(

Hey [MENTION=5093942]KINGbabasula[/MENTION], [MENTION=5464206]Tesla-MADAL93[/MENTION] ... I have an error during building SlimBean 4.4.2 ... Building stopped after this error :(

bootable/recovery/minui/../../../device/samsung/u8500-common/recovery/graphics.c:226:5: error: conflicting types for 'gr_text'

In file included from bootable/recovery/minui/../../../device/samsung/u8500-common/recovery/graphics.c:39:0:

bootable/recovery/minui/minui.h:43:5: note: previous declaration of 'gr_text' was here

make: *** [/home/florian/android/slim4.4/out/target/product/janice/obj/STATIC_LIBRARIES/libminui_intermediates/../../../device/samsung/u8500-common/recovery/graphics.o] Error 1

make: *** Waiting for unfinished jobs....

bootable/recovery/minui/resources.c: In function 'res_create_surface':

bootable/recovery/minui/resources.c:99:13: warning: passing argument 3 of 'png_get_IHDR' from incompatible pointer type [enabled by default]

In file included from bootable/recovery/minui/resources.c:32:0:

external/libpng/png.h:2470:60: note: expected 'png_uint_32 *' but argument is of type 'size_t *'

bootable/recovery/minui/resources.c:99:13: warning: passing argument 4 of 'png_get_IHDR' from incompatible pointer type [enabled by default]

In file included from bootable/recovery/minui/resources.c:32:0:

external/libpng/png.h:2470:60: note: expected 'png_uint_32 *' but argument is of type 'size_t *'

bootable/recovery/minui/resources.c: In function 'res_create_localized_surface':

bootable/recovery/minui/resources.c:254:13: warning: passing argument 3 of 'png_get_IHDR' from incompatible pointer type [enabled by default]

In file included from bootable/recovery/minui/resources.c:32:0:

external/libpng/png.h:2470:60: note: expected 'png_uint_32 *' but argument is of type 'size_t *'

bootable/recovery/minui/resources.c:254:13: warning: passing argument 4 of 'png_get_IHDR' from incompatible pointer type [enabled by default]

In file included from bootable/recovery/minui/resources.c:32:0:

external/libpng/png.h:2470:60: note: expected 'png_uint_32 *' but argument is of type 'size_t *'

bootable/recovery/minui/resources.c:265:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

bootable/recovery/minui/resources.c:270:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]

bootable/recovery/minui/resources.c:272:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

florian@florian-desktop:~/android/slim4.4$
[Galaxy S Advance I9070 General] AntaresOne:
[MENTION=5522022]Flo0008[/MENTION]

SlimKat uses TWRP recovery, see on https://github.com/TeamCanjica/android_device_samsung_janice/tree/omni-4.3 changes required for TWRP
[Galaxy S Advance I9070 General] Flo0008:
How to do this :( Can you or anybody else help me with this?
[Galaxy S Advance I9070 General] harshitandro:
See slimkat wiki docs . it will surely have a guide to port it to unofficial device . same s omni . modifications are to be done with cm.mk and cm dependencies and moreover in recovery section with fstab
[Galaxy S Advance I9070 General] Flo0008:
I cant find a slimkat wiki :(
[Galaxy S Advance I9070 General] AntaresOne:
Flo, do as I said... Or sync bootable/recovery from CM11 instead of SlimKat to build kernel with CWM recovery
[Galaxy S Advance I9070 General] Flo0008:
Please Help again :(

Hi everybody, so I as just building SlimKat 4.4.2 and there happened an error. Can you help me [MENTION=5464206]Tesla-MADAL93[/MENTION] or [MENTION=5093942]KINGbabasula[/MENTION] or someone else?

target R.java/Manifest.java: framework-res (/home/florian/android/slim4.4/out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp)

Copying: /home/florian/android/slim4.4/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar

Copying: /home/florian/android/slim4.4/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/emma_out/lib/classes-jarjar.jar

target thumb C: libpng <= external/libpng/png.c

target thumb C: libpng <= external/libpng/pngerror.c

/bin/bash: /home/florian/android/slim4.4/out/host/linux-x86/bin/clang: Permission denied

make: *** [/home/florian/android/slim4.4/out/target/product/janice/obj/SHARED_LIBRARIES/libpng_intermediates/png.o] Error 126

make: *** Waiting for unfinished jobs....

target thumb C: libpng <= external/libpng/pnggccrd.c

/bin/bash: /home/florian/android/slim4.4/out/host/linux-x86/bin/clang: Permission denied

make: *** [/home/florian/android/slim4.4/out/target/product/janice/obj/SHARED_LIBRARIES/libpng_intermediates/pngerror.o] Error 126

/bin/bash: /home/florian/android/slim4.4/out/host/linux-x86/bin/clang: Permission denied

make: *** [/home/florian/android/slim4.4/out/target/product/janice/obj/SHARED_LIBRARIES/libpng_intermediates/pnggccrd.o] Error 126

aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko

device/samsung/janice/overlay/frameworks/base/core/res/res/values/config.xml:118: error: Resource at config_disableMenuKeyInLockScreen appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/janice/overlay/frameworks/base/core/res/res/values/config.xml:201: error: Resource at config_enableTorch appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/janice/overlay/frameworks/base/core/res/res/values/config.xml:204: error: Resource at config_screenOffAnimation appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/u8500-common/overlay/frameworks/base/core/res/res/values/config.xml:34: error: Resource at config_screenOffAnimation appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/u8500-common/overlay/frameworks/base/core/res/res/values/config.xml:176: error: Resource at config_disableMenuKeyInLockScreen appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/u8500-common/overlay/frameworks/base/core/res/res/values/config.xml:193: error: Resource at config_enableTorch appears in overlay but not in the base package; use <add-resource> to add.

make: *** [/home/florian/android/slim4.4/out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp] Error 1

florian@florian-desktop:~/android/slim4.4$

Hope anybody can help me solving this error :(

Thanks.
[Galaxy S Advance I9070 General] Flo0008:
WiFi wouldnt work on my Carbon Rom 4.4.2 ... I dont know why ... I took already the dhd.ko of CyanogenMod11 but still network wont work

Can anybody take a look on the logcat? http://pastebin.com/tMrxGjdF
[Galaxy S Advance I9070 General] koolkunz:
edit : nvm got the error fixed
[Galaxy S Advance I9070 General] koolkunz:
hey i got this error while building omni 4.4

************************************************************

You are attempting to build with an unsupported JDK.

You use OpenJDK but only Sun/Oracle JDK is supported.
Please follow the machine setup instructions at
https://source.android.com/source/download.html

Continue at your own peril!
************************************************************
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/diskinstaller/Android.mk ...
including ./bootable/recovery/Android.mk ...
bootable/recovery/gui/Android.mk:73: ********************************************************************************
bootable/recovery/gui/Android.mk:74: * DEVICE_RESOLUTION is NOT SET in BoardConfig.mk
bootable/recovery/gui/Android.mk:75: * Please see http://tinyw.in/nP7d for details
bootable/recovery/gui/Android.mk:76: ********************************************************************************
bootable/recovery/gui/Android.mk:77: *** stopping. Stop.

ANY HELP PLZ [MENTION=5093942]KINGbabasula[/MENTION] [MENTION=5464206]Tesla-MADAL93[/MENTION] ?
[Galaxy S Advance I9070 General] koolkunz:
[MENTION=5464206]Tesla-MADAL93[/MENTION] do you have any idea about this??
[Galaxy S Advance I9070 General] koolkunz:
[MENTION=4060849]Shaaan[/MENTION] has made omni...maybe he knows I guess
[Galaxy S Advance I9070 General] shut_down:
bootable/recovery/gui/Android.mk:74: * DEVICE_RESOLUTION is NOT SET in BoardConfig.mk

http://rootzwiki.com/topic/23903-how-to-compile-twrp-from-source/

You got that link in error, open it and find BoardConfig.mk, you have explanation how to set device resolution.

Maybe you done it, and still have problem... I just read the error log. :D
[Galaxy S Advance I9070 General] koolkunz:
I did add the resolution as instructed...but still same error...I did not add everything else on that link only resolution command
[Galaxy S Advance I9070 General] vickyushu:
can anyone help here to compile probam i donw all 4 part can any one tell me about 5th part for probam
[Galaxy S Advance I9070 General] t4n017:
Thanks for the tut, I've successfully builded my first ROM. But my build is missing some files compared with the one from another user. For example, I have packages/apps/Apollo but the update.zip don't have /system/app/Apollo.apk.

Most important, there's no /system/bin/backuptool.sh in the package so I can't flash it.

I've made another folder project and started from scratch, sync, build, and again there are missing files. What could it be?, how to fix it?
[Galaxy S Advance I9070 General] t4n017:
I knew I was missing something. I forgot a line in mahdi.mk:

$(call inherit-product, vendor/mahdi/configs/common.mk)

But now I have a new error while compiling:

frameworks/av/media/libstagefright/Utils.cpp: In function 'android::status_t android::sendMetaDataToHal(android::sp&, const android::sp&)':
frameworks/av/media/libstagefright/Utils.cpp:523:30: error: 'AUDIO_OFFLOAD_CODEC_FORMAT' was not declared in this scope

I realized that Utils.cpp from Mahdi repo uses AUDIO_OFFLOAD_CODEC_FORMAT while the one from TeamCanjica don't (differences).

So, should I use frameworks/av from TeamCanjica?, or should I simply delete/comment that line?

Another question, should I use arm-eabi or arm-linux-androideabi?
[Galaxy S Advance I9070 General] iiD4x:
echo -e $CL_BLU"Cherrypicking AUDIO ERROR fix"$CL_RST
cd device/samsung/u8500-common
git fetch https://github.com/TeamCanjica/android_device_samsung_u8500-common cm-11.0
git cherry-pick 4c3470ee221c8c64376f4465a8fadac2d6b2cdd9
cd ../../..
[Galaxy S Advance I9070 General] t4n017:
Thanks. And what to do next?, rebuild?

Should I run

make -j# otapackage

or

make clean
make -j# bacon

If I use TeamCanjica repo,

<project path="vendor/samsung/u8500-common" name="TeamCanjica/android_vendor_samsung_u8500-common" revision="cm-11.0" remote="github" />

instead of yours (TeamNova), will this fix be already included?
[Galaxy S Advance I9070 General] iiD4x:
make -j# otapackage

if u have errors clean and build again ..

and use TC repos .. will be fixed for sure :)
[Galaxy S Advance I9070 General] Dilesh Perera:
hi everyone

can anyone tell me why this error comes and solution please :)

Fetching projects: 97% (434/447) Fetching project platform/developers/docs

Fetching project android_external_okhttp

Fetching project android_external_android-mock

Fetching project android_hardware_cm

Fetching project android_external_apache-harmony

Fetching projects: 98% (439/447) Fetching project android_hardware_qcom_media

Fetching projects: 100% (447/447), done.

Syncing work tree: 70% (313/447) error: manifest required for this command -- please run init

i did init and repo sync but its the same result everytime
[Galaxy S Advance I9070 General] koolkunz:
did you do

repo init
[Galaxy S Advance I9070 General] Dilesh Perera:
yeah trid many times. but always gets i stop at 70 and " Syncing work tree: 70% (313/447) error: manifest required for this command -- please run init" :crying:
[Galaxy S Advance I9070 General] koolkunz:
try

rm -rf build

then repo sync -c -f
[Galaxy S Advance I9070 General] Dilesh Perera:
done. but same result

Syncing work tree: 70% (313/447) error: manifest required for this command -- please run init
[Galaxy S Advance I9070 General] Flo0008:
Delete the folder manifests and manifest.git out of .repo folder ... Run repo init again and then repo sync -f ... Report back please.

Sometimes it helped me to delete all folder put of .repo. ... If the previous tip isnt working try it

By the way, what rom are you doing ?
[Galaxy S Advance I9070 General] Dilesh Perera:
hi

my problem solved after i delete roomservice. [MENTION=4862164]Langes[/MENTION] pointed me that option :)

im doing PAC 4.4 :)
[Galaxy S Advance I9070 General] Flo0008:
Oh ok ;) ... Good luck ;) You began building after this error and so roomservice.xml was made automatically ... This causes very often a problem.
[Galaxy S Advance I9070 General] Dilesh Perera:
yes bro its strange :) just now i have moved back the roomservice i had before doing remove it and replaced. now repo sync worked well. :)

currently im doing the build. yesterdays build failed for below reason. :) it was my 1st time :)

/home/dilesh/android/pac/out/target/product/urushi/pac_urushi-ota-eng.dilesh.zip doesn't exist!

Total time elapsed: 161 minutes 12 seconds
[Galaxy S Advance I9070 General] koolkunz:
Do rm -rf out

And retry building

Repo sync etc..
[Galaxy S Advance I9070 General] Dilesh Perera:
hi

can i know the size of ur OUT folder size? i have started this with 65GB ubuntu partition . and repo is 25gb. but now when i doing the build my disk got filled all up :(
[Galaxy S Advance I9070 General] wmfaiz:
at the end of the steps i got this error

Patching frameworks/base

Patching frameworks/av

error: patch failed: include/media/stagefright/OMXCodec.h:107

error: include/media/stagefright/OMXCodec.h: patch does not apply

Patching frameworks/native

Applying vibrator fix

Patching system/core

Patching packages/services/Telephony

packages_services_Telephony.patch:9: trailing whitespace.

packages_services_Telephony.patch:49: trailing whitespace.

packages_services_Telephony.patch:64: trailing whitespace.

packages_services_Telephony.patch:66: trailing whitespace.

error: patch failed: src/com/android/phone/PhoneUtils.java:2760

error: src/com/android/phone/PhoneUtils.java: patch does not apply

error: patch failed: src/com/android/phone/PhoneUtils.java:2775

error: src/com/android/phone/PhoneUtils.java: patch does not apply

android@builduntu:~/aicp$ . build/envsetup.sh

including device/generic/armv7-a-neon/vendorsetup.sh

including vendor/aicp/vendorsetup.sh

including sdk/bash_completion/adb.bash

android@builduntu:~/aicp$ lunch full_janice-userdebug

build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/janice/full_janice.mk]]: "vendor/cm/config/common_full_phone.mk" does not exist. Stop.

Device janice not found. Attempting to retrieve device repository from AICP Github (http://github.com/AICP).

Repository for janice not found in the AICP Github repository list. If this is in error, you may need to manually add it to .repo/local_manifests/aicp_manifest.xml

build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/janice/full_janice.mk]]: "vendor/cm/config/common_full_phone.mk" does not exist. Stop.

** Don't have a product spec for: 'full_janice'

** Do you have the right repo manifest?

and this error when i continue your step

Checking build tools versions...

grep: build/target/board/generic/recovery.fstab: No such file or directory

/home/android/aicp/out/target/product/generic/obj/APPS/SignatureTest_intermediates

find: `src': No such file or directory

build/core/tasks/kernel.mk:77: **********************************************************

build/core/tasks/kernel.mk:78: * Kernel source found, but no configuration was defined *

build/core/tasks/kernel.mk:79: * Please add the TARGET_KERNEL_CONFIG variable to your *

build/core/tasks/kernel.mk:80: * BoardConfig.mk file *

build/core/tasks/kernel.mk:81: **********************************************************

make: *** No rule to make target `otapackage'. Stop.
[Galaxy S Advance I9070 General] t4n017:
Those patches aren't working for me neither, I use others instead (based on cherry-picks). Follow these steps:

Delete the patches folder.

Edit your local_manifest.xml, delete the lines related to the patches, and add those new ones:

<project path="patches" name="t4n017/STE_Patches" revision="kk-4.4" remote="github" >
<copyfile src="ste_patch.sh" dest="ste_patch.sh" />
<copyfile src="ste_camfix.sh" dest="ste_camfix.sh" />
</project>

Repo sync

Then, instead of running . patch.sh you should run:

. ste_patch.sh
. ste_camfix.sh

And please next time make an error log, this way will be easier to understand what's wrong.
[Galaxy S Advance I9070 General] wmfaiz:
got it working btw
[Galaxy S Advance I9070 General] Dilesh Perera:
big thanks to everyone who reply to my questions. finally i made the ROM :)

thank u everyone and especially [MENTION=4862164]Langes[/MENTION] :)
[Galaxy S Advance I9070 General] BOOTMGR:
Hey guys i need your help..

I'm new to ROM compilation from source.

I synced CM10 repo (i know its obsolete now but just for my curiosity, please answer me) downloaded device & vendor files from TeamCanjica's repo & compiled ROM. But my kernel didn't booted. So i took CM10 by TC's kernel and booted it.

But my ROM is behaving strangely, when i install apps & reboot it, they're gone. My settings are also reset on reboot (it's like hard reset on every boot). my partitions looks messed up (i'm pretty sure that everything is fine in initramfs because i'm using TC's kernel) see below

Filesystem Size Used Free Blksize

/dev 312.6M 84K 312.5M 4096

/mnt/asec 312.6M 0K 312.6M 4096

/mnt/obb 312.6M 0K 312.6M 4096

/dev/shm 312.6M 0K 312.6M 4096

/system 602.4M 239.4M 363M 4096

/modemfs 15.7M 4.4M 11.4M 4096

/cache 301.2M 54.7M 246.5M 4096

/efs 9.8M 4.6M 5.2M 4096

[COLOR="red"]/data 128M 22M 106M 4096[/COLOR]

/preload 315M 169.1M 145.9M 4096

[COLOR="Red"]/data 128M 22M 106M 4096[/COLOR]

/mnt/.lfs: Function not implemented

/storage/sdcard1 3.7G 3.5G 194.8M 4096

/storage/sdcard0 11.3G 8.3G 3G 32768

/mnt/secure/asec 11.3G 8.3G 3G 32768

One more problem, i don't have any cyanogenmod specific apps in my ROM like DSP manager, file manager even ringtones & bootanimation. Did i missed anything? I've attached my manifest.xml below.

I would be grateful if anybody can help me.. [MENTION=5093942]KINGbabasula[/MENTION] [MENTION=4559222]frapeti[/MENTION] and everybody else who are expert here...
[Galaxy S Advance I9070 General] KINGbabasula:
Why don't you use local manifest? It's easier instead of downloading every repo. And are you sure you took device and vendor from cm10 branch? Because some makefile calling changed and cm11 device tree is a bit different. That may be the cause of non built apps

Inviato dal mio GT-I9070 utilizzando Tapatalk