yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] marleyfan61:
Actually the telus bootloader can no longer be unlocked so we're in the same boat.
[Nexus S Q&A, Help & Troubleshooting] elinho:
Anyone have an idea why the sound is so scratchy when recording in a nightclub?

Isnt there any limitations on the microphone?
[Nexus S Q&A, Help & Troubleshooting] Si_NZ:
Give HiFiCorder a try. There's a free trial version. If that works, consider buying the full version. I've never tried it in a loud environment, so can't comment whether it'll work for you.
[Nexus S Q&A, Help & Troubleshooting] elinho:
Will try tonight! DJing tonight.

While djing yesterday i recorded a video, img qlt is good but the sound, OMG :(
[Nexus S Q&A, Help & Troubleshooting] frutelaken:
Yeah I've noticed this too. Voodoo sound has an option to enable HiFi recording, but I haven't tested it yet.

Greetz
[Nexus S Q&A, Help & Troubleshooting] albundy2010:
A phones microphone recording good audio in a night club....dude you're nuts. As a a DJ you should know that man.
[Nexus S Q&A, Help & Troubleshooting] elinho:
But i meant like, when recording a video on a concert and such things. If you record a video with Iphone 4 the sound and image is crystal clear, when recording with Nexus s, the img is good but the sound is messy
[Nexus S Q&A, Help & Troubleshooting] elinho:
Lol, are you serious? If you are standing where the DJ is standing the speakers aint pointed at you. Im standing on a stage...
[Nexus S Q&A, Help & Troubleshooting] albundy2010:
So you DJ with out monitors ? You do this at a club? A DJ booth/ stage with no monitors.....
[Nexus S Q&A, Help & Troubleshooting] elinho:
Two monitors that i turn off for the moment for recording ;) I can post a video tomorrow so you can see ;).

Go to my link in my signature. My mixtapes and edits!
[Nexus S Q&A, Help & Troubleshooting] albundy2010:
Ah. Makes some more sense now.
[Motorola Droid Bionic] Son et Lumiere:
Is anyone else having bad battery life after the update? Cell Standby and Phone Idle used to draw most of the power before the update, now they're low on the list however Android OS is eating all the juice now. Android OS gets up to almost 70% usage overnight and the battery drains a good 30% or more just sitting idle for 6 hours.

I installed a program called watch dog and it's telling me that "Base System" seems to be the culprit with lots of CPU use, particularly when the phone is idle. I've tried a variety of things like uninstalling recent apps I downloaded, disabling the 4G and 3G radios, trying airplane mode, changing settings, etc. and nothing has made a difference. Really want to avoid trying resetting to factory default.
[Motorola Droid Bionic] Lockett:
Have you tried recalibrating the battery or tried bump charging?
[Motorola Droid Bionic] digitalr0gue:
Since I use my nav dock in my truck to stream Pandora over my stereo, it gets charged several times a day; however, Android OS is now my big drain as well, where it used to be idle or screen using the most. Since unplugging exactly two hours ago, it has drained down to 70% on the stock battery. (I only use my extended battery when I will be away from a charger for a long time. Makes the phone too thick for my pocket to be comfortable.)

On a seperate note, Google Voice now hangs my screen as well when listening to voicemail. Hey, at least I don't get the random reboots and power ups... :what:
[Motorola Droid Bionic] Son et Lumiere:
I doubt calibrating will fix the issue because I don't think that's the problem. A system process appears to be hanging and causing the CPU to run constantly. Maybe a bad update install?

Either way I used to get much better battery life before the update. Never had any of the random reboots or many issues with data like others.
[Motorola Droid Bionic] rts63:
My battery life seems somewhat worse after the update. Everything else seems somewhat improved.
[Motorola Droid Bionic] skizz0tt:
My battery seems about the same if not slightly better after the update.

I do a few things to conserve battery which really conserve the battery.

1. 4G off unless I need it.

2. Battery mode set to 'maximum battery saver'.

3. WiFi sleep policy: When screen turns off (although I think the maximum battery saver will turn it off automatically)

4. Display brightness: 0% unless I need it.
[GT540 Optimus Android Development] androidboss7:
As the topic says, i want to start developing or porting ROMs/Kernels

for the LG GT540 or any other phone.

I know a fair amount of computing and game developing. So can

anyone tell me what the requirements are for developing a simple ROM.

For example like how much RAM i need on my PC and need to learn Java c++ and etc.

I do know how to make an android app but couldn't put it in the market

as i need a license which i didn't buy. I don't know how to make 3d games

and stuff i can only make simple 2d apps.

I did read some stuff here:

http://developer.android.com/guide/index.html

http://source.android.com/source/initializing.html

and a lot more.

I know developing isn't easy but i do like technology and stuff like that,

so that is why i want to learn.

Thanks.
[GT540 Optimus Android Development] pcfighter:
http://www.tabletroms.com/index.php...oid-source-code-heavy-duty-machines-required/ :P
[GT540 Optimus Android Development] androidboss7:
****... :(

i think building ICS is a bit too advanced for me. Maybe requirements for

AOSP for building from CM sources?
[GT540 Optimus Android Development] pcfighter:
It's good to have dual core processor and you must have more than 1GB ram (otherwise linux system will kill process, because he will don't have memory). And maybe 30 GB disk space.
[GT540 Optimus Android Development] despotovski01:
Firstly you'll need C++ and Java. But that's not all. You'll need to understand the structure of the Android source and kernel and how they work. You need to know how to write your own device configs and makefiles. And you must know how to solve errors.

Your build machine should meet the requirements for building Android. On my machine, Gingerbread is ready for 2 hours. Here are my specs:

Intel Core i5 430M Dual-Core Processor 2,53GHz

4GB RAM

Ati Mobility Radeon HD 4570 512MB Graphics card

500GB HDD
[GT540 Optimus Android Development] liamwli:
I'm afraid I can't help, but I want to know!

I spent only 2 Weeks learning batch and html, so I'm quite clever. I'm currently trying to learn java, then will learn C++
[GT540 Optimus Android Development] androidboss7:
I have a dual-core processor and i have more than 1GB of ram.

i will try building Froyo as i think it will be easier and less system

requirements will be needed.

Also i am trying it make linux boot through a USB. will this be a disadvantage?

Or is installing linux as part of system better?
[GT540 Optimus Android Development] androidboss7:
how did u learn it?

And how will u develop when u said u have no PC?
[GT540 Optimus Android Development] pcfighter:
Maybe at school ;P
[GT540 Optimus Android Development] androidboss7:
LOL. :P

Also is ubuntu a good ISO to use?

i will be changing PC soon to a better one so i am

trying to install linux on my USB.

is it possible to create a ROM from the phone?

Like booting into linux and then doing what you would do

on the PC?
[GT540 Optimus Android Development] Man_u:
The better version is 10.10 , On the latest version (11.xx) Unity (new UI) is really big ****

http://releases.ubuntu.com/10.10/

and step by step installation

http://www.ubuntu.com/download/ubuntu/download
[GT540 Optimus Android Development] andreas__:
Linux Mint is using gnome ;) no unity

Sent from my LG GT540 Swift
[GT540 Optimus Android Development] pcfighter:
Hehe, try to load your backup in emulator :P
[GT540 Optimus Android Development] tejasjadhav:
The most important thing is to know how to make Device configuration files and makefiles. Can anybody explain? Plzzz!!!! :D
[GT540 Optimus Android Development] liamwli:
YouTube!

I'm planning to get a PC when my payback is in my bank account (Monday). It won't be very good though.
[GT540 Optimus Android Development] -Grift-:
Lol similar specs!!! Just that mine is a i5 480M and has 1gb graphic memory

And no don't run from USB all settings wont be saved like wallpaper every boot resets everything
[GT540 Optimus Android Development] cccb010:
Is much simpler install ubuntu on hdd

if you build android on a usb you wil ran out of space

i want to learn too lol
[GT540 Optimus Android Development] wwenigma:
I want to kill my phone so now dl'ing ubuntu and ICS sources.
[GT540 Optimus Android Development] jhonnyx1000:
How about installing on a virtual machine? It will may have lower performance (depending on settings) but installing on a hard drive isn't reversible.
[GT540 Optimus Android Development] Man_u:
Ubuntu is easily removable with windows explorer
[GT540 Optimus Android Development] jhonnyx1000:
Thanks. Didn't know that :D lol

Installing now...
[GT540 Optimus Android Development] Man_u:
But you need to install it with Wubi
[GT540 Optimus Android Development] jhonnyx1000:
I have that on a USB :) I'll boot it from there.
[GT540 Optimus Android Development] Man_u:
so i don't know if you can remove it after
[GT540 Optimus Android Development] airbus360:
Read the bottom post on the Link Pcfighter posted.
[GT540 Optimus Android Development] jhonnyx1000:
If it's not reversible, I'll stick with the VM. I don't want to reformat my entire hard drive when I need more space.
[GT540 Optimus Android Development] MrAndroid12:
I have once used a virtural box called oracle virtualbox. No partition needed and reserved space on the hard disk can be reversed by deleting it.
[GT540 Optimus Android Development] androidboss7:
So is installing linux from USB and booting it the same as

installing on hard disk?
[GT540 Optimus Android Development] jhonnyx1000:
I think there would be a difference in speed and disk space available.
[GT540 Optimus Android Development] -Grift-:
I don't know when I did that every boot resets everything
[GT540 Optimus Android Development] androidboss7:
resets everything on what?

Hard drive? USB?
[GT540 Optimus Android Development] -Grift-:
looks like you are running ubuntu on the usb when you start it it is stock and 'factory like' no mods no nothing like a newly flashed rom so never mind you continue to set the wallpaper and stuff and then you decide to reboot the thing boots and every thing resets the wallpaper changes to stock and stuff like every time you reboot it does a factory reset...
[GT540 Optimus Android Development] androidboss7:
oh... yeah now to think of it its supposed to.

cause it is booted from the USB and is not saving any data onto the USB.

So i think making ROMs from USB linux is not a good idea.
[GT540 Optimus Android Development] jhonnyx1000:
Guess VM or hard drive is better. I'll stick with VM for now and install it on hard drive when I get better and when more resources are needed.
[GT540 Optimus Android Development] androidboss7:
running on VM requires heaps of RAM to be able to build a ROM, if thats

what u are planning to do.
[GT540 Optimus Android Development] jhonnyx1000:
How much? I'm currently running at 1.5 GB. I have strong feeling that it's not enough lol.
[GT540 Optimus Android Development] andreas__:
there must be the ram to run the VM and the ram which the VM machine uses to build, in your case e.g 1 giga. and I have a guess and say : thats not enough :D
[GT540 Optimus Android Development] jhonnyx1000:
How about 4 gigabytes? Since that's the size of my actual physical memory :S very little.
[GT540 Optimus Android Development] andreas__:
I don't know maybe it works but builds will be slow ..

Sent from my LG GT540 Swift
[GT540 Optimus Android Development] -Grift-:
4gb is enough for 2hr build how about your processor?
[GT540 Optimus Android Development] mesaj:
I would suggest Linux Mint Debian for development, but standard can be used too. You can use Mint4win like Wubi. Currently I'm using Kubuntu 11.10 and works nice too. KDE works fine for me and I really loved it. LMDE use good old GNOME 2.32 which you can find faster but has some problems while updated so I would suggest to simpy not updating it if you don't want to face some Xserver and driver problems as I've had. Standard Ubuntu uses Unity which I didn't liked. You can just use any distro but all you need is to get appropriate packages.

Building in VirtualBox isn't best idea, but if you don't want to switch sessions its good.

VirtualBox uses only 50% of your resources, you can't give whole RAM for your VM so quickly calculated you can use most of 1GB RAM on 2GB PC.

You'll need to know C and Java (C++ is not that importand because Kernel source is written in C). Also many hours spent on programming and reading/thinking how to solve different problems :)

I have

2x2.2GHz Athlon II P340 CPU

2GB Single Channel RAM and

320GB HDD.

Disk partitioned 60GB for Win7, 200GB for Data and the rest ~~40GB for Kubuntu.

Build needs ~~3h 40min. What would speed it up?
[GT540 Optimus Android Development] -Grift-:
well im setting up ubuntu on my laptop so 2gb and 1 core for it dont know if its enough
[GT540 Optimus Android Development] androidboss7:
one question, when u find that there is a bug or something that isn't

working, how do u fix it? do u have to type in a bunch of codes?
[GT540 Optimus Android Development] -Grift-:
setted up my ubuntu on virtual machine :) so far so good running it on 1 core @2.66GHz~2.99GHz and 1gb of ram (tried giving 2gb but host started to lag so the vb lagged too...

anyone know how to set the screen res for ubuntu? my screen is 1366 768 but ubuntu only let me set it to 1024 768 ?????
[GT540 Optimus Android Development] androidboss7:
i think leaving it now small screen is better in case of lag.

just to tell you building roms from VM requires 16GB of RAM SWAP and up to 80GB of hard disk space to build an android rom.
[GT540 Optimus Android Development] jhonnyx1000:
What program are you using? VMware supports screen resolution change.

Try 'maximizing' the window, it may resize it.
[GT540 Optimus Android Development] -Grift-:
virtualbox. i tried both maximizing and fullscreen ctrl+f
[GT540 Optimus Android Development] maslokm:
Install VirtualBox Guest Additions in your VM. It will much improve performance.
[GT540 Optimus Android Development] liamwli:
Is there a tutorial for installing Ubuntu as a second OS on a computer? As a dual boot?
[GT540 Optimus Android Development] 56k_Rockstar:
Are you kidding? the web/official page all all over with articles about that.

Sorry but I can't resist: kid, don't think you can develop anything for android. With "knowledge" of HTML and batch you will not reach anything here.

Go read the web and and really start to learn how to code in Java and C. C++, C# or VB are not of value right here.
[GT540 Optimus Android Development] cccb010:
Just burn Ubuntu on a CD, then install ubuntu and it will ask you if you want to install on another partition, something like this:
[GT540 Optimus Android Development] liamwli:
Thanks for making me cry. I was already upset today, and you just made me cry!

I hope your happy!
[GT540 Optimus Android Development] darko94:
C'mon give kid a break. We all have started from scratch. Will to learn is the key.
[GT540 Optimus Android Development] :
But you should know: there's no tutorials for everything.
[GT540 Optimus Android Development] liamwli:
Not even print?
[GT540 Optimus Android Development] chrisd1a1:
play nice please - people do need to learn

regards

Mod
[GT540 Optimus Android Development] darko94:
Best way to learn is to tinker with it. The first time i tried to install Ubuntu I deleted and repartitioned whole hard drive. :D

Brake something then fix it. Best way to learn :D
[GT540 Optimus Android Development] Man_u:
Here a tutorial for C but it's french translated with Ggle Translate
[GT540 Optimus Android Development] wwenigma:
Any tutorial, what needed to build a rom , or download CM7/9, needed files or something ? I try to build from mike's github, but its really unfinished... i fixed many errors, but now im stuck in audio.....

CM7 wiki only say something about supported phones... and no update for support gt540...
[GT540 Optimus Android Development] jhonnyx1000:
You can also use UNetbootin and use a USB disk to install Ubuntu :) But make sure your BIOS supports booting from USB.

After downloading, insert the USB drive, open it and then select 'Diskimage' and then locate the image. I did '500MB' for 'Space used for preserved files across reboots' and it booted fine (by selecting 'Try Ubuntu'). But my modifications were not preserved after a reboot :(

I recommend installing it on a hard drive via the partitioning available though the installation process.
[GT540 Optimus Android Development] 56k_Rockstar:
I don't know that much but from following the post of pcf and mike and some earlier roms I can say that:

- You need the branches of their gits

- you need the trees of goolgle(ICS) or CM(2.3.7 etc)

Many ROMs got ported from the HTC Hero because they have pretty similar hardware. So maybe you can find usefull things on the wikipage of the hero (http://wiki.cyanogenmod.com/wiki/HTC_Hero_(GSM))

There is only little facts about the GT540 here: http://wiki.cyanogenmod.com/wiki/Unofficial_Ports#LG_GT540_.28Optimus.29

Here are some more pages about building a OS from source: http://wiki.cyanogenmod.com/wiki/Building_from_source
[GT540 Optimus Android Development] mikegapinski:
ok ... do it that way ...

1first install libs need:

http://source.android.com/source/initializing.html

than sdk(fastboot not needed)

2.Make sure you have a bin/ directory in your home directory, and that it is included in your path:

$ mkdir ~/bin

$ PATH=~/bin:$PATH

Download the Repo script and ensure it is executable:

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

$ chmod a+x ~/bin/repo

3.Type in terminal:

$ mkdir CM && cd CM

$ repo init -u git://github.com/CyanogenMod/android.git -b gingerbread

$ repo sync -j10

Now get the device:

$ git clone git://github.com/pcfighter/android_device_lge_swift.git

Paste that into device/lge/swift and connect your phone to adb and run extract-files.sh script

3. CD to CM folder and type:

$ . build/envsetup.sh

$ choosecombo 1 1 full_swift 3

$ make -j4 (number of cores)

Wait for build and fight with errors ... Feel free to ask for help
[GT540 Optimus Android Development] tejasjadhav:
@mike

IN PCF's sources, the build config contains 'armv6-vfp'. But the AOSP source contains nothing about it. So should I change it to 'armv5' for an AOSP GB build?
[GT540 Optimus Android Development] wwenigma:
Thanks. armv6k-vfp patches is working/ready for GT540 ICS?

mod: i write to DrKmobs about official CM support, im on IRC nao and waiting when he online.
[GT540 Optimus Android Development] mikegapinski:
yes but I don't recomend using it ... There is no ICS v6 flash so v5 is good there :) And for the first make I will say no ICS - it is hard to make it without problems
[GT540 Optimus Android Development] wwenigma:
Adobe yesterday released a little bugging but working flash player 4 ICS. I know, CPU is not really enough, but maybe some other processes run faster if we make roms with armv6k-vfp.
[GT540 Optimus Android Development] mikegapinski:
no ... It is the same, look in toolchain files, just name is changed - and some stuff in ICS do not support it for now ... if thay call for v5 or v7 in is blowing errors :) all my and pebe aosp roms are v5 and thay work good :) The flash adobe pulled out for ICS is not supporting our CPU
[GT540 Optimus Android Development] 56k_Rockstar:
Thanks for your quick explaination. This should help a few people here I think. Now the all need a faster pc to build ICS.

If you want to do this for ICS you need to repo it:

$ repo init -u git://github.com/CyanogenMod/android.git -b ics
$ repo sync -j10

*Ref1

What I dont know is what the -j10 parameter means. (Can't find it here http://source.android.com/source/using-repo.html#sync). Maybe Mike can explain this.

$ .build/envsetup.sh

initialises the environmetal variables for the build process

$ choosecombo 1 1 full_swift 3

sets build, type, device and variant

$ make -j4 (number of cores)

starts the compiling on 4 cores

*Ref2

References:

1.) https://github.com/CyanogenMod/android

2.)https://www.codeaurora.org/xwiki/bin/QAEP/​

Hope that helps some of you and me too :D
[GT540 Optimus Android Development] tejasjadhav:
the -j parameter denotes no. of simultaneous process that needs to be carried out.

In repo sync, -j means no. of files which are simultaneously downloaded at a time

In make -j10, it means no. of building process that should be carried out simultaneously (in this case, 10). If you have better CPUs and multiple cores, it means your CPU can handle more processes at a time, which in turn means faster builds! :D
[GT540 Optimus Android Development] wwenigma:
I recommend to double this number, if you have 4 core, run with -j8.

Thanks, i have a 88Mbit downlink, and it will make download really faster.
[GT540 Optimus Android Development] 56k_Rockstar:
Ah ok thanks. Another thing learned.

Well I would say this is only useful with an hyperthreaded Intel processor with 4 cores (where the processor can handle 2 threads per core do to logical and physical use)

Else every core needs to work with 2 threads and needs to schedule inbetween.
[GT540 Optimus Android Development] wwenigma:
CM repo is HUGE, and so many files to download... Once it done, i hope. :D

We got reply, as i wrote here.
[GT540 Optimus Android Development] mikegapinski:
I am going to the CM chat to get my ICS stuff there
[GT540 Optimus Android Development] wwenigma:
Geheh, im finish now. :D It only start with PCfighter's .35 kernel, and not really working. :D (only touch, screen, hard buttons but menu/back button cant work only turn on lights)

Need fix something in androidboard.mk, missing prebuilt directory (make find wrong place) , ,issing libs (make find wrong place), one bad XML inside framework, etc. 3hour to fetch CM&pcfighter repo, 1hour build time, 30min to fastfix errors (fastfix - copy+paste) I think its my first and last rom. :D
[GT540 Optimus Android Development] androidboss7:
Ok i was at camp so i missed out on a lot of things.

Can someone tell me all the important stuff that happened?
[GT540 Optimus Android Development] -Grift-:
erm not likely to have official cm9 support they say only for those phones with 512mb of ram or more and new cm7 boot for pcfighters rom by some guy from 4pda check other thread and yeah thats it i think....
[GT540 Optimus Android Development] bozont91:
Hi guys! I'm asikng for someone who can help me :)

I've tried to get started with making a ROM, i've downloaded the 2.2.3 AOSP source, and successfully built it (took 5 hrs) :D But i can't bring it up :( I've tried it with PCF's 2.2 kernel, but no luck - it gets to the 2nd LG logo, then reboots :(

If you have any advice on that, i'd be really happy :) Thank you!
[GT540 Optimus Android Development] tejasjadhav:
What ur ADB logcat say?
[GT540 Optimus Android Development] bozont91:
It' empty :( No entries - then it reboots :(
[GT540 Optimus Android Development] -Grift-:
Ok try repartitioning the memory
[GT540 Optimus Android Development] bozont91:
Why should I do that? :confused: Every .img fits fine :)
[GT540 Optimus Android Development] -Grift-:
some time it just works ;) set it to maybe 200mb for system and try again?
[GT540 Optimus Android Development] tejasjadhav:
I feel that ADB logcat should show something! Try starting ADB logcat first and then connect the Phone
[GT540 Optimus Android Development] bozont91:
Tried that - it says: Waiting for the device... and when it starts booting the adb logcat just quits just as the phone restarts :D It's a little bit hopeless isn't it? :D
[GT540 Optimus Android Development] tejasjadhav:
Yeah!

You're compiling Froyo, isn't it?

Then I think you need to get device_swift from PCFighter sources instead of android_device_lge_swift
[GT540 Optimus Android Development] mikegapinski:
Nooo :P Change vmsplit to 2g ... Device is fine :P