yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Novarider:
I want to start developing for android and I need some advice. I am looking for advice on how/where to start. I have never done any programming before other than a few commands in adb to do some stuff to my htc evo and my nook color. I have my computer setup with both windows and ubuntu 10.10 with adb working on both. Any advice would be helpful and please be nice, remember you had to start somewhere to.
[Android Software/Hacking General [Developers Only]] sitlet:
To be honest, if you want to do any "real" programming, you will need to take classes, and read books. People make their whole careers out of programming apps and programs, its not something you can just learn in a few hours.
[Android Software/Hacking General [Developers Only]] Novarider:
I never said I wanted to learn it in a few hours. I know it will take time and I'm fine with that. I know that everyone on this site creating roms and themes and apps didn't go to school to learn "real" programming. I was looking for recommendations on books that people have read/used that kind of thing. Maybe some helpful websites.
[Wildfire General] mac4rfree:
Hi Guys,

I am having Wifi in my home with unlimited download plan. In my wildfire, the GPRS plan is restricted to download.

So, i like to use only Wifi when i reach home. I do not want to use GPRS even when the Wifi signal is weak... How to switch on GPRS on/off??

Can somebody guide me to do this...

Thanks for your help
[Wildfire General] 3xeno:
If I got you properly, isnt it working by going to Settings > Wireless and Networks > Mobile Networks > Uncheck Data Enabled ?

Alternatively, a Power Control Widget for Mobile Data also works perfectly fine.
[Wildfire General] magikmichael:
Or search in the market for the app Y5. I think it does exactly what you want. It will remind the wifi networks you connect to and use the wifi network if you are

in range. When you are out of range it will use gprs / UMTS.
[Wildfire General] anonymousJ:
hold down the power button and it brings up a menu from were you can turn gprs data off.
[Wildfire General] gmd1:
an app called widgetzoid can be used so you can turn on/off mobile data easily.

there is both a free and paid version of this app on market

both will do the job just fine
[myTouch 3G Slide Q&A, Help & Troubleshooting] pettigrew95:
Right now I have a class 2 16GB SD card running arayray revamped and I have a2sd enabled on it. I want to buy a 16GB class 6 card and use that. If I create a nandroid backup with my current class 2 SD card and then partition the class 6 one the same way as my class 2 then put it into the phone and do a nandroid restore will everything work correctly off of the class 6 card?
[myTouch 3G Slide Q&A, Help & Troubleshooting] KCRic:
Yes, that's the right way to do it.
[myTouch 3G Slide Q&A, Help & Troubleshooting] pettigrew95:
Thanks, I thought that was my best bet. I meant to post this in the Q&A section, apologies for that.
[Defy General] cwhiggs:
Searched but still unsure so apologies for if this has been answered somewhere else...

This is my first time hacking a phone so I want to make sure I don't **** things up too badly! Been going thru the guides and how-tos trying to make sure I understand the various steps before I get started...

Slightly confused when it comes to backup, recovery options tho:

Working thru rob-ts "n00b Guide", after rooting the phone it says to backup using the Recover App (defy_recovery-1218-0326-signed.apk). Got that...

Later, following the link to Higgsys "[JIT Updated 31/12/10] Frozen Eclair- For 2.21 & AND NOW 2.34.1 Firmwares", when installing JIT/deodexed, it says to backup using Tenfars Clockworkmod Recovery. This is where I'm confused- firstly, I can't locate the download + also what is the difference between this and the Recovery app used above?

Again, sorry if this seems daft but I'm keen to learn but don't want to brick the phone by doing things wrong! Thanks.
[Defy General] chaihg:
Both are the same. Tenfar is the member here who helped with it and we call it after him. Some choose not to use his name. Simple as that.
[Hero, G2 Touch Android Development] treesurf:
Nicely done elelinux.
[Hero, G2 Touch Android Development] big_sw2000:
Fantastic, i have used all your ROMS, so will give it a try.

Typical ive just flashed 6.2.0, after using Feyoos 2.3 rom. Now this is hear.:D
[Hero, G2 Touch Android Development] petsasj:
Thanks elelinux. Just a question, under options you have Apps2SD. Is it not enabled by default?
[Hero, G2 Touch Android Development] bluepinkpanther:
It's app2sd on ext2/3/4 or "froyo" app2sd ?
[Hero, G2 Touch Android Development] elelinux:
No unfortunately due to certain circumstances with GB :(
[Hero, G2 Touch Android Development] Imperticus:
WOW you've finished it, downloading now.. cant wait
[Hero, G2 Touch Android Development] g0at:
*** bookmarked ****

Was hoping you'd churn out a CM7 based ROM soon :)

I know I shouldn't be asking this... but how often are you intent on updating your build / merging with the CM7 nightlies?

e: awesome, l0st.prophet's graphics and all the other patches in the one update.zip
[Hero, G2 Touch Android Development] petsasj:
Does this mean we have to apply the Apps2SD patch everytime we flash something?
[Hero, G2 Touch Android Development] arnoslag:
Great !!

Flashing right now
[Hero, G2 Touch Android Development] elelinux:
No, only after you flashed google first time since it takes care of itself automatically type apps2sd in Froyo.

You can also add it from the start but gets problems when you to restart, there is little concern to solve the next update, I thought. :D
[Hero, G2 Touch Android Development] riemervdzee:
How much does it differs from the original CM7 maintained by lox? (for except the graphical part)
[Hero, G2 Touch Android Development] elelinux:
Have not tried his version, this is compiled with dexopt-wrapper, which means a fully dex-odex rom, it's probably not LoxDev ROM

Other differs small things :confused: ,do not know I have not tried the rom
[Hero, G2 Touch Android Development] davrave:
Thanks Ele. Just replaced CG 0.0.9 with your 6.2.0 RC0- Hero and was enjoying it.

Busy downloading your new GB Rom now. Look forward to using it. Enjoy the weekend.
[Hero, G2 Touch Android Development] Imperticus:
First Impressions - generally fast and not laggy

Bugs:

Silent and Airplane mode option missing (when you press the turn off button)

Colours in the notification pull-down are a bit messed up

No lock screen

Don't know if its just me, but thats what I found so far.
[Hero, G2 Touch Android Development] arnoslag:
yes i have the same bugs, and home key is not working.

After a reboot system hangs with hero logo

update:

reflashed the rom

rebooting and everything is working now.

thanx for the rom
[Hero, G2 Touch Android Development] bluepinkpanther:
LOL

I have lockscreen, silient and airplane-mode are in menu, but I have only one theme in Theme Chooser.
[Hero, G2 Touch Android Development] elelinux:
Well i have lock-screen ect... have you guy´s done a reboot ?

Yes missed the colours in the notification pull-down,will fix it :D
[Hero, G2 Touch Android Development] brat.haneq:
oh damn.

and I was SOOOO hoping, that Your discussion was about implementing 2.6.35 kernel into GB :D

Great Work Elelinux! downloading now, let's see if ADW works with this one ;)
[Hero, G2 Touch Android Development] kabadahija:
I am using this ROM from day it is here :)

I am having problem with battery. I only get about 15 hours until battery reach 15%. I am using phone a lot, and WI-FI to but on stock ROM I had better battery time and also on VillainROM 12.0.0 Final.

Is there something I can do to increase battery life. Brithnes is on automatic.

Edit: Usage battery is display 39%, Voice calls 34%, Cell standby 5% etc...
[Hero, G2 Touch Android Development] elelinux:
Me to really hate it when the homescreen rotates,but my don't do that :D

using launcher2 flash the option I added under options.

my settings

only rotates 180 degrees when I for eg browser etc.. never homescreen
[Hero, G2 Touch Android Development] Imperticus:
Just flashed the option, but the 180 rotation doesnt seem to come up. Do I need to wipe delvik before?

EDIT: The heading remained the same (still says 'Auto-rotate screen' and not 'rotate 180 degrees'), but homescreen rotating anymore :D
[Hero, G2 Touch Android Development] dkelley:
is the screen staying on the entire time you're talking on your long phone calls? Because if it is then it's eating away at your battery. Which could be something that either elelinux or some setting change could improve.

I'm just wondering. I do'nt know for a fact that this is possible, but it seems likely.
[Hero, G2 Touch Android Development] kabadahija:
You probably mean on option "Keep sreen awake" under "Call settings" and it is not checked.

I have just checked what is happening when I give a call, and screen stay awake for 30 sec. from begining of call.
[Hero, G2 Touch Android Development] elelinux:
No,that option I showed is in cyanogen settings ,the file you flashed change phono default settings,if you toggle 180 degrees in cyanogen settings then you overide the default settings,the screen rotations settings in cyanogen are not quite ready yet
[Hero, G2 Touch Android Development] ukripper:
are u running firewall or droidwall, that might be stopping ur download. Check your iptable rules in terminal using iptables -L command
[Hero, G2 Touch Android Development] Imperticus:
Yes, I understand now, and it works. Thanks a lot :D
[Hero, G2 Touch Android Development] Her0o:
AGAIN.. :rolleyes:
[Hero, G2 Touch Android Development] feltraveller:
Wow. Great rom. Right now aldiko, laputa, set cpu, rom manager all fc. Any suggestions?
[Hero, G2 Touch Android Development] marleyfan61:
Maybe we can get a list happening of which live wallpapers work with this rom. Here or new thread maybe. Don, do you want to start?
[Hero, G2 Touch Android Development] factualpuddle:
@my Market post, probably something to do with the Provider -.-; but is anyone else getting FC on superuser?
[Hero, G2 Touch Android Development] elelinux:
Change to the latest setcpu > http://xdaforums.com/showthread.php?t=505419
[Hero, G2 Touch Android Development] elelinux:
If not I remember quite wrong, you may rename the fonts, it is not the same filename on the fonts in a senserom versus android aosp
[Hero, G2 Touch Android Development] elelinux:
Well setcpu you have to change to latest 2.1.0 and rommanager, then I must add it as a option though it should not matter what rommanager people use, but the other apps have no idea if they support GB.
[Hero, G2 Touch Android Development] arcblade851:
Quick question: where do you store your wallpapers?
[Hero, G2 Touch Android Development] jake_in_notts:
Anyone else notice that google calendar crashes when you try an open an appointment in your calendar sent via outlook ?

It seem fine making one its self then reopening it however.
[Hero, G2 Touch Android Development] Keefo:
Anybody got any answers to the problem im having with contacts imported from FaceBook???

there numbers are for example "447123456789" when it should be "+447123456789".

Means i cant phone them without entering there number as a separate contact as you cant edit FB Numbers...
[Hero, G2 Touch Android Development] Dac0908:
Mmmkay, tried YouLu and really is fast but I don't like it that much. DialerOne is more Sense-like so I'm kinda used to it... Any other suggestion?

And about launchers. Default one here is ADW, right? I'm missing screen preview, and a little bit more dock configuration. LauncherPro and Zaem both are a little jerky, nowhere near the smoothness of ADW. Anyone else noticed that?
[Hero, G2 Touch Android Development] lefttobleed:
People should start using GO launcher it is really good. It has an inbuilt app killer, themes, widget resizing, all free. And looks good too.
[Hero, G2 Touch Android Development] elelinux:
I will check again just in case that my egl.cpp is the same as you suggest, there have been many diffent solutions and ideas :D
[Hero, G2 Touch Android Development] erasmux:
Like I said above:

EDIT: just to be clear, I am sure the fix I purpose is not included in v1.7, as I have built libEGL.so from the latest CM7 source and got the exact same binary that is found in the 1.7 release. Then I added "my" fix and the file is now different....
[Hero, G2 Touch Android Development] elelinux:
Yes it is true, comparing just now, have probably mixed up the files a bit :D, is to compile a new rom now, so we'll see how it works.
[Hero, G2 Touch Android Development] Bieniu:
For me patch from erasmux is working great with clean installed 1.7. Animations are smooth and no black screen.
[Hero, G2 Touch Android Development] elelinux:
New build to night,rom is updated,now I really hope that the bug is gone,added the patch erasmux suggested in my local source.Read changelog before installation
[Hero, G2 Touch Android Development] elelinux:
Perfect hope that it will be so for everyone else
[Hero, G2 Touch Android Development] arnoslag:
Thanx for the update, i'm flashing it now.

Wenn i find any problems i will report it here.
[Hero, G2 Touch Android Development] Ciprilik:
Thank you Elelinux for the update and Erasmux for the fix ... gonna test it ...

I was trilled when I saw the changelog about the Rotation Settings ... but for me they won't work... I've ticked and unticked "No rotation" "90" and "270" degrees settings.. what should I do to make them disabled ? The 180 setting works as normal.

I've wiped cache and dalvik-cache before I've flashed 1.7.1
[Hero, G2 Touch Android Development] elelinux:
It is completely new code I did today for the rotation settings, have not had time to test fully.Shall check what it is that does not work with the code.

Might call it beta code, had hoped to cyanogenmod would have incorporated the feature but have not seen the smoke of it, because of that I started myself :D
[Hero, G2 Touch Android Development] ChosSimbaOne:
That's a great idea
[Hero, G2 Touch Android Development] sotux:
Elelinux, where can i find the graphic patch for the out of memory bug?
[Hero, G2 Touch Android Development] marcero:
It's already included, isn't it?
[Hero, G2 Touch Android Development] elelinux:
The new patch is included in the rom now.
[Hero, G2 Touch Android Development] mikarbach:
I have a question, I do not need any theme or special wallpaper etc. Usually after flashing new ROMs I remove all stuff I do not need. Is it possible to remove htc-elegance package, or for what purpose is it needed?

Thanks, Michael
[Hero, G2 Touch Android Development] elelinux:
I have been planning to post a stripped version, but it is always so much options, but Ok, I can add it without options so people do as they wish.

HTC.Elegance not needed but wanted to do a little advertising for my own theme :D
[Hero, G2 Touch Android Development] mikarbach:
Hi ele, thanks for the info. But you do not need it to do for me. I usually remove a lot of packages, like launcher, wallpers, email, calc, ...., so it makes not much difference for me to remove a further package.

By the way, very nice to see you back!
[Hero, G2 Touch Android Development] Whyt_e:
do we need to delete the memory patch before flashing?
[Hero, G2 Touch Android Development] elelinux:
Flash as usual,wipe of cache and dalvik cache then flash

Edit: To clarify, the script in rom clear the entire system, none of the old remains more,only personal settings etc..
[Hero, G2 Touch Android Development] arty:
hey elelinux,

may i ask u what Gapps (light) is? whats included in the full gapps?
[Hero, G2 Touch Android Development] e2zippo:
So my mind doesn't work as it should right now, if I wipe dalvik and cache will all my settings still be there? And what does the script do?

Cheers!
[Hero, G2 Touch Android Development] keyra74:
still the same good old black screens when launching handcent for example...
[Hero, G2 Touch Android Development] rustynuts34:
Got lots of black screens with this one : ( but runs great otherwise
[Hero, G2 Touch Android Development] elelinux:
Ok we wait and see if more people get the bug, I compile the file erasmux proposed.

BTW is it v1.7.1 you use ?
[Hero, G2 Touch Android Development] Imperticus:
Still getting black screens,but not as often as before (running v1.7.1)
[Hero, G2 Touch Android Development] keyra74:
yeah, i'm always up to your build
[Hero, G2 Touch Android Development] bluepinkpanther:
I can confirm that. I have clean (after full wipe) installation and black screens come back.
[Hero, G2 Touch Android Development] IakobosJ:
Seeing as though animations are smooth now I enabled them :D Then the black screens started :(

I disabled the animations and the 180 degree screen orientation setting and everything is back to normal again for me :/
[Hero, G2 Touch Android Development] yan74s:
Still no black screen for me. (even with 1.7 I didn't have the)
[Hero, G2 Touch Android Development] elelinux:
Can someone try this file, to see if it helps, that's what spoke to erasmux about, that this fix is probably also needed.

Edit: do not flash if you already downloaded it will add a new

Edit2: Here is the new file http://www53.zippyshare.com/v/91954752/file.html
[Hero, G2 Touch Android Development] rustynuts34:
Yes using 1.7.1 with no animations on rebooted and its gone away I shall give it z go to see if the black screens reappear
[Hero, G2 Touch Android Development] elelinux:
Really people, try reimer's kernel 0.4.1 is awesome,running it my phone now :D
[Hero, G2 Touch Android Development] bluepinkpanther:
I need working camera :(
[Hero, G2 Touch Android Development] josephdebono:
What settings do you guys suggest for the best battery life?
[Hero, G2 Touch Android Development] kiljacken:
Camera IS working, so that you don't need to worry about :D
[Hero, G2 Touch Android Development] Krizp0:
Can you tell specifically the advantages of this on Gingerbread? What works and whatnot, smoothness etc? :rolleyes:
[Hero, G2 Touch Android Development] Imperticus:
Camera not working for me, just freezes after taking a picture :(

EDIT: working now, trick is to use default cpu settings, uncheck set on boot :D
[Hero, G2 Touch Android Development] bluepinkpanther:
For me too ;/
[Hero, G2 Touch Android Development] riemervdzee:
Unfortunately it is a bit picky about the cpu-freqs you use. It is a timing-issue I'm currently battling with :-/ If it fails one time, it can't recover from it and it requires a reboot. Then try different cpu freqs and try again. The default values seem to work OK for everyone though, maybe you should turn off set-on-boot at CPUFreq and reboot?
[Hero, G2 Touch Android Development] duoxx:
I tried to download Youtube off the market. It just force-closes all the time.

Anyone managed to get Youtube working?
[Hero, G2 Touch Android Development] bluepinkpanther:
Ok. It's working with standard freqs ;) Thanks.
[Hero, G2 Touch Android Development] sotux:
I mean the patch source. Because I want to compile a rom by myself. I didn't seen them from the CM github. I adjust some build make file by myself and I have to translate some Chinese. You can check my github repository for my modification. http://github.com/sotux

Some days ago I've downloaded your patch. But I still have the bug. So I want to review the code.
[Hero, G2 Touch Android Development] erasmux:
If I am not mistaken the fix which seems to work well (on top of the latest CM sources) is this one:

https://review.source.android.com/#change,22006

(this is the one I compiled as "try2")
[Hero, G2 Touch Android Development] arty:
hmmm did u remove the modded gps, network, wifi, etc icons in 1.7.1?
[Hero, G2 Touch Android Development] lynx2k50:
Is GPS working on this rom without shutdowns like on Feeyos rom?

Really working forward for a release with riemers kernel.
[Hero, G2 Touch Android Development] nightm:
Yes, try htc_ime keyboard.
[Hero, G2 Touch Android Development] feltraveller:
Trying it now. Have got black screens for the first time with this Rom series, today.

What is Reimer's kernel? Where do you find it? EDIT: ok found it - am too noob to know what coolness I am missing....

Will report back on success with the patch. Edit 2 - seems to have handled the problem.
[Hero, G2 Touch Android Development] Imperticus:
Seems to have worked. No black screens and no reboots :) Thank you
[Hero, G2 Touch Android Development] vorcigernix:
4.1 have weird issues with scrolling. Launcher itself is laggy, and it also affect browser. Anyone else with same issues?
[Hero, G2 Touch Android Development] rdejager:
I had it so I installed a new rom, weird bug in Launcherpro that made my phone reboot all the time...

Wonder why GB is getting more unstable with the day.
[Hero, G2 Touch Android Development] marcero:
1.7.1 is really smooth in comparison to the previous versions. But is there a workaround to get rid of these blackscreens.

And what about reimers kernel? Did i miss a post or what is going on? I'm confused.
[Hero, G2 Touch Android Development] elelinux:
It was the one I compile into v1.7 but unfortunately not enough, but also surfaceflinger, the surfaceflinger fix I posted compiled with settings from 2.3.2

You must excuse that I lost yesterday, went on vomiting disease has thrown up and had diarrhea for a day now, starting to feel better now.
[Hero, G2 Touch Android Development] mikarbach:
I have tried your advise. But at least for my phone it does not work as well as the Herokernel-12a. So I will definitely go back with your next release, hopefully ;-)

Overall it works well, but a few times I have experienced have delays and in launcherPro+, not observed that much in 29-kernel. And it has so far two times crashed the phone, while hearing music with PlayerPro and using the sound buttons.
[Hero, G2 Touch Android Development] elelinux:
I personally feel Riemer kernel really nice, sure it is still beta but it goes in the right direction.

I've uploaded Hero Kernel-12a as option for those who want to experiment a bit and could easily go back, have also added a fix for the famous bug under options for version 1.7.1
[Hero, G2 Touch Android Development] mikarbach:
Thanks, I already flashed it back ;-)

I will try newer versions of the Riemer kernel when they appear and as soon as one of them runs as stable as Herokernel-12a, I will eventually switch!
[Hero, G2 Touch Android Development] erasmux:
This is not the one compiled into 1.7, we discussed this already....
[Hero, G2 Touch Android Development] elelinux:
Sorry mean v 1.7.1
[Hero, G2 Touch Android Development] bazaar:
How about launcher Pro? working?
[Hero, G2 Touch Android Development] swatsbiz:
Just install it :-D
[Hero, G2 Touch Android Development] lynx2k50:
GPS is working without randowm reboots?
[Hero, G2 Touch Android Development] orangeclanz:
im still on 1.6, flashed Reimers kernel.no random reboot by far. with stock speed,tested gps,camera n everythings. works like a charm. i can feel very smooth..now let see .35 battery life.. nice.
[Hero, G2 Touch Android Development] marcelin99:
Famous bug

I have almost never been affected by the bug in Elelinux-7.0.0, but since I changed to v1.7.1, I got it many times, even with the above fix. I had to remove the battery each time.

I am giving a last try. If bug coming back I will return to v1.6.

Will Riemer Kernel avoid the bug?
[Hero, G2 Touch Android Development] sotux:
I think gingerbread for hero still has another bug that is the texture is blank while runing quadrant 3D test. Any one knows why?
[Hero, G2 Touch Android Development] vorcigernix:
And now..to make me crazy probably...it started to behave as it used to be with standard kernel.
[Hero, G2 Touch Android Development] keyra74:
no more blackscreen and using 2.6.35 kernel since 2 days now :)
[Hero, G2 Touch Android Development] pwningteddybear:
First of all i wanna thank you for all your hard work and the great roms you delivered:). I have question, this is the first time i try gingerbread, in the beginning i heard launcher pro wasn't running smooth. Is this problem fixed or should I use another launcher or maybe stock?

Thx Rens
[Hero, G2 Touch Android Development] Dark Emotion:
on v1.7.1 launcher pro is very smooth !
[Hero, G2 Touch Android Development] Krizp0:
Especially due to it's recent update! Federico rocks! :D