yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] lovesickformina:
I have newest nightly and default cpu frequency. I haven't noticed any DISes* or battery drain. Battery is good for 2-3 days.

DIS = death in sleep (you can't wake up your phone)
[myTouch 3G, Magic Android Development] mykail:
I tried to do MTD but only thing i get after

adb shell df

is:

tmpfs 97676 0 97676 0% /dev
/dev/block/mtdblock4 133120 1024 131896 1% /cache

where's the rest? /data, /sys?
[myTouch 3G, Magic Android Development] Sleeepy2:
@mykail

What steps did you follow?

I had an issue trying to get is setup as my recovery doesn't have a wipe for system.

Steps that I took are:

mtdpartmap.txt with (mtd 150 3) in it on root of sdcard.

wipe cache + data

flash FR-recovery-v1.5.3-CustomMTD_S.zip

This is where my steps are a little different

reboot to bootloader (fastboot)

fastboot erase system -w

reboot recover

wipe cache + data (just for good measure)

Back to normal

Flash RC4-AutoMTD version.

Flash gapps

Reboot and enjoy.
[myTouch 3G, Magic Android Development] mykail:
first of all I already have had wipe in my recovery (had 1.6.2 AmonRA's, then switched to magic+1.7.0.1 carz).

So I switched recovery to 1701. Done full wipe (dalvik/factory reset/batt/rotation)

installed RC4 - Auto MTD (done it under recovery - flash zip from SD). I've noticed it automatically runs autoMTD.

After that i figured I may do the MTD better than the auto script. So I tried "adb shell df" to figure out how many kb is where. And only thing i get is

tmpfs 97676 0 97676 0% /dev
/dev/block/mtdblock4 133120 1024 131896 1% /cache

in comparison to

carz2@carz2-HP-G61-Notebook-PC:~/android/system$ adb shell df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 98100 32 98068 0% /dev
tmpfs 98100 0 98100 0% /mnt/asec
tmpfs 98100 0 98100 0% /mnt/obb
/dev/block/mtdblock3 174080 106820 67260 61% /system
/dev/block/mtdblock5 169728 114684 55044 68% /data
/dev/block/mtdblock4 133120 2048 131072 2% /cache
/dev/block/loop0 1024 1024 0 100% /system/lib/modules
/dev/block/loop1 2816 2816 0 100% /system/fonts
/dev/block/mmcblk0p2 468331 8226 435120 2% /sd-ext
/dev/block/vold/179:1
7216340 5608896 1607444 78% /mnt/sdcard
/dev/block/vold/179:1
7216340 5608896 1607444 78% /mnt/secure/asec

I believe you should do any MTD after RC4 flash. Prove me wrong :P
[myTouch 3G, Magic Android Development] mykail:
are the steps you've taken the right ones? i got stuck on htc magic logo before first boot. is erase system -w required?
[myTouch 3G, Magic Android Development] loshmy:
hey guys, is usb tethering working for you, I had same issue with gingeryoshi so I dont know is it issue or my phone ;d It can connect but after 2 second disconnect isin progress immediately :)
[myTouch 3G, Magic Android Development] liderzre:
What is htc sense default mtd?

Thanks
[myTouch 3G, Magic Android Development] mykail:
OK. got it. Silly me. I tried on Phone ON (under android). i got full chart under adb shell df.

let the testing begins :)
[myTouch 3G, Magic Android Development] Sleeepy2:
According to Firerat (the one that basically developed the mod) stuff can get corrupted so just fastboot erase system -w to fix it.

I had the same boot loop issues before I did the system wipe and then after I did it all was golden.
[myTouch 3G, Magic Android Development] Sleeepy2:
not sure what you mean.

If you just want to go back to before you did the mtd you can just flash the recovery again and it will but back the defaults
[myTouch 3G, Magic Android Development] mykail:
On the other hand I can't get MTD to work. How should I do it?

First install "DGB-recovery-v1.5.8-CustomMTD_S.zip"

and later "Cyanogen-7-RC4-6355Sapphire" or "Cyanogen-7-RC4-6355Sapphire-MTD" i'm confused. Lots of different versions and no specific instructions. Cheers
[myTouch 3G, Magic Android Development] Sleeepy2:
OK first make sure you have a mtdpartmap.txt with (mtd 150 3) in it on root of sdcard.

wipe cache + data

flash FR-recovery-v1.5.3-CustomMTD_S.zip or DGB-recovery-v1.5.8-CustomMTD_S.zip (I don't think it really matters I used the FR one don't know whats different in the DGB one)

reboot to bootloader (fastboot)

fastboot erase system -w

reboot recover (You must do these reboots or the partitions don't get updated)

wipe cache + data (just for good measure)

Flash Cyanogen-7-RC4-6355Sapphire-MTD

Flash gapps

Reboot

If you want to use FR-recovery-v1.5.3-CustomMTD_S.zip and don't have it check the link in my sig.

It will take a while to boot should be showing the animation, so just wait. You could connect to your pc and watch the logcat but if you don't know what your looking for it wont really help.

If you don't see the animation then there is an issue but it should be fine but will take a while to boot. maybe 5-10 minutes.
[myTouch 3G, Magic Android Development] Curaxa:
I am getting DIS too, not sure why. I can, if I wait, wake it up sometimes by luck. Otherwise battery seams to be decent usually getting 1 to 2 days, though getting that up to three would be great. If anyone knows why, or the steps I can take that will stop the DIS I would be very grateful. I noticed I am using an older recovery (I can't remember which one off hand but I will look tonight if people think that is might make the difference), so I might try upgrading that. I was wondering if maybe it was because I used the AutoMTD.

Otherwise, thumbs up for the rom, it's light, lets me use 6.35 radio which I find has better battery life and connection on my Magic, and it keeps me rooted.

I am running:

03302011 Nightly AutoMTD

HBOOT 1.76.2007

RADIO 6.35.16.19
[myTouch 3G, Magic Android Development] mykail:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 98096 32 98064 0% /dev
tmpfs 98096 0 98096 0% /mnt/asec
tmpfs 98096 0 98096 0% /mnt/obb
/dev/block/mtdblock3 110592 103340 7252 93% /system
/dev/block/mtdblock5 363264 29376 333888 8% /data
/dev/block/loop0 1024 1024 0 100% /system/lib/modules
/dev/block/loop1 4352 4352 0 100% /system/xbin
/dev/block/mtdblock5 363264 29376 333888 8% /cache
/dev/block/mtdblock4 3072 780 2292 25% /dev/cache

why do I have two mtdblock5 both pointing to different resources?

Why not mtd 108 3 like carz suggested?
[myTouch 3G, Magic Android Development] Sleeepy2:
I found with 108 every thing didn't fit, you may find other wise. As for your other question I can not tell you. I know how to set it up not how it works
[myTouch 3G, Magic Android Development] blaster44:
This ROM can't play long movies as cyanogenmod 6, but disabling stagefright for player not working. Waiting for solution.
[myTouch 3G, Magic Android Development] Sleeepy2:
I don't know anything about the file structure but if it boots and you have more space on data does it matter?
[myTouch 3G, Magic Android Development] carz12:
Hi guys, ok first of all 108 3 was for my setup in DietGB, cm7 is much larger, you run adb shell df before doing anything to the phone and look, i would suggest about 140 3.

I always "fastboot erase system -w" I would rather start fresh each install now because I need to see fresh issues and updating won't show them a lot of times, the mtd market thing for example didn't happen to me because I already had a cache/download directory and bind mount prior, a fresh install of mtd a bam no market.

To the guy with the df partition problem, do you have you sd card partitioned with an ext partition? automtd needs one.

To the people helping out others in this thread, thank you!
[myTouch 3G, Magic Android Development] fullgamut:
I found one of the best ways to get around this /cache/download problem is just to wait like a hawk during first boot after flash, and run adb shell as soon as possible, before all the syncs. Once there, just mkdir /cache/download, exit, and watch the log.

In this way, your apps actually get restored properly, otherwise I found you can easily clear your Google account apps list and have to re-install them all manually later.
[myTouch 3G, Magic Android Development] ntphuong:
I think with MTD version, if we do fresh installation, there is no issue with Market download. That is what I did last time due to when I update from RC4 to MTD version without wipe, there is no cache or mtdblock4 partition, even I already have the ext4 partition.

Just for clearly understand, ext4 did not work when I make the fresh installation of MTD, so why do we need that, Carz?

Also, I got DIS issue with the SPU at 352/614, 254/614. But I think it may be related to free memory issue (always happened after me free memory is too low, under 15MB) . After DIS, when reboot phone, the cpu seting back to original setting, not the last setting. So CM setting may be cause of DIS also.

Battery seems OK with me (from 8am to 8pm)
[myTouch 3G, Magic Android Development] ginoyang:
I did follow carz's suggest to set mtd 140 3 and flash the 0402nighty automtd version. Then I did the command which carz was post to fix the market problem.

It works and everything fine even battery look better than rc4. I didn't install autokiller and setcpu. The free ram was keep around 30MB. It's really great!

Thanks Carz...

BTW, I dont hv ext partition in my sd card and df look like below...

# df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 98096 32 98064 0% /dev
tmpfs 98096 0 98096 0% /mnt/asec
tmpfs 98096 0 98096 0% /mnt/obb
/dev/block/mtdblock3 143360 110600 32760 77% /system
/dev/block/mtdblock5 331520 194500 137020 59% /data
/dev/block/loop0 1024 1024 0 100% /system/lib/modules
/dev/block/loop1 4352 4352 0 100% /system/xbin
/dev/block/mtdblock5 331520 194500 137020 59% /cache
/dev/block/mtdblock4 2048 780 1268 38% /dev/cache
/dev/block/vold/179:1
15540224 6010176 9530048 39% /mnt/sdcard
/dev/block/vold/179:1
15540224 6010176 9530048 39% /mnt/secure/asec
/dev/block/dm-0 15576 14340 1236 92% /mnt/asec/com.rovio.angr
ybirds-1
/dev/block/dm-1 2088 660 1428 32% /mnt/asec/com.agilesoftr
esource-1
#
[myTouch 3G, Magic Android Development] ginoyang:
I found this issue also, I didn't install any autokiller or task killer and setcpu apps, this morning RAM keeps on 20~30MB and everything is fine. After lunch, I found the phone start to lag and free ram low to under 15MB even 5MB. don't know why~~~
[myTouch 3G, Magic Android Development] blizard80:
i dont know if is related... but i disabled compcache and i have always 40MB or more free. governator is ondemand as default. i dont use any overclock or underclock... i turned jit on and disabled surface dithering (i dont see any diference in image quality)
[myTouch 3G, Magic Android Development] mykail:
Thanks carz.

I do not have sd-ext partition. but everything went well with install. just did custom mtd and cm7 automtd.
[myTouch 3G, Magic Android Development] Vatri91:
-airplane mod == dis.

-dis, dis, dis

-battery drain
[myTouch 3G, Magic Android Development] blaster44:
1. Dis in airplane mode

2. I can't watch long movies

3. Set vol buttons as zoom in camera and press it- camera FC

I using 2nd April nightly and 528MHz kernel from diet gingerbread thread.
[myTouch 3G, Magic Android Development] faridsaab:
what is DIS?

+1 zoom volumen FC's camera

why you cant watch long movies battery?
[myTouch 3G, Magic Android Development] Sleeepy2:
Why can't you read the thread?

Both of these have previously been mentioned
[myTouch 3G, Magic Android Development] liderzre:
i do mtd 150 3 .

Can someone help me. How can i revert mtd to factory defaults?

I want to flash sense rom?

thanks
[myTouch 3G, Magic Android Development] carz12:
Ok, the airplane mod issue, problem being, if I have usb connected to debug the issue, the issue is gone, it only happens when you are not plugged into usb.

You guys really should get a ext partition set up, look at my free data space. CM7 automagically sets up cache on sd-ext if it finds cache set low like in your mtdpartmap.

Before
carz2@carz2-HP-G61-Notebook-PC:~/androidgb/system$ adb shell df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 98096 32 98064 0% /dev
tmpfs 98096 0 98096 0% /mnt/asec
tmpfs 98096 0 98096 0% /mnt/obb
/dev/block/mtdblock3 174080 139540 34540 80% /system
/dev/block/mtdblock5 169728 19832 149896 12% /data
/dev/block/mtdblock4 133120 39968 93152 30% /cache
/dev/block/loop0 1024 1024 0 100% /system/lib/modules
/dev/block/loop1 4352 4352 0 100% /system/xbin
/dev/block/mmcblk0p2 468331 8226 435120 2% /sd-ext
/dev/block/vold/179:1
7216340 7148400 67940 99% /mnt/sdcard
/dev/block/vold/179:1
7216340 7148400 67940 99% /mnt/secure/asec
/dev/block/dm-0 8312 6596 1716 79% /mnt/asec/com.qualcomm.qx.neocore-1

After

carz2@carz2-HP-G61-Notebook-PC:~/androidgb/system$ adb shell df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 98096 32 98064 0% /dev
tmpfs 98096 0 98096 0% /mnt/asec
tmpfs 98096 0 98096 0% /mnt/obb
/dev/block/mtdblock3 133120 128836 4284 97% /system
/dev/block/mtdblock5 340736 62204 278532 18% /data
/dev/block/loop0 1024 1024 0 100% /system/lib/modules
/dev/block/mmcblk0p2 468331 9387 433959 2% /sd-ext
/dev/block/mmcblk0p2 468331 9387 433959 2% /cache
/dev/block/mtdblock4 3072 780 2292 25% /dev/cache
/dev/block/vold/179:1
7216340 7138144 78196 99% /mnt/sdcard
/dev/block/vold/179:1
7216340 7138144 78196 99% /mnt/secure/asec

Also remember, you have to reflash the mtd recovery file again before flashing the rom if you change your mtdpartmap.txt

The other issues i'll look at to see if it's only on our phones or on cm in general, I know i saw a lot of issues in the hero threads.
[myTouch 3G, Magic Android Development] carz12:
Updated OP with new nightlies that might fix the long movie bug (I have no movies to test) and added a few more instructions for custom mtd partitions.
[myTouch 3G, Magic Android Development] arthurcswang:
Hi Carz,

1. The USB tethering still not working. GBRider 1.9.5 also not working. (under pure Ubuntu AMD64 pure)

2. How to fix camera issues for original CM7? Could you provide some hint?

liboemcamera.so and libcamera.so ? libqcamera.so ? media.stagefright.enable-record ? BOARD_USES_OLD_CAMERA_HACK ?

totally a mess .:(

Private message to me also welcome :)

Thanks.
[myTouch 3G, Magic Android Development] shadow_empire1:
just flashed it on top of you last mtd nightly.

testing it right now.

thx!
[myTouch 3G, Magic Android Development] shadow_empire1:
I have no root rights....
[myTouch 3G, Magic Android Development] blaster44:
Video still not playing correctly.

My observations:

1. general- the best GB ROM for magic

2. nightly 02- DIS in airplane mode

3. nightly 06- no root rights

4. RC4- no DIS, su working

5. In all tested versions video not working correctly(RC4, 02, 06)

6. I'm using 528MHz kernel from diet gingerbread thread

7. Camera and vol buttons is not an important bug
[myTouch 3G, Magic Android Development] ntphuong:
Same to me after flashing nightly 06 over 02

About market download, nightly 06 also can not download when flash over nightly 02.

Last time, when I set mtd 150 50 and fresh flash nightly 02, market can download normally
[myTouch 3G, Magic Android Development] shadow_empire1:
market is working for me...
[myTouch 3G, Magic Android Development] Ntadeusz:
It is strange. I falshed over without wiping and I have root rights.
[myTouch 3G, Magic Android Development] ntphuong:
I can play a video about 30minutes with size of 44MB, but can not play a 10 minutes video with size of 110MB. The screen could not display well while playing video. Gb cronos also the same. Is it the video issue we are talking about?
[myTouch 3G, Magic Android Development] Drag0nh3art76:
Video is working fine with me, MP4,3gp. Video will not work if you have higher resolution. 10 minutes of 110mb video means it has an HD quality.
[myTouch 3G, Magic Android Development] blaster44:
I have video in HVGA(about 700MB). About 1h 10min of playing, video plays but soud and progress bar back to beginnging. In cyanogenmod 6 works if you write one command, in cyanogenmod 7 it's also not working.
[myTouch 3G, Magic Android Development] hone2009:
gmail sync error

hello everyone!

I'm using the latest RC4, which is a really nice rom and probably the best GB rom for NR...

but there's one downside: It doesn't sync the gmail inbox during normal use. It does once after booting the phone up, but I don't get any new mail to phone :(
[myTouch 3G, Magic Android Development] cnossa:
Hi, check your google sync settings definition (Accounts & sync > Google).
[myTouch 3G, Magic Android Development] hone2009:
thanks :)

forgot to mention, that i have tried everything on my mind before posting it to this thread...reflashing with and without wiping, checking every setting, reinstalling the app...
[myTouch 3G, Magic Android Development] alex_canada:
Is the new nightly version from April 6 working OK?

Some people were complaining about not having root after flash.
[myTouch 3G, Magic Android Development] cnossa:
It is working OK but there is no root permissions after flash! Need to follow xbloody tip.
[myTouch 3G, Magic Android Development] carz12:
The no root thing is strange, I just opened term and typed su, su popped up and I gave it root. That is on a fresh install and an upgrade
[myTouch 3G, Magic Android Development] arthurcswang:
Hi Carz,

1. The USB tethering still not working. GBRider 1.9.5 also not working. (under pure Ubuntu AMD64 )

2. How to fix camera issues for original CM7? Could you provide some hint?

liboemcamera.so and libcamera.so ? libqcamera.so ? media.stagefright.enable-record ? BOARD_USES_OLD_CAMERA_HACK ?

Private message to me also welcome :)

Thanks
[myTouch 3G, Magic Android Development] PortableTech:
Can anyone tell me what the difference between CM7 and aospCMod is? Initially it seemed that they were both the same thing, but are they now diverging? Are their certain key differences one should be aware of?

Thanks for any info or clarification you can provide.

-- Mia
[myTouch 3G, Magic Android Development] pckeung:
auto MTD = no need to config?
[myTouch 3G, Magic Android Development] shadow_empire1:
thx that worked.

just that "adb push su /system/bin" did not work

(cannot stat 'su': No such file or directory)
[myTouch 3G, Magic Android Development] xbloody:
That depends where you extract the files, just extract the su and superuser apk to the adb.exe directory, that will solve that error.

If u have estractec to a diferent directory u should write the full path:

ex:

adb push c:\extracted_directory\su /system/bin

and for the superuser apk the same

adb push c:\extracted_directory\Superuser.apk /system/app
[myTouch 3G, Magic Android Development] shadow_empire1:
thx, anyway root is working :)
[myTouch 3G, Magic Android Development] Sleeepy2:
Auto MTD means there is no need to flash the boot patch after flashing the rom. You still need to configure everything first.
[myTouch 3G, Magic Android Development] Drag0nh3art76:
Hey Guys! anyone tried this?

http://xdaforums.com/showthread.php?t=1010807
[myTouch 3G, Magic Android Development] biictorr:
coming from 04 nightly i wiped cache (is this still necessary?), flashed 06 nightly, but i lost root rights. tried a superwipe, flash 06, gapps. but the market and some other gapps aren't showing up in app tray and i couldnt connect to data.. but when i go to settings>applications>manage applications they're all there. tried another superwipe and right now im using sebastian's sense 2.1 rom but gapps still arent showing up and my APNs are gone. any suggestions?
[myTouch 3G, Magic Android Development] ntphuong:
I got this issue also, but just only with ADW and some apps, not gapps. I think that

1. The setup progress did not finish well, so some apps did not be installed. U can see it the system/app or data/app but actually it did not work. U can click and install again ( I did it with ADW and after that ADW work)

2. Superwipe: I always get the trouble of setting up the ROM at first boot every time I run superwipe b4 flashing the ROM. So now, after did superwipe, I also did a wipe and ext repair, in order to make apps installed well. As my experience, do not need to run superwipe if u did not try to make a wipe and install the rom before.
[myTouch 3G, Magic Android Development] godsarmy:
Hi

when i tried to flash this rom, recovery reported error as following:

getprop("ro.product.device") == "sapphire" || getprop("ro.build.E:unknown command [product")]

E:Error in /sdcard/update-cm-CyanongenCARZ-7-RC4-6355Sapphire-signed.zip

(Status 7)

However, i can flash Diet-Gingerbread on my phone. Any clues regarding this issue?

HBOOT: 1.7.6.2007

RADIO: 6.35.10.18

Recovery: RA-hero-v1.6.2
[myTouch 3G, Magic Android Development] godsarmy:
My fault, after i upgraded my recovery, everything is all right.
[myTouch 3G, Magic Android Development] Blaggah:
Thanks but i ended up rooting finally, and was able to load a custom rom to which i can't seem to find now that im looking for it lol.. I'm working on my signature now but can't seem to have located the name of the dev who made the rom i installed.. I'm so skeptical on upgrading my spl and radios because i've bricked 2 G1s and an original white Mytouch 3g before..
[myTouch 3G, Magic Android Development] qq475514339:
what is the mean of MTD？
[myTouch 3G, Magic Android Development] Ntadeusz:
I do. It is amazing.
[myTouch 3G, Magic Android Development] carz12:
I'm testing a new build now, lots of updates from cm, fixed usb tether, added a bunch of performance tweaks.
[myTouch 3G, Magic Android Development] Dexreyes:
Waiting......Hope it will come out soon!

All the best Carz!
[myTouch 3G, Magic Android Development] arthurcswang:
I'm very appreciate it ! Thanks!

BTW, any source/reference for USB tethering and camera fixing?

Nobody know the modification for VGA recording on Smoki ROM?

:D
[myTouch 3G, Magic Android Development] godsarmy:
Fantastic, i am really looking forward to the new version.
[myTouch 3G, Magic Android Development] fr3quency:
When I change the theme from the theme chooser(with the 3 default themes, haven't install another theme), EVEN if I restart, the icons for the Wi-Fi and the network mobile quality( the 4 bars) are white. Bug? Can I fix it manually? :S It's kinda frustrating. It won't change even if I change the theme and reboot. >_<

EDIT: It fixed itself.... When I clicked on C:\Program Files\Android\android-sdk\tools\ddms.bat to take a screenshot of the phone, when I clicked refresh, the icons fixed themselves. :P

Can anyone confirm? Bug?
[myTouch 3G, Magic Android Development] mhc19881010:
great rom ! but the lock screen may be black or it has some issue ...could you fix it ? thank you
[myTouch 3G, Magic Android Development] blizard80:
http://www.cyanogenmod.com/blog/cyanogenmod-7-0-released

OMG! are you talking of cm7 final that got out yesterday???

amazing!!!

thanks!
[myTouch 3G, Magic Android Development] fr3quency:
Can you please add stock gingerbread launcher? :( ADW is lame. >_<
[myTouch 3G, Magic Android Development] andrebeat:
That should be directed at cyanogen, all carz12 does is port CM7 ;)

Anyway, if you want the stock launcher just flash this Launcher2.
[myTouch 3G, Magic Android Development] ntphuong:
Is there solution for low free memory? My free memory is above 5MB and the phone lag. If I do nit install task manager, this issue will happen after around 1hour
[myTouch 3G, Magic Android Development] blizard80:
check what apps are eating your memory...
[myTouch 3G, Magic Android Development] ntphuong:
Contact, Gmail, Map, Facebook, XDA, Easy Money, Cafe (did not automatically update the news). And the free memory is 5MB.

The issue i think here is why sometimes the memory is too low like that?

The minifree memory of android seems not work
[myTouch 3G, Magic Android Development] blaster44:
CyanogenMod 7 stable released! Please, make based-on-this version for magic :)
[myTouch 3G, Magic Android Development] alex_canada:
that's great news :)
[myTouch 3G, Magic Android Development] blizard80:
i think it should release memory and not get so low...

at this time my magic if turned off... had some framework and gmail force closes and after reboot it doesn't turns on... something with a core process getting killed always as i saw in logcat...

well now i'm waiting for cm7 final from carz to start all over again and get the phone on at his best!

:)
[myTouch 3G, Magic Android Development] blaster44:
I hope it's possible to play long movies on magic on gingerbread.