yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] dg170775:
Ok, Im' stuck right now.

I tried to root using UnRevoked 3.32 and it failed gaining root, with a message that maybe a newer firmware.

I then tried revolutionary.io one and it successfully managed to S-OFF & installed CWM recovery 4.x.x . Then I move the Superuser-3.0.7-efgh-signed.zip to the SD card to flash from recovery, to gain root.

But, when I get into CWM recovery, I see all the options but when I select any option all I see is the splash screen with 'revolutionary'. When I hit the power button I am returned to the menu. Only a battery pull gets me out

Need help now as I have S-OFF and No Root. By the way, I also tried another guide to 'root branded devices' and have converted my SD card to a Gold Card successfully. But, the guide doesn't explain how I can gain root after that ..
[Desire Q&A, Help & Troubleshooting] eddiehk6:
Are you pressing the trackball to select options within recovery? (Eventually I would recommend switching to 4ext touch recovery, much better and more intuitive)

You only need to flash the zip to root your current Rom, and install root apps like titanium to backup apps and data.

If you have nothing to backup you can already full wipe and install a custom Rom of your choice, because they will come pre-rooted
[Desire Q&A, Help & Troubleshooting] spile:
In terms of getting some much needed memory back what worked for me on my old Desire was to partition my SDcard and install S2e. This was on the CM7 rom but you get the idea...
[Desire Q&A, Help & Troubleshooting] twisted_forever:
If you say JB, there will be no recommendation.

If you say otherwise, a lots of options will be there.

You are using froyo. Why don't you go for GB? There are a lots of good ROMs out there.
[General Topics] ZioBillo87:
What's the best rom for xperia x8 do you think? Should have a good compromise between performance and battery life ... :)
[General Topics] Prawesome:
There is no best rom .....

POTATO!!!!
[General Topics] Clark Joseph Kent:
And again what he said...POTATO, No the other...

Thanks and Closed
[Galaxy S III General] labbe-:
Nice guide! Building now, hope I set up everything right and didn't forget anything. Couple notes/questions though.

1. You list Debian based system as a requirement, but I think you should make it more clear and change it to Ubuntu based. When installing the packages under Debian 6.0.6 very many didn't have installation candidate under that particular name. With Ubuntu 12.04 on the other hand everything installed smoothly.

2. Am I right in assuming that the step where the proprietary files are fetched from the phone is not needed during the update procedure?

Very happy about this. Had been thinking about learning to build myself but always crumbled in the device specific section and wasn't motivated enough to go on. This guide helped a lot! :good: Maybe now it's time to learn to apply some cherry picks to the rom for myself ^^
[Galaxy S III General] b-eock:
Dont need to be running CM10 on phone as long as you have root on stock. It is pulling certain files from the system.

You dont need to add the toolchain to your path. That is handled by the build script.

Dont need SDK either. Part of repo.

Thanks for the guide.
[Galaxy S III General] DROCSID:
Ah really? Thanks! Tried to remember what steps I needed to take to build on my

SGSi9000 before, so I haven't done a clean build on a clean system. But if it's not

needed I will take it out of this guide :highfive:.

1. Sure, my fault. Thought Debian was a more handy and common name for

distro's mentioned (Ubuntu/Linux Mint etc), but I'll change it

2. Indeed, fetching the files from phone has to be done once, after that it's

not necessary anymore.

3. Good luck mate! Let me know if it worked :)
[Galaxy S III General] labbe-:
Left it to build overnight (tried first with VirtualBox on my laptop but it was slow as hell) but it failed. Didn't catch the error message because I was late for work. Going to install dualboot Ubuntu on my desktop machine tonight and try again and hope it goes better.
[Galaxy S III General] DROCSID:
That's better, I have a Acer laptop with a new SSD, made it single booted

with only Linux Mint x64. Note: you really need x64. VMware can be used

but I always had issue's with it. Maybe you can even try to use Archlinux

(check Codeworkx thread about it).
[Galaxy S III General] temasek:
Nice guide. Been a long time since I seen one. :)
[Galaxy S III General] labbe-:
Yeah i have 64bit no prob. Is there already a build of the BBQLinux available? I've tried searching but havent found it anywhere.

Unfortunately I don't have a SSD yet, planning to sell my MacBook Pro and buying an Ultrabook instead so with that building would be a little faster.
[Galaxy S III General] DROCSID:
Thanks sir! You too for your efforts here :D

Yep, here: http://download.bbqlinux.org/

Tutorial: http://rootzwiki.com/topic/9287-how-to-setup-android-build-environment-on-arch-linux-64bit/

Ultrabooks are nice :highfive: aswell is the MacBook. But pretty pitty to

abuse a nice MacBook only for building haha
[Galaxy S III General] labbe-:
The MacBook is actually my main computer, the desktop tower is only for gaming. I'm planning the Ultrabook because I'm switching job soon which requires more traveling so the 17" MacBook is getting a bit too large.

I tried to build again and now it built succesfully in 30 minutes in virtualbox, so i guess there is no need for dualboot after all ^^ but going to install the BBQLinux anyway to test it.
[Galaxy S III General] gierdo:
Thanks for the guide!

Works as it should, but it overshoots a little. It is not necessary to install the complete android sdk. But it doesn't hurt, either :)
[Galaxy S III General] labbe-:
just noticed that the cm buildsystem reported that openjdk-6-jdk is an unsupported java version and it said in cm page that sun-java6-jdk is recommended. well, ubuntu has removed sun-java6-jdk from it's repository due to licencing issues with oracle, but i managed to get it installed with a guide i found while googling..

mkdir ~/src
cd ~/src
git clone https://github.com/flexiondotorg/oab-java6.git
cd ~/src/oab-java6
sudo ./oab-java.sh
sudo apt-get install sun-java6-plugin sun-java6-jre sun-java6-bin sun-java6-jdk

after that no messages anymore. thought i'd share :good:
[Galaxy S III General] DROCSID:
Yeah thanks!

On the other hand it's just fine to use OpenJDK.
[Galaxy S III General] labbe-:
yeah i know it did it just fine, just an observation=)
[Galaxy S III General] labbe-:
After a time of extreme busy work schedule I finally found the time to continue my efforts in regards of building myself.

I was wondering, how do I include external sources to my builds? For example, I want to use temasek's kernel so that would save me the manual flash after every update. I read a little from CM wiki but it's too general for me :/

Also, the commands 'find ./out/ -name 'build.prop' | xargs rm' and 'find ./out/ -name 'cm_i9300-target_files-eng.*.zip' | xargs rm' does not seem to work so I've just skipped them and installed after make installclean, is that ok?
[Galaxy S III General] temasek:
It is more troublesome to do that than flashing a separate kernel.

There will be commit conflicts and unless u can resolve that then its ok.

Read about git commands

Eg git pull ...git push ...git fetch..git commit ..git remote add xxxyyy github . etc
[Galaxy S III General] Erachter:
fixed
[Galaxy S III General] krille_java:
How about compiling cm10.1?
[Galaxy S III General] temasek:
repo init -b cm-10.1

repo sync
[Galaxy S III General] krille_java:
Aha thank you!
[Galaxy S III General] temasek:
@labbe~

There is an easier way to do what u wanted.

1. Clone the kernel source of your choice eg mine.

2. In the device/samsung/i9300 folder look for the BoardConfig.mk and edit the following lines and point to your desired kernel defconfig & kernel folder

# Kernel

TARGET_KERNEL_SOURCE := kernel/samsung/smdk4412

TARGET_KERNEL_CONFIG := cyanogenmod_i9300_defconfig

When you compile your cm build, it will compile & create the boot.img & relevant modules into your cm build.

Enjoy :)
[Galaxy S III General] oToNo28:
Thank,Nice guide.
[Galaxy S III General] krille_java:
After ". build/envsetup.sh && brunch i9300" the execution stops when i try to build cm10.1 look at my screenshot below.

Anybody else with this problem?
[Galaxy S III General] djselbeck:
You need to run the extract-propritary-files.sh or what it is called exactly I think.
[Galaxy S III General] krille_java:
Yes i have done that, it was no problem with that execution. So iam the only one with this error when trying to build cm10.1? Guess i have to start all over again:confused:

Skickat från min GT-I9300 via Tapatalk 2
[Galaxy S III General] tux821:
Can you check in developer options on your phone if root access is set to apps and adb.

Then perform the prop. extract script.

Some files can only be extracted by adb as root, but your phone must be set to allow this.

Also, see first post, don't forget the adb root command:

adb root
cd ~/android/system/device/samsung/i9300
./proprietary-files.sh
[Galaxy S III General] temasek:
You need this

https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-10.1/i9300

https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-10.1/smdk4412-common

Make a copy into your vendor/samsung/ folder
[Galaxy S III General] krille_java:
Thank you! It worked!! :victory:
[Galaxy S III General] temasek:
The day another KANGer was born. :D

Cheers :)
[Galaxy S III General] krille_java:
So i compiled with no problems, but when i flash it.

The phone starts and it fully functional but when i lock the phone and unlock it the phones screen is all black! And i have to hold the power button to restart. What's up with that?

Skickat från min GT-I9300 via Tapatalk 2
[Galaxy S III General] krille_java:
nvm i fixed it:p
[Galaxy S III General] ddye:
Hi there. thanks for the nice guide.

I was trying to experiment by compiling CM for my SGS III i9300 using this guide. All seems to go OK on my Ubuntu 12.04 64-bit. But I get the following error at the end of several lines of compilation that took several minutes:

target thumb C: vim <= external/vim/src/window.c

make: *** No rule to make target `vendor/samsung/smdk4412-common/proprietary/system/lib/hw/gralloc.smdk4x12.so', needed by `/home/dd/android/system/out/target/product/i9300/system/lib/hw/gralloc.smdk4x12.so'. Stop.

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

What could be the culprit? I am running Oracle Jdk 1.6.

Cheers,
[Galaxy S III General] krille_java:
see post #27 on page 3;)
[Galaxy S III General] ddye:
Thank you. In fact, I had those files but were in the wrong place. I put them in their respective sub dircetory inside:

~/android/system/vendor/samsung/i9300//proprietary, and

~/android/system/vendor/samsung/smdk4412-common/proprietary

It compiled happily and I now have cm-10-201216-UNOFFICIAL-i9300.zip ready to be tested, which I will do later during the day.

What is the repo for CM10.1?

Best
[Galaxy S III General] krille_java:
It's the same as for cm10 i think "git://github.com/CyanogenMod/android.git -b jellybean" but a different branch "-b cm-10.1"
[Galaxy S III General] DROCSID:
I'll add it to the OP tomorrow guys :)
[Galaxy S III General] ddye:
cool! looking forward to it.

I successfully compiled CM10.1 with the help of this excellent tutorial and the valuable tip from @Temasek. I just installed it on my phone and all is working brilliantly. It is very exciting to run my 'own' build on my phone! I am a java and python enthusiast and would like to see some of the source codes inside when I get some spare minutes.

Thanks a bunch to all the CM team who are tirelessly working on this excellent project. I have been enjoying their work since I started my first android phone (Xperia X10i) now retired.

It was so exciting to see thousands of lines scrolling in front of me inside the bash shell in my Ubuntu 12.04 64-bit loaded Samsung Series 7 (Quad core, 8GB RAM). Looking at the number of files and hence lines of codes and dependencies I told to myself, 'never complain again about this or that not working properly'. It is an incredibly tough job to maintain a functional ROM with so much generic and device specific stuff. Kudos to all who are behind this wonderful project. Big thanks to Linus Torvalds for the excellent kernel and the GIT project. He is an amazing person. Compare him to Steve Jobs and you tell me what is (not) in common?

I must say that, I still remain impressed by the quality of the stock 'sammy' ROM, with excellent battery life and their wonderful TW framework.

Finally, Big thanks to RATBORG for the excellent hands-on! Something tells me that Linux had its origin in Amsterdam, no?

Forgive my excitement but I just wanted to share it.

Cheers
[Galaxy S III General] sfjuocekr:
After painfully downloading the CM10.1 tree on my 4Mbit connection I get the following error about java. It's reporting the version as "current" but the choices are 10, 11, 12 and 13. How do I get it to build against OpenJDK6 (which I have, installed by Ubuntu)?

edit: got it fixed, borked something setting up the ubuntu build enviroment and now it's building :)

How do I add the two repo's Tamasek linked to? I suppose they go into manifest.xml?
[Galaxy S III General] DROCSID:
Just init the repo for cm10.1
[Galaxy S III General] krille_java:
This two lines:

find ./out/ -name 'build.prop' | xargs rm

find ./out/ -name 'cm_i9300-target_files-eng.*.zip' | xargs rm

Can somebody please explain the function?
[Galaxy S III General] labbe-:
i was also wondering this. they didn't seem to work, just updated always without them
[Galaxy S III General] DROCSID:
Temasek, you've seen this before, what does it mean?

error: device/samsung/i9300/: CyanogenMod/android_device_samsung_i9300 checkout 39553228fdae066b87d6c91341d6be89749a4274
Repository synced!
Looking for dependencies
Done
build/core/config.mk:160: *** TARGET_ARCH not defined by board config: device/samsung/i9300/BoardConfig.mk. Stop.

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

;)
[Galaxy S III General] temasek:
Check your local manifest if it is pointing to cm-10.1 branch.

TARGET_ARCH is a mandatory definition introduced in android 4.2. If your board config doesn't have it then my suspect will be your local manifest is pointing to possibly your old branch maybe jellybean.
[Galaxy S III General] DROCSID:
He has got this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_i9300" path="device/samsung/i9300" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
</manifest>
[Galaxy S III General] temasek:
My guess is correct. The fault is your local manifest. Your manifest is either missing branch or wrong branch (it is pointing to ics instead of cm–10.1)

Edit your manifest & add/Change it to cm-10.1 as follows:-

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="CyanogenMod/android_device_samsung_i9300" path="device/samsung/i9300" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />

</manifest>
[Galaxy S III General] DROCSID:
Changed and still the same message. Looked everywere for errors and misconfiguration else.
[Galaxy S III General] temasek:
Could u post your board config?
[Galaxy S III General] DROCSID:
Wait, think it does something now. Doing it with Teamviewer so it kinda sucks :D.

Deleted again the device/samsung/i9300 folder, deleted all files for kernel and i9300

in vendor (synced and resynced the proprietary). Had to be something in the vendor

folder too I suppose.
[Galaxy S III General] temasek:
Your repository had residues of older branches. Conflict....

Till u delete the folder, resync then it will grab the correct branch repositories.
[Galaxy S III General] DROCSID:
Updated the OP

Mine worked in once, so no need to do things, but added the hard way anyway

in the OP for CM10.1

Gonna add the ArchLinux (BbqLinux) way maybe in a few days, in the second post.
[Galaxy S III General] Codekrypt:
Hi,

Need a bit of help here,firstly can i skip steps 3.1-3.3?

Where do i enter?

#Android PATH

export PATH=$PATH:~/android/sdk

export PATH=$PATH:~/android/sdk/platform-tools

export PATH=$PATH:~/android/sdk/tools

and how do i run it?

Thanks alot :D
[Galaxy S III General] DROCSID:
No need to run, read the line before about the gedit (thats a commando to edit files), it's opening the bashfile (where the paths/run are defined). So: sudo gedit bashfile (like in the tut).

Gedit: http://en.wikipedia.org/wiki/Gedit

Bash: http://hacktux.com/bash/bashrc/bash_profile
[Galaxy S III General] krille_java:
Got this error today:

"warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead"

Anybody else?
[Galaxy S III General] krille_java:
Nobody who know what to do? Added a screenshot below:
[Galaxy S III General] temasek:
Show what's in your local_manifest.xml
[Galaxy S III General] krille_java:
After the git upgrade yesterday i get that message. And if i make a folder in .repo called "local_manifestes" i get an error saying local_manifest.xml is missing, so what too do?
[Galaxy S III General] ktempleton:
Its just a warning don't have to do anything unless you upgrade your git to 1.19 or whatever it is
[Galaxy S III General] krille_java:
Yes i'am on 1.19 since Saturday:confused:
[Galaxy S III General] ktempleton:
Go here and download the patch and it will n be fixed

http://xdaforums.com/showthread.php?t=2059939
[Galaxy S III General] muk12:
Thanks for this i9300 specific tutorial Im a mac user and I have created a sparse image on my system and done a git init and repo sync of CM 10.1 I m going to try my build as soon as I get off work.
[Galaxy S III General] muk12:
Using a Mac 10.8 I have done repo init -b CM10.1 and repo sync -c Temaseks has looked at my build struct and it looks good to him but my build is failing with the error

make[1]: *** [sub-make] Error 2
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs..

Temasek said I may need some additional files to compile the ROM on mac , Any help is greatly appreciated.
[Galaxy S III General] krille_java:
Hi! Found this in the nexus thread first post http://xdaforums.com/showthread.php?t=2047981

Go to /kernel/lge/mako/scripts/mod/ folder, open the file 'mk_elfconfig.c' and replace

#include <elf.h>

with

Code:

#include "elf.h"
[Galaxy S III General] muk12:
Thanks !

I moved the "elf.h" to /usr/local/bin and my ROM compiled and booted fine.
[Galaxy S III General] Crowds:
Excellent initiative OP ;)

Ive been doing that this mourning :) for those who know me from X10 maybe this weekend ill be back ????
[Galaxy S III General] v3n3:
AW: [Guide] How to compile and install CM10 for Samsung i9300

I started building CM10.1 with the building guide on the CyanogenMod wiki but I have a serious problem.

The device boots like normal, but I don't have a radio or IMEI :-x

Building finishes within 1 hour, no error or anything like that...

Gesendet von meinem GT-I9300
[Galaxy S III General] krille_java:
Sv: [Guide] How to compile and install CM10 for Samsung i9300

Try this thread they helped me whit a similar problem, had no signal on my builds. http://xdaforums.com/showthread.php?t=2059939

Skickat från min Nexus 4 via Tapatalk 2
[Galaxy S III General] v3n3:
AW: [Guide] How to compile and install CM10 for Samsung i9300

Allready seen your posts there, but our problem is sadly not the same :-/

Gesendet von meinem GT-I9300
[Galaxy S III General] muk12:
Once you cherry pick a feature / translation of any X app and do a get fetch in the respective directory its sources gets downloaded and after that can directly brunch the build ?? Or you need to do some updates in the local tree so that the cherry pick gets compiled in your next build ?

EDIT * I have figured this out , tested few gerrit cherry picks *
[Galaxy S III General] masterex567:
Thanks for this mate. Was getting confused on what to do after sync. Sucessfully built cm10.1 with this. :)
[Galaxy S III General] finikorg:
Building CM10.1 image, not all files extracted

Hi All,

I have several questions:

- where to get proprietary_files.sh, can I use extract-files.sh instead?

- it prints "adbd cannot run as root in production builds" Does it mean I cannot extract files from production build? Shall I flash CM first?

After that build fails

make: *** No rule to make target `vendor/samsung/smdk4412-common/proprietary/system/bin/bcm4334_semcosh.hcd', needed by `/usr/local/android/cyanogenmod/out/target/product/i9300/system/bin/bcm4334_semcosh.hcd'. Stop.

I suppose it is because of those files are not all extracted.
[Galaxy S III General] muk12:
I'm learning to compile ROMs too and the build guide @ http://wiki.cyanogenmod.org/w/Build_for_i9300 says "Note:

It’s important that these proprietary files are properly extracted and moved to the vendor directory. Without them, CyanogenMod will build without error, but you’ll be missing important functionality, such as the ability to see anything! "

when I did extract-files.sh my phone was running CM10.1 already .

and the error you mentioned above seems like the build is failing because some files are missing - use these files instead

https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-10.1/i9300

https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-10.1/smdk4412-common
[Galaxy S III General] v3n3:
I have a serious problem.

I manager to Build everything using the TeamHacksung script ( which is very helpful ;) ) on a fresh install of Ubuntu 12.10.

When I install that Build ( Full Wipe etc. ) I dont have a Radio or IMEI :-/

Baseband says "Unknown", I cant set APN Settings or anything related to the Audio.

Allready asked in the "General" Android Building Thread, but they didnt manage to help me :-/

Anyone else with that problem or someone with the same issue ?

Had this issue aswell.

On your device, go to "Developmer Settings" and pretty much at the top you see "Root Access".

Set that to "Apps & ADB" and run the script again ;)
[Galaxy S III General] finikorg:
SlimISP_ZH.bin is missing

After I first installed CM10.1 and then extract_files can extract allmost all files except for SlimISP_ZH.bin. BTW What is needed for?

Becasue of this CM10.1 is not building (as well as teamhacksung)

make: *** No rule to make target `vendor/samsung/i9300/proprietary/system/vendor/firmware/SlimISP_ZH.bin', needed by `/usr/local/android/alt/teamhacksung/out/target/product/i9300/system/vendor/firmware/SlimISP_ZH.bin'. Stop.
[Galaxy S III General] bloot:
Fantastic guide, very very helpful, everything going smooth here on gentoo x86_64. Thanks!.
[Galaxy S III General] cybdani:
You need to add this line into local manifest

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung/" remote="github" revision="cm-10.1" />

Hope this helps.
[Galaxy S III General] DROCSID:
Saw your PM dude, did you solve the issue yet or?
[Galaxy S III General] cybdani:
Yes, I've searched a lot and found the solution. It's

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung/" remote="github" revision="cm-10.1" />
[Galaxy S III General] finikorg:
Then we do not need to extract proprietary files?