yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] franzyroy:
It is here: $HOME/android/PA/kernel/samsung/aries/arch/arm/configs/cyanogenmod_galaxysmtd_defconfig

May be, I should change the target like that.

TARGET_KERNEL_CONFIG := $HOME/android/PA/kernel/samsung/aries/arch/arm/configs/cyanogenmod_galaxysmtd_defconfig

Edit

:

Doesn't work! :(

Edit2

:

I wonder if the error won't be before.

Building ParanoidAndroid v3.50

Looking for device files
Device tree found. Skipping step.

Setting up environment
including vendor/pa/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/pa/bash_completion/repo.bash
vendor/pa/bash_completion/repo.bash: ligne 96 : export: __gitdir : n'est pas une fonction
vendor/pa/bash_completion/repo.bash: ligne 97 : export: __git_ps1 : n'est pas une fonction

Lunching device
build/core/product_config.mk:223: *** Cannot locate config makefile for product "pa_galaxysmtd". Arrêt.
Device galaxysmtd not found. Attempting to retrieve device repository from ParanoidAndroid Github (http://github.com/ParanoidAndroid).
Repository for galaxysmtd not found in the ParanoidAndroid Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:223: *** Cannot locate config makefile for product "pa_galaxysmtd". Arrêt.

** Don't have a product spec for: 'pa_galaxysmtd'
** Do you have the right repo manifest?

Starting compilation
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_GCC_VERSION=4.6
TARGET_USE_O3=
TARGET_LINARO_STRING_ROUTINES=
TARGET_USE_GRAPHITE=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/franzyroy/android/PA/out
============================================
external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration
find: "src": Aucun fichier ou dossier de ce type
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/tasks/kernel.mk:75: **********************************************************
build/core/tasks/kernel.mk:76: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:77: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:78: * BoardConfig.mk file *
build/core/tasks/kernel.mk:79: **********************************************************
make: *** Pas de règle pour fabriquer la cible « bacon ». Arrêt.

Total time elapsed: 0 minutes (20.986129626 seconds)
[Galaxy S I9000 Android Development] franzyroy:
I found these cherry pick... but I've a question about that.

I've made like the pdf file say it in first page, only I've got these errors.

cd ~/android/AOKP/frameworks/base
franzyroy@franzyroyPC:~/android/AOKP/frameworks/base$ git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base refs/changes/26/34026/15 && git cherry-pick FETCH_HEAD
remote: Counting objects: 8628, done
remote: Finding sources: 100% (7893/7893)
remote: Total 7893 (delta 4299), reused 7345 (delta 4299)
Receiving objects: 100% (7893/7893), 8.81 MiB | 1.02 MiB/s, done.
Resolving deltas: 100% (4299/4299), completed with 247 local objects.
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base
* branch refs/changes/26/34026/15 -> FETCH_HEAD
error: could not apply 9422b3f... Bringing basic pie controls to CyanogenMod. (1/2)
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'core/java/android/provider/Settings.java'
Recorded preimage for 'packages/SystemUI/res/values/colors.xml'
Recorded preimage for 'packages/SystemUI/res/values/dimens.xml'
Recorded preimage for 'packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java'
franzyroy@franzyroyPC:~/android/AOKP/frameworks/base$ git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base refs/changes/27/34027/15 && git cherry-pick FETCH_HEAD
remote: Counting objects: 8643, done
remote: Finding sources: 100% (7908/7908)
remote: Total 7908 (delta 4309), reused 7360 (delta 4309)
Receiving objects: 100% (7908/7908), 8.82 MiB | 768 KiB/s, done.
Resolving deltas: 100% (4309/4309), completed with 247 local objects.
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base
* branch refs/changes/27/34027/15 -> FETCH_HEAD
error: 'cherry-pick' is not possible because you have unmerged files.
hint: Fix them up in the work tree,
hint: and then use 'git add/rm <file>' as
hint: appropriate to mark resolution and make a commit,
hint: or use 'git commit -a'.
fatal: cherry-pick failed

WHY?
[Galaxy S I9000 Android Development] :
because you have unmerged files.
[Galaxy S I9000 Android Development] franzyroy:
Thanks, I saw that... but there is not only that! And except that it is not merged, what it is?

first error of first cherry pick:

error: could not apply 9422b3f... Bringing basic pie controls to CyanogenMod. (1/2)

second error of second cherry pick:

error: 'cherry-pick' is not possible because you have unmerged files.
[Galaxy S I9000 Android Development] :
cherry picking from cm to aokp? That won't work so easy.

You just have to learn more :)

We can't do every step for you.
[Galaxy S I9000 Android Development] franzyroy:
OK!
[Galaxy S I9000 Android Development] franzyroy:
I understand ... worry! ;) I do not need to be refer step by step, the evidence, cherry picking, I'm looking by myself. Just say I do not have all the balls, and I do not know where I can find the way to do and learn.
[Galaxy S I9000 Android Development] aways:
best of cherry-pick merge etc etc. on github

check here if you want to learn github...

http://xdaforums.com/showthread.php?p=31304826
[Galaxy S I9000 Android Development] malcho:
This guide is good.

Franzy don't rush so much knowledge will come we all still learning
[Galaxy S I9000 Android Development] franzyroy:
I have one last question, I know you told me to look for myself, except that I can not find the answer to that.

At what time of the compilation should be done a 'Cherry Pick'?
[Galaxy S I9000 Android Development] malcho:
When you do repo sync of repositorie then you do a cherry-pick.This is like temporary adding something to repo.

If you do cherry-pick and then repo sync cherry-pick will be gone.
[Galaxy S I9000 Android Development] franzyroy:
Thanks, I saw for that... don't do 'repo sync' after cherry pick!

therefore for example, I do that, repo for AOKP.

repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr1
repo sync

then after, if I want to add blacklist for phone, I do this.

git fetch http://review.cyanogenmod.org/CyanogenMod/android_packages_apps_Phone refs/changes/04/34904/20 && git cherry-pick FETCH_HEAD
[Galaxy S I9000 Android Development] franzyroy:
Thanks my bro! ;)
[Galaxy S I9000 Android Development] ts1506:
[MENTION=2901778]malcho[/MENTION]

How are we supossed to sync the codebase if we dont do repo sync ? Or are we supossed to do repo sync before, then cherry pick ?

I am asking as I am going to attempt a SuperNexus build this week, and I have in mind to add some cherry picks from CM.

EDIT: Got it. Read an older post about this.
[Galaxy S I9000 Android Development] malcho:
Always do a repo sync before cherry pick.

Also if you mess something since you will do cherry pick from cm you can do this:

For example you do cherry pick on packages/apps/Phone

Something went wrong cherry pick failed,or simmilar error,you can completly remove packages/apps/Phone from repo.

Do repo sync again and you will have clean packages/apps/Phone.
[Galaxy S I9000 Android Development] ts1506:
I do a repo sync , then cherry pick something.

After a few days , if I repo sync again, will the cherry pick dissapear ? Because its not part of the original source..
[Galaxy S I9000 Android Development] aways:
Learn github for you and for other dev's github better than all.
[Galaxy S I9000 Android Development] ts1506:
[MENTION=2901778]malcho[/MENTION]

I have been setting up a new build machine in my laptop.

Normal setup , repo syncing , device specific parts etc all went well.

But when I build, I am getting this error , I never had this on my other machine

collect2: ld terminated with signal 9 [Killed]
make: *** [/home/ts1506/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Error 1
make: *** Waiting for unfinished jobs....
ts1506@ts1506-android ~/android/system $

Could you point me towards a reason / solution to this.
[Galaxy S I9000 Android Development] franzyroy:
If I understood correctly, the cherry pick, it's not as above, but after the last 'repo sync', because in the compilation written above, I've another 'repo sync' after, like that.
[Galaxy S I9000 Android Development] malcho:
More details please
[Galaxy S I9000 Android Development] malcho:
Cherry pick always goes after last repo sync

Cherry pick is temp patch and it will be overwritten by repo sync
[Galaxy S I9000 Android Development] ts1506:
The only detail I can give is that I have been looking at the terminal outputs from build start , and there was no errors, until this part.

These are the last 3 lines , and these are the only unusual lines, the rest is okay.

This is on a freshly installed Linux Mint on my laptop, all packages okay , no errors during repo sync , no errors during fetching the device specific parts , no errors until this point.

The build ran for about 2 hour 30 mins before this error.

EDIT: According to google , the first line indicates that the build machine is out of memory. But when it gave the error , I had about 2.2GB free RAM, and about 28GB in my HDD.

I am running make clobber , and starting fresh again.
[Galaxy S I9000 Android Development] malcho:
Let me know how it goes
[Galaxy S I9000 Android Development] ts1506:
Lets see. I restarted the machine and building again.

BTW do you have experience of building 4.2.x ROMs with Linaro instead of GCC 4.6. Last I tried, all I got were a bunch of make errors.
[Galaxy S I9000 Android Development] ts1506:
Success. The rebuild after rebooting went without a hitch. :)

Package Complete: /home/ts1506/android/system/out/target/product/galaxysmtd/cm-10.1-20130521-UNOFFICIAL-galaxysmtd.zip
ts1506@ts1506-android ~/android/system $

It took about 3:15 to complete the clean build, and a rebuild without clobbering took 25 mins.
[Galaxy S I9000 Android Development] malcho:
I follow some guides and i still search valid guide.

One method works but I'm not sure it's right procedure.

As soon as i succeed i will post guide here.
[Galaxy S I9000 Android Development] rubervalrfl:
Hello guys, sorry for the disappearance, is that I'm working hard, I need a little help basically, I got this error and do not remember anymore how to solve, someone tria a light?

http://pastebin.com/KrfziFRR
[Galaxy S I9000 Android Development] ts1506:
Seems there is a mis type or something in Settings.java.

I am not too good at correcting build errors but one gotta try.
[Galaxy S I9000 Android Development] malcho:
Yes something is wrong in source of packages/apps/Settings.

Nothing much you can do you have do repo sync again and try untill error is fixed.

Most likely source error
[Galaxy S I9000 Android Development] aways:
go on packages/apps/Settings/res/values/config.xml and add :

<!-- LED Flashlight -->

<bool name="has_led_flash">false</bool>
[Galaxy S I9000 Android Development] rubervalrfl:
I'll be changing now aways, thank Malcho too, you guys are very wise, thank you, I'll be bringing the outcome so get ready.
[Galaxy S I9000 Android Development] franzyroy:
Too strong, you're really great!
[Galaxy S I9000 Android Development] malcho:
Did u manage to build it?
[Galaxy S I9000 Android Development] rubervalrfl:
I could not, now gave this error: http://pastebin.com/mw4HF4Ev
[Galaxy S I9000 Android Development] aways:
did you removed or added something on Settings ?
[Galaxy S I9000 Android Development] rubervalrfl:
I added what you said, already deleted the folder packages, redid the sync, added again what you said and nothing now for this error.
[Galaxy S I9000 Android Development] rubervalrfl:
Guys, I have many doubts about the creation of manifest.xml after I have done the fork of the repository Cyano, someone would have some specific material that I can read about it?
[Galaxy S I9000 Android Development] graco2213:
Guys what's the different between original 7.2 from cm, and This unofficial version?

Wysłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] ts1506:
Original CM 7.2 was released long ago. This one was built recently, so it has the latest upstream code and fixes.
[Galaxy S I9000 Android Development] franzyroy:
I actually try this compilation only I saw in the terminal that the BAKED version is Jelly Bean 4.1.2. :confused: Are there any sources more recent?
[Galaxy S I9000 Android Development] ts1506:
Instead of

repo init -u https://github.com/TeamBAKED/platform_manifest.git -b jb

repo sync

You should run

repo init -u https://github.com/TeamBAKED/platform_manifest.git -b jb-4.2

repo sync

The jb branch is 4.1.x , the jb-4.2 branch is the one you need.
[Galaxy S I9000 Android Development] franzyroy:
Well I've successfull to compile the BAKED rom in the version 4.2.2... only, I would like to know the difference between 'baked_galaxysmtd_bb-9' and 'baked_galaxysmtd-ota-eng.franzyroy'? usually, for CM10.1 or AOKP, there are also two zip but, one with my pseudonym and another with the date. So I use this with the date. Like there, it's not the case. Which rom must I take?
[Galaxy S I9000 Android Development] ktempleton:
Either one is fine they are the same ROM just one is bigger than the other
[Galaxy S I9000 Android Development] franzyroy:
Thank!

I saw one difference in the build.prop about of kernel!
[Galaxy S I9000 Android Development] DaOldMan:
Aokp framework-res

First of all a big thanks to Malcho for his excellent guide and roms. I have successfully build a new AOKP build.

1) There is a compilation error in res/values of framework-res.apk in arrays.xml overlay. I deleted the file, is that wrong ?

2) The rom works fine (beside some bugs like the setting of targets in lockscreen in RomControl is not aligned with the icons - anyone else has it?)

3) I can't recompile framework-res as I get a bunch of errors in public.xml. Is it just me, or a new bug in the rom !?!??! I know I can delete public.xml and that apktool will rebuild it. I just wonder what is wrong and if it's just my problem.

Thanks again,

Thomas, IceBulletRom
[Galaxy S I9000 Android Development] franzyroy:
For the 1, it's what you must to do. I remove another file in the framework and this is perhaps the reason of your issue for the question 3.

For the 2, I don't know.

For the 3, I don't see it when I compiled it the last time (May 25th)
[Galaxy S I9000 Android Development] DaOldMan:
First of all, thanks for you reply. About the files we need to remove for the rom to finish compilation I have the following:

Until 2 days ago I needed to remove

2

files ! Now only 1 file stops the compilation process, so I remove just that. I think AOKP team has repaired the problem with the second file.

About the decompile/recompile problem we have tried to rebuild the public.xml file. It compiles, but the rom doesn't boot :(. I hope there is a solution for this as we use this base rom for modding. Now we can't touch framework-res.apk which is a big no-no.

Roy, please make a new build from today and see if you still need to remove 2 files, and if you can recompile framework-res.

Many thanks,

Thomas

P.S Maybe master Malcho will provide a new AOKP build and then at least I will know if there are problems with the source or with my building process
[Galaxy S I9000 Android Development] franzyroy:
I'll try when I can for the compilation ... maybe not today!

For the decompile/recompile, have you made it recently? I ask cause Bejda said me he had few issues with that. From JB 4.2.2, it seems. The best will be to make it (modifications) before the compilation.
[Galaxy S I9000 Android Development] DaOldMan:
There are NO problems recompiling framework-res.apk with the OP's build (old from 23.5 I think)! Hope you can still compile a new build today :) !

Thanks
[Galaxy S I9000 Android Development] franzyroy:
Ok for recompilation!

Not easy to compile a rom in the week, it takes time, I'm at home only the evening! ;)
[Galaxy S I9000 Android Development] DaOldMan:
I am sure you will find some time for me :). You are probably all setup, right ?

Thanks beforehand !

Thomas, IceBulletRom
[Galaxy S I9000 Android Development] franzyroy:
If we can extend the day so yeah!
[Galaxy S I9000 Android Development] DaOldMan:
Well I live in the holy land, but even so this is a task I can't manage :)

Thomas
[Galaxy S I9000 Android Development] franzyroy:
Unfortunately! ;)
[Galaxy S I9000 Android Development] pirri_mori:
Hi malcho, can you tell me how to build cyanmobile from source for my galaxy s i9000?

cheers.
[Galaxy S I9000 Android Development] DaOldMan:
My problem was solved by Kufikugel from Slim Rom. There is a new qualifier for inverted apps in the new AOKP rom, thus you need a new apktool and appt to manage them. Kufikugel released his new tools today and they work !

Thanks for the help,

Thomas, IceBulletRom
[Galaxy S I9000 Android Development] franzyroy:
Give me the link please?
[Galaxy S I9000 Android Development] malcho:
Download this zip file and renamei it to local_manifest.xml.

Go to your cyanmobile repositorie,and on folder enable Show hidden files and folders.

Copy this xml into .repo folder.

Resync repo and try to build.
[Galaxy S I9000 Android Development] pirri_mori:
Thanks malcho.

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] DaOldMan:
You can find the new tools here:

http://xdaforums.com/showpost.php?p=42218611&postcount=6984

Enjoy,

Thomas
[Galaxy S I9000 Android Development] driodmaster92:
Hey I am getting this error while building aokp any help?

ml:23: error: Resource does not already exist in overlay at 'shutdown_reboot_options'; use <add-resource> to add.

device/samsung/aries-common/overlay/frameworks/base/core/res/res/values/arrays.xml:24: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/aries-common/overlay/frameworks/base/core/res/res/values/arrays.xml:25: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/aries-common/overlay/frameworks/base/core/res/res/values/arrays.xml:30: error: Resource does not already exist in overlay at 'shutdown_reboot_actions'; use <add-resource> to add.

device/samsung/aries-common/overlay/frameworks/base/core/res/res/values/arrays.xml:31: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/aries-common/overlay/frameworks/base/core/res/res/values/arrays.xml:32: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.

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

make: *** [/home/aditya/aokp/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1

make: *** Deleting file `/home/aditya/aokp/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
[Galaxy S I9000 Android Development] malcho:
Copy modem.bin from vendor/samsung/galaxysmtd to out/target/product/galaxysmtd and try to build it again.
[Galaxy S I9000 Android Development] aways:
replace this ;

https://www.dropbox.com/s/vdy1nu24e6o4y8o/arrays.xml with this device/samsung/aries-common/overlay/frameworks/base/core/res/res/values/arrays.xml

and go on device/samsung/galaxysmtd/overlay/frameworks/base/core/res/res/values/config.xml remove config_deviceHardwareKeys lines
[Galaxy S I9000 Android Development] franzyroy:
When I had this error, Malcho asked me to delete these two files. After it was OK.

The two files to remove

:
[Galaxy S I9000 Android Development] driodmaster92:
Thanks to all of you and kasper_h i had a successful build ...working awesome
[Galaxy S I9000 Android Development] driodmaster92:
I am having a strange problem there is no tethering and portable hotspot option in my build
[Galaxy S I9000 Android Development] franzyroy:
If you've not made particular modifications, this must be normal! This is a basic AOKP...
[Galaxy S I9000 Android Development] malcho:
Some people still stays on jvr or jvq thats why i leave old review.

Time is the problem with more flashing(i'm familly man):)
[Galaxy S I9000 Android Development] malcho:
These days i will try galnet miui.
[Galaxy S I9000 Android Development] ShiErD:
i have a SGS 1 stock Gingerbread 2.3.3 DXJV9, please suggest whats the best and stable kernel for my phone. Im a bit confused on what is the best kernel that will blend with my rom.

TIA!
[Galaxy S I9000 Android Development] pikachu01:
Best kernel is subjective. Try them and see which suits you the most.

Here's the list of kernels:

http://xdaforums.com/showthread.php?t=1196704
[Galaxy S I9000 Android Development] malcho:
Offcourse like pikachu01 say kernel is metter of taste.

My favourites are semaphore and galaxian.
[Galaxy S I9000 Android Development] m3t30r:
Hi Malcho, I'm having "Error applying iptables rules" message on droidwall. Will try your suggestion after re-installing semaphore again. Thank you.
[Galaxy S I9000 Android Development] malcho:
It will work.You didn't copy script.

Hybrid 2.0 lite on semaphore 1.7.0
[Galaxy S I9000 Android Development] m3t30r:
No, I didn't. I did not know that copying the script will work. I only read from their forum something about extra busybox being installed and needs to remove them for it to work. I have yet to find out how to remove the extra busybox. Thanks again malcho.
[Galaxy S I9000 Android Development] malcho:
Busybox is located in /system/xbin.

Download busybox installer from market and try to install version 1.8.2 it's most stable.

Hybrid 2.0 lite on semaphore 1.7.0
[Galaxy S I9000 Android Development] nishu_nisarg:
Nice information for beginers i like to add one more ram MITRA s rom extremly smooth fast and stable and it gives perfect blend with semaphore.......good work buddy
[Galaxy S I9000 Android Development] madhur_ahuja:
Hi All,

I am using Galaxy running on DDJG4, version 2.1

Any ideas what is the best firmware I can upgrade to ? I am mainly looking for less clutter and speed.

Madhur
[Galaxy S I9000 Android Development] malcho:
Latest JVS is ok.

Latest stable is JVR.

Check my first post you will see link to ramad posts.Download firmware from there and your good to go.

Any help i'm here.
[Galaxy S I9000 Android Development] malcho:
Last night i've played with supercharger v6.

I download script manager from market.Run script with script manager as root.

I use semaphore 1.7.0bm and script offered me to choose balanced option number 6.

I can say that phone woks ok.I allways have around 90 mb of ram.Phone feel smooth.

I have to test few more days.

Only thing for this to work is this:

Go to folder /system/xbin and remove busybox file.

Download busybox installer from market and install version 1.8.2.

Then script will work.

Hybrid 2.0 lite on semaphore 1.7.0