View Single Post
  #2 (permalink)  
Old 08-28-2010, 11:29 PM
maxtcee's Avatar
maxtcee
WHERES THE BOTTLES!!
Offline
Threadstarter
Location: East Coast
 
Join Date: Jan 2009
Posts: 1,825
Reputation: 4460
maxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributionsmaxtcee should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Android on HD2 Tweaks

Unable to mount SD card

set cmdline "rel_path=Android" with set cmdline "rel_path=Android loop_partition=mmcblk0" in startup.txt


SOD (Sleep of Death) related, and generally setting up phone and SD card for booting into android properly ( http://forum.xda-developers.com/show...2&postcount=16 )

Quote:
Originally Posted by fi3ry_icy
how can i do that if i am using chuckydroid rom for booting android? it is very stripped down and has very little function as a winmo os..


++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++





in addition, i would like to add that i think i have found a way to overcome the SOD (at least for now for me), hopefully, it will continue to work as i have not have any SODs since i tried what i did..

this is what u need to do:

reformat ur SD card but before u click the format button, change the allocation size from the setting u see, to the largest possible...




after u format ur SD card, only copy in the Android boot file of the android of ur choice..

next up, prepare the phone by doing task 29, flashing a 2.08 and above radio.. i am using 2.12.50.02.2 radio from ( http://vbnfiles.com/HD2%20Common/Rad...12_50_02_2.rar )

then, install chucky rom lite for android booting ( http://forum.xda-developers.com/showthread.php?t=734238 )

next, start up the phone and do a hard reset without the SD card inside..!

after the hard reset, boot back into winmo and change the date and time settings..

off the phone..

insert the SD card then on the phone..

run android and set up froyo..

hopefully it stops the SODs for good..

so far so good for me, its 2 hrs, and i've not have SODs.. previously the longest time b4 SOD hit me was 35 mins..


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


ADDED: added a pic to show what i mean..





Battery Related

Use one or more of these program together:

SetCPU ( http://forum.xda-developers.com/showthread.php?t=734886 )

OR try
Juice Defender ( http://www.talkandroid.com/9599-exte...r-for-android/ )

OR try
Overclockwidget (need root) by billy cui (from android apps market)

OR try
Tasker: a program or android for users who want almost total control over their system ( http://lifehacker.com/5599116/how-to...ted-superphone )

Possible winmo setting tweaks which may or may not help improve battery life: ( http://forum.xda-developers.com/showthread.php?t=749753 )



Robot Voice
Use another WinMO Rom-Radio Combination

Possible improvement in SD card performance
Use special SD card formatting program ( http://forum.xda-developers.com/showthread.php?t=748961 )

Laggy screen/phone/android when using the phone while walking or when phone is not stationary

Turn off auto-rotation in froyo ( http://forum.xda-developers.com/show...6&postcount=21 )


a way to possibly increase ur DATA connection speed (worked for me)

Quote:
Originally Posted by memin1857
Nice find!
For other users:
What warrenb213 means in simple English is:

3G/EDGE speed tweak for shubcraft 1.4:
1) Launch Astro File Manager
2) Goto /system and find file named build (build.prop)
3) Tap and hold and select edit -> copy
4) Goto /sdcard/Android/root/system
5) Tap Paste
6) Tap and hold build file and select open as -> text -> file editor
7) Scroll down and find these lines

ro.ril.hsxpa=2
ro.ril.gprsclass=12
Those lines are correct.

Look 6-7 lines further and you will find:
ro.ril.hsxpa=1
ro.ril.gprsclass=10
Delete these two lines.
(shu8i tweaked values are 2 and 12)
SAVE (click back button and tap save when asked)
REBOOT android. Now you should get faster 3G/EDGE data.

Notes:
-If you directly edit build file within /system folder IT WILL revert back after reboot.
-You may want to delete /sdcard/Android/root/system/build.prop after one reboot so in the future you don't forget it. It gets copied to real /system on first reboot.
-You may want to backup the original build.prop file incase you have problems with data. (Or you can change the values back to 1 and 10)



Crashes and how to help kernel coders by submitting logs for them to troubleshoot and debug


Quote:
Originally Posted by moorgogel
Come on guys, you wont help developers if you just write "ok i will help you" Nobody need that besides this thread is going to be confusing. Please help Cotulla and provide him your logs.

How to create logs:

Download the tool Andlog on Cotullas Homepage: http://cotulla.pp.ru/leo/Android/andlog.exe

After you detect Problems in Android (Sleep of Dead or something) you need to reset your device with the red reset button on the back of your HD2
Don't remove battery!!!
Once WM is booted you can run andlog.exe and it will create a andlog.txt file on the root of your device. Be aware that Andlog dont show any message! (like CLRCAD)
Paste the content here: http://pastebin.com
and link it here in this forum with detailed information


Ok i will start with providing logs:

Got SOD while LEO was in Standby. Waited any seconds but screen stayed black
Log: http://pastebin.com/DPPAd6ep


Quote:
Originally Posted by Cotulla
moorgogel, nice guide, thanks!

other method (for non-fatal errors) possible to use ADB from Android SDK.
just put in command line
Code:
adb shell dmesg > dmesg.txt
and u got current kernel log in dmesg.txt.



basically it's not obviously.
some bugs won't show anything in log. for example if BT isn't working in some android build, kernel log won't show anything.



General questions answered in FAQs already


Quote:
Originally Posted by HD GEEK


[WARNING] ***ANDROID ON HD2 IS STILL AT EARLY STAGES NO 1 CAN BE HELD RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE ***


From what i have found there are at the moment 3 main builds that are running well -

HTC SENSE (DESIRE ROM)

FROYO BUILD BY dan1j3l

Froyo 2.2 Android Build by Parad0XUA

FROYO 2.2 WITH SENSE

Android 2.1 Eclair (Senseless)


all these can be found at http://gamesquare.co.uk allways keep a close eye on this site as new builds come out fairly frequent as development is quick.

★★★NOW HOW TO GET ANDROID ON HTC HD2★★★



Download a build of your choice

htc sense desire build

or froyo build
[COLOR="Red"]

**THERE ARE ALSO NEW BUILDS BEING ADDED TO HD2 ANDROID SECTION ALL THE TIME WITH INFO AND LINKS AVALIBLE WITHIN THE THREAD **




Prepare your device

windows rom - windows rom has been linked with issues within the android builds so for the first time im going to compile a list of working roms here that have no issues within android

i have been using ChuckyROM GTX + CHT 1.8.5 - 23128 from the start of android development and have yet to have an issue below is a list of other roms and links that are working well with android :-

BARE BONES WM ROM FOR ANDROID BY NRG


[ROM][WWE]★★★Astraios Roms★★★[REG/BUUF/GTX][23569][22nd July]

ELEGANCIA ROM Series™

ChuckyROM GTX + CHT 1.8.5 - 23128 ~ 2.10.1

¸¸.·´¯`·.¸¸.- Energy -.¸¸.·´¯ |Jul 21| 21911||23121 * Sense 2016

★★★ PLEASE LEAVE LINKS AND INFORM ME OF ANY ROMS YOU HAVE TRIED AND HAD NO ISSSUES ★★★

FOR INFORMATION ON HOW TO FLASH A ROM PLEASE GO TO FLASHING GUIDE.

THE RADIO

RADIO IS SIMPLE USE ONLY RADIO FROM 2.08 ~ 2.12 DONT USE A RADIO LOWER THAN 2.08 AS IT WILL NOT BOOT I CAN NOT SAY WHICH IS THE BEST RADIO AS IT IS DIFFRENT IN DIFFRENT AREAS THE BEST THING WOULD BE TO TEST DIFFRENT RADIOS WITH ANDROID I HAVE TESTED 2.12 AND HAD NO ISSUES.

HOW TO INSTALL A RADIO : -


For installing a RADIO ROM you need HardSPL installed to your device.
Rename the extracted file to "RUU_Signed.nbh" and flash with the CustomRUU

RADIOS THAT WORK WITH ANDROID : -

Leo_RADIO_2.12.50.02_2: MegaUpload
Leo_RADIO_2.11.50.26**: MegaUpload
Leo_RADIO_2.11.50.20**: MegaUpload
Leo_RADIO_2.10.50.28_2: MegaUpload
Leo_RADIO_2.10.50.26**: MegaUpload
Leo_RADIO_2.10.50.19_2: MegaUpload
Leo_RADIO_2.08.50.05**: MegaUpload

FOR REF USE RADIO THREAD

HSPL

You must have hspl 2 or 3 for android to run well please use HSPL GUIDE



Memory Card
all though not nessecery re-formating your memory card is a must - i had problems with android builds in the past but re-formating memory crad solved nearly all crashes and and slow downs.

BACK UP ALL DATA BEFORE RE-FORMATING

RE-FORMAT TO FAT32


COPYING ANDROID ACROSS

SENSE BUILD - copy all files to the ROOT of your memory card not a subfolder i.e haret boot loader should be in E:/HaRet.exe not E:/android/HaRet.exe

FROYO BUILD - Copy all files to a folder called android on the root of your memory card i.e haret boot loader should be in E:/android/HaRet.exe

**SOME NEW BUILDS ARE BEING ARE BEING PLACED IN FOLDERS WITH NEW NAMES IF THIS IS THE CASE IT WILL BE STATED WITHIN THE README**



BOOTING ANDROID


easyiest way to boot is to boot windows then go to a file explorer and run CLRCAD.EXE then run HaRet.exe ALWAYS REMEMBER RUN CLRCAD.EXE FIRST AS THIS GIVES ANDROID SOUND DONT WORRY IF IT DOES NOTHING ITS NOT SUPPOSED TO

YOU MUST BOOT ANDROID THIS WAY WITHIN 30 SECOUNDS OF WINDWOS BOOTING OTHERWISE ANDROID WILL RUN IN TURBO MODE AND BE VERY UNSTABLE.FIXED WITH NEW ZIMAGE



DUEL-BOOT PROGRAMS -

GEN.Y DUEL BOOT - QUOTE FROM NRG -

Hi All,

I changed the dual boot cab from yozgatg.

It now puts clrcad.exe to the startup folder so if you boot android you'll have sound. I also put the skin in from sk8inmonk.
So credits for yozgatg and sk8inmonk.

Only boots android directly from the root of the storage card!

This has an autoboot option in 10 seconds or in 3 seconds.

LINK

jmz Android Dual-Boot for HD2 v4 --- 19JUL10

LINK TO THREAD


***IMPORTANT THINGS WHEN BOOTING ANDROID***

WHEN BOOTED GO TO ANDROID MARKET AND DOWNLOAD ADVANCED APP KILLER I HAVE FOUND THIS THE MOST IMPORTANT APP TO HAVE ATM AS IT KILLS APPS YOU DONT WANT RUNNING THUS SAVING BATTERY

POWER MANAGMENT IS A BIG ISSUE AT THE MOMENT BUT I HAVE FOUND THAT LEAVING PLUGED IN ON CHARGE WHILE BOOTING ANDROID WILL CHARGE THE PHONE BUT THE LED WILL STAY PERMENANTLY ON!
EDIT - USE LATEST ZIMAGE LOCATED IN 3RD POST AND ALL CHARGING PROBLEMS ARE SOLVED



ALL QUESTIONS WELCOME IN THIS THREAD NO MATTER HOW NOOBISH ALL WILL BE ANSWERED F&Q SECTION COMING SOON ALONG WITH A TROUBLESHOOTING CHART FOR NOW I HAVE WORK





.


Quote:
Originally Posted by HD GEEK
TROUBLESHOOTING

THE PROBLEM - The linux kernel did not finish booting.

/ failed to mount the sd card. cannot continue
/ bin/sh: can't access tty; job control turned off
/

SOLUTION -

What I did was download and install the SDFormatter tool and formatted my SD card. I've had formatted my card a lot of times but this tool did the trick.

You can locate it here: http://www.sdcard.org/consumers/formatter/sdfv2000.zip

(PROBLEM AND SOLUTION PROVIDED BY WOUSIPX


ANDROID TIPS AND TRICKS

LONG PRESSING HOME BUTTON OPENS A TAB SHOW ALL APPS THAT ARE OPEN SO YOU CAN SWITCH BETWEEN THEM



[HOWTO] Backup ALL Settings and Prefs When Upgrading Android (Homescreen/SMS/etc)


Quote:
Originally Posted by Fmstrat
This method requires ROOT, but will allow you to backup all settings quickly and easily for a full restore to a different build. This is handy when running Android on a Windows Mobile device such as the HD2, since it allows us to easily switch to one of the many builds that come out weekly. However, this method can be applied to any Android device.

Ops, if you’d rather move this thread to a general Android discussion, no problem. I just thought it was pertinent here given all the ROM changing people are doing.

It can back up everything, from home screen widget positions to SMS messages. If you’re using keyboards like SwiftKey, it will even save your learned DB.

Backup:
  1. Acquire Titanium Backup” from the Market
  2. The first time you run the program, hit the “Problems?” button. This will download the latest version of Busybox, a set of command line utilities used to backup data.
  3. Tap “Backup/Restore”
  4. Press the “Menu” button (hard button)
  5. Choose “Batch”
  6. Press “Run” next to “Backup all user apps + system data”
  7. Leave everything selected on this screen. We will selectively choose what to restore in our new build. Having everything backed up means you won’t miss anything.
    1. Ensure “Kill active apps” is selected
    2. Press “Run the batch operation”
    3. While this is running, tap the screen every now and again to ensure your phone doesn’t time out. (just to be safe for any auto-killers that may be running)
  8. Reboot your phone
Restore (after switching builds):
Note: For those running on a WM device, you can download the APK for Titanium Backup here and place it in your AndroidApps folder for it to be accessible on your first boot.
  1. Skip as much of your new Android Setup screens as possible. No need to waste time here when it will be restored with Titanium.
  2. Go into settings and set up your Google Account.
    1. After adding the account, set it to NOT sync.
    2. Do this BEFORE entering the Market, or the syncing will happen automatically. The reason for doing this is that you’re going to overwrite it all with Titanium data anyway, so why waste the resources and time.
  3. Go into “Settings -=> Applications” and check “Unknown Sources”
  4. Re-acquire Titanium Backup (unless you had the APK in your AndroidApps folder) and hit the “Problems?” button to install in your new build.
  5. Tap “Backup/Restore”
  6. Press the “Menu” button (hard button)
  7. Choose “Batch”
  8. Press “Run” next to “Restore missing apps + all system data”
    1. If you are restoring the exact same Build:
      1. Click “Select All”
      2. Choose “App+Data”
    2. If you are restoring a different Build or upgrading to a new version of a Build:
      1. Click “Deselect All”
      2. Choose “App+Data”
      3. Select all Green items (These are your settings)
      4. Select all Crossed out items (These are the apps not included in your build)
      5. Select any other items you know are the same within your build, and that you want to restore settings for
  9. Press “Run the batch operation”
  10. For every application that the install prompt comes up for, hit “Install” and then “Done.”
  11. Reboot your phone
  12. On next boot, if you get “Problem Loading Gadget” on some widgets, you will have to remove them from the home screen and re-add them manually. This has only occurred a couple of times for me, usually things go smooth.
__________________
If i Helped In Anyway Follow Me On Twitter http://twitter.com/#!/maxtcee
Reply With Quote
This post has been thanked 1 times.