OK so have had this issue for 2 days and am getting past the point of frustration I can think clearly. A few days ago I lost my second drive. For the most part have a smaller SSD with Ubuntu installed on it and is ware my ccache directory is kept. With that said had always had another much larger sata HDD I used for storing Source code and building. At times have had 10 or 15 different variations of source. I have my reasons but comes down to really is only trash when needed because like looking back at things I may not have committed or other reasons.
Anyhow my issue is after loosing a drive I broke out an old 2TB drive I ran Ubuntu on back a few years back before getting my SSD when I had everything on one drive. This drive had 10.04 on it and would still boot if I unplugged my SSD. So first I just deleted what was on the drive downloaded AOSP and when I ran make clean I received.
build/core/main.mk:120: ************************************************************
build/core/main.mk:121: You are building on a case-insensitive filesystem.
build/core/main.mk:122: Please move your source tree to a case-sensitive filesystem.
build/core/main.mk:123: ************************************************************
build/core/main.mk:124: *** Case-insensitive filesystems not supported. Stop.
Thought it odd ass it was Ext4 and had Linux running from it so decided I would just reformat Ext4 using Gparted as also wanted to rename the drive. After reformatting and again downloading android-6.0.1 again received the same "Case-insensitive filesystems not supported" error. I have done every case sensitive check I can find and they all come back that the drive is Case Sensitive. I have no issue compiling Kernels but cant figure out for the life of me why it thinks I am trying to compile AOSP on a case sensitive drive. I have been using Google for two days now and cant seem to find anything so thought I would try here. Usually after posting about an issue I will shortly after realize my own stupidity. Its all good I am willing to look like a dumb ars if it means getting back on track. Only other thing I can come up with is that something is wrong with the drive but shows no sign that is the case.
Please provide output of "sudo mount" and "cat /etc/fstab"
doitright said:
Please provide output of "sudo mount" and "cat /etc/fstab"
Click to expand...
Click to collapse
sudo mount
/dev/sdc1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=chairshot215)
/dev/sda1 on /media/chairshot215/drive3 type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdb1 on /media/chairshot215/40934518-ac79-4226-9930-b6ede601f16f type ext4 (rw,nosuid,nodev,uhelper=udisks2)
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=f576335c-5df7-4d86-9fdf-90bb7b45e89b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=6200c094-f594-4a29-8809-70b3b1cfc00c none swap sw 0 0
Let me know if this helps and thanks for responding.
The things just been acting up in general which is scary. The entire rig was donated a few years back by a hanfull of developers and a few others. Is a dell T5400 Workstation. Long story but decided to try and learn something at the same time a handful of devs had been trying to port ICS to the Motorola Triumph a foxcon phone released by like 5 companies all over the world and had figured out a bunch of stuff looking at those devices for the most part via Google Translate. Next thing Got the tower then two quad core processors 16g of Ram cards and a bunch of odds and ends I never would have been able to afford as was using a New Egg bare bones self built jamer previously and took build time from like 12 hours to about half hour 45 minutes. I have a hart attack every time something starts acting funny but thankfully ends up being something like needing a new graphics card or Ram stick. graphics card / power supply was scary as had occurred during a power surge that blew my surge protector and for a small bit thought the entire thing was fried as some smoke was coming out. Think I almost cried well actually I did. Otherwise is the only donations I have ever received and am so thankful as who knows what I would be doing with my spare time. Just cant believe I am currently spending so much time on this case sensitive issue. I have put in second drives since making the Linux switch as at first set to duel boot with one Windows drive and one for Linux till I found I had gone months without booting into Windows and formatted the Windows drive never looking back but again never had any issues with case sensitivity especially using a drive I had used for building in the past. Had always been an extremely simple process. Any drive not already used for Linux would format in Ext4 and if had been a Linux drive in the past would really just delete the contents maybe change ownership if needed. Admittedly though with build environment never sought out knowledge unless needed as always had a project of some sort I had been more enthusiastic about. However adding to the frustration because of storage $$ reasons at one point was building with the source located on a USB drive with the output directory and modest size ccache going to my small SSD and was building in a reasonable time. The frustrating part was it had taken the time needed to download AOSP on the USB drive to work it all out and cant figure out a cure for this Case Sensitive issue to save my life. That said not being able to identify the cause I have not tried just reinstalling first on the SSD as have spent enough time trying to fix the problem may as well try starting from scratch all the way through enough as it dreads me going over everything as I constantly forget something thinking I am done then remember I did not set a text editor or the dam ssh key. Am I the only one who every single set up forgets to set up that dam key every single time??
I can't read that last reply, needs way more organization before I'm willing to attempt it. Something stands out to me;
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
What is that, besides something obviously related to vmware? Is this some kind of virtual machine? What is the path to the build root?
doitright said:
I can't read that last reply, needs way more organization before I'm willing to attempt it. Something stands out to me;
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
What is that, besides something obviously related to vmware? Is this some kind of virtual machine? What is the path to the build root?
Click to expand...
Click to collapse
Sorry that last post was more a late night frustration rant. I just got it working but not exactly sure how. For the most part installed Ubuntu on the drive again as the drive was an older drive I was running Ubuntu on before purchasing an SSD. After the installation I used gparted and unmounted and changed the drive label name. Next changed the permissions on the drive to match those from the Ubuntu installation on my SSD and put all the files from installing Ubuntu on the drive in the trash. After that downloaded AOSP and everything is building now without any issues.
Otherwise had not used a virtual machine. The set-up was with two drives. One was an 80gb ssd that I was running Ubuntu and the second drive was just for building. I was using a 256gb ssd as my building drive but it stopped reading so I used an older 2TB HD that I had used in the past before I had an SSD that had I believe 10.4 installed on it and my issues had started when I replaced the broken SSD with my old HD from back in the days of 10.4. Is strange though because I essentially made the same steps that ended up solving the issue among others that had not worked the probably 5 times before. Overall I am just happy I am back up and building again.
Boya my first successful build since replacing my build drive.
#### make completed successfully (01:27:36 (hh:mm:ss)) ####
Do have an opinion question though. I have about 30g left on my SSD. Do you think it would speed things up any if the ccache was on the SSD? Figure would still be limited to the write speed of the Sata HD but wondering if I may see any boost due to the read speed of the SSD from using ccache. I know they recommend like 50g on the ccache size but I have checked the size in the past and unless I am building 3 pretty different Roms like sharing the same ccache with different versions of AOSP & CM the size usually is in the 10/15gb range for just compiling AOSP with in-line Kernel building set up. Can take the time to just test it myself but till tax return a comith I am stuck building from the older 2TB HD from 2009.
Thanks for looking over things and trying to help out.
Related
Just wanted to touch base to see if there potentially may be any interest in something like this? I have one on the way for review and to see if they even work with our gTab. Rumor was the price point was going to be around $20 - $25.
When I get it tested I will post the findings and see what you guys think!
[EDIT] - so far I can't get it to work. I've tried just throwing it in while it's on as well as having it powered down (like the dock) to allow the DNS to propagate. No dice so far. I'll check with the supplier to see if there is an app to make it work.
it2steve said:
Just wanted to touch base to see if there potentially may be any interest in something like this? I have one on the way for review and to see if they even work with our gTab. Rumor was the price point was going to be around $20 - $25.
When I get it tested I will post the findings and see what you guys think!
Click to expand...
Click to collapse
Interested in outcome but not really looking to buy. WiFi is solid enough and with existing dock if I need LAN (haven't yet) I have it along with the HDMI and other.
Thanks!
When would you use this?
I'm trying to imagine a time it would come in handy. Ideas?
Maybe it uses a kernel module that isn't included in your kernel. I don't know what ROM/kernel you are using (I use stock), but possibly the pl2303 module. If you have a Linux PC handy, you can check for some info. Before plugging it into the Linux box, open a terminal and run this command:
Code:
tail -f /var/log/messages
Then plug it in, and see what it tells you. Use Ctrl + c to end it.
You can also check which modules are loaded with this command, new modules are at the top of the list:
Code:
lsmod
I also am not sure if I would ever use something like that. My ZT-180 came with something similar, but with a miniUSB end, and I have never found the need to even try it.
wasserkapf said:
Maybe it uses a kernel module that isn't included in your kernel. I don't know what ROM/kernel you are using (I use stock), but possibly the pl2303 module. If you have a Linux PC handy, you can check for some info. Before plugging it into the Linux box, open a terminal and run this command:
Code:
tail -f /var/log/messages
Then plug it in, and see what it tells you. Use Ctrl + c to end it.
You can also check which modules are loaded with this command, new modules are at the top of the list:
Code:
lsmod
I also am not sure if I would ever use something like that. My ZT-180 came with something similar, but with a miniUSB end, and I have never found the need to even try it.
Click to expand...
Click to collapse
I have an ubunu VM, I'll give that a try and keep you posted. Thanks!
it2steve said:
I have an ubunu VM, I'll give that a try and keep you posted. Thanks!
Click to expand...
Click to collapse
Where hardware is related, a VM may not give the needed results. That is because a VM may use it's own drivers.
If you have an Ubuntu installation CD, you can boot that as a live CD. It will run only on system memory, so it may be a bit laggy. That will work just like an installed Linux system.
Any progress on this?
I am very interested to find a USB to ethernet adapter for my Gtab. I do a lot of networking with switchs and ISP providers. It would be awesome if this little USB device would work. Any updates?
probably driver related
This looks like one of the adaptors that have been around for the Wii console for a while.
Clemsyn's kernel has a bunch of USB drivers added that are removed (or are back level) in the stock Viewsonic kernel. I suggest that you give it a go.
Pershoot's kernel is a more involved process to select the bits that you want. So I'd start by trying Clemsyn's first.
shieb said:
I'm trying to imagine a time it would come in handy. Ideas?
Click to expand...
Click to collapse
I have a dell laptop that I recently dropped. The wireless stopped working. Thankfully, everything else seems fine. I had to go out and buy a wireless usb adapter.
>>I have a dell laptop that I recently dropped. The wireless stopped working.
Did you pop open the panel on the bottom and check to see if the little wifi riser card didn't just pop out of its slot?
May not apply in your case, but sometimes the Modem/LAN/Wifi is on a little card that plugs into a header on the motherboard. There's usually an access panel on the bottom to get at it - check that it's properly seated and all connectors are secure, etc.
You can also usually swap them out if they die. Check Ebay.
shieb said:
I'm trying to imagine a time it would come in handy. Ideas?
Click to expand...
Click to collapse
I could see this being handy for a road warrier to watch streamed content in a hotel if he or she didn't want to bring the heavier dock along. Often time wifi is sketchy at best in some locations but many hotels were wired with CAT5 to each room and have a cord curled up in the desk. I often break out my CAT5 adapter to string two cords together so my laptop can rest on the bed and I have faster speeds (and frankly a more secure connection with my VPN) while resting against the many pillows. Beats sitting at the desk with the dock propped up.
Let us know how you make out getting this to work.
Anyone get this to work? I just ordered a gtab and it would be great to have a wired ethernet port for configuring many of the network devices I deal with on a daily basis.
sorheim said:
Anyone get this to work? I just ordered a gtab and it would be great to have a wired ethernet port for configuring many of the network devices I deal with on a daily basis.
Click to expand...
Click to collapse
I have not been able ot ge tthe one I have to work. I will contact the supplier to see if there is a particular that the Malata tabs are using
it2steve said:
I have not been able ot ge tthe one I have to work. I will contact the supplier to see if there is a particular that the Malata tabs are using
Click to expand...
Click to collapse
Did you ever try it in Linux, like I suggested?
Not a Linux VM, but a real install of Linux.
it2steve said:
I have not been able ot ge tthe one I have to work. I will contact the supplier to see if there is a particular that the Malata tabs are using
Click to expand...
Click to collapse
Thank you. I would really appreciate it.
You have to edit a file to enable the ethernet.
http://forum.xda-developers.com/showthread.php?t=886853
*Edit* My apologies. This is a fix for the Malata dock w/ethernet. No idea if it works for the adapter or not.
Alternative usb/lan adapter
I found a USB/LAN adapter for android tablets on euogo dot com for $10. Do a search for this item number: TPGA-ULNA
If you do a google search, "usb to lan adapter for android", many other brands / models also appear.
Does anyone think any of them will work with the Gtab?
Considering the rumor that the dock may be discontinued and that an HDMI cable is on the way, a USB/LAN adapter for the Gtab would be easier to carry around than the dock / power adapter combo.
Warning: 1st time poster = NOOB. Pls. be kind.
You may want to check my posts on making Ethernet on the Dock work. If the device works at all, it should be the same process.
http://forum.xda-developers.com/showpost.php?p=14367749&postcount=41
I could use this at work where they won't allow wireless connections.
As network admin, I will definitely love to have opportunity to connect my tablet to LAN network.
Pretty often it happens, that I am installing new WiFi routers, so for initial config, I need to grab my 17" laptop and connect by cable. It would be much more comfortable to just use my tablet ;-)
I searched through the forum and didn't find any guides on the 250GB HDD inside the A70iT.
Without taking apart my device, if someone has already done so, I'd like to know if the drive inside has a ZIF interface, or if it's SATA, or ATA-6/7, or whatever... I'm having trouble finding this information and I'd rather not void my warranty if someone has already opened theirs up.
What I want to do is replace the HDD with an SSD at higher capacity than the currently available models (max 64gb I think??). I love the 250GB capacity, but I hate that I don't have the option to keep the drive spinning. The stock media player is the only player that has no pause between music tracks, but it's interface is not what I like. I like Mixzing, and it is now working correctly without crashing, but it has a 2-3 second pause between tracks while the drive spins up to cache the next song. I have found no settings to help this problem, unfortunately...
Any information would be most helpful. If someone has already done this and can recommend a particular drive that will work, I'd appreciate the info. If nothing else, the interface that the current drive uses would be a great start.
p.s. I use this as my car stereo.
The drive inside is a slim 2.5" 7mm Seagate Momentus Thin SATA2 drive.
Click to expand...
Click to collapse
http://forum.archosfans.com/viewtopic.php?p=335625&sid=4036cfa428d75eddcb92a94d080aa742#p335625
Thank you for the info! I'm thinking of getting a Crucial RealSSD C300, model# CTFDDAA256MAG-1G1 and putting it in my archos to see if it works, can anyone offer me any kind of precautions to doing this? The drive is physically smaller, so I'll have to try to secure it once I get the thing open... I guess what I'm looking for is if the OS portion of the A70 is on a separate partition on the HDD that is inside, or if it's in a different physical space, like a chunk of internal flash. Once I get the drive and all that, I'll post pics and stuff along the way, has anyone posted a disassembly video?
p0wd3r said:
Thank you for the info! I'm thinking of getting a Crucial RealSSD C300, model# CTFDDAA256MAG-1G1 and putting it in my archos to see if it works, can anyone offer me any kind of precautions to doing this? The drive is physically smaller, so I'll have to try to secure it once I get the thing open... I guess what I'm looking for is if the OS portion of the A70 is on a separate partition on the HDD that is inside, or if it's in a different physical space, like a chunk of internal flash. Once I get the drive and all that, I'll post pics and stuff along the way, has anyone posted a disassembly video?
Click to expand...
Click to collapse
Your best bet is to use Linux to do a "dd" command of the entire drive. eg:
Code:
sudo dd bs=4M if=/dev/sdb of=/dev/sdc
Replace sdb and sdc with the correct drives for your system. Use the Disk tools to make sure you're using the right drive names.
It will still have a different drive serial, etc., but data-wise it will have the exact same filesystem as the old drive.
Ohai.
I've been reading around, and noticed how people have booted the Nexus One into a vanilla installation of Linux, without a chroot or Android running whatsoever. I wanted to try this, and get Xorg running natively on the device without having to use VNC, in hopes of better X performance/more usability.
Playing around, I did get Xorg to start on the framebuffer inside a chroot. I got the evdev drivers working, thus I can actually use the touchscreen. ALSA seems to be happy and sound is alright. I found some drivers on the web for PowerVR GPUs, and installed those and configured X to use them. But, I've hit a wall: I can't load the PowerVR drivers for full hardware acceleration. It seems to be trying to use modprobe to load the module, but that doesn't seem to work inside a chroot. I'm guessing I might not be able to overcome this, as it seems to simply be a limitation of the chroot itself.
I'm assuming my next goal is probably to get my device booted natively in a vanilla Linux environment. No Android in the way. To be honest, I'm not sure where to start. I guess my first question is, how possible is this? For the Nexus One, people used fastboot, but since Samsung uses their own Download Mode thingy, I don't think that'd work. Does Download Mode work similarly like fastboot, where I can boot off something like the sdcard without flashing anything to the internal memory?
Is this a relatively easy task to accomplish? I'd just love to use Ubuntu Unity on this device, fully native, running OpenGL games with good performance (like Minecraft, which just barely runs in CPU rendering using the framebuffer driver or dummy driver + VNC). It would also be awesome to hook up a USB keyboard and mouse, maybe even an external display, and use it like a netbook/desktop.
Also, I apologize if this is the wrong subforum. I don't know if this really fits under the "Development" section or not.
benbaptist said:
Ohai.
I've been reading around, and noticed how people have booted the Nexus One into a vanilla installation of Linux, without a chroot or Android running whatsoever. I wanted to try this, and get Xorg running natively on the device without having to use VNC, in hopes of better X performance/more usability.
Playing around, I did get Xorg to start on the framebuffer inside a chroot. I got the evdev drivers working, thus I can actually use the touchscreen. ALSA seems to be happy and sound is alright. I found some drivers on the web for PowerVR GPUs, and installed those and configured X to use them. But, I've hit a wall: I can't load the PowerVR drivers for full hardware acceleration. It seems to be trying to use modprobe to load the module, but that doesn't seem to work inside a chroot. I'm guessing I might not be able to overcome this, as it seems to simply be a limitation of the chroot itself.
I'm assuming my next goal is probably to get my device booted natively in a vanilla Linux environment. No Android in the way. To be honest, I'm not sure where to start. I guess my first question is, how possible is this? For the Nexus One, people used fastboot, but since Samsung uses their own Download Mode thingy, I don't think that'd work. Does Download Mode work similarly like fastboot, where I can boot off something like the sdcard without flashing anything to the internal memory?
Is this a relatively easy task to accomplish? I'd just love to use Ubuntu Unity on this device, fully native, running OpenGL games with good performance (like Minecraft, which just barely runs in CPU rendering using the framebuffer driver or dummy driver + VNC). It would also be awesome to hook up a USB keyboard and mouse, maybe even an external display, and use it like a netbook/desktop.
Also, I apologize if this is the wrong subforum. I don't know if this really fits under the "Development" section or not.
Click to expand...
Click to collapse
Yes, this completely belongs in the dev section, especially since you seem to have enough ,motivation and kniw-how to be able to work on this project .
This seems like a very interesting project, that would definitely be feasible, but Linux would have to replace android 100% (since heimdall/Odin flash to only the internal flash, and you would need ticreate a weird frankenstein-esque kernel to be able to boot it from anywhere else, although I suppose you could partition a micrlsd card and use that). I do not know enough in this particular field to be of much help, but if you do want any assistance, or have any questions, feel free to ask me or any other member of TeamSuperNova.
Welcome to the forums!
EDIT: My 2c on the project:
What you are setting out to do sounds like a very nice side project, that could be very a very nice addition to forums, and I have a few things I would just like for you to consider.
1. This is an aging device. We have a decent SOC, even though it is getting on in it's years, but I seriosuly doubt that it would be able to run Ubuntu natively well, even with full HW acceleration, and even if it does, we have only 512 MB for you to play around with. In comparison, the TF (dual core Tegra 2 +1 GB ram) has had native ubuntu for awhile now, and just got full HW acceleration. I tried it, and although the interface was smooth, everything took several seconds too long to complete, and overall it seemed like it would crawl to a stop (which it did a few times) the moment a few things started going. Our 1 GB of ram was enough, but only barely enough to give us some breathing room for browsing/light gaming.
2.The kernel. To get Ubuntu running natively, you will need to figure out how to create a linux kernel for Ubuntu, which is a LOT harder than just cut/pasting the needed modules and compiling. Most liikely you will need to start from scratch, and build your own kernel from the ground up, which requires a lot of kernel experience. Fortunately, we have several IT members on the forums such as daniel644 and Oisis which I am sure would be happy to help you whenever they have free time.
3.Time. Assuming that this will be a one-man job, you seriosuly need to think about how long this will take. Weeks? months? Years? I do not know your skill level and/or experience, but my prediction is that this will take about 6 months of hard work (assuming a few hours a day and sufficient support from the community) to see it to fruition. If you really are dedicated to this, I would suggest trying to form a dev team (like we did) of people who would be interested, and WORK. I don't just mean ballpark ideas until you like the way something sounds, but set goals for youselves, (eg. kernel booting with dmesg by xx date).
4. Bootloader. Our bootloaders are very finicky, unfortunately, unlike something like the TF, where you can overwrite the full bootloader partition, and you can just NVflash away and be done with it. If you make a mistake, write something to the wrong section, partition the wrong way, there is a very real chance that you will get into a hard-brick situation, from which you may not be able to get out of. At least our bootloader isn''t locked, so you don't need to worry about that.
I don't want to sound demotivational or depressing, but these are some real things you need to take into consideration. Again, if you have any questions, just pop me a PM whenever you want, and I will probably respond fairly quickly (as I normally browse xda in my spare time). Good luck, and may the bits be ever in your favor (sorry, sorry).
hanthesolo said:
Yes, this completely belongs in the dev section, especially since you seem to have enough ,motivation and kniw-how to be able to work on this project .
This seems like a very interesting project, that would definitely be feasible, but Linux would have to replace android 100% (since heimdall/Odin flash to only the internal flash, and you would need ticreate a weird frankenstein-esque kernel to be able to boot it from anywhere else, although I suppose you could partition a micrlsd card and use that). I do not know enough in this particular field to be of much help, but if you do want any assistance, or have any questions, feel free to ask me or any other member of TeamSuperNova.
Welcome to the forums!
EDIT: My 2c on the project:
What you are setting out to do sounds like a very nice side project, that could be very a very nice addition to forums, and I have a few things I would just like for you to consider.
1. This is an aging device. We have a decent SOC, even though it is getting on in it's years, but I seriosuly doubt that it would be able to run Ubuntu natively well, even with full HW acceleration, and even if it does, we have only 512 MB for you to play around with. In comparison, the TF (dual core Tegra 2 +1 GB ram) has had native ubuntu for awhile now, and just got full HW acceleration. I tried it, and although the interface was smooth, everything took several seconds too long to complete, and overall it seemed like it would crawl to a stop (which it did a few times) the moment a few things started going. Our 1 GB of ram was enough, but only barely enough to give us some breathing room for browsing/light gaming.
2.The kernel. To get Ubuntu running natively, you will need to figure out how to create a linux kernel for Ubuntu, which is a LOT harder than just cut/pasting the needed modules and compiling. Most liikely you will need to start from scratch, and build your own kernel from the ground up, which requires a lot of kernel experience. Fortunately, we have several IT members on the forums such as daniel644 and Oisis which I am sure would be happy to help you whenever they have free time.
3.Time. Assuming that this will be a one-man job, you seriosuly need to think about how long this will take. Weeks? months? Years? I do not know your skill level and/or experience, but my prediction is that this will take about 6 months of hard work (assuming a few hours a day and sufficient support from the community) to see it to fruition. If you really are dedicated to this, I would suggest trying to form a dev team (like we did) of people who would be interested, and WORK. I don't just mean ballpark ideas until you like the way something sounds, but set goals for youselves, (eg. kernel booting with dmesg by xx date).
4. Bootloader. Our bootloaders are very finicky, unfortunately, unlike something like the TF, where you can overwrite the full bootloader partition, and you can just NVflash away and be done with it. If you make a mistake, write something to the wrong section, partition the wrong way, there is a very real chance that you will get into a hard-brick situation, from which you may not be able to get out of. At least our bootloader isn''t locked, so you don't need to worry about that.
I don't want to sound demotivational or depressing, but these are some real things you need to take into consideration. Again, if you have any questions, just pop me a PM whenever you want, and I will probably respond fairly quickly (as I normally browse xda in my spare time). Good luck, and may the bits be ever in your favor (sorry, sorry).
Click to expand...
Click to collapse
Ohai.
Thanks for the response! I guess I didn't realize it would've been this tricky. I assumed I could just partition my sdcard, install a Linux distro onto it, and then point the native Android kernel to boot to that without even modifying the native Android filesystem.
I've somewhat given up on the idea of booting natively into a pure Linux environment, and I'm working on seeing what I can do from the chroot. I've been trying to get modprobe to work from the chroot but I barely know what I'm doing. I created a symbolic link from /system/lib to the /lib folder inside the chroot, just to see if that would work. After copying the libraries required to run even basic commands like "ls" and "uptime", modprobe simply couldn't find the one module that I wanted to use: omap_gpu. While /lib was mounted, I uninstalled and reinstalled the drivers just to make sure.
To be honest, I'm not entirely sure what I'm doing. I'm just kind of doing things and seeing if it works. I have no clue how I'd be able to load kernel modules from a chroot to the actual Linux kernel. For the record, this is the log I get when starting Xorg. It says the same things modprobe say when starting it:
Code:
[email protected]:/# X
X.Org X Server 1.10.1
Release Date: 2011-04-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.38-1208-omap4 armv7l Ubuntu
Current Operating System: Linux localhost 2.6.35.7-G70UEKI8-CL566269 #1 PREEMPT Mon Mar 26 11:00:08 MST 2012 armv7l
Kernel command line: console=ttySAC2,115200 loglevel=7 androidboot.serialno=c0890526591863f
Build Date: 13 October 2011 05:53:40PM
xorg-server 2:1.10.1-1ubuntu1.3 (For technical support please see [url]http://www.ubuntu.com/support[/url])
Current version of pixman: 0.20.2
Before reporting problems, check [url]http://wiki.x.org[/url]
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 14 08:51:04 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
WARNING: Failed to open config file blacklist-oss.conf: No such file or directory
FATAL: Error inserting pvrsrvkm (/lib/modules/2.6.35.7-G70UEKI8-CL566269/updates/dkms/pvrsrvkm.ko): Invalid module format
WARNING: Failed to open config file blacklist-oss.conf: No such file or directory
FATAL: Module omap_gpu not found.
(EE) Couldn't get PVR Services status
(EE) No devices detected.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at [url]http://wiki.x.org[/url]
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
ddxSigGiveUp: Closing log
[email protected]:/#
I'm hoping this can be possible. As you said, it is very slow while loading things, but I do think it could perhaps be nice for certain things like VLC. The reason I want VLC is the headphone virtualization (I like it more than Android's virtualization), the equalizer, and whatnot. Other things include *MAYBE* light gaming (Minecraft probably won't run too well, even if I got H/W acceleration going, but maybe just enough to be able to type into the chat and goof around a tad if I find a way to add touch controls), and being just plain cool.
Another benefit I *may* gain by using the PVR drivers isn't really about H/W acceleration, is that I'm not using the fbdev driver. I can't seem to get certain things like screen rotation and DPI changing to work with the framebuffer driver, but maybe they'll work with the PVR drivers. Just a guess, I'm assuming the fbdev driver just doesn't handle changing the DPI or something.
Like I said earlier, I'm a tad bit clueless on how modprobe and stuff alike works. I don't know if this simply won't work in a chroot or not. Also, I apologize for the rather late response, I keep forgetting to check XDA.
Another thing is that I might actually get a Galaxy S III sometime soon (not too soon though), and I think I should stick to a chroot since it would be more portable, and easier to transfer to my Galaxy S3 when (or if) I get one.
Ah, this is what I love: detailed posts. The more info you give me, the more likely I may be able to help you in some way.
Just off the top of my head (with no googling or researching about creating a CHROOT enviroment, do those files actually exist, and if they do, is the filesystem actually mounting? Sounds stupid, but sometimes some of the most frustrating mistakes are the ones that are extremely simple (I spent a week working on CM9 at one point fixing crashes, and all I needed to do was set a variable to false).
I would look up any work related to this on the I9000 forums, as they are almost identical to us. The I9000 has just about every android project under the sun availible to it, so I am sure someone has worked on CHROOT for it at some point or another (almost 3 years old, and their dev community is still ENORMOUS, I wish I had gotten one of them with a bad ESN than a Gplayer ). Now, are you actually able to boot to a terminal (as it seems), and trying to start an X server, or are you just trying to get it to START period?
hanthesolo said:
Ah, this is what I love: detailed posts. The more info you give me, the more likely I may be able to help you in some way.
Just off the top of my head (with no googling or researching about creating a CHROOT enviroment, do those files actually exist, and if they do, is the filesystem actually mounting? Sounds stupid, but sometimes some of the most frustrating mistakes are the ones that are extremely simple (I spent a week working on CM9 at one point fixing crashes, and all I needed to do was set a variable to false).
Click to expand...
Click to collapse
Yup, I checked and the filesystem did mount properly. I created a file inside /system/lib, and it appeared in the chroot's /lib, which is where I `mound -o bind`'ed it to. It seems like it was working alright.
hanthesolo said:
I would look up any work related to this on the I9000 forums, as they are almost identical to us. The I9000 has just about every android project under the sun availible to it, so I am sure someone has worked on CHROOT for it at some point or another (almost 3 years old, and their dev community is still ENORMOUS, I wish I had gotten one of them with a bad ESN than a Gplayer ).
Click to expand...
Click to collapse
Ah yes! Probably my only serious complaint about my Galaxy Player is the development community's lack of existence. I almost wonder if I could just sell this device and get a Galaxy S1 for about the same amount of money? Or even a Galaxy S2, maybe. I just wonder how much money Galaxy Players can cost second hand.
hanthesolo said:
Now, are you actually able to boot to a terminal (as it seems), and trying to start an X server, or are you just trying to get it to START period?
Click to expand...
Click to collapse
I can get a terminal which works just fine, and I can even start Xorg right now, but only with the framebuffer driver. Interface-wise, the framebuffer driver seems amazingly smooth but the driver itself has its issues, and I'd rather have a hardware accelerated driver anyway just to see how certain OpenGL games run like Minecraft.
benbaptist said:
I've somewhat given up on the idea of booting natively into a pure Linux environment, and I'm working on seeing what I can do from the chroot. I've been trying to get modprobe to work from the chroot but I barely know what I'm doing. I created a symbolic link from /system/lib to the /lib folder inside the chroot, just to see if that would work. After copying the libraries required to run even basic commands like "ls" and "uptime", modprobe simply couldn't find the one module that I wanted to use: omap_gpu. While /lib was mounted, I uninstalled and reinstalled the drivers just to make sure.
Click to expand...
Click to collapse
I'm not a developer but your comments about chroot reminds me of a related project for the nook color:
http://forum.xda-developers.com/showthread.php?t=1605095
I wonder the ideas there could be useful? Please keep us informed!
benbaptist said:
Yup, I checked and the filesystem did mount properly. I created a file inside /system/lib, and it appeared in the chroot's /lib, which is where I `mound -o bind`'ed it to. It seems like it was working alright.
Ah yes! Probably my only serious complaint about my Galaxy Player is the development community's lack of existence. I almost wonder if I could just sell this device and get a Galaxy S1 for about the same amount of money? Or even a Galaxy S2, maybe. I just wonder how much money Galaxy Players can cost second hand.
I can get a terminal which works just fine, and I can even start Xorg right now, but only with the framebuffer driver. Interface-wise, the framebuffer driver seems amazingly smooth but the driver itself has its issues, and I'd rather have a hardware accelerated driver anyway just to see how certain OpenGL games run like Minecraft.
Click to expand...
Click to collapse
Yeah, I would have done that if I had known, but it is probably better to hang onto the player, as they sell for maybe 50 percent of retail. Well as I said, this really isn't my forte, so good luck with the driver, and if you need any help, just pop me a PM.
I started reading guides on how to compile AOSP roms and such for the n6 and I want to take a crack at it. Think I am at any disadvantage if I install linux to an external hard drive rather than an actual drive in my machine. I could always add another HDD but I have a 1 TB external just sitting around. I know it is possible because I used to have it set up that way in college and would boot from the drive but I never did anything as intensive with it. Thoughts?
hockeyplayr said:
I started reading guides on how to compile AOSP roms and such for the n6 and I want to take a crack at it. Think I am at any disadvantage if I install linux to an external hard drive rather than an actual drive in my machine. I could always add another HDD but I have a 1 TB external just sitting around. I know it is possible because I used to have it set up that way in college and would boot from the drive but I never did anything as intensive with it. Thoughts?
Click to expand...
Click to collapse
Developing and building is more fun on a SSD. But if your external drive is using eSATA or USB3 it should not be *too* bad.
Kali Nethunter is a mobile penetration testing suite. It's available for the Nexus 5 and a few other devices. I wander if anyone could port it to the Moto E Surnia as that would be nice to have.
Here is the wrong place man
I never heard this name before
Sent from my XT1521 using XDA-Developers mobile app
Why does it sound like KaliOS Linux?
FanboyStudios said:
Kali Nethunter is a mobile penetration testing suite. It's available for the Nexus 5 and a few other devices. I wander if anyone could port it to the Moto E Surnia as that would be nice to have.
Click to expand...
Click to collapse
I could if you put up a bounty for it....
PseudoDev said:
I could if you put up a bounty for it....
Click to expand...
Click to collapse
What exactly does NetHunter do? I'm doing some research on it but I'm not understanding it... Does it penetrate WPA2 net security? Or is it for some other purpose?
NonfatGinger said:
What exactly does NetHunter do? I'm doing some research on it but I'm not understanding it... Does it penetrate WPA2 net security? Or is it for some other purpose?
Click to expand...
Click to collapse
Ever seen a pocket knife? If Kali is a huge arsenal of knives, Kali nethunter is a pocket edition of that. My experience with Kali was fine, but its not really wise to use as a daily driver. The idea of having a phone or PC which will act as a hack station is pretty mouthwatering, but it eventually gets you. I'm not sure if net hunter can crack wpa2 security, but if it does, most WiFi crackers act by using bruteforce and cracking a password with bruteforce is very slim. And net hunter although claims to be stable enough, is still in testing stage. If you want and it, it's fine. But I would prefer sticking to normal google based builds. :laugh:
NonfatGinger said:
What exactly does NetHunter do? I'm doing some research on it but I'm not understanding it... Does it penetrate WPA2 net security? Or is it for some other purpose?
Click to expand...
Click to collapse
A bounty huh..... I don't have money, however I do have a paid app I could giveaway. What it does is encrypt text with a password you choose offline. You can use it to send messages securely over any service like facebook, twitter, sms, ect. You can use it to save private notes on your device (for example a list of your usernames and passwords, or a "Death Note" if you're into to that anime stuff lol).
Kali Nethunter is a slew of penetration testing tools. Tools that could be used to do a number of different things. I've used Kali on desktop to do forensics on my pc, hack wifi, create qr codes for social engineering, ect.
SykkNyzz said:
Why does it sound like KaliOS Linux?
Click to expand...
Click to collapse
Because it's basically the mobile version of Kali Linux.
PseudoDev said:
Ever seen a pocket knife? If Kali is a huge arsenal of knives, Kali nethunter is a pocket edition of that. My experience with Kali was fine, but its not really wise to use as a daily driver. The idea of having a phone or PC which will act as a hack station is pretty mouthwatering, but it eventually gets you. I'm not sure if net hunter can crack wpa2 security, but if it does, most WiFi crackers act by using bruteforce and cracking a password with bruteforce is very slim. And net hunter although claims to be stable enough, is still in testing stage. If you want and it, it's fine. But I would prefer sticking to normal google based builds. :laugh:
Click to expand...
Click to collapse
I think it may be able to crack wifi. On the desktop version, there are several ways of attacking wifi access points (examples: WPS Pin Attack, Dictionary [kali comes with some, one of them has over a million passwords], bruteforce of course, rainbow tables, ect.)
FanboyStudios said:
I think it may be able to crack wifi. On the desktop version, there are several ways of attacking wifi access points (examples: WPS Pin Attack, Dictionary [kali comes with some, one of them has over a million passwords], bruteforce of course, rainbow tables, ect.)
Click to expand...
Click to collapse
Fine, I will do it for free but you gotta wait...not because you didn't pay but...unless someone else doesn't take up your project, it will take about a month till I get my band width at the best speed. Until that, its too slow to get the sources and build one. Porting from one device to another is easy...but Creating one from the source is a time taking process (Not to mention the bug fixing). Also, I used Kali for a week until fedora became my daily driver. I think you are talking about fern WiFi cracker right? Used it. It primarily depends upon a dictionary and uses those to crack...its some form of brute force. If you crack WiFi by it then you are just lucky. I could never get a WiFi cracked. Besides, it also needs a network handshake which is possible only if multiple devices are connect to the WiFi. Never really worked for me .... But i f it did .... Good for you :laugh:
Anyways, if you could like, wait till 24th of July, I could give you the build...until that, you either have to wait or find a new dev.
PseudoDev said:
Fine, I will do it for free but you gotta wait...not because you didn't pay but...unless someone else doesn't take up your project, it will take about a month till I get my band width at the best speed. Until that, its too slow to get the sources and build one. Porting from one device to another is easy...but Creating one from the source is a time taking process (Not to mention the bug fixing). Also, I used Kali for a week until fedora became my daily driver. I think you are talking about fern WiFi cracker right? Used it. It primarily depends upon a dictionary and uses those to crack...its some form of brute force. If you crack WiFi by it then you are just lucky. I could never get a WiFi cracked. Besides, it also needs a network handshake which is possible only if multiple devices are connect to the WiFi. Never really worked for me .... But i f it did .... Good for you :laugh:
Anyways, if you could like, wait till 24th of July, I could give you the build...until that, you either have to wait or find a new dev.
Click to expand...
Click to collapse
I'm perfectly fine with waiting... shoot i'm even waiting for CM13 for this device to become Stable, as of now they are nightlies and I have some minor issues with it. It does certainly beat stock though!
As for brute forcing, it will always work if it has the time and the proper configuration. Brute forcing tests for every password possible.
Thank you very much!
FanboyStudios said:
I'm perfectly fine with waiting... shoot i'm even waiting for CM13 for this device to become Stable, as of now they are nightlies and I have some minor issues with it. It does certainly beat stock though!
As for brute forcing, it will always work if it has the time and the proper configuration. Brute forcing tests for every password possible.
Thank you very much!
Click to expand...
Click to collapse
Yup, brute force works with every password possible...
That's the problem. I don't know your age but I presume you have been in highschool by now. You must have read a chapter in maths named permutations and combinations? That's how bruteforce works. Even for a 4 digit pass word it tries all possible digits. And for that, if you try the combinations, its coming about 6561 combinations. That's a lot. And now a days, passwords are not less than 10 digits.
So its 3486784401 many combinations. If it even takes as less as 0.1 sec for each combo, it will take up to 968551.2225 hrs! With those many possible combinations, if you get it , you are lucky. Providing a pre-made dictionary helps but not much. In my country, we use our personal 10 digit phone numbers. That's something a general dictionary won't have, well, you have seen how many combos are possible. And if the password has characters and numbers....i just don't know...a century?
Kali nethunter is an app that downloads and installs all the necessary files to run in a chroot that it also downloads and sets up for you from within the app. There's not really a need to port it since it works fine on some Roms for surnia already. I'm running the marshmallow version right now in fact, the only problem I have is space needed on internal storage to install all the tools I want and the desktop environment I want but I'm looking for solutions. Another problem is since we won't be running on the hardware it was designed for we won't get allot of the wireless tools to work since the kernel(s) for our device aren't officially supported. The best thing I think to port if anything would be the required kernel to our device then go from there. However we should still be able to use other tools that have armhf or armel architecture which will still be fewer than a full Kali distro running on a PC, so another thing I'm playing with is installing the i386 and AMD64 versions using Linux deploy, without much success yet but I'll either get it eventually or figure out why it's not possible right now.
t83wood said:
Kali nethunter is an app that downloads and installs all the necessary files to run in a chroot that it also downloads and sets up for you from within the app. There's not really a need to port it since it works fine on some Roms for surnia already. I'm running the marshmallow version right now in fact, the only problem I have is space needed on internal storage to install all the tools I want and the desktop environment I want but I'm looking for solutions. Another problem is since we won't be running on the hardware it was designed for we won't get allot of the wireless tools to work since the kernel(s) for our device aren't officially supported. The best thing I think to port if anything would be the required kernel to our device then go from there. However we should still be able to use other tools that have armhf or armel architecture which will still be fewer than a full Kali distro running on a PC, so another thing I'm playing with is installing the i386 and AMD64 versions using Linux deploy, without much success yet but I'll either get it eventually or figure out why it's not possible right now.
Click to expand...
Click to collapse
Thanks for the info ^_^ ! I had not researched much and thought it was just like any other ROM whose massive sources I had to download.
There you go @FanboyStudios , no more waiting!
So update, which is partially for documenting what I've done and partially for sharing my experience and preferences. Installed the nethunter full chroot and kali-rolling using Linux Deploy. I feel like the Linux Deploy solution offers the most benefits because I learned more along the way and because it seems more customizable and because it allows the installation to reside on an external SD card instead of taking up what little internal storage our device has.
So first after days of messing with around I determined installing to a partition wasn't happening so I decided on installing the file way which creates a raw disk image that is where Linux gets installed into. Two problems with this for me were that fat32 won't work with files over 4 gigs, and also that I didn't feel (and was right btw) that 4 gigs would be enough for everything I wanted (kali-linux-full, and a DE other than Lxde). So here's the procedure that worked best for me.
Use Aparted from Google Play to format the external SD card with a fat32 partition for typical storage, an ext4 partition for a larger than 4 gig Linux image, and a third ext4 partition to use with apps2sd from the Play Store to save space on my internal SD card.
After formatting, I installed meefik's busybox to /system/xbin (which is the default install location) then Linux deploy also by Meefik, then used Linux deploy to install the image to the second ext4 partition. For whatever reason though when I would try to specify a large file size for the distro, it would either fail to create it or it would report that it had been created and I'd discover later that the images didn't have the larger space I'd specified. So I installed it without caring about the image size and tested it with terminal emulator (also from the Play Store) by changing directory to /data/data/ru.meefik.linuxdeploy/files/bin/
Then running ./linuxdeploy shell
Which opened the distro installed to the image file and let me update it and install whatever until I ran out of space in the image file. So then I just used a pc running Ubuntu to create and format a blank .img file as ext4, and copied my image from the phone's external SD card to the computer, and copied the contents from the original image to the new large image, copied the larger image to the second ext4 partition, and then I was good to go with enough free space to install not only kali-linux-full but gnome DE as well. I couldn't get gnome working with tightvncserver though so I ended up uninstalling gnome and tightvncserver, and went with the mate DE and vnc4server which didn't require much to get a gui.
Well, I had installed Kali Linux using linux deploy app without much trouble on my moto e 2014 condor. And even tried airodump-ng package for WiFi sniffing but as we require external wifi adapter I couldn't make it... My moto e doesn't have otg support, so can I use external WiFi adapter like tl wn722n, because Linux has inbuilt support ( something related to kernel support) to usb connection? So because of Linux support, will this identify the connected adapter to my moto e?
PseudoDev said:
Fine, I will do it for free but you gotta wait...not because you didn't pay but...unless someone else doesn't take up your project, it will take about a month till I get my band width at the best speed. Until that, its too slow to get the sources and build one. Porting from one device to another is easy...but Creating one from the source is a time taking process (Not to mention the bug fixing). Also, I used Kali for a week until fedora became my daily driver. I think you are talking about fern WiFi cracker right? Used it. It primarily depends upon a dictionary and uses those to crack...its some form of brute force. If you crack WiFi by it then you are just lucky. I could never get a WiFi cracked. Besides, it also needs a network handshake which is possible only if multiple devices are connect to the WiFi. Never really worked for me .... But i f it did .... Good for you :laugh:
Anyways, if you could like, wait till 24th of July, I could give you the build...until that, you either have to wait or find a new dev.
Click to expand...
Click to collapse
I'm down to test
PseudoDev said:
Thanks for the info ^_^ ! I had not researched much and thought it was just like any other ROM whose massive sources I had to download.
There you go @FanboyStudios , no more waiting!
Click to expand...
Click to collapse
Thanks! Could you modify the kernel to support Monitor Mode, if not could you make a flashable zip for the Moto E LTE to disable PIE security on CM13? Thanks!
PseudoDev said:
Thanks for the info ^_^ ! I had not researched much and thought it was just like any other ROM whose massive sources I had to download.
There you go @FanboyStudios , no more waiting!
Click to expand...
Click to collapse
Actually I went and looked for compatibility with some other devices [thinking of getting an S2 for the Monitor Mode support], and its not an app. Kali Nethunter is a Android ROM with tools. What you guys we're talking about is running Kali OS on top of Android using chroot.