yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] cidica:
While I do not have 200+ apps installed to my phone (I honestly do not see the need or the use who uses them all anyways) I do understand where you are coming from. The simple fact is I do use my phone for business but keep data that is of a sensitive nature on it is a no go. You lose your phone you lose the data unless you have a backup on a pc or mac or backup drive whatever. Keeping such data on a phone is a security issue and honestly anyone who thinks it's not has no sense of it.

Nandroid honestly is not all that hard while I've not used it (no need) I've researched it and looked into it and had it working as well. But this is the age old thing Just like upgrading a previous version of Windows to a new version (ie Vista to Win7) while you are on a new system the same old issues are still there and after time they will come back. All you are really doing is applying a patch fix that for the most part does not always last.
[G1 Android Development] Janis:
Summary: best flashing practice, issues/solutions

Best practice to flash is to:

1. wipe and go back to RC29 OR

2. Flash to 3.4.6 first

Flashing this way solves camera/gallery issues.

Alarm problems:

firestrife23 wrote: had same problem with alarm [not going off], but I seem to get this fixed by pushing stock AudioPara_TMUS.csv back in /system/etc and it worked just fine. (I wrote: I've long abandoned electricity et al for waking up if I absolutely have to. I use a reliable wind-up with an obnxious bell. A young child works equally well.)

I haven't found in this thread any other solutions to other common problems. Wifi tethering seems to be one that's plaguing a few people.
[G1 Android Development] wayne07:
left wifi on over the night and woke up with the phone in "coma". 1 thing different is that i can't use power recycling to restart, i got to pull out the battery. What does that mean?

After that, i plugged it to a laptop for logcat but so far nothing. I simply can't get it into "coma" when i am plugged to the laptop.....

Maybe its my class 2 SD card. looking into changing it...
[G1 Android Development] here.david:
Boy I thought it was fast previously...sure seems to have made things smoother overall...

I used my backup 8gb class2 also...might try the class 4 and then the class6 to see if there is any difference...

Anyone know of any (the) best way to "factually document" if there is any increases between class2/4/6...yes the speed downloading-uploading is different, however, any overall day-to-day operations....
[G1 Android Development] cyanogen:
The 3.4.6 build clears that data automatically, and also recreates the android.media user that might cause weird stuff to happen. I didn't include it in 3.5 because it messes with packages.xml and I don't want that in every version.
[G1 Android Development] cyanogen:
Free memory is wasted memory. Every Linux version after the next increasingly uses memory more efficiently. If you aren't using memory for active applications, it's used for caching.
[G1 Android Development] cidica:
ok first issue so far with the 3.5 build. This has been reported by other users as well. While I was on the phone with my gf (was talking for about an hour) I went to hang up the call and I could not do it. Now this has happened on older versions of the rom as well it has also happened with bluetooth and just the normal headset. Not really sure why it does it but even trying to end the call from the menu was not working. I had to disable the bluetooth first then I was able to end the call this time. But other times when I've had just the reg headset in I've had to goto menu and end call as well. It would be nice to try and get this bug fixed just not sure what would be causing it. As I said though I've seen a few users report it in the past and I've had it as well. Other then that so far so good not really any issues with the rom minus a program or 2 just not wanting to stay working after a reboot.
[G1 Android Development] newtothegame:
recreateable issue

I am still having the coma issue.

Quick background: flashed 3.4.5 just a few days ago as my first Cyanogen ROM. Loved it right off the bat but caused a problem with my SD using AppstoSD2 (didn't realize how flawless apps to sd worked with the ROM alone). After fixing my SD card I noticed 3.4.6 was out so flashed that one. Seemed great that night but started getting coma issues the next morning. Found the thread but couldn't find a pattern to when it would lock up (primarily after screen timeout). Flashed 3.5 last night and again it looked great. Today, coma issues. When I saw that it seemed to resolve the issue for lots of people in this post I realized that there was most likely going to be another version this weekend.

As I go on call on Monday and need to be able to trust the phone, I decided to try another ROM to see if it would make a difference. I flashed the Roger's Ramjet r7 realizing that it was likely have issues as it uses the Cyanogen kernel that I think he replaced in the latest version. (Why you ask, I have had many issues with appstosd on other ROMS and at least wanted to try an "auto appstosd" ROM)

Well it looked great for the last 4 hours and I decided to test something I realized today. The last three mornings I have hit snooze on the default alarm app and overslept since the phone locked up. So a 1/2 hour ago I set an alarm, snoozed and it locked up. It has already gone into a coma state once since I rebooted out of the alarm induced coma. I doubt this is a key fact but maybe it will help pinpoint an bug causing some of us to have problems with the kernel.

Sorry for the long post. If anyone has any suggestions or questions let me know. I have not run any optimization scripts other than the file permissions fix in Cyanogen's recovery.
[G1 Android Development] Janis:
My results after 3.5 - 3.4.6 - 3.5, plus Risky

All the gallery stuff is in place. My pics and vids saved. A tiny, tiny bit of the home screen lagginess returned, but so far not very much at all. I was so pleasantly surprised when I started poking around with home stuff in 3.4.6, and only a smidge disappointed when I got back to 3.5. It's not nearly what it was. I mean, I missed a call early today, waiting, I think, for my home screen. Total backup. But that was flashing from 3.4.4 straight to 3.5.

Yeah, I can see the patch concept, but if you're going to use an app and want to keep the data associated with it, you need to have some way, as slip-shod as it may be, to back it up & get it back into working order. I'm hoping to, maybe way too indirectly, spur some thought into development for an idiot*-proof (OK, maybe just moron*-proof) backup and restore app, or at least in this ROM (in the short-term), a no-wipe method to fix issues. Nandroid looks great, from what I've seen, but ADB doesn't seem to be moron-proof. I'm not sure why command line is so intimidating, since entering "www.anything.com" is doing just that, but it is a little freaky facing a blank slate/page/screen. It just is & has been for centuries.

I worry about people who are self-employed or employed by a small or non-profit company, or a big company and not knowing the rules. People do use thier phones insecurely, and precariously. I'm not sure this is a good platform for using for work in an uncontrolled environment, yet. Flashing ROMs less so.

So to all reading, flashing a ROM with a thread titled (in part) "Risky" or any other ROM for that matter, might mean data loss. I heartily recommend knowing how you can restore your data before you flash, or learning to live without it/rebuilding it. Not to be harsh, but that's life in the bleeding-edge lane.

Devs, any chance of making Nandroid useable without entering ADB commands? Other backup/restore that's a bit more customizable than what's out there? I'll post this question appropriately as well, probably all over the place.

* antiquated terms used without reference to anything but current common usage. Not to mention, I what I want is me-proof....
[G1 Android Development] andonnguyen:
Is this persisted after a reboot?

Also, I found the HTC camera to close on its own (not a force close, it would just exit to the homescreen by itself), and then it would randomly switch to and from video - camera mode.

- Full wipe from 3.4.6, formatted ext3 partition before updating to 3.5
[G1 Android Development] fleshdeep:
No more coma with wifi on. Great build Cyanogen!
[G1 Android Development] cyanogen:
I'm working on this for my next recovery image. It seems we can use Linux mtd-utils to do the hard work. Just needs a bit of tweaking to get working right. In a few days ;)
[G1 Android Development] slcikx:
Is anyone having the HTC Camera problem where its effect is automatically set to greyscale, and you can't change it to normal. It will change to sepia, negative, but not back to normal.

Anybody has any idea to why?
[G1 Android Development] ubernicholi:
reset your camera. menu -->setting--> reset to default, then it will work fine
[G1 Android Development] slcikx:
Thanks I feel like a idiot for over looking that lol.

But thanks it worked
[G1 Android Development] jayb222:
Running smooth so far
[G1 Android Development] sim64one:
Try it

Hi everybody,

these are my steps:

wipe & update -> OK

setting my APN manualy -> OK

setting my google account and sync my data -> OK

go to market & install Backup4Root -> OK

restore ALL

restore DATA-SYS

restore APK2SD on a formatted ext3 part -> OK

restore DATA2SD -> OK

reboot the phone

---------------------------------

After reboot:

I find out all my apps; system one & sd too

SD card secondary: total 487 MB free 340 MB //GREAT!!!

Internal memory: free 68 MB //GREAT!!!

version kernel 2.6.29-cm shade@toxygene

test out some app:

quickoffice -> work

K9 -> work + restored my account

Mileage ->work

Atrackdog -> work (136 apps)

then go to Backup4root and restore more things:

SMS

ALARM

DICT

MkDB

Bookmarks

verify call-log & sms -> OK

No issued yet! (i'll hope never)
[G1 Android Development] metallicant:
I've been flashing my phone with Cyanogen roms ever since the "Optimizing the crap out of Android 1.5r2" thread started but I never went with any apps to sd (every app. is on the phones memory). I'm totally a newbie at running any apps off of the sd card and any help would be so appreciated.

I currently have 3.5 build installed, running stable.

I just ordered an 8 gig, class 6 card and it should be arriving next Monday or Tuesday. I have the stock 1 gig micro sd card that came with my phone with ringtones, pictures and a few cyanogen builds on the card. What would I have to do once I insert the blank 8 gig card into my phone to transfer all the apps from the phones memory to the sd card?

Sorry if I posted this in the wrong thread.
[G1 Android Development] sim64one:
app2sd

Do you have a EXT2/3 partition on your SD?
[G1 Android Development] metallicant:
I'll have a virgin 8 gig card which needs to be partitioned before anything I suppose correct?
[G1 Android Development] 71CH:
Sorry that this is a bit OT but I think I might have made my ext3 a bit too small. Right now its at 150 mb. Does anybody know how to make it larger using gparted? Thanks.
[G1 Android Development] samethsom:
I have a question, im currently running thedudes cupcake 1.3 running ext2, is it okay for me to flash this rom, or do I have to update to ext3 first?? Thank you....
[G1 Android Development] ubernicholi:
You can flash without changing you ext partition. Wipe update to 3.4.6 then to don't wipe and update to 3.5.
[G1 Android Development] cidica:
ext2 is fine. ext3 is just and option if you want to use it.
[G1 Android Development] hotadef:
i flashed mine all is well. i used the hero them got a duplicate gallery but other than that all is well. i dont use phone as an alarm so i dont know much about if it will not ring or not.

does this version over clock processor
[G1 Android Development] andonnguyen:
Also, does anyone get a double clicking sound after taking a picture? (even after disabling it, you're still able to hear one click) A little annoying, but not really an issue.
[G1 Android Development] JanetPanic:
update on my wifi tether problem.

the

getsockopt for multiport failed strangely:
No such file or directory

comes from the iptables call and I get it even with an "iptables -L" in terminal. A little googling suggests that the kernel does not have CONFIG_NETFILTER_XT_MATCH_MULTIPORT set?

the missing chain appears to be the PREROUTING chain since this is the line failing in the tether script:

"(while read mac; do '$iptables' -t nat -I PREROUTING -m mac --mac-source \$mac -j ACCEPT || exit 1; done) <'$mac_whitelist'"

which does not quite make sense to me but I will fiddle more later. (The line makes sense, the failure does not.)

EDIT: Bluetooth stereo is working for me now. I am not sure what corrected the problem though, maybe the fix permissions script.

EDIT2: In the case of the bizarre it ends up stereo bluetooth is not working when tethering is active. I am using wifi tethering not bluetooth so I have no idea why that should matter. I suspect it has little or nothing to do with the ROM though. I can not say that I ever tethered and tried to listen to music before. The only reason it came up now is the way I am testing.

EDIT3: Last one I promise.... Cyanogen. What is the setting for CONFIG_NETFILTER_XT_MATCH_MAC? Given the multiport error I am wondering if it is the fact that the match is missing, not the chain. Maybe the XTables choices in general are at the root of my problem?
[G1 Android Development] here.david:
While it is easy to do, I would suggest re-formatting the card. I have all mine as, FAT whatever is left after the ext/swap partitions of apporx. 512mb (480mb - 32mb or 1024mb (992mb - 32mb) that way I can just reformat the ext/swap as time goes by and "NEW" roms come out, new of 'I wonder if' kinds of things pop up by others to try.

I use Ubuntu 9.04, not sure what you use, you just start gpart, click on the sdcard, make the partitions (I also label them as fat/ext so not to make mistakes when I USB them) see attached.
[G1 Android Development] here.david:
Might I suggest putting l-o-n-g printouts into a file and then attaching that file vs. placing it as words for us to have to page thru...:D...I just am asking as I am now adding attachments vs. words....
[G1 Android Development] 71CH:
Thanks for the info. I'm running 9.04 as well. I'm decently versed in linux so as to not fubar things up. I'm not really keen on formatting because I have all of these apps. I'll try to resize manually.
[G1 Android Development] here.david:
Well, I have some updated news....I re-flashed with JFv1.51_CRB43-US, as the wifi tethering was not working, then the Hero 1.3.5 then re-installed the apps, THEN CM-3.5's rom...not only got the tethering back the sound is loud again AND...The connection speed increase, see attached, is awesome...
[G1 Android Development] cyanogen:
Hrm, didn't compile that in. I'll compile it into the next build.
[G1 Android Development] dwang:
Not, but you can cut and paste the steps into the a2sd script and push it back to your phone or wait until the swapper app author adds support for swap partition.

I've been running with a swap partition all day yesterday with no problems at all. Its definitely faster than using a swap file.
[G1 Android Development] Stretch3000:
Ok I have been testing the Rom about 24 hours now. Coma issue seems to be gone. But homescreen lags little and typing on soft keyboard is almost impossible with the amount of lag it has. Gonna do a wipe and reinstall 3.5 to see if it helps.
[G1 Android Development] dwang:
I'm not having any lag issues with 3.5. It could be one of your apps.

I know js weather and dxtop both slow down my phone.
[G1 Android Development] Stretch3000:
That's possible ill check into it before I wipe.
[G1 Android Development] Stretch3000:
Sorry only seems to be the htc softkeyboard that has lag. Natve softkeyboard is fine.
[G1 Android Development] dwang:
Ok, i don't use the htc keyboard. I actually use better keyboard from the market. It works well.
[G1 Android Development] All~G1:
Im running both, which i love, but im thinking of dropping both just to gain the extra performance. I think some of my 'coma' issues are coming from Dxtop loading widgets in the background.
[G1 Android Development] jinx10000:
dwang

Awesome instructions. Really causes stuff to open with little delay.

Placed into my a2sd script for autostart on boot.

Thanks.
[G1 Android Development] Stretch3000:
It only seems to be a problem in the browser. When I go into my note program. It seems to be ok again. Still not as smooth as the native keyboard but a lot better. Anybody got any suggestions on what could be causing the problem?
[G1 Android Development] dwang:
Yeah, I love them both as well.

Dxtop really slows down my phone after a while, the author is aware of the issues, but I don't think he has them completely solved.

Js weather is awesome, but it also slows my phone down. I've installed the weather widget from franciois deslandes and that doesn't seem to slow my phone down. Its the only weather widget that actually doesn't stay in memory. After it updates it kills itself until the next update. Every other weather widget stays in memory.

EDIT: Hmm, even the weather forecast widget is causing slowdowns with my phone.
[G1 Android Development] dwang:
Glad its working for you. Its all about sharing knowledge here. :-)
[G1 Android Development] jinx10000:
I had some issues with this as well.

I turned off all prediction options and changed from vibrate to sound when button pressed.

Now I still have a little lag in browser but not much.

Don't know if that will help you.
[G1 Android Development] Stretch3000:
Decided to just uninstall htc softkeyboard and just

use the native softkeyboard for now.
[G1 Android Development] b0ricuaguerrero:
this is the only error im getting when trying to kill some apps with advance task manager

Permission Denial: restart package() from pid=1696, uid=10046 requires android.permission.RESTART_PACKAGES
[G1 Android Development] jinx10000:
Sorry that it wouldn't work for you.

I use the long press numbers and symbols way too often to uninstall over slight lag.
[G1 Android Development] jinx10000:
No problems noticed with advanced task manager.

Have you tried reinstalling it?

Have you performed a system wipe? I know it's a pain, but it really does solve most problems.
[G1 Android Development] b0ricuaguerrero:
yes i did re install it but i did not wipe at first. it is a pain. but i will try a wipe
[G1 Android Development] Rafase282:
So far dxtop dont work just a crash loop.
[G1 Android Development] jinx10000:
I have seen others on here state that it has been working.

I don't use it myself.

Try reinstalling, then try doing a dreaded system wipe.

Many problems can be solved by doing this.
[G1 Android Development] cloverdale:
Every issue reported can be solved by a wipe (a.s.) People need not be so afraid of a wipe. We all have root here, and thus it is no problem to write a simple script to backup what ever files we may need. Write another to restore, save to these to the SD, and run them via GScript Lite, upon each wipe. I am usually back to normal from a wipe after 15-30 minutes.
[G1 Android Development] dwang:
there's a bug in the marketplace (not unique to cyan's rom) where its showing older versions of software.

Latest version of dxtop is 1.6.10, if its showing 1.0.2 you're d/ling a super old version (which doesn't work with cupcake).

Do a search for dxtop and install that way, then you can get the latest version.
[G1 Android Development] MattyMatt5481:
a bunch of my apps are coming up as private, like mybackup, and i cant bring it back, what do i do?
[G1 Android Development] Amdathlonuk:
I've just upgraded from 3.4.4 straight to 3.5.

NO issues to report yet, camera is fine and in colour and AMAZINGLY better quality?!

Camcorder all working well.

Browser good.

Softkeyboard working perfectly.

I upgraded without a wipe and with the Orange Prodigal Sun theme installed.

I just re-installed the theme after the upgrade and all is normal.

All phone and texts are still present and Ahome widgets and desktop layout is it was before the upgrade.

Very smooth.
[G1 Android Development] yomamaster:
2 days now..and no problems

So I've been running this ROM now for three days and haven't noticed any negative effects compared to 3.4.6.

In fact, there is a noticeable difference in the responsiveness of the UI and applications do load faster. When I had 3.4.6, I had unloaded the following apps because they seemed to be eating too many CPU cycles and were causing Force Close and Wait issues:

chompSMS

GV (Google Voice)

Loopt

Since doing a no-wipe to 3.5, I've re-installed them and I haven't had one single Force Close/Wait window pop up. I barely wait for the interface to catch up with my finger anymore.

Just plain awesome, cyanogen. This ROM, despite some of the glitches for some from the upgrade process, IMO, is much more stable and optimized than 3.4.6.

For anyone interested, my setup is:

SetCPU - set to 528/128

Swapper - file on ext3 partition, 32 mb, swapiness = 10

My ext3 partition is ~500 mb. I currently have around 60 apps loaded on my phone. Some of the bigger hogs are Loopt, chompSMS, Google Maps, YouMail, Google Voice, and twidroid (although it's not all that bad).

Now I have something to show off to those blasted iPhone friends of mine :)
[G1 Android Development] Thats BS:
3.5 has been running smooth. It seems my "coma" issues that I had on the Dude's build didn't come back in 3.4.6, but I had a lot of lag coming out of apps like Twidroid, Fbook, the browser and the Market with 3.4.6. This build, so far, has none of those issues.
[G1 Android Development] jayb222:
Does moving apps from the recovery menu also move dalvik cache using this build? Or am I not supposed to do anything and let the build do apps2sd? All I'm asking is if I did it right and if I still need to put dalvik cache on the card. If I still need to, is it all right to use apps2sd2 app?
[G1 Android Development] stellarman:
Still can't get Messaging to work.

Might I gain any traction by deleting the /data/app files that show up for this app?

Can anyone tell me where I can get a copy of the application .apk file to re-install?

Anyone have any other ideas how I can get this app back?
[G1 Android Development] Chahk:
My testing is going well, so I'm ready to automate the swap partition on start-up. Couple of questions:

Do I need to do "mkswap /dev/block/mmcblk0p3" every bootup?

Since sysctl is being called from the a2sd script, "echo 30 > /proc/sys/vm/swappiness" can be replaced in sysctl.conf with "vm.swappiness=30", correct? Is there a difference between the 2 methods?

Where in the a2sd script would I place the commands to set up and enable swap? The logical way, imho is inside the "if [ -e /dev/block/mmcblk0p2 ] ;" condition, with a nested if statement like so:

... begining of script ...

if [ -e /dev/block/mmcblk0p2 ] ;
then
if [ -e /dev/block/mmcblk0p3 ] ;
then
mkswap /dev/block/mmcblk0p3;
swapon /dev/block/mmcblk0p3;
echo 30 > /proc/sys/vm/swappiness;
fi;

... rest of the script ...

This way the phone would still boot even if the 3rd partition was missing, or even if the card itself was removed.

[Edit]: So far this seems to be working, just wanted a second opinion.

[Edit 2]: Finally got around to donating some $ to Cyanogen. Appreciate your work, buddy!
[G1 Android Development] dwang:
You can put the swappiness in sysctl.conf as well.

You don't need to put mkswap, the swapon line is good enough.
[G1 Android Development] bkmo:
I have added this just after the fastboot section, to the a2sd file in /system/bin

if [ -e /dev/block/mmcblk0p3 ];
then
mkswap /dev/block/mmcblk0p3
swapon /dev/block/mmcblk0p3
echo 30 > /proc/sys/vm/swappiness
fi;

Just pull it, edit it, and push it back. After a reboot running "free" shows the swap being used.

Good luck
[G1 Android Development] b0ricuaguerrero:
System wipe worked like a charm thank you jinx

This rom rocks. Loving the home auto rotate