[Q] SDCARD Linux - 7" Kindle Fire HD Q&A, Help & Troubleshooting

Hi all,
When I plug my KF2 into windows I get sdcard access straight away. What do I need to do to get the same access within linux (ubuntu specifically)
I know it needs an installation of something but I cant remember what or where I found it!
Cheers
Bryan

Related

Getting Linux to boot?!

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)

Running HARD-SPL/Flashing ROMs without Windows?

Hi,
Just got an Xperia, and I'd like to follow the tutorials on flashing the WM6.5 OS onto it.
My problem initially is that all my PCs run Mandriva Linux, not Windows, which means that the .exe files etc provided won't run on my machine.
Is there a solution for this problem? Obviously I have no ActiveSync etc and although I can still connect the phone via USB, I'm a little nervous about trying to work out how to do this off the cuff - don't want to end up with a brick after all!
Cheers
Dave
If you have just got it, then start searching and reading first !!!
sticky threads have the most information you need.
anyway, quick response, hardspl with no windows i don't think so, but rom flashes yes you can with the microsd method.... you'll find info everywhere....
I recommend you to use a xp boot cd or other windows boot cd that can mount the OS in your pc or to make a partition with windows...
Because to do a hard-spl you WILL NEED WINDOWS....Activsync from microsoft...Shuold by active and running conected to your xperia of course...
For roms flashing you can use MicroSd method so not problem with your pc OS...
READ and Study a lot after doing....ANYTHING
Wish you Luck
Thanks guys.
I had already seen and read through the points on using Micro SD cards for the ROMs, but hadn't been able to locate anything on doing the Hard SPL any way without using Windows. Thanks for clarifying what I thought was the likely answer.
Looks like I'll be spending my lunch hour productively at work next week...
the easiest way for you will propably be :
1. Go get Virtualbox (free!) or VMWare Workstation/Server
2. Setup a new virtual machine.
3. Install Windows XP in this machine.
4. Install virtualbox guest additions in virtual machine.
5. Install Activesync
6. Connect your X1 to the usb while virtual machine is on focus.
7. Put Hard SPL on that sucker.
That's how I did it and have done it for some friends.
Alternatively just do it on one of your buddie's pc who has got Win.
It takes only few minutes.
regards

[Q] Anybody up for porting Ubuntu?

Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Robbilie said:
Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Kernel version is 3.0.8.
If you can install linux distros on the backend of rooted ARM devices it should make sense we could do the same....maybe
Ubuntu on a RAZR I ? Linux x86 apps + windows apps with wine without even recompile? I think this devece needs some love. It can be the next HTC HD2 for shure.
I dont understand the htc comparison
But i have your ideas about no need to recompile and wine in mind too...
But i understand adam because linux for android is compiled for arm achitecture so a usual desktop image would make more sense...
Why is the kernel version so low?!
Sent from my LG-P500 using xda premium
What we need to do
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
And for what Windows on 4,3 inches display? It dont have hdmi.
Odoslané z GT-P7300 cez Tapatalk 2
The micro usb is acting like hdmi with adapter...
Sent from my LG-P500 using xda premium
Go look up the HTC HD2. It can run Windows Phone 7 and Android dual-booted (with Linux from SDCard), and was originally the last, albeit most powerful, Windows Mobile 6 phone ever made.
Even though it is four years old, there is a massive and vibrant dev community behind it, making it reach the front page of XDA forums.
However, even the venerable HD2 is getting old, with 1GHz processor and half a gig of RAM that was top-of-the-line years ago, and people have looked in vain for some kind of successor. Hopefully, the Razr I, with an unlockable bootloader and Intel processor, will be the one. But that remains for us to do.
pablocrossa said:
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
Click to expand...
Click to collapse
So I tried this out and there is a chroot-compatible busybox after rooting ("busybox chroot" needs to be called as opposed to "chroot" as there is no properly made link), so anyone with this phone can try (using a PC) install Ubuntu without the grub bootloader using manual partitioning on a single ext3 (I am not sure if ICS supports ext4) partition on a microsd, put into your phone, use a root terminal, mount it, mount the adequate dev, dev/pts, proc and sys partitions and chroot right in. You then might want to install a VNC server in Ubuntu to be able to create a VNC X session in a framebuffer and a VNC client on the android side to VNC into localhost (127.0.0.1), but that should work, I didn't have time to try it this weekend If someone gets stuck post and let us see what happens I cannot wait to see if wine can run desktop Spotify with sound, excited a little hehe.
EDIT: So to make this more understandable you must:
Install Ubuntu (using your computer) to a MicroSD, specifying partitions manually and choosing only a single ext3. Right before clicking install there is a button with something along the lines of "Advanced options", disable the install the bootloader (grub) option.
Insert the MicroSD into the phone and open a root terminal
I don't use Android, maybe it automounts in /media/sdcard or /sdcard, if not you will have to find the device and partition name (probably /dev/mmcblk0p1 or /dev/sdb1) and issue "mount /dev/DEVICEPARTITION /media/sdcard"
mount -t proc proc /media/sdcard/proc
mount -o bind /dev/ /media/sdcard/dev/
mount -t devpts devpts /media/sdcard/dev/pts
busybox chroot /media/sdcard /bin/bash
Now a shell from Ubuntu should open. apt-get update && apt-get install vncserver (maybe the DNS settings must be set in /etc/resolv.conf, not yet sure)
vncserver (or start vncserver, something along those lines)
Now from Android install a VNC viewer and vnc into 127.0.0.1 (or localhost)
That should do it, again if you get stuck post here
i had htc hd2, the most amazing phone in the world. I wanna buy the rarz i for the x86 processor in it. But cpu power without community and developers is nothing :|
Sorry for my bad english.
Yesterday we tried something:
We used dd to put an arch linux image on a micro sd card...
Though my laptop wasnt even able to boot from any sd card, this should work on our phone...
but how to make it boot from the sd card? xD
btw you might have noticed, this will make only linux boot, not android, we dont chroot, may somebody build a simple ubuntu img for complete linux installer?
//Robert
so right now i am trying to chroot into an img file, mounting it and then chrooting it but all i get is:
chroot: can't execute '/system/bin/sh': No such file or directory
whats wrong?
Robbilie said:
The micro usb is acting like hdmi with adapter...
Click to expand...
Click to collapse
Razr i MHL capable???
as far as i know, sadly not no
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Hey,
great work. :good:
Good to see there are people with the same ideas. I´ve searched a lot for this thread.
I will also try to get this device for the same reasons when it´s cheaper. Has anybody tried to get Plasma Active or Tizen to run?
I think Active should now be possible through kubuntu Active?
Cheers!
Hi all
At first you can try a application from play store called Linux installer
https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Otherwise you can wait some weeks for an nexus 7 Ubuntu port witch looks really interesting.
http://forum.xda-developers.com/showthread.php?t=1957561
Ahhh maybe have a look at the andrinux project here at xda
[/COLOR]Here's the andrinux link
http://forum.xda-developers.com/showthread.php?t=1387105
Sent from my sweet little Blackbox
Robbilie said:
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Click to expand...
Click to collapse
thanks for your post on preparing an arch image (I don't have permision to post in devel forum, maybe because I'm a newbie ), It worked well for me although I had to adjust some things such as path and pts mount
I now have a gcc toolchain and a latex distrib on my phone I had never used arch, found it very good
I've also tried some window managers ... the one I find best for the moment is enlightenment in the touchscreen mode, awesome works great as well.
I would also suggest to use Hacker's keyboard instead of stock android, it is a complete keyboard, very usefull when dealing with terminals ... as for VNC viewer, one should recompile android-vnc-viewer with the patches given in Issues 238 and 239 (can't post links either), it's a lot better
I've had a lot of fun, thanks
First, Complete Linux Installer doesnt work because its images are compiled for arm not x86 (i tried )
Secondly, I did a tutorial here http://forum.xda-developers.com/showthread.php?t=1966984
the nexus 7 stuff is interesting and we consider making flashable fastboot for the razr i since we dont have cwm or such you know
i am talking to jordan keyes who recently owned a nexus 7 who probably will try out the ubu stuff and i might get some system info
but i would really prefer a dual boot, capable of booting from sd...
I came across this site today:
http://www.pvsm.ru/wine/10369
translated here
I don't know if this could possibly help you any further but I thought that I might as well post it.

[CHROOT] Running Arch Linux on the RARZ i

Right before the Introduction, I am not responsible for anything you do to you Phone, you are free to do or not to do what I am explaining to you so its on your own risk...
Introduction:
Ok guys so here we are, trying to install a Linux Distro on our awesome x86 Phone...
Damn this doesnt work because our Android is compiled in a different way than ARM Android so we have to wait for better Docs or someone who can get the bootloader to laod a different OS...
But you dont want to wait right?
So here we go, the only alternative:
Chroot into Linux
Description:
Chrooting lets you run annother Linux on top of the currently running Linux (what Android actually is...more or less).
So you mount an existing Linux and simply run it.
What I want to do:
I want to guide you through chrooting and setting up an Arch Linux on your RAZR i.
Requirements:
You need:
A micro SD card (I used a 8GB sized one but 4GB/more than 8 should also work, you just have to adjust some Steps)
An Arch Linux Image (I will give you a link)
(Not required but I will focus on this Platform because I use it myself and it works best, I guess)
A Linux PC running Virtual Box
Tutorial:
First you need an Arch Linux Image. Any other Linux Distro should work fine, but others also take up a lot more Space and Ubuntu for Example has many Problems running in Chroot (because Canonical did some S***).
I used this one:
Arch Linux 2012.10.06
Again, any Version should work fine, just took the latest one
So lets set up our System...
Start Virtual Box and create a new System.
Create a new Hard Drive and size it so it fits onto your micro SD.
I used 5 GB-7.5GB on a 8GB micro SD.
Insert the downloaded ISO FIle into the Virtual Box CD Drive and start your Virtual Machine.
Select the i686 mode (because or CPU is 32bit not 64bit)
If you have the wrong Keyboard Layout Follow this Keyboard Setup Keyboard Config
Next you need to partition the HDD: Partitioning the HDD
Now Install the Base System: Install the Base System
After this follow the next Steps on the Arch WIki (Generate an fstab, Chroot and configure the base system, Set the root password and add a regular user)
DO not reboot because you didnt create a Bootloader (not required for chrooting), instead go to the "Extra" Section and follow all Steps till troubleshooting (DO NOT REBOOT AND DO NOT STARTX this didnt work for, might for you, might not and then you have to cold reboot the VM)
Now you can reboot Again enter the Live System, load your keymap and chroot into the system
You might already install some Packages like a VNC server (pacman -S tightvnc) which will be required for a Graphical User Interface later...
To create the Image you need later, the easiest way for me to pull the Image out of the VM (which has no space for this Image) because the Virtual Box Plugin didnt work for me is sshfs.
I highly recommend to install an ssh server ond the sshfs system into you arch.
If you have done so, mount your PC from inside the VM so you can put the Image on your PC's HDD.
now to create an Image of your Arch theres one command and two ways:
You create an Image of the whole HDD (what I did)
You create an Image of the one Partition
I chose the first because i didnt want to put anything else on my micro SD, I cant confirm that the second way works but it is suppoes to so lets create the Image:
We make use of the Linux command dd, really, REALLY mke sure that you are executing from inside the VM since you can harm your HDD and dont forget the file extension....
First method:
Code:
dd if=/dev/sda of=/location/to/your/PC/HDD/imagefilename.img
The Second method (not confirmed):
Code:
dd if=/dev/sda1 of=/location/to/your/PC/HDD/imagefilename.img
where sda1 should be the partition you want to image...
This might take a loooooooong time
Now you have this Image, put your micro SD into an Adapter and put it into your PC.
Now find out the name of the SD, I used gparted and I found out that the name is sdc (could be sd + letter of alphabet)
Here the Ways split again:
The first Method completly overwrites anything that is on your microSD so make a backup, the second Way is just putting the created .img file onto the micro SD:
Method One:
Code:
dd if=/path/of/the/img/file of=/dev/sdc
Replace sdc with your micro SD letter, if you put in a wrong letter, you might overwrite your HDD so be careful, I am not responsible for what you do...
For me my Phone said, the micro SD is empty or has a wrong FIlesystem (its ext4) but you shouldnt care, we can mount it anyway...
Now copy the FIle mountscript.sh to the internal SD (the FIle is in this Posts Attachements)
Next open up a Terminal and type in:
Code:
cat /proc/partitions
You should get a list of all your Partitions, if you followed my Way, the last one should be your micro SD (look at the size) and called like mmcblk1p1
If you followed the Second Way, you dont need this Step...
Now type in the Terminal:
Code:
busybox sh /mnt/sdcard/mountscript.sh
the busybox in the beginning seemed required for me because our busybox is kinda strange...
You will be guide through a little setup, I hope it is selfexplaining...
When the script ran through successfully your terminal should look like [[email protected] /]#
In the next Post I will guide you through the Setup of the VNC Server
Any questions or something doesnt work? Just tell me
//Robert
Post reserved for VNC Tutorial
You can start by grabbing yourself this App...
Guess I forgot something
Added the mountscript as Attachemenet
did anybody try?
//Robert
this should fix network issues:
https://blog.tuinslak.org/socket-permission-denied
Hai Robbilie, After install with Ubuntu PC & turn off pc & All seem ok & at phone till [[email protected] /]# & open installed VNCwith name DLKS & 192.168.0.9 & port 5900 but cant handshake & also try many similar VNC still the same. Unlike our PC where on>boot>desktop shown & can play ? Pls advice. Thks.
i advice tiger vnc, but the console tells you the vnc server started?
btw its only 5900 when its on display 0 when its on display 1 its 5901 and so on...
the used display is shown in the console...
are you running the vnc from root?
How to run vnc from root? i only start separately,pls advice.Thks
if you have a vnc server installed in the chroot environment you need to run
vncserver -geometry 888x540
this is just to fit the phones resolution
I'm following your instructions for this. They are well written but I can't figure out the part about ssh and sshfs. What do you do for that step?
Is there seriously not an easier way such as opening the vdi image with some program and copying and pasting the files to my Windows desktop and then using something like IMGBurn to create an iso file and then convert it to an img file?
Ubuntu ?
Hello
I just see this old news when i would like to install Linux Mobile , any news about or link ?
http://www.firstpost.com/topic/prod...otorola-razr-i-video-9n_E6aapPSo-51417-1.html
Thanks
EDIT : http://sourceforge.net/projects/mpsdk/

[Q] Is there a way of installing a ROM to SD without the need to use the EMMC

Hey all,
I managed to brick my Nook HD+ a few month ago (see previous threads). The EMMC partitions are broken and I cant access them.
So, I noticed a few ROMS that work of a SD Card. The only problem is, the installation seems to need to store the ROM on the internal EMMC in order to install it.
Is there a way round this?
Cheers
There is an emmc-less Rom you can find the link from the following thread.
http://forum.xda-developers.com/showthread.php?t=2544606
Direct link
http://forum.xda-developers.com/showpost.php?p=44790925&postcount=67
Thanks for the reply.
I'm struggling with the adb push part and adb just wont work, ive tried
http://forum.xda-developers.com/showthread.php?t=2336088
http://rhuno.com/flashblog/2013/03/17/getting-the-nook-hd-recognized-by-adb/
the driver installs successfully and i still cant see my nook via adb. Is there anything i could be missing.
smurfster said:
Thanks for the reply.
I'm struggling with the adb push part and adb just wont work, ive tried
http://forum.xda-developers.com/showthread.php?t=2336088
http://rhuno.com/flashblog/2013/03/17/getting-the-nook-hd-recognized-by-adb/
the driver installs successfully and i still cant see my nook via adb. Is there anything i could be missing.
Click to expand...
Click to collapse
What OS are you running? I had no issues once I did step 7 myself on Windows. On Linux it really depends on the distro and I don't use a Mac so not sure.
smurfster said:
Thanks for the reply.
Click to expand...
Click to collapse
You should really hit the Thanks Button for him instead of just saying thanks
jpisini said:
What OS are you running? I had no issues once I did step 7 myself on Windows. On Linux it really depends on the distro and I don't use a Mac so not sure.
Click to expand...
Click to collapse
tried a different computer and still no luck. I use windows 7 pro
someone mentioned I need the google usb driver. But how do I install it? it wont install via the right click > install option
Maybe try https://nookdeveloper.zendesk.com/entries/21943338-nook-developer-start-up-guide#top
Well I'm stuck nothing seems to work
Just a quick note.
Be sure to use v1.0.31 of adb or greater, or it will not see your device.
Also, in my bootimg_tools_ovation are the files necessary to get adb working in linux.
(the "hidden" .android folder gets copied to home, and the rules file to /etc/udev).
Someone really should make a live linux usb/flash image with working adb for the nook. (Just boot from usb key and have working adb)
Wouldn't be that difficult.

Categories

Resources