Related
Hi all,
I popped back after some time away to find that you'd now been working on linux for the BA.
Course, eager as ever I dived in and tried to understand what I thought said instructions.
So I downloaded all the required files, and placed them into the folders specified, ran Heret.exe and I get our iccle penguine with a thermometer rising but when it reaches the top thats all it does?
Am I missing something ere?
Gav
I've got it to get to the Portmap, but i'm unable to login via USB.
Has ANYONE managed to deal with this yet?
Gav
it works exactly as advertised on WIKI.
after temp. goes thru the roof and penguin eyes crack, you should see kernel messages scrolling by.
since u don't see that, i'm guessing the kernel cannot be found because u didn't set up the SD card correctly.
post ur SD card partitions (fdisk -l) and also output of ls -lR
before u can login remotely, usb net modules must be loaded (see wiki)
I had realised I had downloaded the initrd-3.6.12-hh2.gz and mapped the startup.txt to that file,
so I downloaded the 2.6 version and changed the startup and I got the kernal message.
It goes through the kernel and I get a usb disconnection notification on xp and activesync disconnects.
As for partitions, how the f**k do I do this, because theres nothing in wm2003se that allows you to partition sd cards, and I don't get any command prompt on the linux kernel.
Also I do get an error that etc/modules directory could not be found but the kernal continues to load.
Regards
Gav
I'm just waiting till their is a complete Linux ROM with a portalable WINE port built in so you can run TomTom. Then I'll be happy. :wink:
man, you need to follow the wiki EXACTLY. u will not get anywhere by skipping steps.
windoze cannot create required fat and ext3 partitions. the fastest way 2 do this is download a linux live cd
judging by ur level of experience, i say leave this alone, until linux for blueangel matures enough for foolproof installation.
and how do I mount this ext3 partition?
(I can only connect to the initrd-filesystem with ssh)
I wound up with a non functioning SD card reader after downgrading to dreaIMG. I managed to get a USB connection, after much, fuss to my PC. I am running a program (Droid Explorer) on my P.C. which, among it’s many functions, appears to allow you to upgrade your ROM and install programs from its PC UI. any body gone this route? Would you recommend ?
NOTE: I messed with the SD and usb connection for days, new SD cards, reformatting them every which way, and fiddled with the setup on the android (once registered). I suspect the ROM was corrupt and recover process might just fix it. If it dosn't’t I certainly want to finish the whole process anyway.
The keyboard is the size of my shaky thumbs, I’m dyslexic, far sighted and can only hunt and peck on a regular keyboard. There is absolutely no way I could blindly pump the arcane commands I’ve seen around that might let me finish. (I tried typing “am start -a android.intent.action.MAIN -n com.android.settings/.Settings” 21 times and never got it right)
So, if some one can confirm this USB to PC flash is a valid method (DroidExplorer or other), I guess It would just be like using the PC as a gigantic SD card, I would be jazzed. Right now, cant’ use the keyboard, and can’t use the SD, I see no other way to finish the job. (unless I could install a command prompt thing on the phone to see what I’m doing…still no SD.
Thanks in advance
\PK
Questions in general belong in the Q&A forum, not the Development forum. Questions regarding Droid Explorer, being an app, belong in the Apps forum.
Repost there and you'll likely get help. Here, you're likely to get flamed.
You can definitely flash images directly to the device (without use of the SD card), however, you cannot use update packages, but instead images. You will need separate recovery, boot and system images, and either apply them with the flash_image tool through adb, or through fastboot.
The flash_image route is going to be a bit difficult, since you need to have enough room on the internal RAM to keep a copy of the image you are flashing. (Perhaps you can overwrite the existing backup version ...)
In either case, this is not the best forum to be posting these questions. Obviously, you best course would have been in the Q&A (rather self-explanatory), or as another posted recommended, under Apps.
[Removed as duplicate]
Now that this post has been moved to Q&A: To the OP --
Have you tried issuing the "mount" command via console while in recovery? I.e.;
Code:
#mount /sdcard
I've had it come up where the /sdcard itself wasn't mounting properly.
Otherwise you're stuck flashing a full .NBH file via Fastboot, insofar as I am aware.
IConrad01 said:
Questions in general belong in the Q&A forum, not the Development forum. Questions regarding Droid Explorer, being an app, belong in the Apps forum.
Repost there and you'll likely get help. Here, you're likely to get flamed.
Click to expand...
Click to collapse
Sorry, I've been obssed and frutrated for 3 days/ Total lack of responce here (Q&A) and elswhere. I did a new search and everything resembling my issue was wherever my origional post was on xda, not Q&A.
Any way, I'll stay away. pk
rpcameron said:
You can definitely flash images directly to the device (without use of the SD card), however, you cannot use update packages, but instead images. You will need separate recovery, boot and system images, and either apply them with the flash_image tool through adb, or through fastboot.
The flash_image route is going to be a bit difficult, since you need to have enough room on the internal RAM to keep a copy of the image you are flashing. (Perhaps you can overwrite the existing backup version ...)
In either case, this is not the best forum to be posting these questions. Obviously, you best course would have been in the Q&A (rather self-explanatory), or as another posted recommended, under Apps.
Click to expand...
Click to collapse
I appreciate your reply very informative
1)if I reconstruct a zip file and get 3 or4 bin or img files, how do I determine which goes first?
2) Do they need to be renamed? if so, to what?
3) "The flash_image route is going to be a bit difficult" . so your saying that my P.C will not be behaving like an SD card? but just a dump truck?
4)n Sorry for crashing the party. I bought this thing on Ebay 4 days ago "for parts" and knew zip about it. I Posted several times in the Q&A section and pretty much got "format SD to fat 32"...Very well meaning but page one of every g1 how to.
Without bugging you guys, I know I'm a noob, but in 3 days I took this 50 buck T-mobile with no usb, no wifi, no bluetooth, no-way to input through the keyboard, no SD and, nothing on the screen but a 3 page sign up sheet for to google...to a functioning AT&T phone with most of the perks working.
I just want to finish the job, I think with a proper flash, the remaining probs. might go away. All I was looking for was a morsel of direction, not "format fat32", and you gave it!!
Thank you, PK
IConrad01 said:
Now that this post has been moved to Q&A: To the OP --
Have you tried issuing the "mount" command via console while in recovery? I.e.;
Code:
#mount /sdcard
I've had it come up where the /sdcard itself wasn't mounting properly.
Otherwise you're stuck flashing a full .NBH file via Fastboot, insofar as I am aware.
Click to expand...
Click to collapse
Thanks Ico...,
Yes, I have now. No luck. I resigned to the fact that I will have to install from my PC... for now. I tried out this little utility, Droid Explorer. It is the exactly what I think an interface should be. It's takes al these monstrous tasks an packs them m into a little windows type app. But, you have to heave a ROCK-SOLID connection.
I just have to think I had a bum DreaIMG rom. it loaded up from my SD card and installed swimmingly with a cheery concluding "SUCCESSFULLY INSTALLED!!". After that the card(s) were never to be recognized again. I wonder if I could Just get a normal usb-to-mini usb adapter and plug a thumb drive in, install of that.
Last night I got it to be recognized by my PC a little better, but, I still can't really transfer anything. (I also managed to inadvertently run up $208.00 in "data fees"...no bloody clue").
I've been following a different wiki every day. It seems as though most of them are outdated by a week or so (history). I think my problem lies in usb drivers because installations seems always seem inconclusive as to weather there there or not and adb seems to misbehave.
Chow
Hi all!
I want to share the way i have to run Debian on Nexus One
I'm editing my own install of deb-armel and ill upload to everyone but first i need to finish it
By now, we will use a qemu image ready and edit it to your needs
You'll need a SD parted with Amon_RA recovery, few files i'll upload later and some skills with Debian, of course hehe
Partition could be user-alike but i recommend:
Im using a microsdhc 8gb class-2 from my magic
- EXT3: 2gb (nice for install a lot of stuff)
- SWAP: 150MB
- The rest as fat32
You need also a rom with app2sd or mount ETX3 partition under /system/sd, im using Modaco's 1.3
First of all, im working on archlinux but this can be done on windows too using the qemu version for windows
Install qemu on your machine.
NOTE: Also you can start a new installation from 0 using images (iso) and info found on google
Now we will use the following QEMU images:
http://people.debian.org/~aurel32/qemu/armel/
We will download the followings Of course you can choose the small or normal version with X preinstalled (the X version preinstalled is not tested by me and i dont know if works)
debian_lenny_armel_small.qcow2 150M
initrd.img-2.6.26-1-versatile 2.1M
vmlinuz-2.6.26-1-versatile 1.2M
Put they in your home folder or where u want.
Now, lets run it.
Use the following command (run it from the folder you have the downloaded files) :
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-1-versatile -initrd initrd.img-2.6.26-1-versatile -hda debian_lenny_armel_small.qcow2 -append "root=/dev/sda1"
Wait a moment... Debian-armel running under qemu
Here are the configuration by default:
- Keyboard: British English
- Language: English
- Mirror: ftp.uk.debian.org
- Hostname: debian-armel
- Root password: root
- User account: user
- User password: user
Edit the system to fit your needs, im not going to explain how to do this, im asumming you know how to. If u don't, use the debian reference guide:
http://www.debian.org/doc/manuals/debian-reference/
Of course, you'll need to edit basic things as locales, network, ssh preferences, etc...
Edit your system, update, configure packages, etc...
Once edited and configured, quit you virtual machine.
Now, we are going to convert the qemu image to a raw image, mount the fs and copy to your SD
Assuming you still in the same folder as the qcow2 image of debian (for windows, google a little, im sure there are something to do the same):
qemu-img convert -O raw debian_lenny_armel_small.qcow2 debian.raw
With this will obtain the qcow2 converted to a raw file (without touching the original qcow2 file)
Now mount it where u want or follow this steps:
sudo mkdir /media/debian
Before mount, lets see where start the partition on the raw file:
sfdisk -l -uS debian.raw
U will see a list of partions under the raw file, use the first, like this one:
debian.raw1 * 63 20225834 20225772 83 Linux
Now, we know the / starts at 63, mount this partition
sudo mount -o loop,offset=$((63*512)) debian.raw /media/debian
Ok, we have our partition mounted now, lets make a copy in our EXT3 partition on SD.
Use the USB Storage function from android, sd card reader... and mount the EXT3 partition
Once mounted, copy everything from /media/debian to /media/yourSDext3mounted
cd /media/debian
sudo cp -a * /media/yourSDext3mounted/
If everithing works as expected, umount the systems /media/debian/ and /media/yourSDext3mounted or use the Android notif to disconnect the USB storage function
Check if everything is now in the SD EXT3. Open a terminal and adb shell
adb shell
cd /system/sd
ls
U'll see the Debian / extructure and the app & app-private
Of course dont worry about this, u can still using apps2sd and debian at the same time
Now, it's time to boot debian
We need some modded files from the G1 version to boot it:
Download from Megaupload: http://www.megaupload.com/?d=Q67SNOBC
Download from MediaFire: http://www.mediafire.com/?mxgcyk3whdt
Also, files attached to post (rename the extension to tar.gz)
Put the files into your FAT32 SD partition, no in a folder just in "/"
Now, it's time to give it a try
U have two ways:
Open a terminal window in your PC
adb shell
cd /sdcard/
sh installer.sh
sh bootdeb
Or:
Open up a terminal in your N1, like Terminal Emulator on Market
cd /sdcard/
sh installer.sh
sh bootdeb
PROFIT!!!
Enjoy your debian-armel on your N1
For the next chapter, how to run X with VNC Viewer
Bye and thanks for reading!
Looks like Klingon to me.
I have Debian running too now
Nice! Cant wait to try it out!
nice, i've been looking for a n1 debian how-to
Installing debian is pretty much the same as running it on your g1. I had it working the day after I got mine using the g1 instructions.
So, what's the reason or running debian on your phone?
Jst wondering
u
The reason by now is just fun hehe
But, if we can run it natively via fastboot, would be awesome hehe
Sorry for the delay guys, ill do it now, the last night was too late for me 4am here hehe
EDIT: Just give some time more, i going to try it with the Cm 5.0 beta 1
jairuncaloth said:
Installing debian is pretty much the same as running it on your g1. I had it working the day after I got mine using the g1 instructions.
Click to expand...
Click to collapse
I couldnt get chmod or installer.sh from the g1 instructions to work. I tried it both with bacon and modaco 1.3. I skipped the jesusfreak part though so maybe thats why. Anyway seeing confirming instructions would be nice.
Because the g1 files need to be modded first
I have it running it under modaco 1.3 and now im going to try it with the new b1 from cyanogen
Guide ready
Enjoy it!
Hi,
i have one question about debian. Is the network traffic routed trough android, or does debian has direct access to the wlan adapter for monitor mode and aircrack ?
meld0
it's using the same ip and mac, so is shared for both
If there are the apropiate drivers maybe, don't really know
Calling Linux Experts!!! hehe
Is there any way to create a boot.img bootable via fastboot to run the ext3 partition of sdcard with debian?
Driskol said:
Calling Linux Experts!!! hehe
Is there any way to create a boot.img bootable via fastboot to run the ext3 partition of sdcard with debian?
Click to expand...
Click to collapse
sorry for being noob in this matter but, why do i need debian on my phone? what does it give me?
amir
The answer is a choice, Android or a Full Desktop OS with Firefox, Thunderbird, OpenOffice, etc...
When its booting I'm getting an error:
/system/bin/bootdeb: line 61: chroot: command not found
Doing "find / -name chroot" only returns binaries within the debian image.
Any ideas?
Driskol said:
The answer is a choice, Android or a Full Desktop OS with Firefox, Thunderbird, OpenOffice, etc...
Click to expand...
Click to collapse
How well does Firefox run?
Can anyone take some pics or video?
Any instructions for creating and mounting linux as an img file instead of using separate partitions?
tetlee said:
When its booting I'm getting an error:
/system/bin/bootdeb: line 61: chroot: command not found
Doing "find / -name chroot" only returns binaries within the debian image.
Any ideas?
Click to expand...
Click to collapse
Maybe your rom doesn't have Busybox
EDIT: Im going to make a img version tutorial
Of course, this version was without the highmem kernel, now with more ram, more flawlessly
I thought since the cm5b4 thread is getting hard to navigate through that i would pull some helpful info out of it and make it in a seperate thread
I TAKE NO CREDIT FOR THE INFO BELOW, jerbarton should get credit for the procedure
As usual I'm not responsible for any problems you may encounter or broken phone, i also cant confirm if this works on any other rom's but cyans and there is no gurantee it will always work but here you go
EDIT:When updating to a new CM rom you WILL encounter a boot loop, simply run the steps below AGAIN during the loop cycle and then reboot the phone and it should work.
ALWAYS NANDROID!!
you will need to have an ext2 partition before this will work, i believe you can make one with the "partition" option in recovery
Code:
adb remount
adb push 04apps2sd /system/etc/init.d/
adb push e2fsck /system/xbin
adb shell
chmod 755 /system/xbin/e2fsck
chmod 755 /system/etc/init.d/04apps2sd
mkdir /system/sd
Downloads:
e2fsck: http://www.mediafire.com/?tzwwjyz2t2r
04apps2sd: http://www.mediafire.com/?mjjntmtmjmj
Attempted this, and I've never once tried doing apps2sd. I dl'ed the files to the root of my SD card after partitioning the SD card to ext2. After this was done, I went to my terminal emulator, but all I get from the commands are "adb: not found"
What am I doing wrong?
heroskyy said:
Attempted this, and I've never once tried doing apps2sd. I dl'ed the files to the root of my SD card after partitioning the SD card to ext2. After this was done, I went to my terminal emulator, but all I get from the commands are "adb: not found"
What am I doing wrong?
Click to expand...
Click to collapse
You have to get the android sdk kit on your computer and type in those commands from tools. Make sure those files are placed in your tools folder so it can find them(adb). Also need to hold down shift and right key to open up command in folder.
nonmindo said:
I thought since the cm5b4 thread is getting hard to navigate through that i would pull some helpful info out of it and make it in a seperate thread
I TAKE NO CREDIT FOR THE INFO BELOW, jerbarton should get credit for the procedure
AS usual I'm not responsible for any problems you may encounter or broken phone, i also cant confirm if this works on any other rom's but cyans and there is no gurantee it will always work but here you go
ALWAYS NANDROID!!
you will need to have an ext2 partition before this will work, i believe you can make one with the "partition" option in recovery
Code:
adb remount
adb push 04apps2sd /system/etc/init.d/
adb push e2fsck /system/xbin
adb shell
chmod 755 /system/xbin/e2fsck
chmod 755 /system/etc/init.d/04apps2sd
mkdir /system/sd
Downloads:
e2fsck: http://www.mediafire.com/?tzwwjyz2t2r
04apps2sd: http://www.mediafire.com/?mjjntmtmjmj
Click to expand...
Click to collapse
Thanks for putting this up but your crediting wrong person. First and foremost Cyanogen(his script pulled from rom) Second, dhanj was the first to post the script on here and the other guy added to it( the one your giving credit too.) Go back and read original post.
kamasi36 said:
You have to get the android sdk kit on your computer and type in those commands from tools. Make sure those files are placed in your tools folder so it can find them(adb). Also need to hold down shift and right key to open up command in folder.
Click to expand...
Click to collapse
awesome! thank you! Ive always been confused about that
heroskyy said:
awesome! thank you! Ive always been confused about that
Click to expand...
Click to collapse
Ha. me too man. You have to learn fast on here. They expect us to know all this stuff coming in the gate. Just holla back if you need some more help. I'm a noob too but managed to figure it out.
http://forum.xda-developers.com/showthread.php?t=532719
This might help you get started. make sure you get everything updated because this is kind of dated.
kamasi36 said:
Thanks for putting this up but your crediting wrong person. First and foremost Cyanogen(his script pulled from rom) Second, dhanj was the first to post the script on here and the other guy added to it( the one your giving credit too.) Go back and read original post.
Click to expand...
Click to collapse
Yeah cyanogen (especially) and dhanj should be credited more than me. I didn't really do anything but add on how I got it working for me.
One thing to mention, if cyanogen doesn't implement this officially in his ROM (and for most people it's probably not needed) you'll have to redo this procedure each time you flash/update so I'd suggest keeping the 2 files saved.
@nonmindo...thanks for posting this, I've been meaning to put something together but had a handful of things going on.
In any case, I was also hesitant on starting a new thread about this because of the apps2sd, need or not to need discussion that's been going on. Anyway, I'm glad you did post this and glad that there are others asides from myself(kamasi, jerbarton, t0pgun & dscottjr81 that I know of!) who chose to get this up and running on their nexus one.
As for who get's credit, I certainly cannot take any credit for this because all I did was share information. The real credit goes to cyanogen and the great devs we have here on xda that made our toys even more enjoyable that it was stock.
Edit:
Regarding the second(ext) partition that's created when you partition your sd card using RA-nexus-v1.5.3 recovery, there isn't a menu option to upgrade your partition to ext3, unlike other versions of Amon_Ra's custom recovery for the HTC Dream: G1.
Regardless, of this you can always go back into the recovery, hook up your phone to your pc, open up command prompt and type in the following commands:
Code:
adb shell
sdparted -ufs ext3
dnanj said:
@nonmindo...thanks for posting this, I've been meaning to put something together but had a handful of things going on.
In any case, I was also hesitant on starting a new thread about this because of the apps2sd, need or not to need discussion that's been going on. Anyway, I'm glad you did post this and glad that there are others asides from myself(kamasi, jerbarton, t0pgun & dscottjr81 that I know of!) who chose to get this up and running on their nexus one.
As for who get's credit, I certainly cannot take any credit for this because all I did was share information. The real credit goes to cyanogen and the great devs we have here on xda that made our toys even more enjoyable that it was stock.
Edit:
Regarding the second(ext) partition that's created when you partition your sd card using RA-nexus-v1.5.3 recovery, there isn't a menu option to upgrade your partition to ext3, unlike other versions of Amon_Ra's custom recovery for the HTC Dream: G1.
Regardless, of this you can always go back into the recovery, hook up your phone to your pc, open up command prompt and type in the following commands:
Code:
adb shell
sdparted -ufs ext3
Click to expand...
Click to collapse
Thanks dnanj. Just upgraded to ext. 3. apps2sd b4 now.
You betcha....as always, just sharing information whenever I can.
am i suppose to get a conformation in shell if the commands worked?
Ohal_yeah said:
am i suppose to get a conformation in shell if the commands worked?
Click to expand...
Click to collapse
When the commands complete, you should be brought back to the prompt where the shell awaits the next command.
I apologize for not looking deeper into who deserves credit here, thanks for those of you that do know!! I was simply just trying to make it easier to get the information to people that might want it...
as for the debate of needing a2sd or not, i was out of space right from the get-go because of all the apps i had on my mt3g...so to me i definitely need it out of the 1gb partition i made on my sd card i have .82 free now lol...
completed all steps but everything still saves to internal memory
JustinLoe said:
completed all steps but everything still saves to internal memory
Click to expand...
Click to collapse
a small glitch probably when you run the last command before adb reboot, it fails to create the directory as it exists, probably change the name to solve it, it happened to me once
dnanj said:
@nonmindo...thanks for posting this, I've been meaning to put something together but had a handful of things going on.
Edit:
Regarding the second(ext) partition that's created when you partition your sd card using RA-nexus-v1.5.3 recovery, there isn't a menu option to upgrade your partition to ext3, unlike other versions of Amon_Ra's custom recovery for the HTC Dream: G1.
Regardless, of this you can always go back into the recovery, hook up your phone to your pc, open up command prompt and type in the following commands:
Code:
adb shell
sdparted -ufs ext3
Click to expand...
Click to collapse
hi, what does the code has anything to do with app2sd? anyone cares to shed some lights to a newcomer?
TIA
jakontil said:
hi, what does the code has anything to do with app2sd? anyone cares to shed some lights to a newcomer?
TIA
Click to expand...
Click to collapse
ext3 is essentially a ext2 file system with journaling.
Click Here to read about ext3 and it's benefits over an ext2 fs. As to why ext2 over ext3 for apps2sd, since journaling improves reliability of the fs, that makes it more ideal than ext2.
it works great thanks!
hi dnanj
thanks for the link
sorry but im stuck here
C:\android-sdk-windows\tools>adb remount
remount succeeded
C:\android-sdk-windows\tools>adb push 04apps2sd /system/etc/init.d/
failed to copy '04apps2sd' to '/system/etc/init.d/': Is a directory
C:\android-sdk-windows\tools>
why does cmd show me this error can you help me out please..very much appreciated
I want to get this hack for my status bar...I attempted with the 2gb Nookie install, and realized that the 8gb was better for my 16gb card (since there's no 16gb version available as of now). The 2gb hack had the status bar buttons, the 8gb one does not.
The version of the hack currently is for versions of Nookie that are flashed to the eMMC (which I have no idea how to do). Brian said something about copying the files, but I can't seem to figure out what to do here...can someone offer some input please? Thanks!
anybody? please help.
no one can help?
piercenkc said:
no one can help?
Click to expand...
Click to collapse
Do you have adb installed? I don't have the adb command now. It is I'm my home computer.
Google nookie froyo. You can install adb. I can post the instruction when I am home.
It seems to be the easiest way for me.
I just got adb installed. Let me know what the command is whenever you get home - I appreciate your help! Thanks!
I have my adb install in c:\tools. Please replace it with whatever your directory is.
Backup your sdcard first - make sure you do this....
Extract the new zip file to a directory. My dir is c:\tools\temp\
adb shell mount -o remount,rw /dev/block/mmcblk1p2 /system
adb push c:\tools\temp\system system/
adb shell mount -o remount,rw /dev/block/mmcblk1p2 /data
adb push c:\tools\temp\data data/
Start Rom Manager->Fix Permissions
Reboot
It works for me. I am sure there are better ways, but this is what I did.
If anyone who know adb commands. Please feel free to provide another suggestion.
awesome, that definitely worked!
i think i liked the bar better up top though...will i have to do that whole process again with a different version of the hack?
I know there are fixes in each update. I would not used the older one unless I know what was changed.
I loaded the 3/22 last night and still had the FCs with stock browser. The 3/23 update works great. Now, just waiting for the reverse colors...
http://forum.xda-developers.com/showthread.php?t=999214
I will check out the new buttons tonight.