Root/Recovery/Flasing From Linux? - Click Android Development

Hey all, i don't use windows, only have a virtual machine (which doesn't seem to work well with adb).
Does no-one use linux to flash here? I'm looking for a linux only tutorial?
Cheers,
D

I've got root trough VM with one-click method. I was using VMWare Player in Ubuntu 9.10.

adb is working fine on my gentoo machine, it is even better than on the offtopic I got root and everything using linux. And you don't need different tutorials - everything is almost the same.

here ya go! hehe i hope this will help u! if u need any help just pm me, i use ubuntu everyday and for everything!
http://forum.xda-developers.com/showthread.php?t=537508

Related

Help! No ADB on Vista 64 can't get gapps on HCv4 SD

I have a Vista 64 computer right now and I can't get ADB to work with the nook color. None of the insturctions on have found on these forums or Nook Devs work on Vista 64. Has anyone gotten it work on Vista 64?
The big reason I'm looking right now is I can't get gapps onto my HCv4 sd without using ADB or at least haven't found a way.
Any suggestions besides get a new computer or operating system (I'd love to) would be great.
ryspy8492 said:
I have a Vista 64 computer right now and I can't get ADB to work with the nook color. None of the insturctions on have found on these forums or Nook Devs work on Vista 64. Has anyone gotten it work on Vista 64?
The big reason I'm looking right now is I can't get gapps onto my HCv4 sd without using ADB or at least haven't found a way.
Any suggestions besides get a new computer or operating system (I'd love to) would be great.
Click to expand...
Click to collapse
There is a Topic on Dev Forum on an Easy ADB install setup that does the work for you. Although in the end life is made easier if you just use Linux. I recommend Ubuntu. It has a Windows Installer that allows you to Boot Ubuntu without partitioning or anything and when you're done with Ubuntu just go back to Windows and Uninstall it like any other Program. http://ubuntu.com
____________________________________________________
Sent from Nookie Froyo using Tapatalk
I used to have Ubuntu on an old computer of mine...it never occurred to me to do what you just suggested even though I've done it before. BTW I tried the Easy ADB it work with XP 32/64, Vista 32, and W7 32/64, but no Vista 64.
Booting Ubuntu on the side is going to work, but if anyone has gotten ADB on Vista 64 working I'd still love that.
You should change the Thread's title to "Help! Can't get ADB working on Windows 64-bit" That describes your problem better and should attract more people. I doubt you're the only one with 64-bit Windows problems.
____________________________________________________
Sent from Nookie Froyo using Tapatalk

Root access in Mac

Guys
I want to root my phone and install a custom Rom, but I only have a mac, and do not have any Windows simulation program either. Is there a guide I can use that walks me through the process with a mac?
Thanks a bunch !
DZ
Sent from my HTC Incredible S using XDA App
Y cant u check in frnd of u, who has windows os! Because root through, mac os is quite complicated!
the only difference is the alpharev process
Try to download virtual machine . Like VMWare. Then download a Linux system. Fedora is recommend(smaller to download. Ubuntu is too big.)

[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.

[Q] How to root an XPeria Z..? in Linux ??

Good morning Gents and Ladies
This is my first post in xda-developers.
I am planning to buy a smartphone for pen-testing besides of other normal smartphone usage sutff.
My choices have bioled down to the Sony Xperia Z, and the Samsung Galaxy S4...
Only problem is tha i do not know how to root these devices.... by what i have seen so far, it requires flashing the ROM, of them, but i have no access to Windows computers... i only have an Ubuntu 12.04 installation in my laptop, but all the tutorials i have seen so far, involve using some sort of win applications....
I need to root the device in order to get Kali linux, or backtrack linux, or BackBuntu to run in a chroot in an SD card... as well as to install ANTI, and dSploit...
Any hints of how to do this using Linux..??
and more.. the kernel images used in the rooting process are no longer hosted in the websites, where can i get them..?
best regards
Alex
You don't need Windows to root the device. I've successfully rooted the device with locked and unlocked bootloader under linux. You can just run the needed adb commands under linux if you have the android sdk installed.
Downloading Android SDK now... Installed Eclipse already...
djselbeck said:
You don't need Windows to root the device. I've successfully rooted the device with locked and unlocked bootloader under linux. You can just run the needed adb commands under linux if you have the android sdk installed.
Click to expand...
Click to collapse
Hi, thanks for the answer, is the source code of ADB packed in the SDK, and i just need to build an executable, ? or is it just a stand-alone binary..?
BRGDS
Alex
All you need is the platform-tools folder from the sdk. The binary for adb will be present for your platform. I rooted on a mac.
Sent from my Nexus 10 using Tapatalk HD

do i have to use a linux pc to JuopunutBear S-OFF

On their website it says it only supports ubunto. So do I need to use linux or can I use a windows pc
amack10 said:
On their website it says it only supports ubunto. So do I need to use linux or can I use a windows pc
Click to expand...
Click to collapse
You can use a Windows pc to download the Ubuntu ISO file. Burn that to a DVD. Reboot, making sure you can boot off the DVD. You can run Ubuntu in memory without affecting your Windows installation. Several people have reported that this works.
Personally, I have two hard drives on my computer and I already had Ubuntu installed on the other drive, just for doing stuff like that.
Or if you want the windows files, I probably have them archived. Just let me know if you want them. Note that unlimited.io / juopunutbear do not support the windows version at all any more. I did my s-off on windows (and I'm sure many others did too) and it worked out OK.
Yes please. If you could send them to me that would be great. You can pm them or if for some reason pm doesn't work my e mail is [email protected]

Categories

Resources