yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] rthorntn:
Love the build but weird stuff going on in 3.5.1

Hi All,

I love this build, thanks for all the good work Cyanogen!

In a nutshell, I got a replacement dream dev phone late last week and I put 3.5.1 straight on it, very nice...but, and there had to be a but, I am hearing a lot of radio interference in the earpiece (almost unusable with wifi switched on), my microphone seems to be cutting in and out, the speakerphone seems to be unusable and the person I am calling is hearing a lot of background noise, could this be anything to do with the image or is the replacement a lemon, I really want to keep this image?

I went straight from v1 android to Cyanogen. Didn't run any commands for apps2sd, didnt put a different bootloader on there.

I am not using any type of headset and multiple call recipients have complained of this problem, I have actually heard it myself (sound muffled and cutting out).

I didn't have this problem on the previous phone before it failed, it was running JF 1.5.

Thanks in advance for your help.

Richard
[G1 Android Development] ubernicholi:
i could not reproduce this, open messaging -> new message -> menu -> attach -> pictures.

it worked fine for me
[G1 Android Development] Denkai:
oops wrong thread, delete post please.
[G1 Android Development] ubernicholi:
i havent experienced this specific issue, but i have noticed that my signal strength is not as good. weak signal spots in my apartment are now dead zones. i didnt have this issue when i upgraded from 3.4.6 to 3.5.2. but after i did a wipe and reinstalled 3.5.2 the dead zones appeared.

thoughts anyone? wipe flash back to 3.4.6 and nowipe to 3.5.2?
[G1 Android Development] gsmobile:
after #sh /system/sd/userinit.sh, terminal give:

swapon: /dev/block/mmcblk0p3: invalid argument

why?

(i'm using ion rom)
[G1 Android Development] ZilverZurfarn:
A) This is the CyanogenMod 3.5.x thread, not the ion thread.

B) Do you have a Linux swap partition as your 3rd partition on your SD card?

/Mats
[G1 Android Development] ubernicholi:
this was happening to me, i forgot for format the lunix-swap fs, boot up gparted and format, it should fix the issue
[G1 Android Development] gsmobile:
a) but i'm talking about swap :)

b) yes

ok, later i'm trying to format the swap partition :)
[G1 Android Development] rthorntn:
Thanks Ubernicholi, should I think about doing the same?
[G1 Android Development] ubernicholi:
if anyone else can confirm then yes, however have you tried using the audio mod and push it back to stock? i believe this version has audio mod v2 which is quite loud over the default volume.

just a thought
[G1 Android Development] sstang2006:
came from previous Cyanogen stable ROM to 3.5.2 and damn this is fassssstttttt.. love it..

one question.. on the previous stable version, my phones internal memory showed up as my EXT3 partition, on this version they are separate, it shows internal memory (84 MB), SD card secondary ( 1224 MB ass ext3 ), and regular SD (FAT32).. every time i install an app it used internal memory instead of my ext3 space.. is it suppose to be like that? Thanks..
[G1 Android Development] farmatito:
Try:

su
mkswap /dev/block/mmcblk0p3

Make sure that /dev/block/mmcblk0p3 is intended to be your swap partition.
[G1 Android Development] gsmobile:
ok, now i have a swap space :D

but it's using all ext2 partion :D lol

swap: Total: 1293224 :eek:
[G1 Android Development] jklong03:
Me too!

I have struggled with this issue also! Here is shot of my mount output just to confirm I have correct partitions:

rootfs on / type rootfs (ro)

tmpfs on /dev type tmpfs (rw,mode=755)

devpts on /dev/pts type devpts (rw,mode=600)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)

/dev/block/mtdblock3 on /system type yaffs2 (rw)

/dev/block/loop0 on /system/modules type squashfs (ro)

/dev/block/loop1 on /system/xbin type squashfs (ro)

/dev/block/mtdblock5 on /data type yaffs2 (rw,nodev)

/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)

/dev/block/mmcblk0p2 on /system/sd type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)

/dev/block/mmcblk0p2 on /data/dalvik-cache type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)

/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)

Yet when I install apps, the internal memory count goes down but the secondary partition space stays the same. I installed 3.5.2 direct from 3.4.6 and did a fs_repair and apps2sd from Cyanogen's 1.2 recovery console after updating.
[G1 Android Development] mascian:
Some doubts about the memory management by the operating system; my situation:

Fat32= 6411 / 6039

EXT4= 1181 / 1058

Swap_Linux = 16

Intmem=

84

/ (after flashing = 87)

When i write "free" in the terminal...:

"

total used free shared buffers

Mem:

97848

94080 3768 0 204

Swap: 16056 4524 11532

Total: 113904 98604 15300

What makes the reference

97

MB of memory? I have

84

mb free...(?)

why (now) does it have only 15mb of free memory?
[G1 Android Development] cyanogen:
MMS is working perfectly for me. Sent a picture of my dog to my wife with no problem. We are both on T-Mobile, though. She sent one to me with no problems as well.

I won't be including anything from Hero. It's highly dependent on HTC's framework modifications which are not open source.

It's on my TODO list.. Eventually I'll get around to it :)

This ROM has the stock audio files, no mods are included.

Your apps are on SD, but their data is on internal storage.

You are confusing memory with storage. Your 84MB is storage. What you see in "free" is memory. Try using "df" to see free storage space. And as far as memory goes, all your memory should be in use at all times. Free memory is wasted memory!
[G1 Android Development] daveid:
I am a little confused about the userinit.sh, is this run at every boot? Or only when flashing a ROM?

On the same note, is there any way I can simply modify the update-script to symlink my media to /system/sd?

Thanks.

BTW - I think there is some magic in the latest build as I listened to music for almost 6 hours yesterday and didn't notice any little skips like I have been with some previous builds. Keep up the good work, it is appreciated.
[G1 Android Development] sstang2006:
Thank you Sr.. keep up the good work..
[G1 Android Development] here.david:
Tx's, however, as my sig shows...Ubuntu 9.04....

BTW, I re-visited the situation still have a few errors that go away after opening-closing specific apps and re-installing now is only a few apps.

1sdcard to 2nd sdcard (path = to Desktop)

After reformating ext and coping the 1st sdcard's Ext to my desktop:

./adb push /(path)/Desktop/userinit.sh /system/sd

./adb push /(path)/Desktop/app /system/sd/app

./adb push /(path)/Desktop/app-private /system/sd/app-private

./adb push /(path)/Desktop/dalvik-cache /system/sd/dalvik-cache

Even after fastbooting nandroid after that...
[G1 Android Development] cyanogen:
There are actually two scripts that can be called. One is /system/sd/userinit.sh and it's called on every reboot after the a2sd setup and before the Android runtime starts. The other script is /data/firstboot.sh and it is called before a2sd setup and deleted afterwards. The purpose of this script is for upgrading various things after applying an update.. For example in 3.4.6 this script is used to modify packages.xml to make way for the HTC Camera/Gallery so you don't have to wipe.
[G1 Android Development] here.david:
Works on mine...I use anycuts to make a shortcut and send from that not tried 'just using stock' hold on I will try he says to himself...:)

Yep, stock also works...
[G1 Android Development] here.david:
I too had a time getting it to work....I just copied it to my Home directory *****AND***** then found out I needed to put "./" in front of all commands

Using terminal as root:

root@a6110n:~/android-sdk/tools# ./adb devices

List of devices attached

HTnnnllnnnnn	device

./adb remount

* daemon not running. starting it now *

* daemon started successfully *

remount succeeded

If you get:

root@a6110n:/media/NTFS/android-sdk/tools# ./adb remount

error: device not found

then type:

root@a6110n:/media/NTFS/android-sdk/tools# ./adb kill-server

then type:

root@a6110n:/media/NTFS/android-sdk/tools# ./adb remount
[G1 Android Development] hamshu:
Not sure if you can, but have you tried imaging one SD card and then copying it to another? Use Acronis True Image and take an exact copy of each partition and copy that all on there. I have no idea if that will work, but its an option.
[G1 Android Development] twosixths:
Yeah... Still no MMS. :( The wife tried sending me some (she's also on T-Mobile) but no results. I also noticed that my "Gallery" app is gone. I heard of a few people having this issue on the other Cyanogen post, so I'll check there for resolution. I sent an MMS to the evil monkey that points at me (a.k.a. benmyers2941), we'll see if he gets it.

I updated to 3.5.2 directly from 3.4.4. Any ideas?
[G1 Android Development] hamshu:
You have to go from 3.4.4 -> 3.4.6 first then update to 3.5.2. 3.4.6 has a firstboot command, that fixes your package.xml. Should work fine if you go that way.
[G1 Android Development] twosixths:
Did you lose your Gallery app? Mine's gone and I have the same problem.
[G1 Android Development] twosixths:
Here goes nothing! Thanks for the reply!
[G1 Android Development] b.mann:
Boot loop?

I was coming from a stable build. I wiped before I flashed, yet my phone is stuck on the Android screen-and the image animates for a minute or two, then it freezes up and starts the whole process again. It never goes past the android screen, just stays there. Any help?
[G1 Android Development] twosixths:
Here goes nothing! Thanks for the reply!

Any idea where I can get a copy of 3.4.4? Looks like the old thread juas has 3.4.6...
[G1 Android Development] temporizer:
I was able to get it from someone with t-mobile. but have yet to test the "subject" line thing. Downside is, only a handful of people i know are on t-mobile...

...

...

is the data on internal storage purposefully?
[G1 Android Development] dubbeld00:
http://android.v-dh.nl/?m=Updates

try this... 3.4.3 (or whatever version you were using) to 3.4.6 update and after that 3.4.6 => 3.5.2...

I updated from 3.4.3 to 3.5.2 succesfully... so it's strange that you have to fix stuff...
[G1 Android Development] ubernicholi:
try this

adb pull /system/app/Camera.apk c:/Camera.apk

adb pull /system/app/HTCAlbum.apk c:/HTCAlbum.apk

adb remount

adb shell

cd system/app/

rm Camera.apk

rm HTCAlbum.apk

adb push c:/Camera.apk /system/app/Camera.apk

adb push c:/HTCAlbum.apk /system/app/HTCAlbum.apk

then navigate to the /system/app/ folder using a file manager, click and install them both, dont forget to install them.

alternatively, using astro you might be able to click and uninstall then reinstall without needing adb.
[G1 Android Development] temporizer:
is this to get the gallery removed or to get the mms to work?
[G1 Android Development] Redeye:
Okay ... I've been using TheDUDE's ROM for awhile now and because of the 1.3 issues I'm thinking of making the switch to Cyanogen's ROM.

Should I go ahead and flash 3.5.2 or should I wait until the next release?
[G1 Android Development] temporizer:
Ok. Mount your sd card on your computer from your phone via USB. Then, on your phone: Menu > Settings > SD card & phone storage >

SD card says unavailable, because the fat partition is mounted, the phone doesn't see it, this is normal.

However the SD card seconday partition is also unavailable.

My question. If there is a fat and an ext3(secondary) partition and the fat is mounted and unavailable, why does the secondary(ext3) partition become unavailable if it's not mounted to the PC like the fat partition?
[G1 Android Development] ubernicholi:
wipe. flash to 3.4.6 then nowipe to 3.5.2 and you should be good
[G1 Android Development] Denkai:
deatails of what you did or didn't do would be nice, what stable build version you came from, what's your system stats, etc.
[G1 Android Development] Redeye:
I will give it a go. In the future if you need to wipe will you always need to flash 3.4.6 first or is this only needed if you are new to this ROM?

Thanks!
[G1 Android Development] ubernicholi:
I believe is just this once, I could be wrong. Can anyone confirm?
[G1 Android Development] xdothenderson:
after a wipe my int mem. had around 74 mb. i was wondering how to activate the swap space.

when i type free in the terminal my swap reads:

swap 0 0 0

what commands do i have to use to activate the swap space and i have fat 32 & ext2 partitioned do i need to partition an ext3 portion? or is it something i type in terminal for it to automatically create the ext3.

any help would be appreciated.
[G1 Android Development] Amdathlonuk:
I tried to do the same, but couldn't work out which was which..... :D
[G1 Android Development] timal:
Just wondering if twocents got this corrected. I have tried this and removed and added HTCAlbum/Camera.apk. Reinstalled and have the same problem. I can only get gallery to work. If after every reboot I delete the camera data.

Maybe this can help fix this: When I take a picture with the camera, it doesn't show up in the camera pictures folder. When you look in gallery it puts the picture in all pictures. Anyway, can this be fixed ?

I found a workaround. Move to trash the icon for Gallery. Use bettercut and create new>activity>scroll to Gallery2 and create a new icon. It takes a while to populate on your phone. Just wait a few minutes, click the new icon and pictures are back. The regular icon still doesn't work. New one does.
[G1 Android Development] phantasm714:
Last Resort

OK, so before I get flamed for asking this, yes I know this has been discussed extensively. I wouldn't be posting this if I hadn't already spent all day trying to fix this. This includes searching and reading the forums.

I am getting force quits with Power Manager Pro. /ducks

I know it's a permissions issue with protected apps. This was a known issue in 3.4.3. However I am on 3.5.2, and came from 3.4.6. Here's my upgrade path:

JACHero2.0r3

CyanogenMod 3.4.6

CyanogenMod 3.5.2

PMP was previously working before JACHero on CM3.4.3 with the 3.4.2 boot.img. I did a full wipe before upgrading to both JACHero2.0r3 and CM3.4.6. This includes booting into recovery mode, mounting the my ext3 partition and performing a 'rm -r *' on the root of the partition.

I've already tried:

booting into recovery (cyanogens) and running fix_permissions. 'com.acme.powermanagerpro.apk' is reportedly fixed.

After still getting force closes, I went into terminal and typed:

busybox chown 1000:1000 /data/app /data/app-private /data/dalvik-cache
busybox chmod 771 /data/app /data/app-private /data/dalvik-cache

this was posted in the stable builds thread by cyanogen, and it fixed some people's problems

I restarted the phone, tried opening it again, but still, force quits. so I uninstalled and reinstalled. nothing. so i uninstalled again, went into terminal and saw that 'data@app@com.acme.android.powermanagerpro.apk@classes.dex' still existed after uninstall, so i deleted, then retried installing. still force quits, so i tried running 'fix_permissions' from recovery, then rebooting. and still force quits.

thats where I'm at now.
[G1 Android Development] ScottGood:
@ phantoms,

Did you redownload power manager pro fro your download list or after a search on the market?

If your icon is yellow you have an old version. Uninstall then do a search for power manager and select the one that you bought. That fixed my issue with it.
[G1 Android Development] cyanogen:
You only need to install 3.4.6 if you are coming from an old version of CM and don't want to wipe. If you are wiping anyway, just install 3.5.2.
[G1 Android Development] d2dthetide:
Ok...I placed the userinit.sh file in root on the sdcard opened terminal and entered $su

#cd sdcard

#cp userinit.sh /system/sd

#cd /system/sd

#ls

I saw the file in system/sd

copied update cm-3.5.2 to root sd and renamed it update....rebooted into recovery and ran alt s. Everything installed with no problems and is running well. No problems with pictures messaging..no force close...wont discus market.

This is running fast but not sure flashing the new ROM 3.5.2 activated the swap file because when I run free in terminal it says swap 0 0 0. Doesn't 3.5.2 have something that looks for a user file if if there it activates it? It's a shame...my phone loades faster than my computer:)
[G1 Android Development] cal3thousand:
NEED HELP

I am trying to test out if the 5 screen launcher is the issue that dxTop is having right now. So I want to revert to a 3 screen one while using 3.5.2

I tried to push the Launcher.apk from CM3.2 after flashing CM3.5.2 and now I just get acore errors.

Is there a way that I can get a 3 screen Launcher.apk to work here? Do I need to open up the update.zip and replace the Launcher.apk and resign/rezip?

What Launcher.apk should I use to get the result I want
[G1 Android Development] Denkai:
removed icons from the desktop from all screens then throw the launcher on.
[G1 Android Development] Denkai:
where are people getting the idea you need to flash your rom afterwords? DON'T!
[G1 Android Development] timal:
Cyanogen could you look into this. It takes a long time for the bettercut shortcut to populate the pictures. Any reason the gallery2 shortcut would work and the system gallery not ?

I just want to help make the Best rom

even better.
[G1 Android Development] cal3thousand:
THANK YOU!!!!

You are the MAN! or WOMAN... I don't know and am not trying to infer... just saying THANK YOU.\

Now to try this dxtop out and find if that's the issue.
[G1 Android Development] temporizer:
$ mount
rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)
/dev/block/mtdblock3 on /system type yaffs2 (rw)
/dev/block/loop0 on /system/modules type squashfs (ro)
/dev/block/loop1 on /system/xbin type squashfs (ro)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p2 on /system/sd type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)
/dev/block/mmcblk0p2 on /data/dalvik-cache type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)
/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)
$

I thought squashfs was eliminated?
[G1 Android Development] d2dthetide:
Since I was on 3.5 and I wanted 3.5.2....I do need to flash....something:)
[G1 Android Development] slcikx:
I flashed 3.5.2 from 3.5.1 and my gallery is missing, any tips & tricks to get it back.. Thanks:D
[G1 Android Development] beast.in.black:
Try this: 3.4.6 -> 3.5 -> 3.5.2. You shouldn't need to wipe during any of this, and it ought to bring your gallery right back.
[G1 Android Development] cyanogen:
Just posted 3.5.3. This release contains a number of changes I pulled from master and patched in manually. Of note is the multithreaded A2DP patch, please test if you have BT hardware- it should reduce skipping. The font rendering is slightly nicer on this version, and the lock screen glitches should be fixed. See the first post for the full change list.
[G1 Android Development] tissle:
Downloading 3.5.3 now and updating!

Will EDIT and let you know of possible bugs.
[G1 Android Development] carlitozway57:
I'm about to update to the 3.5.3 but I'm on 3.5.2 and I'm getting random reboots every so often while not even touching the phone. No clue why. Is 3.5.3 supposed to address this or am I the only one with this issue?
[G1 Android Development] cyanogen:
Possible that you are getting a kernel panic/oops for some reason. I'm working on a way of collecting crash dumps or at least the panic log, but it's harder than it sounds.
[G1 Android Development] happyface_0:
My sync is broken on 3.5.2, this might have been WiSyncPlus's fault; but is still broken after an uninstall.

Updating to 3.5.3 now
[G1 Android Development] carlitozway57:
I'm getting a lot of slow downs and crashes now. None of this happened on 3.5.1. Was just trying to copy the update to my sd card and it froze again. Is there some step I could take to help you figure out if theres a bug or something? I'm on the verge of reverting to the stable build because this is becoming unusable but I'll hang on a bit longer if theres something I can help with.
[G1 Android Development] Rafase282:
Updating to 3.5.3 withotu a wipe. The fix_permission script shoudl fix any issues i think.
[G1 Android Development] cyanogen:
Almost sounds like hardware to me. The changes since 3.5.1 have been pretty minimal. If you try another ROM, let us know if the problems persist.
[G1 Android Development] stellarman:
writing 'boot'... FAILED (remote image update error)

Has anyone tried to do a Nandroid restore lately?

This morning I booted into fastboot and tried to reload a nandroid image I made yesterday.

All images flashed fine and gave me the success message, except with boot.img I got this:

sending ' boot' (2560 kb)... OK

writing 'boot'... FAILED (remote image update error)

reboot ===> stuck at G1 screen

I had this same problem on CM 3.4.4 and posted about it in the old thread. Now it has happened with a different, fresh Nandroid backup on a different CM ROM. Re-flashing 3.5.2 got me out of the boot loop, and flashing only system.img and data.img got me back to a working 3.5.2 installation.

@Cyanogen: What in the boot image could be causing the boot.img to fail to flash?

I have not flashed any new ROMs since moving to your build several weeks ago, and do not plan to. So, I don't REALLY need to be able to flash the boot.img from Nandroid. But, I thought you should know that this has happened to me twice now on with two different nandroid images of two different of your builds.

I hope this helps.
[G1 Android Development] cyanogen:
Try doing a "fastboot erase boot" first. I've seen it happen before, I don't think it is related to the ROM at all.
[G1 Android Development] cboy007:
can someone clarify what fix_permissions does? i've always updated without wiping and never needed to use it...should i?

just clarify when it should be used really...

XDA is going really slow today... :(
[G1 Android Development] jinx10000:
I have tried downloading the ROM files through phone, renaming to update.zip with Astro app and then trying to patch.

Every time I do this, I get errors. I believe the error is something like cannot create or read /data/app.

Is this expected or am I just getting corrupted downloads?

If expected, any way around this?

Tried to flash a couple of the new 3.5.x versions while I have been out of town away from PC for the last couple of days.
[G1 Android Development] rthorntn:
Could anyone please add more input into the issues I am having?
[G1 Android Development] B-man007:
haha i love how you keep everything up to date

I keep flashing everyday it seems and fixing up everything back to how I like and then the next day... NEW UPDATE !!!

i need to automate this process :P

You should try another ROM (and wipe too) and see if the problem persists
[G1 Android Development] temporizer:
downloading and flashing now. i'll post updates/bugs when i get home tonight unless major i'll post right away.

No doubts.
[G1 Android Development] ScottGood:
Just downloaded 3.5.3 with phone browser moved and renamed with astro and flashed.

All was good till f/c's left and right, ran fix_permissions and all is right with my DREAM world. Thank you cyanogen.
[G1 Android Development] jinx10000:
Have you tried to wipe your phone?

It is a pain but it is really the magic cure for most problems.
[G1 Android Development] jinx10000:
Thanks for the info. I must have just lucked into some corrupted downloads.
[G1 Android Development] ScottGood:
@ jinxx

If you can turn on 3g. Its so much faster.

Took me less than 10 mins to download :D