yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] arteshiftedscreen:
debot.sh contains this code

export mnt=/system/sd/debian

export PATH=/usr/bin:/usr/sbin:/bin:$PATH

export TERM=linux

export HOME=/root

mount -t devpts devpts $mnt/dev/pts

mount -t proc proc $mnt/proc

mount -t sysfs sysfs $mnt/s​

I redid the whole walkthrough and made sure I double checked all the steps and did them exactly. Then I managed to get that script into the deboot folder and here's what happened next

I ran the following command from the /system/sd/debian folder which contains deboot.sh

# ./deboot.sh

#​

all I get is the #... so how do I know that the script worked?

because when I try to run the script again I get this message

mount: Device or resource busy

mount: Device or resource busy

mount: Device or resource busy​

3 times just like that

I'm still not sure how I'm running debian, but according to your walk-through I should be.

Any thoughts?
[G1 Android Development] kronarq:
Ok, I see the issue. Looks like I wasn't clear on the guide. You still need to chroot into Debian. I updated the article. This is what your script should look like.

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

export mnt=/system/sd/debian

export PATH=/usr/bin:/usr/sbin:/bin:$PATH

export TERM=linux

export HOME=/root

mount -t devpts devpts $mnt/dev/pts

mount -t proc proc $mnt/proc

mount -t sysfs sysfs $mnt/sys

chroot $mnt /bin/bash

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

Here is the script for those that would prefer to download it.

Debian Boot Script
[G1 Android Development] arteshiftedscreen:
Well, my debian runs well now.

If you get a boot loop from lxde crashing from running firefox DO NOT PANIC

just pop out the battery and pop it back in and walla it should be free of the boot loop.

If not... hope you backed everything up before you started ****ing around in the first palce

I'm all happily backed up as of this morning actually, so no skin off my nose.

My setup is pretty perfect

all I have to do to start debian after entering terminal is (if your script is named bootdeb.sh change the commands accordingly)

# su

# ./deboot.sh

I'll add a post a post u can tie to the top for making a link to the deboot.sh (debian startup script).

Requirements

android 1.5/cupcake

debian installed

make sure your debian root is system/sd/debian

make sure your debian boot script is located in the /system/sd/debian directory (copied into the directory while running debian)

I use the name deboot.sh for my script, feel free to use bootdeb.sh or whatever.sh

you have to load debian first otherwise you won't have permission

boot debian and then enter this after the localhost# (if your script is named

ln -s /system/sd/debian/deboot.sh /deboot​

notice: if you want ./bootdeb to be the command you run, change the /deboot on the end to /bootdeb or /whateveruwant

and walla

Now all you need to do when u want to run debian is open terminal and enter

# su

# ./deboot
[G1 Android Development] tribalb:
any way of doing this through terminal instead of adb...still quite the newb in this but would like to if i can get debian on my phone.
[G1 Android Development] bootleg16:
yeah any way through terminal??
[G1 Android Development] mikedmeyer:
The ADB commands should work through the terminal as well, but the part you're probably going to have trouble with is the 'debootstrap' portion, which must be run on an existing debian-based linux shell (on your PC).
[G1 Android Development] thomo5000:
bus error

By following these directions I have chrooted debain on my JF ADP1.5

Problem is I keep getting "bus error" errors for various programs I try to run. Most annoyingly apt-get.

There is not any more useful information that is given besides "bus error". The program just dies.

There were no errors reported during the debootstrap second stage; /var/log/bootstrap.log does not show any problems and /var/log/apt is empty.

Google has not been much help on this issue, I found some users had "bus error" problems because of corrupt package files in /var/cache/apt/archives but that is not the case here.

Can anybody suggest a fix?
[G1 Android Development] toheys:
Regarding Chroot problem

Hi,

Thanks for your nice illustration. But I encountered problem in Step 12. After setting all path of Step 11, I tried to run chroot $mnt /debootstrap/debootstrap --second-stage

I got this error "W: Failure trying to run:chroot /mount / -t proc proc / proc

What should I do?

Thanks

Toheys
[G1 Android Development] glock30:
I know you mentioned that you are not going to go over the unionfs scripts in this tutorial. Is there a chance of you going over it later. Everything in saurik's tutorial is all based on having this installed on the fat partition as an image file. I have an idea of what the script does... but I don't have enough linux know how to get the thing going. If not, at least I have debain to mess with. :D
[G1 Android Development] :
great

brilliant guide, thanks.
[G1 Android Development] :
hi i have just one more question how to shutdown correctly. if i exit debian with exit command it works as it suppose to. but if i want to start it again it says:

mount: mounting devpts on /system/sd/debian/pts failed: Device or resource busy

and the same with proc and sysfs, after reboot g1 works fine till exit or shutdown terminal app.

umount -a doesnt work

umount proc , devpts will umount ok

but umount sysfs says something failed it says cant open /etc/mtab No such file or directory. then after again start debian problem is only sysfs fail message, if before umounted proc and devpts.

so my question is how to shutdown debian correctly?

thanks
[General Topics] Chris Stroud:
Okay so small issue hoping someone has the answer to.

I inadvertently installed activesnc 4.5 on my home computer. Trouble is that the work network only runs 4.2 and won't upgrade. Now my phone won't sync with anything other than activesync 4.5. Is there a way around this?

I've already tried a hard reset but that didn't do it. Help please!

Thanks
[General Topics] Rudegar:
uninstall it and remove all as related entries in the registry of the computer and reinstall 4.2
[General Topics] Chris Stroud:
how do I uninstall it from the phone??
[General Topics] Rudegar:
you can't and you installing 4.5 on the pc should not change anything on the phone

and if it did you can always hardreset

what I was sugesting was downgrading to 4.2 on your pc
[General Topics] Chris Stroud:
hmm but I am getting a "this phonecan only sync with activesync 4.5 or higher" dialog when I use it with an activesync 4.2 computer
[Touch HD General] rafter_01:
Hi All,

is it possible to add more options on the today screen?

At the moment i have Call History and Calendar, i'd love to increase this list?

thanks in advance
[Touch HD General] NEO130:
No.......................!!!!!!!!!!!!
[Touch HD General] NEO130:
And now perhaps Yes

http://xdaforums.com/showthread.php?t=508102
[Touch HD General] Wiggz:
That doesnt seem to be working on my manilla (Stock Rom)

Every trick or tweak seems to be concentrated around the latest cooked roms - be kind to the Stocks people :)
[General Topics] Deiota:
Hi!

I have a TP with a WM 6.5 ROM and I installed the application SmartLock 1.7b.

It's a great application and it makes me save a lot of battery!

The only problem is that when TOMTOM is running it locks me the screen after a few secs, since there is activity (just driving) and then suspend the device (and when I turn it back on I loose signal).

I uninstalled Smartlock and there is no problem... So, I was wondering if you have similiar problems with TOMTOM and Smartlock... and how to solve it (I already went to TT preferences and changed the safety ones)!

Thanks in advance!

Deiota
[General Topics] Puf39:
Hello,

I have the same problem to you .
[General Topics] Damool:
Yes, it's painfull ;x
[Touch Pro, Fuze Themes and Apps] Deiota:
Hi!

I have a TP with a WM 6.5 ROM and I installed the application SmartLock 1.7b.

It's a great application and it makes me save a lot of battery!

The only problem is that when TOMTOM is running it locks me the screen after a few secs, since there is activity (just driving) and then suspend the device (and when I turn it back on I loose signal).

I uninstalled Smartlock and there is no problem... So, I was wondering if you have similiar problems with TOMTOM and Smartlock... and how to solve it (I already went to TT preferences and changed the safety ones)!

Thanks in advance!

Deiota
[Touch HD General] mikeact:
Could somebody please give me the registry changes need to display my program icons 4 across and not 3 ? Thanks.

Sorry....HTC Touch HD
[Touch HD General] kyryl:
You don't need reg edit, just use HD TWEAK 0.5.4.
[Touch HD General] mikeact:
Thanks for that...did it...changed default from 3 to 4....soft reset a couple of times, but it's still 3 across. Any other ideas ! ?
[Touch HD General] asoebye:
The Wiki has the solution:

http://wiki.xda-developers.com/index.php?pagename=HTC_Blackstone_Tweaks

Asbjørn
[Touch Diamond, MDA Compact IV Themes and Apps] S2W:
For those who have used my blackdrop in the past, here is an update for the blackdrop theme for tfl3d. I might be late to the TFL3D game... but for those interested its here.

As with the old blackdrop... It will blend with any wallpaper... As we sometimes want a specific background, but a theme might not mix well. The blackdrop's intent is to make it all transition.

Made it a simple theme with the following:

No dotted lines

Translucent focus bars

Translucent buttons (ex sms icons, email icons, envelope, music and so on)

Glass clockface (not a flipclock)

Again my goal was making it easy to blend with any background of your choice...

Made for TFL3D (from a stock sprint)

Install:

Just download and place it in your themes folder.

Use the tfl3d config -> go to appearance -> find the path -> and apply.

Enjoy the 1st simple version!

More updates will follow with different bg imbedded as you see above.

Any comments will be much appreciated. Thanks and enjoy!

****Having troubling with adding the theme... will try again****

Try here for now if interested:s2w Blackdrop revised TFL3D
[Touch Diamond, MDA Compact IV Themes and Apps] S2W:
Here is a matching psshutXp
[Touch Diamond, MDA Compact IV Themes and Apps] S2W:
*Reserved*
[Touch Diamond, MDA Compact IV Themes and Apps] TomMyH1992:
looks very fine
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
Like your theme, but I have just binned TF3D in favour of SPB MS3, but I would still like to use your nice psshutxp skin, I headed over to PPCGeeks but I can't find a download link for that so could you upload that one here please?:)
[Touch Diamond, MDA Compact IV Themes and Apps] fatpeopleunite:
Hi, I really like this theme, however I'm running on an HTC Fuze from ATT. I was wondering if this would work on a GSM phone and is there a download link? Thank you.
[G1 Q&A, Help & Troubleshooting] Senorkabob:
Ok here's the deal...

Im running XP 32bit, and ever since I installed 5.0.2h my ADB Interface entry is missing from the Device Manager.

I'm constantly getting error: device not found when trying to connect through the command prompt and the device is showing up as a "disk drive" and under the USB Controllers as a "mass storage device" in the device manager.

No matter how many times I uninstall these, and delete the entries from the registry, it automatically adds it as a disk drive every time I connect.

I then successfully try to manually add the ADB driver and it constantly comes up saying the "device cannot be started"

Anyone find a solution to this problem? :confused:

Thanks.
[G1 Q&A, Help & Troubleshooting] Senorkabob:
Hmm. Rebooting, then disabling and re-enabling Debug Mode did the trick.

Weird.
[G1 Q&A, Help & Troubleshooting] caleoss:
when im trying to push font do i got into fastboot mode? because when i do then go into cmd and type adb remount it keeps sayin device not found
[G1 Q&A, Help & Troubleshooting] Skawilly:
Ok.

I was running Ubuntu 11.04 64 bit.

Because of this, I wiped the system and am now running Ubuntu 12.04.

The issue persisted.

I did install the lib file, I forget the name, but it did install successfully.

I have an android rules file, labeled 51-android.rules, with +w+r+x access

{

SUBSYSTEM=="usb",ATTRS{idVendor}=="0bb4",MODE="0666",OWNER="root"

}

I have fully updated my SDK

I have set the path correctly for ADB.

When I plug in either my G1 or a MyTouch 3G, and run the command adb shell I get:

error: device not found

When I run the command $ adb devices I get:

List of devices attached

Debugging is enabled on both phones. I tried only the MyTouch 4G on another computer but am getting the same result.

My goal, as a noob, is to try my hand at App development. I know the AVD is a good resource but trying it live is nice.

I have rebooted the handset and restarted debugging.

The handsets are charging when plugged in.
[G1 Q&A, Help & Troubleshooting] demkantor:
Probably need to download the proper drivers
[G1 Q&A, Help & Troubleshooting] Skawilly:
I did not think Linux needed drivers.

Where you meaning that you sent me the drivers? Sorry friend.

I really appreciate the help.
[G1 Q&A, Help & Troubleshooting] demkantor:
to my understanding all operating systems need drivers, they just tend to come with them. im guessing you may have the wrong ones being recognized when you plug in your phone. try manually installing the right ones from the sdk website or updating all the drivers found in your sdk manager

---------- Post added at 05:37 PM ---------- Previous post was at 05:34 PM ----------

well felt like checking on this, here is the first link i found in a google search, looks like you will find your answers here

http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/
[G1 Q&A, Help & Troubleshooting] Skawilly:
@ demkantor

Your the MAN! Thank you sir. To be honest I am running out now to class, but I did skim through it and it looks very good. I am pretty sure my answer is in this list somewhere.

Now, I did a QUICK google search, and ill get back to it sometime this weekend, but off the top of anyone's head, do you happen to know the 51-android.rules line for precise pangolin? It refers to different ones, but I know its new and its not on that list. I have an HTC device so I know to use 0bb4 as the vendor ID.

This is a great forum, thank you guys.
[G1 Q&A, Help & Troubleshooting] demkantor:
http://www.joescat.com/linux/android_rules.html
[G1 Q&A, Help & Troubleshooting] Skawilly:
This has been great information. I think I am getting closer to an answer.

I ran through both documents. Good information in there big time, Ill be keeping them handy.

Still, even after setting the rules and everything, I do not show a device. In fact, I tried even my very old G1 and am getting the same results

When I run lsusb (as root) I am getting no devices beyond the usual:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 004: ID 04f2:b090 Chicony Electronics Co., Ltd

Bus 006 Device 002: ID 04d9:1203 Holtek Semiconductor, Inc. Keyboard

Bus 006 Device 003: ID 0461:4d42 Primax Electronics, Ltd

Keyboard/Mouse/Hub. Even after plugging and unplugging the handsets I get the same result. This is the 2nd cable I have tried and both phones actually do charge, though even still I am not getting the SD option either, much less debugging. I tried this on another computer at work that I test other devices on and I am getting the same results.

Thank you again.

---------- Post added at 03:14 AM ---------- Previous post was at 03:07 AM ----------

Oh man.... 2 bad cables....

After writing my last response, I said "What the hay" and threw in another cable... Boom Bam there she blows!

I really appreciate everything though. Believe me, these docs will not go in vain. I still need to read through them THANK YOU dudes a great deal!
[XPERIA X1 Themes and Apps] yotsclee:
Same as title, does anyone have a clue?
[XPERIA X1 Themes and Apps] sverweij:
If you mean to get it working, it should work straigth out of the box, just go outside, start google maps and wait. First time might take a while before it gets a lock on the satelites though.. and check if quickGPS' data hasn't expired (start it under programs)..
[XPERIA X1 Themes and Apps] DHel01:
Yes download the quickgps info first. Then the GPS fix should be ready within 30 seconds!
[XPERIA X1 Themes and Apps] gundamboy:
it doesn't cost money to use the gps does it?
[XPERIA X1 Themes and Apps] tehnoobzorz:
Nope, unless your using A-GPS

or google maps
[XPERIA X1 Themes and Apps] yotsclee:
Sorry that I asked this stupid question. I thought it only has A-GPS. Since every time I start Google Map, it is using A-GPS.
[XPERIA X1 Themes and Apps] Sfkn2:
Having agps allows us to have both gps and agps. Programs like TomTom works well with our gps chip, and does not require internet.
[XPERIA X1 Themes and Apps] hunta65:
does anyone know where i can download quick gps?
[XPERIA X1 Themes and Apps] fards:
its built into the rom. Look in windows.
[XPERIA X1 Themes and Apps] quetzalquatl:
Strange thing... After a clean ROM install, setting in Advanced Configuration Tool v3.3 (beside other settings) to disable A-GPS, soft resetting , I start Google Earth but nothing else and... surprise! It show me my position!!! And I'm sure (if anyone ask) the GPS is not in use. Well, how is that? And this happen third time now! Is there an alternate solution to verify/disable the A-GPS? Because I'm sure that's the reason for GE knowing my position. Any ideea?
[XPERIA X1 Themes and Apps] NotATreoFan:
Check for this registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS\DefaultSetting]
"EnableAGPS"=dword:00000001

Setting it to 0 will disable A-GPS.
[XPERIA X1 Themes and Apps] quetzalquatl:
Thanks for the tip but.... I've checked the reg: it was 0. Just in case one softreset then:

Step1-check the reg: is 0 (again)

Step2-check the ACT: disabled

Step3-start GoogleMaps: I got my position!

Step4-check the GPS settings: off (why am I not surprised?)

WTF?

Speachless... :eek:
[XPERIA X1 Themes and Apps] manish_ram378:
I may be wrong,but i think its using the network to show your position. You can see the 'circle' around the 'blue dot'.the blue dot is not really your position, but the ctr of the circle. So it literally means u somewhere in the that circle.

So i dont think that google maps was giving your position, unless u happen to be near your network mast or whatever. Once you enable GPS, it will try to get ur location frm the satellites.

To Yotsclee: when using google maps, select 'USE GPS' from Menu.Look further down on post #12

Hope that helps:)

well, i may be wrong as well... :D
[XPERIA X1 Themes and Apps] Sfkn2:
Manish is right. If the phone was using the real GPS chip, it would show a small circle since it is more precise.
[XPERIA X1 Themes and Apps] quetzalquatl:
Guess you're right! However, is damn accurate!!
[XPERIA X1 Themes and Apps] Sfkn2:
With GPS enabled on googlemaps, it shows exactly where I am with about 10 feet of variation at most. :)
[XPERIA X1 Themes and Apps] doekoe87:
perhaps an idea

go to settings and find external gps-<select the 3rd tab and deselect the option to use GPS automatic.

now it will use GPS only, if you press the button Gpsin your Google maps.
[XPERIA X1 Themes and Apps] NotATreoFan:
Google Maps will always start a data connection because none of the maps are stored on your phone. This will occur even with A-GPS disabled.
[XPERIA X1 Themes and Apps] Viper139:
Google not using GPS

Hi everybody,

if I remember right, in that case Google is using the GSM cell information from your handy to position you.

It is not using GPS at all as long as it is turned off. That is just optional.

If you are within several cells it uses signal strength of each cell to get you positioned better. So within a city you will probably get a rather exact position. In the wild it will be a larger circle...
[XPERIA X1 Themes and Apps] artesea:
To clear things up.

When you first load Google Maps the locate me is based on your current cell.

Your phone tells google "Hi I'm on 234-12345" and Google then has a look in it's massive database and goes, "Oh, people who use that cell tend to be located around 52 deg 48' 40.30" N, 1 deg 13' 55.33" E, but with a margin of error of about 1 mile"

Your phone then puts a blue dot at the spot and places the blue circle a mile around your location.

Google does not use multiple cells to trianglate your location, they just use the one cell.

Then when you enable the GPS (via the menu), your phone tells Google Maps "actually I'm at 52 deg 48' 40.50" N, 1 deg 13' 54.78" E", this then removes the blue circle and moves the blue dot to the correct location.

What also happens is that your phone tells Google "BTW I'm on cell 234-12345 and my location is 52 deg 48' 40.50" N, 1 deg 13' 54.78" E". Google then decide with all this data (plus all the others on the same cell) whether they need to move or adjust their original statement for those without GPS.
[G1 General] adub007:
When i try to mount my sd card to my laptop it just doesn't stay mounted. Right after i tap mount it dismounts. I had this issue on ALL 1.5 builds. When i connect to any other computer it works perfectly. Any ideas? i tried deleting the drivers and re-installing them several times that doesn't work. I think it maybe an error with my registry or maybe some software i have on here blocking it idk. This GeekSquad agent is officially confused:confused:
[G1 General] lbcoder:
Registry? What is this nonsense? Are you registered as an offender and the court has mind control software installed on your computer? Best to wipe the thing clean and install Linux, then everything will work.
[G1 General] bigballa:
thats way to much of a hassle dont you think?

reinstaling the computer os to mount a phone? noo

there has to be a better way

but if ur meaning to do a fresh install of everything then formating and starting over will work

but whats prob the problem is that your drivers are conflicting with each other

i wish i could help but try to do a fresh wipe of your phone and see if u can install the drivers on your own...again
[G1 General] Ravok:
dumb question, but this isn't as well known as it probably should be. Does the laptop have usb 2.0 or usb 1.1/1.0? And if it has power saving options, see if it maybe toggles to the slower usb when that's on. I have an issue with usb 2.0 on my motherboard (something's corrupted/broken) and can't use windows with it active, so I can only use usb1.0...and the sd card starts to mount but then errors out.

Hope this helps, that's the only issue I've had and it's only happened on my home desktop, works fine on my wifes pc and my work pc.
[G1 General] bigballa:
the usb port only slows down when its not in use after a certain time

the bios is set up like that

but if ur usb is constantly slowing down you should either update your bios or update your system all together and change some advanced settings to keep the usb running all the time
[G1 General] ISprayCandy:
I had the same issue after upgrading to 1.5 w/ apps2sd. I ended up having to upgrade the driver. Windows will tell you that your using the best driver but you will need the one that you would use for fastboot etc. BTW you can always just use your sd adapter and see if windows can read it that way and if it does your good to go. Also did you recently partition or format the card and how old is it?