yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Android Development] bheremans:
I also notices different behavior between windows ans linux with usb and power.

In Android I can change my battery while connected to usb without poweroff. Windows powers off while connected to usb and pulling the battery out.

Verry usefull when you have a spare battery. :)
[Touch Pro, Fuze Android Development] protozeloz:
yeah the biggest advantage of that is the fact that you cannot see any of your android system files unless you really wanna see them and that avoids the risk of deleting files from android while cleaning winmo trash on your card :D

post your STARTUP.txt some power consumption problems might come from it.

1. you need to create 2 partitions on your memory card one in fat32 the other in ext2, you choose the size of them but, i have an 8gb sd card and i had 2.3gb for android and the rest for windows( you are going to put your music pictures videos ect on the fat32 one so you can share files between winmo and android)(windows cant create ext2 by itself and has a hard time reading them so i recommend you do this)

-install Ubuntu on a partition on your hard drive Ubuntu or Xubuntu on an external memory card Xubuntu Having Those Is way better that trying to create and modify an ext2 on windows plus its easier to change the files and more safe to play with XDAndroid (at least for me)

-format the partition using the partition manager that comes by deafult in both OS you need one ext2 partition and one fat32 partition

2. copy the files

-as you may see you wont be able to do that manually and you must do it with admin privileges

here is a page that will show you how to do it in easy steps

How To

i don't like the default STARUP this guy uses so i had my own by a test and fail process (i might miss some stuff tho) you can try his and if you don't like the workaround you can try mine instead (i use a fuze)

set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 1910
set KERNEL zImage
set cmdline "lcd.density=210 root=/dev/mmcblk0p2 init=/init rootdelay=5 rootwait rw clock-7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=2,-1,3
board-htcraphael-navi.wake=0 physkeyboard=fuze [B]acpuclock.oc_freq_khz=600000[/B]"
boot

I must stand i have overclock on this one and you can remove it by sinply removing the code on bold

you can Pm me if you need any help

PD any Linux problem/bug must be reported on their forum and not here
[Touch Pro, Fuze Android Development] phhusson:
pmem.extra is about memory, and is no longer used.

Let me guess. 9 files have non ascii stuff in there names.
[Touch Pro, Fuze Android Development] gm112:
My apologies :P.. I goti t mixed up with pmem.sleepmode then?
[Touch Pro, Fuze Android Development] squelch41:
Charging and voice search

2 quick questions:

1) will charging in android do damage to the battery in view of the unreliable battery readings? (risk of overcharging, etc)

2) Whenever I use voice search, it just says that the process crashes unexpectedly and I haev to force close. Is there any way around this?

Thanks!

squelch41
[Touch Pro, Fuze Android Development] arrrghhh:
1) Shouldn't, but there's no guarantee that doesn't happen in WinMo either... the battery meter being inaccurate is related to an equation that calculates where the level is being... less than efficient lets say.

2) Well documented issue with new builds. Go to an older build if you want this to work, I believe before 3.31? Not sure. I think it started happening when everything was updated/merged to ASOP... don't quote me on that tho.
[Touch Pro, Fuze Android Development] msoccer2:
Do we when or if video streaming will be fixed? If it was it would make this almost perfect. Haven't heard about it for a while and was just wondering if there was an update on this
[Touch Pro, Fuze Android Development] bheremans:
2) /system/bin/libspeech.so is missing

if you are using a second partition with ext2 you can copy it to there. If you are using a squashfs file, you can push it with adb, but you have to do it after each reboot

stinebd did wrote somewhere that he would include it in the builds.
[Touch Pro, Fuze Android Development] phhusson:
pm.sleep_mode

I was wondering how you could confuse them, now I understand
[Touch Pro, Fuze Android Development] sfhub:
You are correct. Voice search works in the 3/31/2010 package. 5/3/2010 and 5/31/2010 do not.
[Touch Pro, Fuze Android Development] protozeloz:
answer solved moving on
[Touch Pro, Fuze Android Development] sfhub:
You mean

/system/

lib

/libspeech.so

?
[Touch Pro, Fuze Android Development] bheremans:
yes, sorry for the mistake
[Touch Pro, Fuze Android Development] msoccer2:
How exactly do you put it in using a squashfs file?
[Touch Pro, Fuze Android Development] hamagc:
for a squashfs file you will need to unsquash the file, make your changes and then resquash the system.
[Touch Pro, Fuze Android Development] gm112:
Woops, haha. Thanks for correcting me! :P

Squashfs-tools.

http://xdaforums.com/showpost.php?p=6630410&postcount=4

Honestly, that's the only way as far as I know.. (you could use MSYS on Windows, but it's probably easier to just do it on Linux).
[Touch Pro, Fuze Android Development] arrrghhh:
Use ADB... It's a little complex.
[Touch Pro, Fuze Android Development] hamagc:
they also make these tools for windows but i could never get it to build the squashfs right. size always came out different and i could never get it to boot.

was always told the best way to do it is using linux.

you could also use staysafe to turn your squashfs into an ext2 system thats read/write and go about it that way. may be easier if you don't have access to a linux system like myself.
[Touch Pro, Fuze Android Development] msoccer2:
Thanks for the help guys, but its a little too complex for me and a little unnecessary at the moment. Will just wait for an update. I have another problem thats a little bigger: the music app is only getting files in the my voices folder, but if I go into file explorer I can play them. Could it be because they are in folders by artist inside the music folder?
[Touch Pro, Fuze Android Development] protozeloz:
Yes i can confirm that the windows fat32 file system won't allow users to have two items one named "ITEM.1" and the other "item.1" it will overtire one of them (which is bad)

@linux comment: How Come?
[Touch Pro, Fuze Android Development] gm112:
Here, just post what you need done and I'll upload you the modified squash file :P.
[Touch Pro, Fuze Android Development] msoccer2:
I would like to put this: /system/lib/libspeech.so in the squash file to get voice search to work. If you want to read more just read the previous page
[Touch Pro, Fuze Android Development] reverendkjr:
Is that all we need to do to get voice search working again? That is awesome. Much gratitude to whoever uploads that sqsh!

I wonder if that will fix Shazam too? Hmmm....
[Touch Pro, Fuze Android Development] siulmagic:
hey guys heres 2.1aosp with hw3d included, i cooked the rom with stinebd's kitche, im not shure if the one babyjoe released does have im pretty shure it dosent, any ways here it is, test something might not work this is a pre alpha kitchen from stinebd

http://www.mediafire.com/?m4wg4zmmzgm

btw this a pure aosp build so no apps included, it might have advance task killer i cant rember
[Touch Pro, Fuze Android Development] sfhub:
Don't know about shazam but I added the libspeech.so to /system/lib and voice search started working again. This was with the 05/31/2010 package on the first page.
[Touch Pro, Fuze Android Development] arrrghhh:
Excuse my ignorance, but if we have a fix for the voice search why isn't it already pushed into a new sqsh and posted on the first/second post?!?
[Touch Pro, Fuze Android Development] reverendkjr:
I believe it has something to do with the whole "open source" aspect of it. This library is probably not open source, so it isn't included in the base package. If we want it, WE need to add it.
[Touch Pro, Fuze Android Development] saijao:
Well the Battery is a 3.7v-ish device so there must be some circuitry in to convert this to 5v, perhaps its not an efficient transformer (symptoms of such a transformer running constantly would be that circuit heating up and a reduction in battery life, much like 'wall wart' transformers heat up and use current when their end circuit is not completed).
[Touch Pro, Fuze Android Development] msoccer2:
Well is there someone that can add it and post it?
[Touch Pro, Fuze Android Development] reverendkjr:
I believe that a few wonderful people may be working on that right now.

Hopefully! :D
[Touch Pro, Fuze Android Development] Corwen:
Can anyone else confirm this?
[Touch Pro, Fuze Android Development] sfhub:
I don't know about the open source aspects, but it was included in the 3/31/2010 package on the first page, which is why voice search works there.
[Touch Pro, Fuze Android Development] reverendkjr:
Re: [prj][XDANDROID][android.2.0.1|2.1][31.5.10]2.1 AOSP system update

Sooo...

I bit the bullet and decided to go for the ext2 setup.

Now, funny thing, I get insufficient storage error in the market AND a few items are missing from the market, such as linpack. Now, normally I would delete data.img and start over, BUT I'm using ext2 and don't have that option. A bunch of searching led me to the conclusion that this is a permissions issue. Any thoughts on how to fix?

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

Sent via the XDA Tapatalk App
[Touch Pro, Fuze Android Development] andre.mud:
I'm also using now the ext2 setup, however I can't get the gmail to work. Do you also have that issue?
[Touch Pro, Fuze Android Development] Mashadar:
I've experimented with stinebd's kitchen as well, but all builds that i made gave a looping "request_suspend_state" error. I was excited by your build since you reported it working with 3D (even with Neocore running!), but I get the same "request_suspend_state" error. This is with the latest rootfs and Glemsom's kernel.
[Touch Pro, Fuze Android Development] Exca:
Damn that's a fast one!
[Touch Pro, Fuze Android Development] Black1982:
Same story here!
[Touch Pro, Fuze Android Development] lugiber:
Same for me...
[Touch Pro, Fuze Android Development] saijao:
Does anyone else have any thoughts on this ?
[Touch Pro, Fuze Android Development] reverendkjr:
What you are describing is a physical design problem. Wouldn't the same occur in Windows mobile if that was the case? I don't believe "wall warts" are software driven, so the comparison isn't the same.
[Touch Pro, Fuze Android Development] saijao:
In WinMo the USB port does not run is host mode and so will not supply any power to a transformer stage/cause a car charger to light up when unplugged.

It could be that we have some sort of host mode enabled (perhaps partially) in the android software and if it is providing power to the USB transformer @ all times there may be some inefficiency.

Just putting forward a Hypothesis, do you think its worth testing?

Oh I found this and thought it may help devs (block diagram for the Touch Pro + G1)

http://www.phonewreck.com/wiki/index.php?title=HTC_Touch_Pro

http://www.phonewreck.com/wiki/index.php?title=T-Mobile_G1
[Touch Pro, Fuze Android Development] AndroHQUist:
The usb-charger does not seem to be the old transformer type but rather a well designed switched psu with a tiny led. I belive the led is just a little bit powered when connected just to the phone, just enough to keep it on. Have never seen this in WinMo but in every build of Android. Is it ADB ?
[Touch Pro, Fuze Android Development] saijao:
It may not be that well designed, it was never in the spec for this device/component mix to support USB host mode and may have a neglected output power pathway, but I really dont know that much about the 3.7 > 5v stage in these devices so this is based on the assumption of economy oriented design.

Could it be outputting the lowest power factor for a USB host?

This could explain its ability to power the LED (100Ma is the lowest factor if I recall correctly).

I don't believe its ADB as phhusson noted it previously and could fix it if it was causing adverse effects (according to a post a few pages back).
[Touch Pro, Fuze Android Development] JesusFreak316:
Me too. I tried various things for about an hour and still no luck. Delete data.img, update rootfs, zimage, and init, mess with startup.txt, try using the andboot folder, etc. It's really a shame, as this is the main thing I miss from the 2.0.1 builds.
[Touch Pro, Fuze Android Development] gm112:
http://gd-u.com/downloads.php

I uploaded that system.sqsh you guys requested. Google Voice works just fine with this :P. Oh, and I figured I'd throw in a modified rootfs(based off of the latest as of June 6) which fixes mass-storage.

EDIT: Oh, and you may want to stick chmod 777 /etc/dbus.conf into eclair.user.conf as that seems to fix the X loop problem for me(not sure if it was fixed while I was messing with the image or what, but I haven't encountered the error in quite awhile so :P).
[Touch Pro, Fuze Android Development] babijoee:
Finished exams and free as a bird :)

I'll have to see whats the status of AOSP and rootfs

When i get a chance to speak with stinebd i'll get those implemented

nordic keymaps, possible fix for looping animation, new boot animation, wallpaper :p

sorry guys no google voice being added to AOSP
[Touch Pro, Fuze Android Development] waterproof125:
Previously someone posted that they used JuiceDefender to help increase battery life (it can disable wifi/apn for a scheduled amount of time then re-enable it to allow syncing for a few minutes). How do my apps know to sync in the allotted time? or is there an app that can tell my apps to sync? I know this is kinda off the thread topic but it kinda deals with the battery life :) thanks for any help in advance
[Touch Pro, Fuze Android Development] lugiber:
Re: [prj][XDANDROID][android.2.0.1|2.1][31.5.10]2.1 AOSP system update

@babijoee

Sounds cool with the "new and improved" release! Can't wait!

Could you give us some heads up when you are getting ready for a new release so that i might have time to finish the boot animation i'm working on? I would really like to be able to submit it before time runs out.

Hope everything went well on your exams and that you didn't get too distracted with your work on the android.

:-)

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

Sent via the XDA Tapatalk App
[Touch Pro, Fuze Android Development] sompie2:
why should there be a converter to 5v maybe the main circuit board uses 3.7V. The 5V that you get from your usb is for charging and you always need more voltage than the actual battery to charge. So I don't think there's any converter in the cellphone.
[Touch Pro, Fuze Android Development] lugiber:
Re: [prj][XDANDROID][android.2.0.1|2.1][31.5.10]2.1 AOSP system update

On another note, does anyone know if ext4 is supported in the kernel?

I have just partitoned my sd card with ext3 and that seems to work. But ext4 is a lot faster and i would really like to try if that improves speed my phone.

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

Sent via the XDA Tapatalk App
[Touch Pro, Fuze Android Development] saijao:
Thats not really what we are talking about, when you plug a car chargers USB plug into a XDAndroid device and don't have it plugged into a cars 12v it lights up.

It may be a partial USB host mode that may be causing car chargers to light up, this doesnt happen in Windows mobile.

For USB Host you NEED to provide 5v (well @ least 4.65v), the battery is 3.7ish on these devices so there is a conversion stage (which is possibly inefficient as it was not in the original device spec and this voltage transformation stage may be powered @ all times causing heat generation and use of battery capacity).

Stable EXT4 was incorporated into Linux 2.6.28 so if our kernel is that revision or newer we may be able to flag it in. (I think it 2.6.27 that we are based on)
[Touch Pro, Fuze Android Development] babijoee:
oo i didnt get distracted all from android :p
[Touch Pro, Fuze Android Development] siulmagic:
reaporting a bug im getting with the latest roofs.img with the 2.1 system.sqsh i cooked with stinebd's kitchen,

it keeps spaming this error

/bin/sh: cant acces tty; job control turned off

/ # [ 70.362304] request suspend _state
[Touch Pro, Fuze Android Development] robh1234:
Navigation kills data connection when you go off course

Anyone else found that navigation works fine, until you stop following the route. Then it instantly loses data connection. Need to reboot (or switch to airplane mode and back), to get it working again.

Weird.

Diamond 100

XDANDROID 2.1 build

htc-msm-linux @ 20100606_150546

rootfs-20100606-c369a49.zip
[Touch Pro, Fuze Android Development] hamagc:
nope, used it the other day to get me home, went the wrong way most of the way on purpose and each time it recalculated a new route no problems.
[Touch Pro, Fuze Android Development] gm112:
Careful with ext4 on NAND as it wasn't designed for that. You're better off using Yaffs2 or jffs.

EDIT: Bab, you should really consider sticking those "embedded" applications into the AndroidApps folder. I don't think everyone wants to be forced having excess baggage installed on their Android setup. Especially when you can't remove it completely... >_>
[Touch Pro, Fuze Android Development] babijoee:
True, i guess until everyone start using ext2 i'll move those apps into AndroidApps dir
[Touch Pro, Fuze Android Development] msoccer2:
Is it possible to use a ext2 on internal storage, since I dont have a memory card spot
[Touch Pro, Fuze Android Development] arrrghhh:
The internal storage is literally a memory card soldered to the board. So yes, just treat it like an external SD card.
[Touch Pro, Fuze Android Development] msoccer2:
But how do you do it with a internal storage card?
[Touch Pro, Fuze Android Development] reverendkjr:
acore crashing using ext2?

Actually, a bunch of crashes of several processes. Any way to reset the system from within the phone. I'm at work and don't have access to a Linux box right now.
[Touch Pro, Fuze Android Development] gm112:
With the DIAM, it's possible, but not the RAPH series. RAPH series _has_ to use SDCard. Sadly. =\

EDIT: @reverend: Try deleting whatever is in your /data. You can access the ext2 partition via windows using several file managers..

http://www.howtoforge.com/access-linux-partitions-from-windows
[Touch Pro, Fuze Android Development] JesusFreak316:
I got the same thing; you got me all excited at first. :P
[Touch Pro, Fuze Android Development] babijoee:
just pushed a fix for looping animation error.

credits to gm112 and stinebd. hopefully this fixes the problem.

Check rootfs-autobuilds for update.

Also new initramfs provides non-ascii support for the SD so now we shouldn't have any more problems for no media :) hopefully
[Touch Pro, Fuze Android Development] gm112:
Nice :D.

Oh, and could you explain why the following line is commented out? O_o

311
# echo /dev/block/mmcblk0p2 > /sys/devices/platform/usb_mass_storage/lun0/file

Also, shouldn't it be "mmcblk0p1" and not pointing to the ext2 partition? That's why mass storage isn't working even with the switch turned on as suggested by balsat.
[Touch Pro, Fuze Android Development] jpeel:
Stinebd, Have you had a chance to do this? Is there a new sqshfs with libspeech included?
[Touch Pro, Fuze Android Development] protozeloz:
I recommend you use Linux just plug your device and it will recognize the internal memory card, format it copy files and you should be good to go (well i haven't tried that yet on a phone with internal memory but it sould be the same process)

I Love You Man <3

Added: I've Heard of people having problems with downloading corrupted files (not an issue caused by you) and i was thinking that you could add a "verification code" (yes i forgot the name) to he files you upload so that users can test their files before installing them
[Touch Pro, Fuze Android Development] gm112:
www.gd-u.com/downloads.php

I made a squash file(included apps are stripped out, of course) that includes libspeech.so.
[Touch Pro, Fuze Android Development] babijoee:
not sure myself but i'll let someone who does know answer that. Maybe its implemented but not switched on by purpose. You've probably got the right idea btw
[Touch Pro, Fuze Android Development] jpeel:
Thanks! Just d/l-ed.
[Touch Pro, Fuze Android Development] gm112:
Yeah, it puzzled me why that was commented out in the init script.. it should be enclosed in a conditional statement to avoid turning on the wrong thing for those who are booting off of internal storage, since it's pointing to the SDCard specifically. :P After uncommenting that, ADB and mounting mass-storage seemed to work just fine without having balsat's suggested switches being put into the custom_shells function.
[Touch Pro, Fuze Android Development] siulmagic:
it does work yo need an older rootfs

this one that im linking works with the system.sqsh i posted

http://xdandroid.southcape.org/rootfs/rootfs-20100510-2328a00.zip
[Touch Pro, Fuze Android Development] JesusFreak316:
Yep, that did it. Thanks. My touch screen isn't responding right now; I'll try again.

Edit: Got it working fine. Thanks again. TuxRacer gives about 10 fps which is alot better than the ~3 fps before.
[Touch Pro, Fuze Android Development] siulmagic:
were does "chmod 777 /etc/dbus.conf" go inside the costum shells in eclair.user.conf?
[Touch Pro, Fuze Android Development] msoccer2:
Can't get this to work. I updated to the latest rootfs and initramfs, but it keeps getting stuck at the boot screen

Deleted data.img but it still isn't working
[Touch Pro, Fuze Android Development] babijoee:
try a new data.img and during the nexus boot animation try pushing the power button repeatedly. Weirdly worked for me so it might for you.
[Touch Pro, Fuze Android Development] gm112:
On your SDCard, in the conf folder, you simply open up eclair.user.conf and put

# custom shell commands, these commands run last
custom_shells{
chmod 777 /etc/dbus.conf
#echo "Hello!!!" # example
#echo "You can create your own commands here" # example
}

at the very bottom. It's kinda easy :P.

@msoccer2: That's probably because of the known bug, which is why I told you to stick that into your command line. Stinebd and I's fix has been pushed into the latest rootfs, so sticking that command into your conf file is rather pointless now.

I'd honestly wait at least 5 minutes before considering yourself stuck at the X Logo or unless you confirmed Dalvik crashing in ADB. I have yet to experience an issue, though.
[Touch Pro, Fuze Android Development] msoccer2:
Didn't work for me. I even re-downloaded everything, deleted data.img, and tried pushing the power button. Could it be because my battery is really low?

EDIT: I downloaded the latest rootfs, but I will try to put that into the command line
[Touch Pro, Fuze Android Development] gm112:
That would be interesting if something was wrong just because your battery was low, but you have your phone plugged in via USB anyways right? Let me know how things turn out. I haven't experienced the endless X loop since I stuck that in my command line, so.. hmm.
[Touch Pro, Fuze Android Development] Exca:
You can notice you're stuck in a looping animation when the animation seems to stop and restart (at a different point in the animation). Normally it's running fluid until bootup. Never had problems with it though, deleting data.img always did the job. I hope upgrading to 2.2 solves the issue of a slow wakeup on the diamond series (i've read somewhere that the new build wakes up fast) and otherwise i think the kernel needs to be revised, some devices still lack some basic support.
[Touch Pro, Fuze Android Development] msoccer2:
Nothing worked, went back to 05/31 system.sqsh and booted like normal
[Touch Pro, Fuze Android Development] gm112:
Alright. Then I'm curious as to what's crashing on your setup. Could you go download DroidExplorer(enable ADB if you can, too) run logcat and PM me the log?
[Touch Pro, Fuze Android Development] siulmagic:
does the latest rootfs.img containd the SD card mount fix?
[Touch Pro, Fuze Android Development] msoccer2:
How can I enable ADB?