yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic General] redfiredog:
Hello,

I've problems to install Cyanogen 4.2 on my HTC Magic.

My setup:

HTC Magic (Vodafone)

Sapphire PVT 32B ENG S-OFF H

HBOOT-1.33.2005 (SAPP10000)

CPLD10

RADIO-2.22.19.26i

Apr 20 2009,15:30:43

- Android SDK installed on PC.

- USB driver installed.

- started "CMD" and give command:

fastboot boot cm-recovery-1.4.img

- Now I've maked a nandroid backup.

- Connected to USB and copy nandroid map to my PC.

- Formatted sdcard.

- Placed cm-recovery-1.4.img and update.zip to my SDcard.

- Started fastboot on my Magic.

- fastboot boot cm-recovery-1.4.img

- Wipe/reset factory.

- Apply update.zip.

Now my phone is doing the update and says everything is OK. When the update finisched I press restart. On startup only the Vodafone logo displayed. After 30 minutes only logo.

Whats going wrong?

I've read something about wrong spl package? Someone know this issue?

Also when I do the command adb devices there are no device found. When I check my Device manager on the PC I see an Android Phone and the drivers where installed correctly.

adblogcat command :

* daemon not running. starting it now *
* daemon started successfully *
- waiting for device -
I//system/xbin/busybox( 48): +++ "This is your world, these are your people. Y
ou can live for yourself today, or help build tomorrow for everyone."
I//system/xbin/busybox( 48): +++ Welcome to Android 1.6 / CyanogenMod-4.2
I//system/xbin/busybox( 48): [: 1: unknown operand
I/logwrapper( 48): /system/xbin/busybox terminated by exit(0)
I/DEBUG ( 73): debuggerd: Oct 23 2009 18:52:50
E/flash_image( 79): error opening /data/recovery.img: No such file or director
y
I/vold ( 72): Android Volume Daemon version 2.0
I/vold ( 72): New MMC card 'USD ' (serial 103819993) added @ /devices/plat
form/msm_sdcc.2/mmc_host/mmc1/mmc1:b368
I/vold ( 72): Disk (blkdev 179:0), 15659008 secs (7646 MB) 1 partitions
I/vold ( 72): New blkdev 179.0 on media USD , media path /devices/platform
/msm_sdcc.2/mmc_host/mmc1/mmc1:b368, Dpp 1
I/vold ( 72): Partition (blkdev 179:1), 15650816 secs (7642 MB) type 0xb
I/vold ( 72): New blkdev 179.1 on media USD , media path /devices/platform
/msm_sdcc.2/mmc_host/mmc1/mmc1:b368, Dpp 0
I/vold ( 72): Evaluating dev '/devices/platform/msm_sdcc.2/mmc_host/mmc1/mm
c1:b368/block/mmcblk0' for mountable filesystems for '/sdcard'
I/vold ( 72): Aborting start of /sdcard (bootstrap = 1)
I/vold ( 72): Volmgr not ready to handle device
D/vold ( 72): Bootstrapping complete
[myTouch 3G, Magic General] windroid:
Rooting HTC Magic on OSX

I am so confused. I'm using Mac OSX and I think I followed everything that needs to be done based on the guide found on Full Update Guide - G1/Dream/Magic32A Firmware to CyanogenMod. But when I get to step 5 under Installation, I'm "command not found" error on Terminal. I hope there's a step-by-step or screen-by-screen tutorial on this, starting from installing the SDK. Sigh :(
[myTouch 3G, Magic General] koreancanuck:
Did you flash the DRC83_defanged.zip first? You need that for CM4 ROMs.
[Desire General] masi0:
hi - is there a way to make Desire screen be locked while making a phone call od lock the phone by power button to do so?
[Desire General] Zerodivider:
Um.. mine does that automatically? I.e., when I raise the phone to my ear, the screen goes black...
[Desire General] masi0:
but does it goes blank while in your pocket?:)
[Desire General] samsanchez88:
Yes, i believe it should. Unless you have very ample pockets i don't see why or how the device would tell the diference between your face and the inside of your pocket!
[Desire General] Phil750123:
Yer it built it with the movement sensor and the light sensor.

I.e when the movement sensor determins it been moved ( out of your pocket whatever) and the light is dim ( next to your ear) your phone locks :)
[Desire General] PseudoReal:
When I connect my Desire to my BT Headset, my Desire stays unlocked during and after the call in my pocket, which causes odd things: Sometimes, I touch - by accident - the hang up button or I start some random applications and this is all because the phone remains unlocked in your pocket.

It would be good to have a lock app, that recognizes a connected (wired or wireless) headset and then changes the locking behaviour.

Thanks
[Desire General] cafematt:
This is my problem too. could someone suggest an app????
[Desire General] S-Treffi:
i also have exactly this problem. i used lockbot - but this app was buggy and sometimes sense and the IME crashed. im searching for a sense-lock-solution.
[General Questions and Answers] Osama Shah:
Hey Guys,

I know Mobidiv has a great app to enable Arabic support for WM devices, but it only supports Arabic, and does not have the alphabets for Urdu or Persian. I heard before that the official 6.5.X ROM release will have full arabic support, but its not fully functional in the present beta leaks. We can see the alphabets but they have breaks after every alphabet and also are not set in the right to left format as are all of these languages written! maybe a registry tweak can take care of this problem! any one know where to start?

I once saw an earlier build of Mobidiv which had an accompanying "remove spaces from alphabets fix" cab file, maybe that can help us?! I'll search and update here if I get hold of it... in the mean time any input is welcome!
[HD Mini General] mrmartischmi:
Guys, my video recording does not work in 640x480 nor in 320x240. Sound is recorded, but no video... Only CIF works like expected (Video with sound).

Anyone else with that prob?

Thanks,

Marti
[HD Mini General] Wackey:
Hi,

i got the same problem.. there are only sound on the video recording..
[HD Mini General] darknos:
The same after installing "ringtone-patch". :(
[HD Mini General] esnwizz:
got the same problem. only works in CIF resolution with H.264
[HD Mini General] moscard:
I do not have any problem recording video both on momory and SD card and with sound in 640x480 / MP4.

Could you explain how to reproduce this behaviour ?
[HD Mini General] darknos:
I fixed it by deleting HKLM\Software\HTC\Camera\recparam\MP4VGA registry key.

If you afraid of deleting, try to rename it.
[HD Mini General] rigo007:
did anyone else try?
[HD Mini General] esnwizz:
it works! just tried it.
[HD Mini General] mrmartischmi:
YESSSSSS!!!

It works fine after deleting of this reg key.

Best regards to all,

Marti
[HD Mini General] robertszydlo:
is it really working?

when I bought HD Mini the recording in VGA quality worked fine. I did some customizing (nothing unusual- just installed some apps and tweaked manila to my liking) and.... the VGA mode stopped working. It records audio only. I tried to delete the MP4VGA registry key and after this HD Mini records video in VGA but:

1) the video quality is very poor when compared to the recordings before problems. I checked the files- the resolution is the same (640x480) but the bitrate is drastically lower- it is 375 and used to be 1441. it looks awful

2) the funny thing is that when I opened the registry editor the deleted key is back again. I am a newbie to registry editing and have no idea if I deleted it the "wrong" way and how it restores itsef. I tried several times and after soft reset the key is back again

My most important question is: mrmartischmi and darknos- can you record a high quality files ( hi bitrate?) after the tweak?

thank you
[HD Mini General] mrmartischmi:
@robertszydlo:

Sorry for the late answer.

You are right:videos have a very low bitrate and thus are of bad quality.

Its false to delete the folder MP4VGA.

I restored it from my backup and set the key "Bitrate" to 1500000.

This made my Videos look much better and the Bitrate returned to be about 151 kBps instead of only 40. Higher values did not work though.

Hope this helps, I am investigating more at the moment...

(maybe someone can post the complete "original" keys of the MP4VGA folder?)

Thanks so far,

Marti
[HD Mini General] robertszydlo:
yeah! this one really works (Thanks mrmartischmi!) but it gets me even more confused :)

after setting the value to 1500000 my phone records great looking videos but the files and the bitrate(well over 3000 now ) are huge! I don't have a problem with large files - it just makes me think:

-what was the original value ( can someone please check and post?)

-why in the world it stopped working? can I expect now to work continuosly and not fail while recording my masterpiece video :) ?

thank you
[HD Mini General] mrmartischmi:
@robertszydlo:

I only got 151 kBps, how can yours be 3000?

Did you check on the PC with Quicktime or something else?

Could you post the size, duration and bitrate of a sample video so I can check with the parameters of one of mine?

I am pretty confident, we will understand it in the near future :-)
[HD Mini General] ci6i:
reg keys

I'm using 1.32.479.2 WWE ROM with the last HTC hotfix installed. Bellow is MP4VGA key folder, exported from my registry and a screen with info about a short video i've just made.

I've checked the "bitrate" key and mine is 1500000 too.

Hope it helps.

EDIT: the keys have the original values and i don't have any problem with video recording.
[HD Mini General] robertszydlo:
mrmartischmi,

I am not any math expert so I can make mistakes- that's why I don't try to convert bits to bytes or do any math :) I just give you the numbers I see on my mac screen :) when I "get info" about the new file (value in registry set 1500000) it says it is 640x480, codecs MPEG-4 Video, AAC duration 00:16 audio channels 1 , Total bit rate 3,217. It is probably the bitrate of audio+video in bits? I am not sure how it compares to your 151kBps but your bitrate can be video only expressed in KB.... there are probably many guys on this forum that can enlighten us :)

ci6i,

thanks for help, the one thing that is strange to me is that before any tweaks my phone recorded files with much smaller total bitrate ( get info says 1486) so maybe in my rom the original registry value was lower?

anyway, yesterday I recorded really long files and everything works, so I am happy :)
[HD Mini General] mrmartischmi:
@robertszydlo:

Sorry, it was not my intention to bother you with maths... I was just wondering, why the rates are so different although using the same keys in registry. Could you post the filesize of the small clip you mentioned before so I can compare these parameters to a clip of mine?

@ci6i:

Thanks a lot for your help. I compared the values of the reg key to the ones I have now and they are ecactly the same.

So the question is: why did robertszydlo recorded videos with a much smaller bitrate before the tweaking? Maybe there are other keys to change ...
[HD Mini General] SoftWord:
I'v discovered days ago that this bug is generated by using BsB Tweaks with option "Video MPEG4 Bitrate" enabled or HD2 Tweak with corresponding option enabled..........don't use this tweaks utils if not certified with HD MINI....
[HD Mini General] robertszydlo:
hi mrmartischmi,

I uploaded 2 videos- nr 1 is recorded the first day I got the phone, no tweaks

nr 2 i after the last tweaks (value 1500000 in registry) ... bigger bitrate ant bigger file. Can I see difference in quality? well- I am not sure- see for yourself :)

@ SoftWord: you are probably right! I switched the bsb bitrate tweak on, and this could cause the whole problem, thanks for your input
[HD Mini General] darknos:
The best quality I got when remove all keys from MP4VGA registry folder except one: BitRate = 1500000. but 15 seconds video is almost 6Mb on card

Notice: If you leave FrameRate = 20 or 30 in MP4VGA, video file size will be about twice less and quality will be worse.
[HD Mini General] rigo007:
def that's the problem why the video recording not working. without it my video recording's working fine.

watch out with this setting, guys!
[HD Mini General] zenwarlord:
2nd video looks better quality.
[HD Mini General] bakura88:
BIG THX! (and also to other hints in this thread!)

i also worked on my mini with bsb tweaks, and unfortunately last friday when i really needed videofuntion of the phone (like all holy times once in a lifetime...:rolleyes:) i didnt recognized that the cam just recorded sound....

but now i got it well working again. thx!
[HD2 Windows Mobile 6.5 Themes and Apps] Guitarfreak26:
What's the best music player for the hd2? Mine just hangs when I go to it! On the latest gtx energy rom

I left it for 20 min and it still hadn't loaded!
[HD2 Windows Mobile 6.5 Themes and Apps] dmlakers79:
In my opinion the best one is POCKETMUSIC for FLAC and S2P for mp3 :):)
[HD2 Windows Mobile 6.5 Themes and Apps] Spl4tt:
pocketplayer 4.0 / 4.1.

it roxx, and with SRS WOWHD even more.. u should try this

im audiophile, and i like it very much xD
[HD2 Windows Mobile 6.5 Themes and Apps] Archer:
Everyone's got their own favourite - there is no "best" one.

My fave is Nitrogen, especially since it can control bluetooth audio volume (which is pretty important to me, after spending £60 on some bluetooth earphones ;))
[HD2 Windows Mobile 6.5 Themes and Apps] dmlakers79:
Yes, UR right... SRS WOWHD is very importand... combo with POCKETMUSIC roxx with of course good headphones (Crossroads Mylarone X3i, JBL 220, Phillips SHE9500 or JBuds J3 Micro Atomic) :):)
[HD2 Windows Mobile 6.5 Themes and Apps] aylor:
Music Player

Pockettunes is my favourite as I listen to a lot of audio books and this has an automatic bookmark. Switch between books and it remembers where it left off. Has internet radio channels too. Plays with the unit turned off, bluetooth headset compatible. Give it a try
[Android Software Development] Steven__:
Does anyone know how to programmatically enable the network location finding? I've read that it's not possible to do normally because of user privacy protection (i.e. you can't even request a permission that lets you do it), but I'm wondering if it's possible to do it using a rooted phone. Does anyone know? I can write apps using the normal SDK, but I've never tried to do anything using the fact that my phone is rooted or the superuser permissions app.

This would be for an HTC Hero running a (very old) Android v1.5 MoDaCo ROM.

Or, if a widget already exists that lets you do this, please let me know :o
[Android Software Development] Brut.all:
Note that Settings.apk is just an app and it can change these settings. My guess is it uses some private APIs to accomplish that. You could look into Android sources and check, what is this API, then use it in your own application. You will have to use system shared user in it and sign it with testkeys.
[Android Software Development] Steven__:
That's the part I don't know how to do. I've found the settings calls it makes from the source code:

Settings.Secure.putString(getContentResolver(),
Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
"+" + LocationManager.NETWORK_PROVIDER);

but that dies with a permission failure "java.lang.SecurityException: Cannot write secure settings table". I've tried to grant myself that permission in the manifest using:

<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>

but that permission doesn't seem to be granted, as a this.checkCallingPermission always returns -1.

Is there a tutorial on how to use a "system shared user", or would it be easy for you to explain?
[Android Software Development] Brut.all:
I'm not really sure, this is knowledge of rom cookers and I'm not one of them :-)

But... look into AndroidManifest.xml from Settings.apk:

<manifest android:sharedUserId="android.uid.system" android:versionCode="7" android:versionName="2.1-update1" package="com.android.settings"
xmlns:android="http://schemas.android.com/apk/res/android">

This apk uses android.uid.system and so it has superpowers. You must set this UID for your apk, but to do that apk must be signed with same keys as other system files. I think you must use testsigner tool and fortunately there are many threads/articles about that :-)
[Android Software Development] Steven__:
Yeah, it looks like I'd have to resign the whole ROM to make sure that my app had the same key as the system files. Hmm, I've swapped tracks to investigating how to get my app to work through the Superuser app, which I can half do now. However, this is getting more complicated to solve than I had hoped for - I think for a while I might just accept that clicking on button that directly brings up the settings menu will be enough. Thanks for trying!
[Android Software/Hacking General [Developers Only]] timothychew:
do this OS support asus p750

and do it support garmin xt
[Desire General] fluor:
The drag up/down (accept/deny call) is really idiotic when the phone is in a pocket, where you have to pull up the phone from the pocket when you get a call. Do anybody have any solution to this problem? are there any alternatives accepting/denying calls?
[Desire General] pergolesi:
Yes, this is very frustrating for me also, haven't found a solution though!
[Desire General] zaphyr:
Use Lockbot Pro from the market :)

You can choose from several types of locking screens, and modify them.

Word of advice: get the Pro version, it is much more stable then the free one :)
[Desire General] pergolesi:
Thanks, I'll give it a try.
[Desire General] zaphyr:
@fluor: I know a guy that use fluor as nickname...are you from norway by any chance?
[Desire General] pergolesi:
Lockbot pro, is a bit lame, it only works intermittently!

I have only tried the free version, and have no intention of trying the paid one, just on the off chance that it may work correctly!!

Surely, a developer would wish to entice someone into paying for their app, by making a trial/free version that actually works!!

What's the bloody point, in making a free app that doesn't work properly, as if I would pay for this rubbish!

HTC should have designed an unlock screen that doesn't hang up your call, simply when you take it out of your pocket, I mean, is it really to much to ask, for a device that costs this much!

It's pretty basic stuff really.... I don't want an elephants ear on a bun, I just don't want to keep hanging up on people when I take my phone out of my bloody pocket!
[Desire General] fluor:
i also hope for a free app. i see there are a lot when i search for lock, but not sure which actually work.

for the hang up problem, a workaround is to put the phone the other way when you insert it into the pocket, so it picks up instead of hanging up when you pull it up. however it's stupid.
[Desire General] zaphyr:
You say Lockbot Pro is lame, but have only tried the free version??

I think you mean the developer is lame if he made an unstable free version?

All I can say is that it works perfectly for me, and I can only recommend it based on my own experience.

I had a few problems with the free version, yes...but I took the chance on the Pro version anyways...after all, what's $1.99 or whatever anyway.

And, now I have a lockscreen that works as I want it :)
[Desire General] snudel:
also using lockbot pro now to get rid of the useless lock screen from sense.

but it doesnt solve this prob, as it doesnt lock on incoming calls
[Desire General] ZigmaDK:
I have a workaround for you.

Put your desire in your pocket top first.

Then when you take it out of the pocket, if the screen is pressed, then "gesture" will be the opposite of what is needed to answer the call.

You will do a gesture up instead of down to answer the call. That is how I do it :D
[Desire General] Cyaegha:
Pattern unlock is useless too. You still get the slide to answer/reject screen before the pattern thingy comes up.

Is there a way we can solve this with a cooked rom? I'm trying to wait for the 2.2 rom to be ready, but this problem is annoying enough to flash now I think.
[Desire General] rikbrouwer:
So now you'll accidentally reject the call instead of picking it up..?
[Desire General] Stafflover:
No pulling te screen up doesn't do anything, while pulling it up answers it.

I had a htc hero for about 8 months, always had it top down face towards leg.

Use the desire in the same way and never ever had a call in my pants.
[Desire General] scotch whisky:
I can't believe HTC have made such an elementary mistake.

I ended up buying a flip case for the phone. Solved the problem and protects the phone and screen as well.
[Desire General] Mark4p:
Similar Problem

I have a very similar problem.. Because the vibration is so weak I often do not feel the phone go off in my pocket. Due to the warmth of my leg and moving around the phone continuously picks up by itself.

Does anyone else have this problem?

This is very annoying!!!

If I could only choose to answer calls by the hard button, it would solve it.
[Desire General] rowanparker:
Has anybody (rooted) tried using the stock lock screen (the horizonal swipe as opposed to vertical), could this solve your problem?
[Desire General] scorpiodevil:
Had the same problem with the htc lockscreen constantly unlocking and picking up calls

Since im on frost froyo rom with the left to right swipe it never happened agilain
[Desire General] NetBios:
Is it possible to have the standart vanilla slide to answer?
[Desire General] JohnSteveDoe:
Yes. Search the forum for vanilla/rotary.
[Desire General] xa-mont:
has anyone found a simple solution to this? I do put my phone in top first... but this means i am hanging up on people when i don't want to.

I want to be able to pull my phone out of my pocket and check who it is then decide what to do.
[Desire General] Flaggie:
putting the screen facing out (thus not to my leg) helped me quite a bit.
[Desire General] testies99:
This.

10htcdesires
[Desire General] zaphyr:
There is a simple solution. Root. Then you can disable the powerkey-wake-up completely, and choose any other button to do the job instead. I'm using the trackpad myself.

Sent from my HTC Desire running LeeDrOiD 1.4a
[HD2 Windows Mobile 6.5 Themes and Apps] Beefheart:
Hoping someone can help. I have been using Phonex 2.2 on my HD2 for ages and decided to go back to HTC's dialler. However, now I have uninstalled Phonex, I can't seem to get HTC's dialler to appear - it seems to be using Windows Mobile's default one (see screen shot), even with the Anastasia dialler installed. Is there any way to get HTC's dialler back as default, maybe a registry tweak?
[HD2 Windows Mobile 6.5 Themes and Apps] joshzzz2001:
but isn't that the default windows dialer only skinned? is the htc dialer different from it?
[Imagio General] dm396:
Hey gang,

I got a spare battery and external charger to take with me when I am traveling.

my question is...has anyone broken the battery cover or the 'locking' tabs while removing the door? I am trying to figure out how careful I should be, or should I try to limit the number of times that I open/close the casing?

thanx
[Imagio General] Toysrme257th:
mine had the camera lens cover knocked out & split in half a long time ago (the seam between texture & gloss plastic). just ask HTC for a new one on their website. theyll send a new one.
[Imagio General] johncal:
Mine was fine coming on and off. I did break a tab however when I dropped my phone.... but who's fault is that?