Probably is this question really simple to anwser but I just cant get Ouya to execute a script at boot.
how can i do this?
In linux is simple i just need to put the script at /etc/rc.local but android i'm confused.
Tnks!
:good:
Related
Anyone seen this yet?
This guy got Ubuntu to run on his nexus one, is it also possible on our Desire?
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/
It's a chroot. I don't know if it's me, but this isn't fascinating since Debian could be chrooted already (right?) - its the native boot we really want. This still runs the Android kernel.
-
I think it would be very facinating.. Android kernel running or not, I'd still be happy to be able to have a full worthy Ubuntu desktop enviroment to play around in. Think of all the apps you can then run! Millions!
But this is an ubuntu x11 session opened via VNC!! this isn't ubuntu on android!
Why would you need ubuntu on a phone? I don't get it...
Can't you just buy a netbook?
Why not just try to use the guide for N1? It should work I think... will try when I have some spare time.
I thought using the N1 guide would work, but i kept getting "bootubuntu not found" (or something similar) when trying to launch bootubuntu. Also I thought Ubuntu would be running on the phone itself, using vnc to access X11, in effect giving the more or less full Linux experience from the phone alone, or have I misunderstood?
N1 guide doesn't work
The N1 guide doesn't work on the Desire because the ubuntu.sh trys to install files onto the devices system partition. But this fails because we don't have write permission to the system partition unless the device is in recovery. I booted into recovery, mounted the /system partition & pushed the files to /system/bin using adb. I then changed the files permission using. I can now run bootubuntu but it fails, I think it's trying to mount ubuntu.img somewhere on the system partition. I think the bootubuntu script needs edited but i hav en't had a chance to do it yet.
You can mount on the system partition regardless of write permissions.
If this is the same as the debian one the mount point is /data/local/mnt
/
Ok so my friend rooted my phone and I've done alot but theres alot that I need ADB for..
so im looking for someone help
to provide a walkthrough of how to get ADB and SLIDE USB drivers and how to use it. to do this..
http://forum.xda-developers.com/showthread.php?t=921347
step by step
please help..
Tossing a Couple Cold-Ones to whoever can help me
I don't have a step-by-step but maybe I can at least point you in a direction and get you the tools you need.
ADB will come from here:
http://developer.android.com/sdk/index.html
Here's what I used to get the slide drivers, I believe:
http://www.junefabrics.com/android/
If someone's got an easier way, I'd like to know too, hehe.
---
If anything, at least download the SDK first.
Maybe someone will be kind enough to come in and help. If I've got time I'll see what I can do though.
EDIT: Also have you tried this thread? http://forum.xda-developers.com/showthread.php?t=532719
Virus1x said:
Ok so my friend rooted my phone and I've done alot but theres alot that I need ADB for..
so im looking for someone help
to provide a walkthrough of how to get ADB and SLIDE USB drivers and how to use it. to do this..
http://forum.xda-developers.com/showthread.php?t=921347
step by step
please help..
Tossing a Couple Cold-Ones to whoever can help me
Click to expand...
Click to collapse
oh well i thanked u instead of quoting xD there is a free thanks for u then...
what are u running on your pc? osx? windows?
there is a couple of youtube videos you can check out like this one
http://www.youtube.com/watch?v=1UF5w1dKe2U
and this one
http://www.youtube.com/watch?v=b1qgKA_eT2g&feature=related
basically what you need is the android sdk, the drivers are included there and if you are using windows set an variable to the path of your sdk tools so you can just type adb in the cmd and launch it right away
edit: oh and for the data2ext thing, you need to do that in recovery right after u repartition your sdcard.
just go into recovery, plug the phone, type adb shell in the command prompt(after u get it to work) and then the whole line to make your ext partition block size 4kb ---> mke2fs -m0 -b4096 /dev/block/mmcblk0p2
wait for the # to show up again and you are good to go ^_^
you just then need to reboot and type data2ext --enable in the terminal emulator app, hope this helps
Hi there i really need to know how to dump my current ROM
Cause i want to make a complete Backup (kernel etc) before starting to develop for this device.
Ive already searches sammobile and the whole XDA Forums but there is no
correct ROM for that phone
Base: I8150XXLB2
Kernel : [email protected] #3
Cmon guys is there a how to ?
wizzx said:
Hi there i really need to know how to dump my current ROM
Cause i want to make a complete Backup (kernel etc) before starting to develop for this device.
Ive already searches sammobile and the whole XDA Forums but there is no
correct ROM for that phone
Base: I8150XXLB2
Kernel : [email protected] #3
Cmon guys is there a how to ?
Click to expand...
Click to collapse
Do u mean making a Nandroid Backup of ur ROM? U can use CWM Backup
Check this out
http://forum.xda-developers.com/showpost.php?p=21424744&postcount=1
Thanks for your reply
I figured it out :
ADB Method:
Connect your phone to your computer via USB and make sure USB debugging mode is enabled in Settings >> Applications >> Development.
Open a command prompt window and enter the following commands:
adb push romdump /data/local/
adb shell chmod 04755 /data/local/romdump
adb shell /data/local/romdump
You might see some output of the above command. Wait until it finishes.
Enable and then disable Wi-Fi on your Android phone. If it was already enabled, disable, enable and then disable it again.
Type this command in the command prompt window on your computer:
adb shell romdump
Now i have to figure it out how to dum the : KERNEL.IMG
use cat prog command to determine the kernel img partition system etc etc then use adb to pull it. I forgotten the exact command but this is the way to back up the whole rom manually if I'm not mistaken.
why not use cwm? it automatically backup everything from kernel to boot img.
Thanks for your reply.
Cause i really got no plan how to cook a complete flashable standalone rom with the files cwm Recovery creates. This files looking strange to me.
I started rom creating with the archos htv2 tablet (completly diffrent)
As soon as possible i will work on new roms.
Usualy i dont need much time to get into it.
Thanks for your help.
wizzx said:
Thanks for your reply.
Cause i really got no plan how to cook a complete flashable standalone rom with the files cwm Recovery creates. This files looking strange to me.
I started rom creating with the archos htv2 tablet (completly diffrent)
As soon as possible i will work on new roms.
Usualy i dont need much time to get into it.
Thanks for your help.
Click to expand...
Click to collapse
Looking forward to ur New ROM. All the best~
Hey all, I'm using the Dirty Cow script to try and finally root my AT&T Note 4. I've got the terminal up and running in Linux and the script executes. I understand how the script works and know I'll essentially be able to give one execution root access. I'm attempting to give that to the TWRP Manager app so I can simply write a new recovery and then flash a different ROM, essentially rooting the device.
Where I run into trouble is finding the apk in the terminal window. Beyond the actual root directory the LS command doesn't work to list the file structure, so I have to go blind. Anyone have any advice on how I can find the apk file to point it to?
It's currently running 6.0 if that matters.
Thanks!
Following the instruction on Nextbit website to restore the Robin to factory but when I run ./flash-all.sh or sudo ./flash-all.sh or even su and then bash ./flash-all.sh, all I get in response is Permission denied on every line of the shell script that tries to flash a file. Anyone know what the deal is? I'm running Linux btw.
I can't read sorry
hairycheez said:
I can't read sorry
Click to expand...
Click to collapse
lol, no worries.
For anyone who cares, I found the solution. The script was written for Mac OS and all of the commands start with "./fastboot" instead of plain old "fastboot". This is because on a Mac you are running the fastboot program from your working directory, just like on Windows. I however did not know this as I am a Linux user and have never used android tools on any other platform. I actually rewrote the script to solve the issue basically removing the part that asked me if it was ok to wipe, all of the "./" and changed the last part to just flash the system.img since it was depending on the y or n variables I removed at the top. So if anyone else runs into this, that is how you fix it.
EDIT: If anyone needs the flash-all.sh script for Linux Message me and I'll send it to you.
Nivekc said:
lol, no worries.
For anyone who cares, I found the solution. The script was written for Mac OS and all of the commands start with "./fastboot" instead of plain old "fastboot". This is because on a Mac you are running the fastboot program from your working directory, just like on Windows. I however did not know this as I am a Linux user and have never used android tools on any other platform. I actually rewrote the script to solve the issue basically removing the part that asked me if it was ok to wipe, all of the "./" and changed the last part to just flash the system.img since it was depending on the y or n variables I removed at the top. So if anyone else runs into this, that is how you fix it.
EDIT: If anyone needs the flash-all.sh script for Linux Message me and I'll send it to you.
Click to expand...
Click to collapse
can you send me linux script please
Nivekc said:
lol, no worries.
For anyone who cares, I found the solution. The script was written for Mac OS and all of the commands start with "./fastboot" instead of plain old "fastboot". This is because on a Mac you are running the fastboot program from your working directory, just like on Windows. I however did not know this as I am a Linux user and have never used android tools on any other platform. I actually rewrote the script to solve the issue basically removing the part that asked me if it was ok to wipe, all of the "./" and changed the last part to just flash the system.img since it was depending on the y or n variables I removed at the top. So if anyone else runs into this, that is how you fix it.
EDIT: If anyone needs the flash-all.sh script for Linux Message me and I'll send it to you.
Click to expand...
Click to collapse
Can you send me this script? Please
bback78901 said:
Can you send me this script? Please
Click to expand...
Click to collapse
I am stuck at this level. Can you please send me the flash-all.sh script for Linux. I am using my Pixel Slate. When I used the ./flash-all.sh command I got an error message as : -bash: ./flash-all.sh: Permission denied. Thanks