Ubuntu for Android? - T-Mobile LG G2x

http://www.ubuntu.com/devices/android/features-and-specs
The G2x meets the Hardware requirements. Is this something that is doable, or is this targeted towards OEMs? This would be awesome to have :laugh:

We don't have USB host.

This would be handle. For now, you can setup a chroot.

http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Wonder if faux50 kernel has support for loop devices. I'm about to try this.

So I have been trying to figure this out and no luck. I have tried a hand full of kernels. Anyone know of a g2x kernel that has loop device support?
Edit I was only trying GB rom/kernels. Just found (via search...wawa) ics harsh kernel that supports loop device support, and i got root in the terminal so I'm on track. A bunch of the packages were giving me 404 errors on apt-get update and other apt-get's though, tired, so looing into it more tomorrow.

Did it. : ) http://www.youtube.com/watch?v=LsfJ1KAppss&feature=plcp
I used LXDE @ 1024x800
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you want any intel reply here or pm me. I used the phone without adb for the entire setup. If you don't have a bluetooth keyboard, you can download hacker keyboard from the market that will let you do the ctrl+d parts.

sbcdave said:
Did it. : ) http://www.youtube.com/watch?v=LsfJ1KAppss&feature=plcp
I used LXDE @ 1024x800
If you want any intel reply here or pm me. I used the phone without adb for the entire setup. If you don't have a bluetooth keyboard, you can download hacker keyboard from the market that will let you do the ctrl+d parts.
Click to expand...
Click to collapse
Would you please post a sequential list of the installation steps.
EDIT:
I viewed the video and read the steps. Just post whatever you did that's different.

Only things I did different was used Google drive to move the Ubuntu files to the ubuntu directory on my SD card and use the Bluetooth keyboard and the terminal emulator on the phone to do all the commands
Sent from my LG-P999
---------- Post added at 10:43 PM ---------- Previous post was at 10:42 PM ----------
Actually I also had it HDMI to my TV ; )
Sent from my LG-P999

sbcdave said:
Only things I did different was used Google drive to move the Ubuntu files to the ubuntu directory on my SD card and use the Bluetooth keyboard and the terminal emulator on the phone to do all the commands
Sent from my LG-P999
---------- Post added at 10:43 PM ---------- Previous post was at 10:42 PM ----------
Actually I also had it HDMI to my TV ; )
Sent from my LG-P999
Click to expand...
Click to collapse
Does Ubuntu provide usb host mode: http://developer.android.com/guide/topics/connectivity/usb/host.html#api

I'm not sure about the usb support. I breezed over that link but still don't even know what usb support is. I have a feeling your just messing with me because I was giving you **** about constantly bringing it up instead of answering peoples questions. I know that ubuntu works on my lg-p999 with ics and harsh kernel, and you don't need cables or adb, you can do it all via terminal.

sbcdave said:
I'm not sure about the usb support. I breezed over that link but still don't even know what usb support is. I have a feeling your just messing with me because I was giving you **** about constantly bringing it up instead of answering peoples questions. I know that ubuntu works on my lg-p999 with ics and harsh kernel, and you don't need cables or adb, you can do it all via terminal.
Click to expand...
Click to collapse
I'm not messing with you. USB Host/OTG (On The Go) enables the phone to be used as a controller of other USB devices such as USB flash drives, mice, keyboards, etc. It requires that the phone is able to supply 5V @ 500mA, if needed, to whatever it is host to or be able to support a USB hub which does. A USB Host/OTG cable is required which has an additional pin connected to the phone which are expensive and not easy to find but there is a mod for a converter: http://forum.xda-developers.com/showthread.php?t=1092493
Here's information about USB Host/OTG
http://www.usb.org/developers/onthego
http://en.wikipedia.org/wiki/USB_On-The-Go

Related

[Kernel] CM6-Snap-psfreedom v1.0

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Join us on irc.freenode.com #cm6-snap​
CM6-snap-psfreedom v1.0
This kernel incorporates the psfreedom module from kakaroto's github. It is a very basic .32 kernel based on snapv7.5. There are no performance enhancements, it's simply designed to load the psfreedom module and let you do your thing to your PS3. This is a CM6 kernel. It will not work on non-CM6 ROMS.
I don't know anything about this hack and will not offer any type of support for it. One of the Snap beta team testers confirmed it works--that's all I know.
To enable psfreedom, the USB channel denies access to ADB, so you will not have access to ADB with this kernel installed; therefore, I highly recommend you have a zip of CM6 or a nandroid backup of your current configuration on your SDCard.
Known Issues
Breaks adb access.
Not intended as a daily driver, no stability/performance/battery tests have been performed. This is a temporary kernel to provide access to psfreedom.
Downloads
Click to expand...
Click to collapse
Reserved just in case.
nice work mate as always, but thing is freaking Sony already forced updates that will break this. grrrrrrrr
it worked as late as last night. ??
Thanks jmxp69 + snap team, appreciate the hard work.
Yes, thank you. I just stuffed a 320 gig hd in my 1st gen ps3 and am ready to roll is this works.
CM / Snap Powered
Quick question, can you just
Code:
# modprobe -r psfreedom.ko
and start adb back up? What exactly is breaking adb? Would this be able to be switched on and off with a toggle?
will be keeping an eye on this. Good job.
manwichmakesameal said:
Quick question, can you just
Code:
# modprobe -r psfreedom.ko
and start adb back up? What exactly is breaking adb? Would this be able to be switched on and off with a toggle?
Click to expand...
Click to collapse
No, the usb breakage is hard coded in the driver. I'm sure it can be done, but really, there's not much point in bothering with it.
Doubtful you'll see much development with this kernel, it's a one trick pony.
UPDATE: AdbWireless works with this kernel for all your adb needs.
If you don't know what that is, here: http://www.androidpolice.com/2010/08/20/awesome-app-for-rooted-users-adbwireless/
So, still no working ADB when in recovery or anything like that, but you can still have adb with a wireless network.
EDIT: Is this a Backup manager working version?
duffkiligan said:
UPDATE: AdbWireless works with this kernel for all your adb needs.
If you don't know what that is, here: http://www.androidpolice.com/2010/08/20/awesome-app-for-rooted-users-adbwireless/
So, still no working ADB when in recovery or anything like that, but you can still have adb with a wireless network.
EDIT: Is this a Backup manager working version?
Click to expand...
Click to collapse
backup manager does not work
Thank You,
I needed this kernel.
Your the best.
Outstanding work J thx for the effort!
Backup manager works fine

Windows XP not booting,please help!!

Guys,im going nuts over here!!!my pc wont boot!when i power it up it beeps and shows this screen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But after that screen its just this:
Please help guys...its urgent!
Sent from my GT-I5800 using xda premium
tried to reinstall the system through DOS?
---------- Post added at 08:23 PM ---------- Previous post was at 08:18 PM ----------
Go to the DOS boot then set and the first to set up boot CD-R or USB flash drive there because I do not know of which you are installing
Please simplify,im a noob when it comes to pcs...
Sent from my GT-I5800 using xda premium
Hey first remove your RAM and clean them. And reboot if works then good else install new copy of windows with media.
Sent from my LG-P500 using xda premium
When you turn the system first boots hard drives, etc. At this point, press DEL and entering in DOS mode, there should be a tab or something related to the boot and give 1st CD-R, for example, now you give the disk a second time while turning kompa after a reboot instead of pressing DEL, F8, and then should be the selection of the drive for installation and the installation process itself probably does not need to explain
You mean entering bios?
Sent from my GT-I5800 using xda premium
That is, messed things up a bit
I need to reinstall windows?i lost my cd...where can i download that?
Sent from my GT-I5800 using xda premium
Torrent, P2M, P2P link unless I can not give
Can you pm it?
Sent from my GT-I5800 using xda premium
After getting the windows install it with formatting the partition where you installed the system. Disappear, viruses and other pests if any were.
You should just burn a Linux distro ISO from another PC and boot that up. If that fails, I recommend trying UBCD to debug HW issues.
If it boots into linux, you can mount your ntfs volume(s) and copy any important data off to an external drive.
THen you can do a clean windows install or even better, just install Linux
For linux beginners, I recommend Linux Mint.

[Q]ICS supports USB tethering?

I'm running CM9 ICS on a xoom wifi wingray, but I don't see an option under network settings to enable USB tethering. Has this been removed from stock android? Or is there some other way to enable it?
You should have a menu that looks like this... Otherwise tether options may be disabled on wifi only builds. If so, that's something we can look at.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yes, it looks like tether options are disabled on wifi-only devices. Which probably makes sense in general but I have a special use case.
I got it working by adding in the config_tether_*_regex entries to device/moto/wingray/overlay/frameworks/base/core/res/res/values/config.xml
Patch attached if anyone else runs into this problem.
ambrice said:
Yes, it looks like tether options are disabled on wifi-only devices. Which probably makes sense in general but I have a special use case.
I got it working by adding in the config_tether_*_regex entries to device/moto/wingray/overlay/frameworks/base/core/res/res/values/config.xml
Patch attached if anyone else runs into this problem.
Click to expand...
Click to collapse
Oh good deal. Ill run it by solarnz.
Hi ambrice
Like you, I too need USB Cable Tethering.
I also use a WiFi Xoom and I want to Tether off my Android phone and my Xoom is rooted and running the EOS Rom.
Please ..... please ..... can you post a step-by-step guide about what we need to do to get it working ?
Huge thanks in advance.
Ben
ben ifin said:
Hi ambrice
Like you, I too need USB Cable Tethering.
I also use a WiFi Xoom and I want to Tether off my Android phone and my Xoom is rooted and running the EOS Rom.
Please ..... please ..... can you post a step-by-step guide about what we need to do to get it working ?
Huge thanks in advance.
Ben
Click to expand...
Click to collapse
The fix I used involves doing a build from source. If you have a linux box around and are comfortable with that I can give you the steps. Otherwise, bigrushdog seemed like he was going to get that change into the Team EOS ROM, so you may want to check with him on the status of that.
Also, I'm not sure if that fix will work for you now that I read your message. I was just enabling normal tethering, where my PC tethers to the Xoom and the Xoom shows up as an RNDIS device to the PC. You're trying to connect your phone as an RNDIS device to the Xoom, which is something different..
ambrice said:
Also, I'm not sure if that fix will work for you now that I read your message. I was just enabling normal tethering, where my PC tethers to the Xoom and the Xoom shows up as an RNDIS device to the PC. You're trying to connect your phone as an RNDIS device to the Xoom, which is something different..
Click to expand...
Click to collapse
Ill be upping a new kernel shortly that supports rndis_host. Only problem is a hard reset when you disconnect. Linux + Microsoft = fail
Hi bigrushdog !
Is Android-Phone-to-Xoom-Tablet USB Cable Tethering far off ?
Ben
bigrushdog said:
Ill be upping a new kernel shortly that supports rndis_host. Only problem is a hard reset when you disconnect. Linux + Microsoft = fail
Click to expand...
Click to collapse
Apologies for the necro post, but I've been trying to get reverse-tethering via USB working since I'm in a place without wifi and need net access for my wingray.
I'm Currently running bigpart omni 4.4.2, which apparently does not feature the above USB options. Any pointers towards a fix, or a better Rom to use, would be greatly appreciated.

[B2G][FIREFOX OS] For HTC Explorer

Welcome To Non-Android Zone
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ABOUT ROM
Hey guyz, this is my source compiled port of B2G [Firefox OS] for our beloved HTC Explorer
Since this is the very first build, its not yet a daily driver and expect a lot of bugs and issues.
Currently B2G supports only HOME button. That means except the HOME button no other buttons will work in our device.
If you want to go back to a previous menu use the onscreen BACK button.
Firefox OS is a Linux-based open source operating system for smartphones and tablet computers being developed by Mozilla. It is designed to allow HTML5 applications to communicate directly with the device's hardware using JavaScript.
For more information visit here: http://en.wikipedia.org/wiki/Firefox_OS
WORKING
- Hardware Acceleration
- Camera ( Can take Pictures)
- Audio
- GPS
- WiFi
- Capacitive Lights
- Touch Screen
NOT WORKING
- SIM card not detecting
- USB Mass Storage
- Video Recording
- Bluetooth
DOWNLOAD
BUILD#1 http://www.mediafire.com/?5za3c5gq85ml5pe
SCREENSHOTS
HOW TO FLASH
Copy ROM to sdcard. Goto Recovery and do a Wipe Data/Factory Reset and then flash.​
DETAILED INSTRUCTIONS
Detailed instructions on ROM and how to flash can be found here http://www.techgeekal.com/2013/03/20/firefox-os-b2g-for-htc-explorerpico/
Thanks to XDA user adityalahiri13 for this write-up.
Also, post your reviews there
nice
Very good :thumbup:
Surely gonna try but do we have to follow the same method to flash it, I mean do we have to mount something or....
Awesome work sir!! _/\_
Wow!
Sent from my HTC Explorer A310e using xda app-developers app
pravakarthami said:
Surely gonna try but do we have to follow the same method to flash it, I mean do we have to mount something or....
Click to expand...
Click to collapse
No need to mount anything bro .. Do a Wipe Data/Factory Reset and flash ROM
Wow..... will surely try it.... Nice to c people like you working hard to make latest things available for our little pico
cute_prince said:
No need to mount anything bro .. Do a Wipe Data/Factory Reset and flash ROM
Click to expand...
Click to collapse
Thanks Downloading
hey does the firefox store work and can we download apps........."?
just asking out of curiosity :laugh::laugh::laugh:
downloaded and will flash in some time......! :fingers-crossed::fingers-crossed::fingers-crossed:
same here bro!!!
cuteitsme said:
Wow..... will surely try it.... Nice to c people like you working hard to make latest things available for our little pico
Click to expand...
Click to collapse
+1 for cute_prince....thanks for the rom!!!
electron.hTcpico said:
hey does the firefox store work and can we download apps........."?
just asking out of curiosity :laugh::laugh::laugh:
downloaded and will flash in some time......! :fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Of course yes, You can download and install apps from MarketPlace / Firefox Store
Great work!!
One question...
Is the "bug fixing" traditional??
Or is it just a whole other world??
Either way, i'd love to see some "behind-the-scenes" work on this....
Once again, awesome work!!
Sent from my Nexus 7
good job!!!
I think it would be the normal unix debugging standard
SIM Card detected. :highfive: But it shows undetected in Notification. IDK why!
Calls working :laugh: Both Side Clear call Voice. No robotic Voice issues or anything like that.
In 2G or 3G only Mode Manual Detection works and Network getting registered!
Automatic Network Detection Not working.
awesome work bro!! :good:
Nice UI
awesome work ..cute prince !!!
faith in Humanity Restored :angel::victory:
---------- Post added at 03:40 PM ---------- Previous post was at 03:39 PM ----------
downloading now...!!:highfive:

[Development] Stack Clash EoP Exploit -- Android Edition???

I'm just gonna leave this here.
A few days ago, the source for the EoP (escalation of privilege) exploit, codenamed "Stack Clash," was released. If you don't already know, this exploit has the ability to elevate the user running the code to an administrator without any authentication. Now, this is bad for general Linux users, but for Android users with a locked bootloader and/or no way of rooting their device, this is actually pretty good.
There's only one problem: the security firm who released the code said that they haven't tested the code on Android devices, and, therefore, don't know if it works on the OS or not.
I have been trying to get the exploit to work on my OnePlus 3 phone, but with no luck. Here's what I have done so far, which you can see posted in the attachment below:
Ported the x86_64 setuid(0)/setgid(0)/execve() shellcode to aarch64/arm64 (la.c)
Changed the settings a bit to point to the /system partition
Created a Android 7.1.1 target for my OnePlus 3
This code does have a couple problems, however. First, the code utilizes the library ld.so for its exploit. Problem is, Android does not have this file, but instead has an executable called "linker" in /system/bin. And second, I'm not sure if I got the vDSO vvar right (can somebody check that?). I am somewhat of a newbie when it comes to this stuff, but I've been getting better!
If anyone wants to pick this up or help out, be my guest. Just keep in mind that it eventually may not work the way we want it too. I'm also not saying this is the new Dirty-COW as of now, but if we work on it some, maybe it'll get close.
I'm going to sleep now. Been working on this way too long. See y'all in the morning.
Have you reached out to @jcadunno? He was the founding author of dirty cow exploit
rickberg said:
Have you reached out to @jcadunno? He was the founding author of dirty cow exploit
Click to expand...
Click to collapse
False. He made recowvery but did not find the dirty cow exploit used in it.
---------- Post added at 11:11 PM ---------- Previous post was at 10:54 PM ----------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
but then again not even sure if this vuln exists in Android
by the way you should read up on https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
V0idst4r said:
False. He made recowvery but did not find the dirty cow exploit used in it.
---------- Post added at 11:11 PM ---------- Previous post was at 10:54 PM ----------
but then again not even sure if stack clash exists in Android
Click to expand...
Click to collapse
Right he was the founder of using the exploit to gain root on the device. I apologize I wasn't technically correct
This might be better suited for the security board
I've been working with a few script programs as well, that may or may not use said exploit. I don't have links available, but google: LARE Exploit. I'm on an Amazon Fire HD 8 and I can pretty much get what I need using Termux, but it's a real pain figuring out what I need to compile through Termux to get LARE at least responsive.
I'm not sure if I was partially successful or if cooking around with trying to disable and break Amazon apps worked, but I ended up at a factory reset again. But all apps, system included were wiped to 0.00. If I went into all info, every number for data, scars and etc was 0.00. And it showed. In had only been using about 2.2 gigs after this, of space prior to reset. So nonetheless I've been able t9 wipe the data of every app in system and user, WITHOUT root, but I couldn't tell you how and I don't know if I'd be able to repeat it. There's not a lot of info on the web on why this happened. I got lucky. Most people suffered irreparable damage to internal storage. I'm there cases they also had 0.00, but their internal storage was actually maxed out. I actually managed to delete mine.

Categories

Resources