yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] LucasJV:
Installed it and works like a charm! Just a few things:

- I miss the option to press the red button which locks the screen. It used to lock the screen in Cyanogen roms and in the original. But not with this one.

- I don't have multitouch in Google Maps and the browser. Is this a missing feature or is it a problem specific to my device?
[myTouch 3G, Magic Android Development] st0kes:
Answers!

The red button does lock the screen if you have set an unlock pattern.

Brut.all's maps does have multitouch, I'm unsure whether to include it though. You can find it in the G1 Android Development section.
[myTouch 3G, Magic Android Development] LucasJV:
I do use an unlockpattern. Now the only option for me to lock the phone so it doesn't make calls in my pocket is to wait for the screen to dim and turn off.
[myTouch 3G, Magic Android Development] user1911:
I like it the way it is, so the user can decide wether to push brut.alls version or not.
[myTouch 3G, Magic Android Development] st0kes:
Rom release - 1.5.1 is here

Here's a release to my 'beta branch':

Version 1.5.1

- download

Music widgits from cacheinjection

Using 3d Libs from latest Hero dump

Removed Jit Dalvik VM (it was causing problems), also removed YouTube until this can be implemented properly

Gallery3D (with working rotation - from dferreria)

Graphics in PowerControl widget fixed (from dferreria)

Added all missing symlinks to busybox

This is more stable than the 1.5 release, I've been using it for 24 hours and it seems ok so far ... let me know your experiences with stability, bugs etc.

I will try and get a 1.4.x (stable) release out tomorrow!
[myTouch 3G, Magic Android Development] st0kes:
Have you changed the function of the hang up button in Spare Parts?
[myTouch 3G, Magic Android Development] Lk2:
Did I understand well? Why are you removing Youtube? It works fine (for me...)

I just remember one bug: when I'm developing and launch my apps to the phone directly, I always have a reboot after the APK is installed. I think it's a "unstable version" issue, because before, with 1.4.1, it works fine
[myTouch 3G, Magic Android Development] c130pilot:
Still running happily with 1.4. Is the latest 1.5.1 a speed/performance increase? 1.4 is perfectly fine and reasonably fast, but hey, faster is always better. :D

Tim
[myTouch 3G, Magic Android Development] orangekid:
is there any way to add speech to text mic to the keyboard on this ROM?
[myTouch 3G, Magic Android Development] paulsan:
video playback..

Okay so does 1.5.1 play video files at all? Or does removing youtube mean that it does not play anything? Or should I wait till the next 1.4.x release for video playback?
[myTouch 3G, Magic Android Development] st0kes:
Hmm .. ok .. I must have missing libs in 1.5.1, I will have a look at this and upload a fix. When I released 1.5 a lot of people complained YouTube was broken, I assumed it wasn't working...

I decided not to include it as it was absolutely terrible when I tested it. The Nexus One has a special noise cancelling microphone which is why it works so well on there. Try it on some other eclair roms and you'll see what I mean. Maybe Google can't recognise my funny English accent.

It's an update to 1.5 rather than 1.4. I would stick with 1.4 personally for stability, I'll be updating it to 1.4.2 tonight (hopefully). This update is about adding missing features rather than improving speed.
[myTouch 3G, Magic Android Development] beecee123:
OK, dumb question ... I'm finding that I like the 2.1 clock app a lot - is there a way that either by timeout and/or pressing the red button, the "home screen" would be the clock display??
[myTouch 3G, Magic Android Development] dferreira:
http://xdaforums.com/showthread.php?t=654768

Someone managed to find how to fix wifi on 2.6.32. I'll take a look and see if I can get it to work too.
[myTouch 3G, Magic Android Development] st0kes:
Excellent, will try this later!

Personally I am not that bothered about the camera not working, I can hang on until we get the official 2.x update from Voda/tmobile etc
[myTouch 3G, Magic Android Development] orangekid:
I don't think the mytouch is getting a 2.1 update.
[myTouch 3G, Magic Android Development] orangekid:
how is the stability on 1.5.1 compared to 1.5?

my youtube on 1.4.1 works fine btw.

to update this can we just run a new update.zip over our existing rom w/o wiping or do we need to wipe everything and reflash?
[myTouch 3G, Magic Android Development] id242:
http://phandroid.com/2010/01/05/android-2-1-coming-to-other-devices-too/

HTC and Google had made an announcement late February that all US android phones will be getting 2.1 in some way or another. To fit older phones they may remove other things like live wallpaper. There is no set date other than "Spring 2010" and other information is speculative at the time saying that some may get as regular ota updates and others will involve a computer to install.
[myTouch 3G, Magic Android Development] orangekid:
I'd rather stick with this ROM then at least it has LWPs
[myTouch 3G, Magic Android Development] user1911:
the thing about an official release of 2.1 for mt3g are the drivers ;)

Short feedback about 1.5.1: running smooth and stable. ty for your work
[myTouch 3G, Magic Android Development] orangekid:
that's true, we could just rip the drivers for the mt3g and combine it with the eclair dumps we have just add LWP and such...

I'm thinking of flashing that 1.5.1 then. Do I have to wipe/flash or can I just update from my 1.4.1 without wiping?
[myTouch 3G, Magic Android Development] st0kes:
No wipe required ... remember to do a nandroid though, 1.5.1 has stability issues.

Just finished building 1.4.2, will test it for 24 hours and release tomorrow night.

I'm gonna have a stab at that 2.6.32 kernel now.
[myTouch 3G, Magic Android Development] orangekid:
dude stokes you are awesome. I'm gonna have to donate man, you're like on of the hardest working developers I've seen, updating your stuff and gettin on the new kernels.

Reminds me of when I had my diamond, and I would look forward to the new WM 6.5 build that would come out every few days so I could cook me up a nice ROM and check out the new build.

Thanks for the hard work.
[myTouch 3G, Magic Android Development] orangekid:
Also, would you just recommend me waiting for 1.4.2 then instead of going with 1.5.1 if I am a fan of stability? 1.5.1 doesn't really seem to offer anything that 1.4.1 doesn't except 3D gallery. (my youtube works fine)
[myTouch 3G, Magic Android Development] crypysmoker:
confirmed working on fender LE with fender kernel patched in. I posted it about 10min ago for those that want a shot. Only things not working are BT and video tries to play, but its stubborn lol
[myTouch 3G, Magic Android Development] rfcvb72:
Swap Size

Hi all

is there a preferred or recommended swap size to use with this ROM?

not sure what the benefits of a larger swap size are or what I should be looking for

BTW, I was briefly using an app called Swapper for root with1.4.1, my experience was that it repeatedly screwed up my SD card, I was using a 200MB swapfile.

I have partitioned my SD from recovery and had no problems since

Cheers
[myTouch 3G, Magic Android Development] dferreira:
Here you go st0kes, kernel 2.6.32 + wlan.ko working just fine :)

If you want to test it, enter fastboot on your device and type:

fastboot flash boot boot.img

Then reboot your device and once it boots, write:

adb remount

adb push wlan.ko /system/lib/modules/

adb reboot

You'll have your wifi working now :)
[myTouch 3G, Magic Android Development] dferreira:
I've finally found out where are the EGLConfigs made and how to tweak them. I've found this page where it explains all the values possible. One thing I noticed was that according to source files, we were obliged to have a 3D driver that supported EGL_SURFACE_TYPE = EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT, meaning all of them. I've change it to only EGL_WINDOW_BIT. It's compiling right now, we'll see if Launcher2 and Livewallpapers will finally work without any other hacks.

BTW st0kes, most of the applications on the source, on drawable-hdpi you'll find the updated icons for the drawable-mdpi, which will make the applications have the standard icons for Android 2.1.

I'm off to bed right now (2am :()... I'll update tomorrow.
[myTouch 3G, Magic Android Development] st0kes:
Well, swap is automatically turned on in this rom, when a swap partition is on the sdcard. So by using swapper, you had enabled swap twice! No wonder it got it's knickers in a twist.

Btw I have a 96Mb swap partition, which seems adequate to me.

Well done mate, I'm going to test this now. I'll do some linpack tests against my existing kernel and yours and see the difference.
[myTouch 3G, Magic Android Development] tebbs2009:
1.5.1 ROM

Been using this since last night and its been awesome, really quick and nearly 95% stable had two obscure restarts and live wallpapers acting oddly and not loading but its great to see other developers adding content. Keep up the awesome work and look forward to the updates.
[myTouch 3G, Magic Android Development] dferreira:
This is how I got the kernel working:

- Download the patches file from the post I mentioned before

- Extract them to SOURCE_FOLDER/patches

- Copy this bash script and execute it

This will get you 2.6.32 from source.android.com + apply the fixes you need only to get the wifi working and compile the wifi module.

Hope it helps :)

#!/bin/bash
SOURCE_FOLDER=~/magicDroid
KERNEL_FOLDER=~/magicDroid/msm;
KERNEL_BRANCH="android-msm-2.6.32";

#Get kernel source
git clone git://android.git.kernel.org/kernel/msm.git
cd $KERNEL_FOLDER; git checkout --track -b $KERNEL_BRANCH origin/$KERNEL_BRANCH;
cd $KERNEL_FOLDER; git pull; #update git's

#get latest source from repo
repo sync

#apply patches for wifi compatibility
cd $KERNEL_FOLDER
#patch -p0 -R -E < $SOURCE_FOLDER/patches/002_REVERT_compat_net_dev_ops.patch
#patch -p1 -E < $SOURCE_FOLDER/patches/010_export_init_task_for_wlan.patch

#compile kernel
cd $KERNEL_FOLDER
if [ ! -f $KERNEL_FOLDER/.config ]
then
make ARCH=arm msm_defconfig
fi
#make clean #cleanup last kernel stuff
make ARCH=arm CROSS_COMPILE=$SOURCE_FOLDER/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage -j3

#copy kernel
if [ -f $KERNEL_FOLDER/arch/arm/boot/zImage ] #have we got a zImage?
then
cp $KERNEL_FOLDER/arch/arm/boot/zImage $SOURCE_FOLDER/vendor/htc/sapphire-open/kernel
fi

#compile wifi module to match the kernel too
cd $SOURCE_FOLDER/system/wlan/ti/sta_dk_4_0_4_32
make KERNEL_DIR=$KERNEL_FOLDER/ ARCH=arm CROSS_COMPILE=$SOURCE_FOLDER/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- -j3

#copy updated wlan.ko that matches the kernel
if [ -f $SOURCE_FOLDER/system/wlan/ti/sta_dk_4_0_4_32/wlan.ko ] #have we got a wlan.ko?
then
cp $SOURCE_FOLDER/system/wlan/ti/sta_dk_4_0_4_32/wlan.ko $SOURCE_FOLDER/vendor/htc/sapphire-open/wlan.ko
fi

PS: you'll need to remove the "#" on the lines that you want it to run, since I've patched the kernel on my sources already, I have it skip that line with the "#" before the line.
[myTouch 3G, Magic Android Development] user1911:
Im excited to see the results of a.) the kernel measurement and b.) the eglconfig.

N1 work @dferreira

Edit: Im running the new kernel on 1.4.1 now. So far so good.
[myTouch 3G, Magic Android Development] baseman2009:
dferreira, you are awesome!
[myTouch 3G, Magic Android Development] octupusisonfire:
So I got tired of waiting, mostly beacause of this thread, and went out to get that Kingston msd.

Got home, started the rooting process but I'm stuck hahah Can't install the recovery image. Talk about buzz kill.
[myTouch 3G, Magic Android Development] rfcvb72:
Re: [ROM] "Android 2.1 for 32B" - No A2SD - use the stable version [13/04/2010]

many thanks for the info St0kes, I didn't use swapper with a swap partition, more beacause I was too lazy to partition the card ;-)

its only a 2gn Kingston supplied with the phone, so the probs I had could relate to that

Sent from my T-Mobile myTouch 3G using the XDA mobile application powered by Tapatalk
[myTouch 3G, Magic Android Development] st0kes:
A stable rom release - 1.4.2

Here is build 1.4.2. This is the one I recommend for now.

Version 1.4.2

Music widgits (from cacheinjection)

Added 3d Libs from latest Hero dump

Graphics in PowerControl widget fixed (from dferreria)

Busybox symlinks are all fixed

Amendments to build.prop to optimise 3G speeds

Download here: >> http://drop.io/2ukzlnv <<

---

I was testing with the build.prop options today and was consistently reaching download speeds between 2-3Mb. Where I notice this most is the Android Market, it is so much quicker. Your mileage my vary - these settings seem to be optimal for vodafone UK. See below for my test results!
[myTouch 3G, Magic Android Development] baseman2009:
Thanks!

Updated just an hour ago and it's very impressive.

Perfect release I would say at this point.

What I recognized first, is that the launcher reacts much faster and scrolling is smoothy!

Well done!!

Can't say anything to 3G-speed since E-Plus (Germany) is bullsh** -.-.

Thank you to everyone who contributed :-)!

Sent from my T-Mobile myTouch 3G using the XDA mobile application powered by Tapatalk
[myTouch 3G, Magic Android Development] grandpennerjoe:
updated 1.4.2 too

Its true ... faster starting apps, faster coming back to home screen... scrall smoothly

3g little faster than before (only umts (hsdpa??))

good work!!!!!!
[myTouch 3G, Magic Android Development] paulsan:
can't wait to get home and try this. so youtube is still not working? if youtube is not working does that mean any video payback is not possible?
[myTouch 3G, Magic Android Development] bmxrideher:
Been playing with this for a couple hours now and I love it a lot. I especially like the maps live wallpaper. But am missing the video playback, youtube, and all of the settings that Cyanogen had. I will be flashing back. I will also keep a close eye on this thread to keep myself updated on the change log. Thank you for all of your effort and I look forward to seeing what this ROM will look like
[myTouch 3G, Magic Android Development] johnw230873:
Great rom,

Question: was there 3D support with this rom as the 3D on the 1.5 versions is still alot quicker?
[myTouch 3G, Magic Android Development] Steven627:
is it no suggestion words in keyboard?
[myTouch 3G, Magic Android Development] rfcvb72:
Splash screens

Been using the new ROM for a few hours, very impressed, it is even faster than 1.4.1! recommended to all and a big thank you to St0kes!

I'm not a graphics person (as you can see!) but I've been playing around with splash screens for the past few days and tonight knocked up a couple using St0kes avatar, if anyone fancies them

thanks again for sharing your amazing work!
[myTouch 3G, Magic Android Development] st0kes:
There is no 3D in the 1.4.x roms ... thats why they are stable.

This means no YouTube, Street View, etc as they require graphics accelleration.

lol, maybe I should have spent more time on my avatar, it took me about 3 minutes to create that!
[myTouch 3G, Magic Android Development] rfcvb72:
Haha! its just a kludge, but I thought your ROM deserved it's oiwn splash!

Don't know if it should be, but Street View is definitely working for me using Brut.all

cheers!
[myTouch 3G, Magic Android Development] rfcvb72:
BTW, teeny tiny bug: the power control widget seems to not update, it switches, but doesent show the updated status on the widget, only noticed it on GPS so far

:)
[myTouch 3G, Magic Android Development] dawn-spirit:
I use the 1.5.1 as an everyday use and i've no probleme altough i can't get any video working (even youtube does not work) actually i've just the sound of the video and i don't know if it's me or if it's the rom. But i really love this rom, it's pretty stable and fast and i've no force close. Thx for your work !
[myTouch 3G, Magic Android Development] baseman2009:
@rfcvb72:

Works fine for me!?

I don't have this bug...
[myTouch 3G, Magic Android Development] kibeki:
After upgrade to 1.4.2 and reboot it hangs in the splash screen.

What could be a problem for booting into 2.1?

EDIT: same problem with 1.5.1

Data of the Magic:

SAPPHIRE PVT 32B ENG S-OFF H

HBOOT-1.33.2010 (SAPP10000)

CPLD-10

RADIO-3.22.20.17
[myTouch 3G, Magic Android Development] flumpcakes:
That's really interesting as I updated to 1.4.2 last night and the first thing I tested with Street View and it's working. After reading the other items in the thread I was under the impression that 3D was something you were working on for this release?

By the way great job on this rom. The update is definitely quicker loading apps and changing screen, very nice :)
[myTouch 3G, Magic Android Development] Lk2:
Hi people! I'm using the old 1.5 version (unstable with Youtube).

I'm trying to develop using this ROM, but it's very frustrating because, when I try tu launch my application from Eclipse, the mobile reboot. It doesn't happen always, but very VERY often. Do you have this problem with the newer 1.5.1? I'm trying to install now the 1.4.2 version to try my application.

If somebody asks why I am not using the Android emulator I say: I don't use this emulator because it doesn't work for my application: I need full access to the IP of the device, and the emulator has a private IP address :P
[myTouch 3G, Magic Android Development] dferreira:
That only happens to me the first boot of the device. It's like when you try to add the Calendar on the first boot with Donut, it just says that an error occurred while loading. I usually setup my account on first boot (after flashing the device) and then reboot the device.
[myTouch 3G, Magic Android Development] st0kes:
@dferreria what are your thoughts on the 2.6.32 kernel now? Thanks for posting your script. I got my wlan.ko to build in the end but I had to use patch -p1 rather than p0 in your script to get the wifi patch to apply.

I applied my patches like this

patch -p1 -R -E < patches/002_REVERT_compat_net_dev_ops.patch

I did some linpack tests and found it was more or less the same speed we already had, doesn't seem any more stable either?
[myTouch 3G, Magic Android Development] Jennerster:
Just so anyone wants to fix the keyboard auto complete on 1.5.1.

I just removed latinIME.apk and pushed the voicesearchwithkeyboard.apk from complete eclair and everything works fine now.

Great Rom too thanks
[myTouch 3G, Magic Android Development] user1911:
@dferreira Any updates about the eglconfigs for launcher2 etc ?
[myTouch 3G, Magic Android Development] dferreira:
Good to know you got it to compile :D You'll need to remember to set the permissions right for the msm_hw3dc/m files at boot too to get the 3D working. I'm tweaking the EGLConfig's ATM to make them more flexible. My hope is to get a valid config for our device, meaning that we would get LWP and Launcher2 working from source.

Compared to Cyanogen's kernel, it might be the same speed, but compared to the default MSM kernel that is on the master repo, it's way faster :) The kernel is pretty stable to me, no slowness, everything smooth. The wifi is fixed now, which is great, only thing missing is a working camera.
[myTouch 3G, Magic Android Development] dferreira:
Working on it ATM. It's compiling right now. Yesterday I messed up the EGLConfigs, resulting a non-bootable ROM... I restored the EGLConfig file, tweaked it and let's hope we get a fix tonight! :D
[myTouch 3G, Magic Android Development] dferreira:
While it is compiling, I've research a bit about the issue of the video. I think I found a way to fix it, but I need to test it.

@st0kes

In frameworks/base/libs/surfaceflinger/LayerBuffer.cpp

Go to line 452 and add a /* and then go to line 474 and after the #endif, add */

If you look into the code, you'll see that it's trying to load up copybit to render a buffered image (video). Since we don't have any copybit for sapphire, that code is preventing us from getting image on video. I found this here: http://git.android-x86.org/?p=platform/frameworks/base.git;a=summary, where they tweaked the video for x86. If it works, this is awesome news!

EDIT: another thing I've noticed is that they (x86) have source code for the camera... I wonder what happens if I add their code into our device? I'll test and see if we also get a working camera or something.
[myTouch 3G, Magic Android Development] dferreira:
Video works with the change in LayerBuffer.cpp, BUT buffered images are also used with LWP and also the GUI itself apparently because everything runs in slow motion. The camera drivers don't work per se, but it allows the Camera.apk be built and work without the stub camera! It doesn't crash and all I get a black image in both photo and video... a step forward, two back :(
[myTouch 3G, Magic Android Development] grandpennerjoe:
hey sounds good...

would you share the voidesearchwithkeybord.apk to us... i want to use it for handcent sms to speak my sms

thanks :D
[myTouch 3G, Magic Android Development] crypysmoker:
Only if you want to speak very slowly and clearly. I tried to send a friend of mine a text that said "yeah, that sounds good. Ill see you tomorrow"

What it came out as "yeah, hat pounds food. Cheesburger hansen arselo"

Im not even kidding, That is what came from it lol
[myTouch 3G, Magic Android Development] grandpennerjoe:
dont work

i don't get voicesearch working... i've installed normal and when it wants to start it fails (force close)...

i installed with adb push to system/app and won't work too

some ideas
[myTouch 3G, Magic Android Development] mf76130:
Hi,

This Rom is fast. But important things missing!

Google Earth is not working (by the way this was the reason for me to change to 2.x)

Can't take Videos

Taking pictures is slow

Youtube not working prefect

When theses things are fixed, i will try again!

thanx for all your effort!

michael
[myTouch 3G, Magic Android Development] dferreira:
Update on this...

I've tried all possible combinations (at least that I can think of) and no matter what I set, I always get a non-EGL surface, meaning no LWP and Launcher2 working properly (not crashing...).

Oh well, the problem might be on Renderscript itself. I've tried also getting a Froyo Renderscript update where they added Droid support (same screen resolution as ours) but same result.
[myTouch 3G, Magic Android Development] kibeki:
I really wonder why all of you are to install the rom without problem. Is there something wrong with my device?
[myTouch 3G, Magic Android Development] kibeki:
Sorry, to bother again with this, but I need your help.

I really wonder why all of you are to install the rom without problem. Is there something wrong with my device?
[myTouch 3G, Magic Android Development] rfcvb72:
Try a wipe and clean install, I had a few glitches, nothing as bad as you, but they all dissapeared with a clean install
[myTouch 3G, Magic Android Development] dferreira:
Also, if you have an ext partition, you should clean it. Using Amon_RA's recovery, it should be straight forward process: Wipe->choose the first 3 wipes, then flash the zip file. That should work.
[myTouch 3G, Magic Android Development] eyegor:
@ kibeki : you have the 32A radio and this is a ROM for a 32B device... flash a 32B radio first.

EDIT: do this :
[myTouch 3G, Magic Android Development] kibeki:
I was able to load with eyegors description.

Thanks to all. :-)
[myTouch 3G, Magic Android Development] TjerkW:
The music widget is from 1.6 and there is something strange in the power widget: the green bar in the right toggle button (screen brightness) is a few pixels higher than all others.

These things are just details for the rest it works fine,

i dont even get homescreen reloads (at least i am not aware it happens)
[myTouch 3G, Magic Android Development] TjerkW:
Ow yeah, and GPS is not working..

and there is no Gallery app

Sorry to complain alot , just want to help you make it even better :-)
[myTouch 3G, Magic Android Development] st0kes:
Looks like this is getting quite buggy!! I'll go back to the 1.2 release which had working gallery and gps, and didn't have the 'insufficient space' error in the market. Maybe I'll rethink the live wallpapers, didn't think it would cause so many problems.