yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500, V General] Arjen:
For the sdk-error, if you found the correct sdk version, you should put them in prebuilt/sdk.

Also going to look if I can find them anywhere...

---------- Post added at 07:25 PM ---------- Previous post was at 07:11 PM ----------

While looking in Code Aurora git in platform/sdk.git there is a reference to aosp/tools_r8, and that's what you need. You can try to download it separately.
[Optimus One, P500, V General] Bytecode:
I already have v8,need v6.
[Optimus One, P500, V General] Arjen:
Hmm, API 8 should be Froyo 2.2 ...

That's what the 8 is standing for...

As far as I know there is no API 6 (if it is, it's pre-eclair and post-donut :D)

Guess you're confusing Java SDK and Android SDK ;)
[Optimus One, P500, V General] andy572:
Ok, as i've read on developer.android.com, Froyo is API 8, and you need SDK version 12.

Just tested how you can get aosp files without ****ed google server, you can download all these things from CAF:

./repo init -u git://codeaurora.org/platform/manifest -b froyo

than , edit the manifest.xml and change "caf" to "aosp" in remote tag and default tag,

after these you can download the sdk and other missing stuff :)

#### edit

i forgot: you need the latest repo tool from caf to get these stuff:

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

if not, the tool searches on the old google domain and breaks.
[Optimus One, P500, V General] Bytecode:
Thanks a lot! Will edit manifest.xml only to download sdk and ndk,thanks a lot,this should fix :)

But why then it's asking for another tools revision (i think it's 6 because it was in manifest)? Froyo is tools_r8 (java sdk) and I already got tools_r8 but it asks for r6.

For prebuilt sdk,that's easy. Just need to download sdk and download prebuilt froyo tools :) so main problem now is sdk to build.

And yes,I am kinda confusing Java and Android sdk :)

SDK tools r8 are for java sdk to build,right? And API level 12 is for prebuilt folder,already compiled stuff? Really confused,will think on this tomorrow,off to bed now.
[Optimus One, P500, V General] Bec de Xorbin:
I don't know if there's too much of a demand for Froyo anymore but who am I to judge how you use your (processor) time. Two stars.
[Optimus One, P500, V General] TakamineSubasa:
WARNING

Dear User:

This is not a place to put stars and rate things.... IT'S A FRIGGIN DEV THREAD, and this goes also for your other recent posts in other threads too, if you have nothing to contribute (other than giving "#$ stars)then GO AWAY, next time --> REPORT!:mad:

Oh, BTW, Froyo in some cases and scenarios >>> Ginberbread in battery and stability!
[Optimus One, P500, V General] Arjen:
And it's not plain Froyo, it's CyanogenMod...

And I agree with previous poster, if you don't have anything important to contribute, don't post anything.
[Optimus One, P500, V General] Bytecode:
Yeah so I found that /prebuilt/sdk Froyo files cannot be found in Froyo SDK tools (Android SDK) to download: I don't know why it says prebuilt,that's sources stuff. Anyways,followed andy's method: CAF sources makes me download Froyo Java sdk (yay learnt differences :)) which doesn't have froyo-stable branch,used by me for syncing CM sources! So what now? Doesn't matter?

Please don't tell me I have to download sources again with froyo branch - java sdk from froyo should be compatible with froyo-stable right? :)
[Optimus One, P500, V General] tudorsirb:
ciaox, this thread will make a good tutorial. Maybe when you get it straight with your sources you can write one :)
[Optimus One, P500, V General] Bytecode:
I know,it's already a good tut :)

Time for homework now,I'm already late :\

@ł€¶ŧ←↓→→→→→øþæßðđŋħjĸł«»¢“”ñµ·¯«»
[Optimus One, P500, V General] Arjen:
As far as I know you can use it for entire Froyo-branch
[Optimus One, P500, V General] Bytecode:
So we solved the sdk/ndk problem,using froyo branch for this stuff :)

But,on clean sources copy,still says unvalid sdk version 8,so it needs 6. Doesn't matter if I put local_sdk_version to eight in that .mk file? I'm afraid it'll mess up because sdk 6 is needed to build framework base I downloaded. Otherwise,on developer.android.com says that SDK tools r6 or higher (stops at tools r12) is required to build froyo.

I would redownload CM6 using froyo branch,but i am afraid it won't be stable as froyo-stable branch :)
[Optimus One, P500, V General] Bytecode:
Updated first post:

Using thread version I posted on CM forums :)
[Optimus One, P500, V General] Arjen:
Hi Ciaox,

because I'm currently stuck at my Oxygen port for Yarvik Tab (also some little build issues ;)) I will take a look at this first...
[Optimus One, P500, V General] Bytecode:
Sure :) anyways I worked with doktornotor and it seems looking into wrong path for drm/java. So I need to grep whole directory but it doesn't grep! Will look into that more :)

We'll solve problems one at a time: After this path issue we'll work on missing libstlport.mk :)
[Optimus One, P500, V General] Bytecode:
WooHoo! Found on a site named SDX that this drm/java issue is completely normal for CM6 builds. A dude had this but then he was able to build his CM6 rom :) you can find infos here :)

Will surely only need a little research for libstlport.mk,then I'll take care of PRODUCT_POLICY problem,which is more difficult to solve.

And,when Android 4.0 sources are out,I'll probably label this as my 2nd project: If for some reason Android 4.0 porting doesn't work,I'll pick this again :)
[Optimus One, P500, V General] Bytecode:
Ok,I fixed stlport issue: CM sources was missing it,so I downloaded it from AOSP sources. Will continue using this method (AOSP comparing) for issues I get :) any ideas on the product_policy issue?
[Optimus One, P500, V General] sam razzy:
Hey cioxxxx, you are working in which Rom ...? Cyanogen6 , HTC Rom or ICS ....???
[Optimus One, P500, V General] Bytecode:
Currently I'm working at CyanogenMod 6,but there's a problem I can't solve (undefined ANDROID_POLICY somewhere in system),but I'm currently playing with CAF eclair (downloading sources again),if CM6 can't be fixed.
[Optimus One, P500, V General] Bytecode:
Yay I solved SDK/NDK problem! I downloaded NDK master froyo revision and SDK tools_r6 from AOSP code. Then,I downloaded sdk and ndk prebuilt stuff (found r4 ndk and tools_r6 sdk revision) but from froyo branch,should be almost the same as froyo-stable branch is. Let's resync with updated stuff and see what happens :)
[Optimus One, P500, V General] Arjen:
OMG, we are gonna have CM6 sooner as ICS :D
[Optimus One, P500, V General] Bytecode:
Yeah,I hope so :) only problem to fix is PRODUCT_POLICY one. Any ideas for it Arjen?

I'z online on MSN now if you want :)

Oh and BTW,using korg remote tag in manifest (not aosp anymore). For configuring SDK/NDK for froyo only sdk and ndk folders to replace? Or should I do something else? I don't think so,since I'm downloading a froyo ROM. Lemme know ;)
[Optimus One, P500, V General] Bytecode:
I had various issues within sources downloading: Could not get all for lots of reasons.

Repo got stuck at cm-kernel

Ubuntu had a kernel panic

Light went off for a little while

My Router fell down from the stairs (put in in a pretty precarious position :eek:)

TI ADSL servers were offline in my zone for a while

This morning I downloaded sources and it correctly downloaded cm-kernel,prebuilt,and now it's at 88% of frameworks,even tho it's going at 30KB/s. Let's hope I will get a clean sources copy until tonight :) I also put a small tcp tweak for avoiding repo being stuck and it seems working
[Optimus One, P500, V General] Lycan:
Hey ciaox. How's the CM6 building going on?

Anyhoo, I ported some cm6 bootanimations. I wonder if u'd like to use any of em !

Looking forward to test ur cm6 !
[Optimus One, P500, V General] Bytecode:
Finally I have a clean CM6 copy with tools_r6 SDK and master branch NDK and with working qemu! Last build was messed up big time. I kinda messed up also this,lucky I only touched stuff I could recover :)
[Optimus One, P500, V General] Bytecode:
Resyncing with correct sdk and correct prebuilt tools was definately a good idea. I don't have PRODUCT_POLICY issue anymore,also in previous build I was missing bluetooth stuff in /hardware and init.qcom.rc. Now it's building for like 6 mins but I got stuck at:

make: *** No rule to make target "/arch/arm/configs/goldfish_defconfig", needed for "/home/ciaox/android/system/out/target/product/thunderg/obj/kernel/.config". Stop.

Anyway,do you guys suggest me to delete ueventd.thunderg.rc (not existing in stock froyo,only in stock gb) and/or to delete init.qcom.rc,existing in stock 2.2 and 2.3.3?
[Optimus One, P500, V General] Bytecode:
So,the error I'm facing is kernel-related. It can't find goldfish_defconfig,needed somewhere in system. I found it on gitorious but it's for .29 kernel and it's for some wierd tablet. Where could I pick it? Can't even find it on CM's .35 kernel (froyo-stable),nor into Froyo kernel.

Still have some little questions tho:

When building process stops,do I need to delete out folder?

All errors that I see when baking (like No private recovery resources for TARGET_DEVICE thunderg or build/core/base_rules.mk:108: user tag on app Stk at packages/apps/Stk - add your app to core.mk instead,or external/clearsilver/java-jni/j_neo_util.c: In function ‘Java_org_clearsilver_HDF__1objValue’) which don't stop building process aren't important right?

Do I need to import /system/lib/hw modules also into device folder?

Do I need to import init.qcom.rc (in Stock Froyo/GB) and/or delete ueventd.thunderg.rc (which is not into stock froyo but only stock gb)?

Just want an answer to this lil' questions,then all my doubts will be away.
[Optimus One, P500, V General] andy572:
these are warnings only, you can still ignore them - you see on boot time if something goes wrong, maybe a libcrash or stacktrace from java.

for goldfish kernel, i found these:

To compile goldfish kernel, you have to checkout goldfish branch.

(android-goldfish-2.6.27, android-goldfish-2.6.29)

http://comments.gmane.org/gmane.comp.handhelds.android.kernel/603

or, on the same page i found this url:

http://www.android-x86.org/documents/customizekernel

hope this helps something ;)
[Optimus One, P500, V General] Bytecode:
Thank you,I will obvioulsly need some help from you in libcrash :)

So I can use goldfish_defconfig from .29 kernel in .32 LG one without any problem? And what about the /lib/hw stuff to copy?

Thank you again :)
[Optimus One, P500, V General] andy572:
no,no ... a qemu (goldfish) kernel cant be token from a "real life" kernel as example from

LG or others. goldfish is like a virtual machine, no hardware but all is simulated.

Better you take a really goldfish kernel and optimize something.

for HW modules you need all that goldfish named stuff like sensors,gps and so on.

currently idk how to create a working goldfish rom^^
[Optimus One, P500, V General] Bytecode:
Thank you. First will try other kernels,then will try goldfish kernel.

EDIT: Ok,tired of this LG stock **** kernel,will use fserve one (thanks!) which has already built .config (which basically is a goldfish_defconfig as far as I can tell,correct if I'z wrong) and has .32.46 tree (newer than .32.39). Now downloading it :D
[Optimus One, P500, V General] Bytecode:
This does not fix anything,however it's a better kernel. Still searches for goldfish module. Where can I see where system calls for this goldfish config? Makefile doesn't say anything,nor .mk thunderg files do.

I also tried to rename .config file in goldfish_defconfig and move it into /kernel-msm/arch/arm/configs. It still can't find the file and I'm like OMGanesh.

Oh right,there's another little surprise for christmas,I won't tell now :) and it's not openOptimus or CM6,something different. Guess what?
[Optimus One, P500, V General] Lycan:
Cyanogenmod9 or maybe ICS stock ?

EDIT : Oh, cm9 ETA in january :( So maybe ICS i guess :D
[Optimus One, P500, V General] sam razzy:
Heyyy pls ddo this port.... if its a old froyo cyanogen , some might ignore by some need this... specialy I need this

So I'm waiting for this port!! ;)
[Optimus One, P500, V General] Bytecode:
I'm back here! Handling 3 projects at a time.

Here's my status:

Alsa stuffs fixed

SDK fixed

NDK fixed

Qemu fixed

Was getting this error:

build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current . Stop.

So I changed LOCAL_SDK_VERSION:=$(strip $(LOCAL_SDK_VERSION)) to LOCAL_SDK_VERSION:=$(strip $(current)) into java.mk and it worked! :)

Still stuck at that No rule to make target /arch/arm/configs error,for more info I'm quoting my last post:
[Optimus One, P500, V General] sam razzy:
Hey bytecode... m happy to here that you are working hard for our community and our phone optimus one

But I wanna ask yu is why are you doing 3 project development at a same time...? Why can't u handle one after another?
[Optimus One, P500, V General] Bytecode:
Because I wanna keep myself busy :)
[Optimus One, P500, V General] sam razzy:
Whatever I Donn wanna disturb your work...!! Keep doin sumtin more so that you will b able to discover new ideas and experience :)
[Optimus One, P500, V General] splattx_x:
Hi there! First I wanna +1 the proposal someone made about making this thread a Howto after it's done. I've read it all and it's really great. I'm trying to build CM6.1 for a Samsung Galaxy Tab (stuck at Froyo) and this thread has helped me a lot!! I think I've managed to get the sources and all I need is find out which proprietary files I need and attempt a build... I have added a "device" folder for my Tab and added there these 3 files that I pulled from another CM port and modified them to reflect my proprietary files

/device/samsung/GT-P1010/GT-P1010-vendor-blobs.mk
/device/samsung/GT-P1010/GT-P1000-vendor.mk
/device/samsung/GT-P1010/BoardConfigVendor.mk

Pardon my ignorance for this question. But what other files need to be created, modified to port a new device?

Regarding your config issue I think I can lend a hand, from CM's wiki I found this

adb pull /proc/config.gz /home/user_name/android/kernel/cm-kernel/config.gz
cat config.gz | gunzip > .config

You can pull the current config from your phone. Then you could do

make oldconfig

and it will help you spot the differences.

If you already knew all this, please forgive me. I was just trying to help from where I can...
[Optimus One, P500, V General] Bytecode:
[FINALLY]

I managed to build without kernel source,only prebuilt. I'm afraid it will give errors later but let's see :)

[/FINALLY]
[Optimus One, P500, V General] Bytecode:
You need to pick device and vendor folder from CM,just put them in your build and then build! ;)
[Optimus One, P500, V General] splattx_x:
The thing is... there are no device and vendor folder, because I'm attempting a port. I guess my best bet is to find a "similar" device, look at its proprietary files and start from there...

Thanks!
[Optimus One, P500, V General] Bytecode:
Pick a similiar-device folder and change basic properties (like device name) and let me know :)
[Optimus One, P500, V General] Bytecode:
Ok so I resynced correctly everything :) android-common library errors are gone,and also libcamera (had to set USE_CAMERA_STUB := true).

Now,I have similiar problem:

make: *** No rule to make target "out/host/linux-x86/framework/ddmlib-prebuilt.jar", needed by "out/host/common/obj/JAVA_LIBRARIES/hosttestlib_intermediates/javalib.jar". Stop.

What could it be?
[Optimus One, P500, V General] Bytecode:
I built the first CM6 OTAPackage! Well,it's stuck on LG Logo and also logcat doesn't work,but I was kinda expecting it.

I used some "first-try" patches. Example: was missing a jar lib and I copied it from GB. Also,a lot of utilities use master branch. This ain't good,because I had to replace for example apache-http,an important part of the System. Also I'm kinda sure I'm missing adb service into init.rc.

But thing that matters: I found the patches to make Froyo build succesfully,tomorrow will resync and use some other prebuilt froyo libs. If it doesn't work I'll check device folder ;)

EDIT: Apparently first boot takes 5 minutes,now CM boots to the UI - RIL,WiFi,CMParts working.

Can't test bugs now as I am really tired,only stuff I found is a wierd blackscreen bug(only part of the screen is black)and Camera (FC).

Will fix bugs tomorrow and this should be rocking 25 dec,along with OMFGB :)
[Optimus One, P500, V General] Bytecode:
Lol,CM6 CMParts has some early ThemeChooser with two themes (white and black).

Dialer,Gallery3D and all related apps are SLOOOOOOW. 3D Drivers don't work.

Bluetooth doesn't work (well,I guess I'll have to use brcm_patchram_plus patch again)

GPS Probably doesn't work (maybe because of gps.thunderg defined into device_thunderg.mk)

Browser FC when opening a Flash-site.

If I'm not gonna be on time fixing all bugs til tomorrow I'll release the beta anyway,releasing it before christmas means a lot to me (lol).
[Optimus One, P500, V General] Bytecode:
LOL,I was using some outdated kernel. Fserve's latest goldenleaf provides stability and no blackscreen.

Now these bugs are easy to solve:

Bluetooth (solved using brcm_patchram_plus patch)

Audio (fixed by adding libaudio,however gives me some wierd compilation problems)

Camera (I'll solve it using libcamera from mik,even that gives me compilation errors)

3D (have an idea to fix it: add new libs and some build.prop stuff,worked on Sense)

Browser Flash FCs (just replace the apk to AOSP)

"Learn how to use your phone" in Settings FC (yet not important now)
[Optimus One, P500, V General] mDroidd:
Great, you're awesome :D
[Optimus One, P500, V General] Bytecode:
Thank you :) now making a test build,with bluetooth,audio and camera fixed.

But,libaudio and libcamera are giving me lots of troubles :( opensource do not work :(
[Optimus One, P500, V General] Bytecode:
Uploading first prebeta - will work on it later,at least I'm giving you the promised present :)
[Optimus One, P500, V General] sam razzy:
Wow... this is great... just wowwww
[Optimus One, P500, V General] bluntman420:
Hows is going with this port? haven't heard anything in a little while? Thanks very much for this!
[Optimus One, P500, V General] bluntman420:
Any updates on this bytecode?
[Xperia Arc Q&A, Help & Troubleshooting] Linkinsoldier:
Hi,

i've been searching a lot, but I didn't find anything... So thats, why I'm asking:

I want to turn on frontkey-backgrounds (on my pro, but should basically be the same on the arc or neo...). That is, because the notify led is to small, and positioned nowhere useful...

I've found this (answer from SE to my question on this topics MONTHS ago:

But I didnt find any app, script or whatever to do this.

Can anyone PLEASE help me?

Thank you,

Linkin
[Xperia Arc Q&A, Help & Troubleshooting] adamtan:
i agree. the LED is not useful at all.

perhaps the ones at the keys will solve our problem
[Motorola Droid Bionic] real0325:
im currently running system version 5.5.893 but my build number says 5.5.1_84_DBN-62 any help would be greatly appreciated thanks in advance. but my base band says

cdma_n_03.1c.50r itedc_u_05.15.00
[Motorola Droid Bionic] abuttino:
You can't get the radio file because the bootloader is locked and you won't be able to flash it.

I might suggest you upgrade to 5.7.893
[Motorola Droid Bionic] draco259:
Mistawolfe seems to be out...so I will say it for him...this is in the wrong section...
[HTC Sensation] pzylo:
I tried to install ClockworkMod Recovery using this file from this thread .. When I tried this it gave me the following error: Main Version is older! Update Fail! Press <Power> to reboot.

Could someone please tell me if there is any other file that works? Or how to fix this.
[HTC Sensation] malybru:
Hi,

May I suggest you have a look at 4EXT in my signature.

It is a newer version of CWM .

It is much cleaner and easier to use.

It has more options too.

:)
[HTC Sensation] pzylo:
Thanks, Ill try it out. :)
[HTC Sensation] malybru:
10 char:.......
[HTC Sensation] pzylo:
I did install the 4EXT Recovery Updater .. but when i try to install it totally the program crashes.
[HTC Sensation] malybru:
Hi,

Are you sure you have s-off and root?.

Try running revolutionary again from the start.

Follow ALL the instructions.

Check in hboot.

Are you s-off?

:)
[HTC Sensation] pzylo:
Thought that went automatically when i unlocked everything through the htc dev. stuff, but apperently not. :P Everything works now. So thanks. :)
[Optimus One, P500, V General] joeyxl:
hey guys, any of you experienced slow data with goldenrod.ko and miks 6.5.8? i'm only hitting 1mbps on my phone :s
[Optimus One, P500, V General] Human_dude_007:
Try different sites for speedtest .i always feel the speedtest.in app shows faulty speeds..when i tether data to my lappy it shows 3x speeds..also use uc webbrowser for fastr downloads..
[Optimus One, P500, V General] Ianis G. Vasilev:
Try the 3G TurboCharger script from here and make sure you are using HDSPA if you want the highest speed ("h" icon in taskbar). The mobile data modes are (from slowest to fastest) GPRS, EDGE, UMTS, HDSPA. Each mode display it's first character on the mobile data icon in the status bar.
[Optimus One, P500, V General] willmon22:
Will this work on the optimus v? I could always only get 1.3Mbps with bursts up to 2Mbps and never stays at 2Mbps for even a second.
[Optimus One, P500, V General] Ianis G. Vasilev:
It's universal.
[Optimus One, P500, V General] ccdreadcc:
it depends on the operator, and user load at the time of using it...

i constantly get speeds of 5 Mbps while normal downloads and speeds upto 6.5 Mbps when dowloading with IDM.
[Optimus One, P500, V General] terratrix:
Wow, you are really lucky 5Mbps, i get 3.5mbps eventhough the server is behind my flat and i only get 2 bars on old baseband while on new baseband i always get full signal...
[Optimus One, P500, V General] ccdreadcc:
i also get only 2 or 3 bars, in 3g mode if u get even 1 bar its enough to throttle to max speeds.......

i get same speeds even in 1 bar too..

as i said it depends on the user load not the signal quality, atleast for me.
[Optimus One, P500, V General] Human_dude_007:
Rightly said!! Is dis d speed u get using airtel 3g?
[Optimus One, P500, V General] ccdreadcc:
yes i get it with airtel 3g...

below is the screenshot...
[Optimus One, P500, V General] Human_dude_007:
But isn't it limited? 98 bucks==2gb right?

I'm using a similar trick as you do;) but get 435kb/sec avg but unlimited:-)
[Optimus One, P500, V General] willmon22:
I thought the max logical speed is 3.1Mbps how can you end up getting higher than what the technology is rated for? Also how would I go about getting this on my phone to try it out? I have been fairly happy getting up to 1.5Mbps but if I can get even faster then I wouldn't mind at all.
[Optimus One, P500, V General] ccdreadcc:
max logical speed is 7.2 Mbps(=900kbps) Download speed and 5.76 Mbps Upload speed..

http://www.gsmarena.com/lg_optimus_one_p500-3516.php
[Optimus One, P500, V General] willmon22:
Well I have a LG Optimus V and all I can find on data rates is the EVDO rev A which says it can only go up to 3.1Mbps.
[Galaxy S II Q&A, Help & Troubleshooting] PoseyBAH:
So i just received a bell galaxy sII in the mail and i have ot rooted via doomsday. I installed rom manager and flashed recovery but when.trying to install it, it seems to always fail. Is there something i am missing? Im coming from a nexus s and i kinda am experienced in flashing.
[T-Mobile Samsung Galaxy S II SGH-T989] 513263337:
I know I may have been picky on this, but I don't like the stock SMS/Messaging app. Is there some third party one I can look into?
[T-Mobile Samsung Galaxy S II SGH-T989] phreshjoker:
Go sms pro works best. Or the chompsms

Sent From my Galaxy S II T-Mobile
[T-Mobile Samsung Galaxy S II SGH-T989] 513263337:
Thanks.............
[T-Mobile Samsung Galaxy S II SGH-T989] turbodroid:
I use Handcent SMS. Works great.
[T-Mobile Samsung Galaxy S II SGH-T989] DouglasK:
Both Go SMS and Handcent are great apps. Take some time, play with both of them and figure out which one is best for you.
[T-Mobile Samsung Galaxy S II SGH-T989] AllGamer:
+1

Go SMS Pro