yashsingh1/xdaforums huggingface dataset:
[Dell Streak 7] uhmzilighase:
Flashing CWM from Debian

Actually, flash_recovery from the 7 worked for me while fastboot did not.

While it was possible to boot the device into fastboot, fastboot devices never saw a device. This is what the 7's display showed:

username: cmbuild hostname: QTHBuildPC-17 buildnumber : 15799
build on Mar 28 2011 14:02:01
Starting Fastboot USB download protocol

A hard reset was required to bring it out of fastboot mode (although I'm not certain that it actually made it completely into fastboot mode)

While I did see some solutions to 'fastboot devices finds no device' - all potential solutions referred to a Windows OS but I'm a Debian GNU Linux user by nature. Here's what I have:

Android ver: 2.2.2

Kernel: 2.6.32.9

OEM Version: GLUNB1A133830

Build number: 15799

Wifi only version purchased from Staples for $200+ tax

And here's what worked for me.

*Note - adb is already in my $PATH so you can execute adb from anywhere.

You need the su binary.

adb push su /system/bin/
adb push recovery-clockwork-3.0.1.9-streak7.img /system/recovery.img
adb shell
mount -o remount,rw /dev/block/mmcblk3p3 /system
chmod 755 /system/bin/su
su
flash_recovery

There wasn't any 'success' message - just a return to the root prompt. Time to try it out.

Disconnect USB cable

Power down

Hold VOL UP + Power ON

Select Option #2 - you are in Clockworkmod!

Something I noticed - not sure if it means anything or not. When I first did adb shell - I had a root prompt #. This is the first Streak 7 I've seen so no idea what to expect. I was able to remount /system rw from the very beginning, prior to pushing the su binary onto the device. None of the apps that required su would work however (like LCDDensity). Instead an error complaining about permission (or lack thereof) was the problem.

Well - thanks for the long nights and much effort getting CWR onto the 7! Awesome job!
[Dell Streak 7] Z4nd4r:
Or, you could have simply rooted with Gingerbreak and installed CWR from ROM Manager app. It's not as fun, though. :p
[Galaxy S I9000 Q&A, Help & Troubleshooting] DarrenCarnall:
Hi guys, I'm running Darky 9.3 (don't know if that's relevant or not)

I've searched the forums (and the web) but couldn't find any mention of this. When I listen to music on my Galaxy S using headphones it sounds amazing, full stereo, really clear. When I use the external speaker its lovely and loud... but recently when listening to The Beatles I realised that it was only playing the left channel through the speaker (I assumed it would have been both left and right combined).

Now anybody who knows the early Beatles music and the massive stereo separation will realize this means I couldn't hear the drums/guitar/vocals depending on the track.

I tried the same song with headphones... perfect.

I tested this using both the stock Samsung music player and mSpot... the same with both.

Anybody else know about this?
[Galaxy S I9000 Q&A, Help & Troubleshooting] colindodds:
Have to be honest this is just one of reasons i stoped useing custom roms as at some point i find issues i now use stock js8 its fast and reliable but i do wish you luck in finding answer
[Galaxy S I9000 Q&A, Help & Troubleshooting] Rawat:
Seems like the cable you're using is mono
[Galaxy S I9000 Q&A, Help & Troubleshooting] daigoro64:
Or not properly inserted. No issues here.
[Galaxy S I9000 Q&A, Help & Troubleshooting] nonyhaha:
The last two answers are just for fun or you guys don't understand english? He is talking about the sound through thephone's speaker!
[Galaxy S I9000 Q&A, Help & Troubleshooting] DarrenCarnall:
Yeah i was just about to say... cable?

I only mentioned the Rom as I don't know if that's the cause or not. But yeah.. through headphones? music is fine... through external speaker? ...only left audio channel.

With most modern music you can get away with it to be honest as usually the vocals bass and drums are mixed to the centre... but with older stuff? you miss half the music!

rather annoying...
[Galaxy S I9000 Q&A, Help & Troubleshooting] yetep:
It is one channel. Voodoo sound fix can force mono which fixes it mate. Comes with 9.3
[Galaxy S I9000 Q&A, Help & Troubleshooting] ice_coffee:
It is pretty much industry standard (and I don't just mean the mobile phone industry) that when representing Monoural audio, you use only the left channel! as mentioned, software mixers exist, but I would not be surprised if the stock rom did the same.
[Galaxy S I9000 Q&A, Help & Troubleshooting] DarrenCarnall:
But I'm on Darky 9.3 and I have the problem... or are you saying the *problem* comes with 9.3?

hmm.... I'd have tested the stock rom if I'd realised about this in time. There's no way I can be bothered re flashing my phone... testing it... flashing it back and then going through all the hassle of setting up again. urgh. lol

I wonder if there's anybody who has a strong-stereo separation music track they can test who's on stock? is it two-channel mono? or just the left channel?

Thanks for the answers so far guys
[Galaxy S I9000 Q&A, Help & Troubleshooting] yetep:
Go into voodoo settings and choose force mono. I get 2ch audio
[Galaxy S I9000 Q&A, Help & Troubleshooting] DarrenCarnall:
EDIT: Never mind I found it. Works great, thanks!

Just have to remember to turn it back to stereo when i put headphones in. But at least I can listen to The Beatles when I'm in the kitchen now on the built in speaker. Cheers!
[Desire Q&A, Help & Troubleshooting] fbunnyuk:
I'm currently running oxygen 2.01 and I assume it has built in app2sd as it's using my ext partition on my memory card.

I need to upgrade my memory card and can copy everything apart from the ext partition

I Have SUFBs explorer which can copy the contents of the sd-ext partition onto my FAT32 partition on the current SD-Card. I can then transfer that to my PC, problem is getting the data from the PC back onto the new SD-Card

I've copied the sd-ext folder onto my new FAT32 partition, when I load up my Desire its got none of my installed apps, they're all on the old sd-ext partition! Is there anyway I can force SuFBs or Market to not use APP2SD. I can't find any program icon for app2sd anywhere.
[Desire Q&A, Help & Troubleshooting] fbunnyuk:
nvm figured it out, moved the file explorer to the SD Card, copied the app to the new SD Card and then overwrote the sd-ext partitions.

What a bloody long winded process, serves me right for using windows I suppose :P
[Desire Q&A, Help & Troubleshooting] Meaple:
Yes, that is a major shame that Windows cannot read ext partitions. I hate M$ for that.
[Optimus One, P500 Original Android Development] kpbotbot:
I'll try bootstrapping debian when I figure out what the hell is wrong with my system. I can't download files from ftp (but I can with wget and other progs. just not with pacman, debootstrap, and the like).
[Optimus One, P500 Original Android Development] bigsupersquid:
debian on optimus v

searched around to avoid multiple posts, and found this.

I've been running chroot debian on my V as well, squeeze then sid now going back to squeeze.

the main problem I've encountered was in the "debootstrap --second-stage", which generally froze at "I: configuring sysvinit". I thought that was from overloading the CPU, but turns out android init doesn't create /dev/initctl like debian does, so debootstrap hangs waiting for a response reading/writing /dev/initctl

I didn't have that issue using SL4A's shell instead of android terminal.

being a bit of a 'noid, I have used "mknod /dev/initctl p" in the chroot before running "debootstrap --second-stage" since reading of that solution. not sure if it's making much difference, because that didn't fix the issue before I found SL4A and was still using android terminal for shell functions.

I like xfce4 as a window manager in the VNC, it's small but still functional.

I did a bit of things different than saurik, but used his guide extensively, along with much googling for other deb->droid ports.

my chroot runs in the android root directory with bind-mounts since the custom kernel I like doesn't include unionfs. I also directly use an ext4 2nd partition on the SD rather than a loop-mounted filesystem image. (yes, ext4 journals will eventually frag my SD but the cost of another is worth the crash-resistance to me.)

my short-term goal is to mix inits between the two os's and run X through an android app frontend to avoid the framebuffer copy lag from the VNC. my 3 main reasons for debian on the phone are program development (works currently,) flash (actually gnash, and needs a working full-speed access to framebuffer, not working yet,) and emulators for J2ME and MAME (same boat as flash.)

so far trying to run X directly blanks my screen and forces a battery pull to get it back, so kinda giving up that route for the moment.
[Optimus One, P500 Original Android Development] pymebrahimi:
so installing Archlinux on O1 must be possible? how?
[Optimus One, P500 Original Android Development] kpbotbot:
All must work, as long as they support running on ARM. AFAIK Arch doesn't have an (official) ARM port. You can try Arch Mobile though ;)
[Optimus One, P500 Original Android Development] onehomelist:
This command fails me

_ mount -o loop,noatime $kit/debian.img $mnt

The error I get is no device or file exists.

Tried creating more number of loop devises too. Still it didn't work. I am using cyanogemmod 2.3.3 ROM.
[Optimus One, P500 Original Android Development] bigsupersquid:
What is the exact wording of the error?
[Optimus One, P500 Original Android Development] onehomelist:
The exact error that I get:

# busybox mknod /dev/loop0 b 7 0
# busybox mount -o loop,noatime $kit/debian.img $mnt
mount: can't setup loop device: No such file or directory
[Optimus One, P500 Original Android Development] kpbotbot:
Instead of using $kit/debian.img, try manually pointing to the debian image.

For example, if you have it on the sdcard's debian folder:

/sdcard/debian/debian.img
[Optimus One, P500 Original Android Development] onehomelist:
That too didn't work.
[Optimus One, P500 Original Android Development] Tasssadar:
make sure that debian image is where it should be. Also try to "ls /dev/" and look for loop0 - i had some problems with loop devices on mik's 2.3, but I did not really solved it, because I went back to froyo after while.
[Optimus One, P500 Original Android Development] onehomelist:
The loop0 device exists is /dev. As you have experienced same issue on the same ROM, I am convinced that its a ROM issue.
[Optimus One, P500 Original Android Development] Tasssadar:
I just tried to install xorg, xfce4 & tightvncserver - everything work just fine, although its kinda slow :)
[Optimus One, P500 Original Android Development] bigsupersquid:
ext partition instead of loop filesystem

I think it runs faster from a sdcard partition than a loop filesystem, if I remember right. I tested a loop-mounted preconstructed debian img from some tutorial for another device before debootstrapping my own.

partition your card with a second partition, ext2 if you're worried about journalling wearing out your sd, or ext4 if you're more worried about corrupting your precious debian filesystem in a crash or unclean umount. gparted in ubuntu seemed to work well for me.

resize your ntfs partition instead of deleting it or android may complain.

with your debian img mounted as a loop filesystem on a linux box at the same time as your new partition, you can copy everything from the img to the ext partition by:

cp -av /path/to/loopmountedimg/* /path/to/extpartition

if you replace the loop-mounting code in your boot script with a vold mount of your ext partition, android is supposed to umount the partition cleanly on powerdown or reboot.

on my optimus v, the mount looks like the following in my boot script (I'm posting the comments too for info)

# mount 2nd sdcard partition from vold, should prevent dirty unmount at reboot

# if your linux is on a different partition than 2, substitute that number for the 2 in .../vold/179:2 below

# first unmount it; if not already mounted, system will echo 'umount: can't forcibly umount /dev/block/vold/179:2: Invalid argument' but this isn't an error to worry about

umount -l /dev/block/vold/179:2
mount -o noatime,exec,suid /dev/block/vold/179:2 /$mnt

maybe someone here can use this info.

also, for anyone who wants to save some hours and bandwidth, I have a basic squeeze debootstrap uploaded to 4shared.

it shouldn't be missing any of the readme's or licensing docs, so it should be GPL ok AFAIK.

resolv.conf and sources.list are already configured for 3g access and the main Debian repository, so it's pretty much plug-n-play.

no extra packages. you'll need to apt-get tightvncserver and a window manager unless you just want the bash shell.

the first time you chroot in, you should use passwd to set a root password, and adduser to get a non-root account on there.

the only glitch is that I accidentally tar'd it into a compressed folder; so you can't just untar it into the ext partition, it needs unpacked with an archive manager. sorry!

here is the filesystem image

uncompressed, 9645 items, totalling 264.3 MB

compressed, 116.3 MB (121929580 Bytes)
[Optimus One, P500 Original Android Development] Tasssadar:
Tried to put it on ext2 partition without image, its a bit faster but still very slow.

But i took some screenshots this time. You can see flash (well, gnash) player on optimus one working on last screenshot :)

And I have one question: is debian using its own libc or android's bionic?
[Optimus One, P500 Original Android Development] bigsupersquid:
guess I'm biased, first linux I used was on a 100MHz pentium 1, so this handheld flies by comparison. :)

I could only get gnash to play ads. boo. froze up iceweasel every time I tried to open a flash video. what browser are you using? oh, man, it's iceweasel, isn't it?? also, chromium just refused to start on my optimus.

pretty sure it's standard debian libc. you could integrate the android toolchain if you were so motivated, probably.
[Optimus One, P500 Original Android Development] Tasssadar:
Chromium does not work for me, too.

Well, it froze for me too, but after while it at least got to show what you see on the screenshot :)

I was just thinking if this is possible, then normal android aplication could have libc included, if its needed.
[Optimus One, P500 Original Android Development] Tasssadar:
Do you know MaNGOS? It is open-source server for World of Warcraft (for more info go to http://getmangos.com/). I just compiled it and I run it on my optimus one. And guess what - without world db, its really fast! I am extracting UDB to database right now, I will post some screenshots and results with full-featured db soon.

And thats why I love linux and android :)
[Optimus One, P500 Original Android Development] franciscofranco:
I got no words to describe my eyes when reading that at the moment.
[Optimus One, P500 Original Android Development] Tasssadar:
So, what you might wanna know if you wanna try it too:

All packages needed for mangos to compile are working good, except for mysql server: you need to set "user = root" in my.cnf - it is located in /etc/mysql/ - because you cant put any root rights to any other user than root, so mysql user cant create tcp socket.

You will most likely need swap file - optimus has plenty of RAM, but yet not enough. All you need is to compile kernel with CONFIG_SWAP=y and follow this tutorial: http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/. 512mb swap is enough. Just for the record, swap is working on optimus one, I think nobody tried it here yet.

Now as for the compilation of mangos, it is mostly working as it is, only problems are intel tbb library and g3dlite library.

TBB is not available for arm yet, so you need to compile without it. Use -DUSE_STD_MALLOC=0 in cmake line.

As for the g3dlite, things are little bit more tricky - you need it, and there are some asm() instructions in it, which are different for arm. I only commented them, because I dont know assembler: https://github.com/Tasssadar/mangos-arm/commit/67c442fa0c10e82b282b83a8fe485588f8786e12

I have no idea how it can even work without all that code in g3dlite, but it just does.

You can use scriptdev2 from its git, theres no problem in it.

Thats all, after that just "make" and get something good to read, because it will take really long. At least 5 hours for compilation and nearly hour and a half for linking of scriptdev2 and mangosd binary.

Creating of databases is just like on normal pc, so I just skip it...same goes for dbc files, maps and vmaps.

Loading of mangos takes around 4 minutes with full-featured db. mangos then takes around 180mb of ram and cpu usage is...surprisingly low, considering the fact that our cpu does not have hw float operations. I tried to clear Azjol Nerub instance (well, solo with gm character) and maximal cpu usage was 60%, when fighting a boss with lots of spawns. I could imagine some 5-man dungeon run would be just fine :)

Also, you will get slight lag when moving into new location, when phone loads map files from sdcard.

Thats all, see screenshots :)
[Optimus One, P500 Original Android Development] franciscofranco:
I can't stop laughing, our p500 is a beast! If you want to try with a lot of adds go to Zul'Farrak and do the event on the pyramid before the last boss ;)
[Optimus One, P500 Original Android Development] Tasssadar:
Well, i just pulled every mob in KelThuzad encounter in naxxramas. Result: 50-60% cpu usage. I did really expect much more :)

By the way, does anyone has idea what all this does to my sd card durability? :D

And also, theres "lifetime warranty" mark on it, is it my lifetime or card's lifetime? Oo
[Optimus One, P500 Original Android Development] franciscofranco:
Only 50% usage?? That's pro. Which kernel are you using?

Means that if anything happens to the SD card you can return it with warranty and they will probably send you a new one since you have warranty forever,
[Optimus One, P500 Original Android Development] Tasssadar:
This one: https://github.com/Tasssadar/kernel/commits/thunderg_oc

It is mostly mik's work, I only added Brain **** scheduler and few small things. My cpu is overclocked at 768mhz and I am using that libsqlite hack.

Honestly, main stress lies on sdcard, and I have debian on ext4 partition (noejn said that I should use ext4 in Megatron thread when I knew nothing about different filesystems and I have no reason to change ROM so far), so its kinda slow (I think thats why linking take so long).

Need to sleep, good night or whatever part of day you have.
[Optimus One, P500 Original Android Development] franciscofranco:
Before you go, let me tell you I know your kernel, I've used it one month ago. If you allow me you can try this to boost your performance:

- Flash my kernel;

- Format your ext partition like this: mke2fs -b 4096 -i 4096 /dev/block/mmcblk0p2

With my kernel everything should be way faster, then with that comand you format it as ext2 with 4096 block and inode size, should boost I/O by a BIG margin.
[Optimus One, P500 Original Android Development] Tasssadar:
Honestly, i did not noticed boost as big as I expected - result in both linpack and quadrant is almost the same. Besides, I doubt that you compile with CONFIG_SWAP=y.

This will also delete all data on that partition I suppose..?

And what about a2sd, I guess it wont like this change.
[Optimus One, P500 Original Android Development] :
- for sure will wipe the data, yeah...

- a2sd should not care about what block size/inode size the underlying ext2 filesystem is at all, I/O is handled by kernel.
[Optimus One, P500 Original Android Development] franciscofranco:
I do compile with CONFIG_SWAP=y,
[Optimus One, P500 Original Android Development] Tasssadar:
Yeah, but since it does ext partition mounting, it may matter if it mounts as ext4 or ext2...but then again, I guess "a2sd reinstall" should fix it anyway, so lets try it (well, lets backup 5gb of data first)
[Optimus One, P500 Original Android Development] franciscofranco:
The command mke2fs -b 4096 -i 4096 /dev/block/mmcblk0p2 formats it as ext2 with a block and inode size of 4096.
[Optimus One, P500 Original Android Development] Tasssadar:
With ext2, startup took

so I guess its because of sdcard - its only class 4
[Optimus One, P500 Original Android Development] djxtabay:
Backtrack 5 soon?

If Debian is working that means someone will be able to use Backtrack 5 on our Optimus One??? :D
[Optimus One, P500 Original Android Development] lekhwani:
It's all French to me. Sorry for ot.
[Vibrant Q&A, Help & Troubleshooting] stncldtex:
Does anyone know where I can find Heathens Runic flipfont. I have looked all over even in the I9000 threads.
[Vibrant Q&A, Help & Troubleshooting] oka1:
This what you looking for ?

https://market.android.com/details?id=com.urmoblife.magicHat.common.font.runes
[General Topics] RohanAJoshi:
heres are remaining platforms..
[General Questions and Answers] sesam_pt:
Good Morning. i've bought an used Motorola MC5590 EDA, and it brings MC55 PAM Software that auto installs itself after a cold reset,rending the MC5590 useless. can someone tell me how to prevent this software from autoinstall.

Thank You
[Galaxy S I9000 Q&A, Help & Troubleshooting] Prodepressiva:
Is there a 2.2.1 Gallery apk without the battery drain bug?

I have a German I9000 with 2.2.1 through Kies.

I noticed a big battery improvement after replacing the original 2.2.1. gallery with the one from the market. But I miss the functionality of changing the lock screen!

Is there a version with the lockscreen option but without the battery drain?

Or is there any app that can set the lockscreen background image?

Thank you
[Desire HD Android Development] amir837837:
Sry for bad English.

this work for all Desire HD devices such as branded device and ect

Now a downgrade method has arrived! After this process, you can use any root (+ S-OFF) method you want. Basically your device will be just like any other Desire HD with older build version.

1- Get stock 1.32 PD98IMG.zip ROM

2- format microSD as FAT32 (I suggest that the mirror can format with Memory Reader)

3- Download the attached file and extract it

4- Put PD98IMG.zip and attached file to your SD card

5- take the phone to boot loader (I suggested at the first turn off the phone battery click here again, in memory instead of its own And hold volume down button and turn on phone) and wait to be installed ROM.
[Desire HD Android Development] jkoljo:
What is this? That text has been copied almost completely from my downgrade guide.
[Desire HD Android Development] amir837837:
pls put link
[Desire HD Android Development] jkoljo:
It is a sticky here in XDA. http://xdaforums.com/showthread.php?t=905003
[Desire HD Android Development] amir837837:
:)) this works diffrently and you don't need to any goldcard or pc conection.
[Desire HD Android Development] Jenxie:
The link is copied from the original thread.

Don't you need to trick the phone a lower version number if you have 1.72 installed in order to Update to a lower version number? eg. Cable connected from Phone to PC and the steps in the original thread?
[Desire HD Android Development] jkoljo:
That is right, this guide is fake, troll or something like that.
[Desire HD Android Development] amir837837:
No. if you have 1.72 or highier you can downgrade easily.
[Desire HD Android Development] amir837837:
Why fake?? it's Work very well and it's better than your way. try it:)
[Desire HD Android Development] erickwok80:
it work great, thanks
[Desire HD Android Development] kaotiko:
WOWWWWW!

You're the man!!!

Incredible, worked like a charm.

So easy, so quick, so perfect..... I don't know why people speak without know about.

Thanks guy!!!

PD: can it be implemented like a new method to flash radio and roms? <- maybe a noob question....
[Desire HD Android Development] Arsec:
Haha clearly OP, wow this thread is funny.
[Desire HD Android Development] andywright1982:
may be speaking out of term here, but can anyone else confirm as the only ones to "confirm" this method works all write in the same "style" of english
[Desire HD Android Development] iphonoid:
If i'm on gingerbread (CM7) can I flash this and it'll be me back to stock firmware? (first version released?)