[Q] Development Environment - Android Q&A, Help & Troubleshooting

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.

Related

32GB Athena...need your help and ideas...

Ok, I just ordered a 32GB USB Flash Drive.
Some people report that the Athena recognizes some flash drives so I was thinking...why not remove the MD and take apart the 32GB flash drive and put it inside the Athena. Then solder the USB pins together internally so the USB drive is always connected internally to the device?
I haven't really put serious thought into this but wanted to run it past everyone and those hardware experts to see what every ways.
I have yet to look up the MD power requirements and compare those to the USB power requirements. Either way, if it's recognized it could mean a real upgrade to the device and we could always write a simple program to enable/disable the USB drive if power consumption is too great.
Your thoughts people on this?
EDIT
After further thinking I see four obvious obstacles:
- Stripping down the 32GB USB drive so it fits in the device in place of the MD. I'm hoping this isn't that big of an issue but then again I have no idea what i'm talking about. LOL
- 1 have to make sure the Athena recognizes the 32GB USB drive.
- Power Consumption as mentioned above, which might be overcome by utilizing a utility of some sort.
- Since the Athena requires the USB Host cable/adapter to make things like this work, there might need to be some type of mod internally to make this happen. I talking to someone with more knowledge of USB pin outs might help in this area.
-- EDIT: Olipro mentioned that this is most likely a non-issue. That the USB adapter just makes the USB connection a large one so the internal wiring I'm thinking about shouldn't be a problem. This is great news. One obstacle out of the way. Don't you love progress!
ltxda said:
Ok, I just ordered a 32GB USB Flash Drive.
Some people report that the Athena recognizes some flash drives so I was thinking...why not remove the MD and take apart the 32GB flash drive and put it inside the Athena. Then solder the USB pins together internally so the USB drive is always connected internally to the device?
I haven't really put serious thought into this but wanted to run it past everyone and those hardware experts to see what every ways.
I have yet to look up the MD power requirements and compare those to the USB power requirements. Either way, if it's recognized it could mean a real upgrade to the device and we could always write a simple program to enable/disable the USB drive if power consumption is too great.
Your thoughts people on this?
EDIT
After further thinking I see four obvious obstacles:
- Stripping down the 32GB USB drive so it fits in the device in place of the MD. I'm hoping this isn't that big of an issue but then again I have no idea what i'm talking about. LOL
- 1 have to make sure the Athena recognizes the 32GB USB drive.
- Power Consumption as mentioned above, which might be overcome by utilizing a utility of some sort.
- Since the Athena requires the USB Host cable/adapter to make things like this work, there might need to be some type of mod internally to make this happen. I talking to someone with more knowledge of USB pin outs might help in this area.
Click to expand...
Click to collapse
hehe u know im always behind ur crazy ideas. lets get this to work!
possible incompatibilities of it not detecting the microdrive but should be able to be fixed by software
possibly will need to integrate usb host controller chip and wires inside as well
make sure not to screw up the charger either =p
but other than that it sounds good
Hi, for information: Athena Servicemanual says you need 3 things to replace if you disassemble your device (On-Off Key, CommManager Key and some rubbers).
So if you really get the USB-Flash running then you'll get problems putting everything together again.
I think you'll get errors because the G-Sensor doesn't detect any Microdrive. (maybe freeze or reset or some other issues?). Maybe you have to shorten the G-Sensor somehow. This will need people who own the original plan of the device and also know how to get information out of it.
But great idea!
Ok, just found out that the host adapter just changes the plug to a larger USB plug. So the wiring should be a piece of cake. Let's keep this going...before you know it the team won't have only brought you a great ROM but also provide a way to have a 32GB Athena and storage you no longer have to worry about and with no moving parts!!!
PAPPL said:
Hi, for information: Athena Servicemanual says you need 3 things to replace if you disassemble your device (On-Off Key, CommManager Key and some rubbers).
So if you really get the USB-Flash running then you'll get problems putting everything together again.
I think you'll get errors because the G-Sensor doesn't detect any Microdrive. (maybe freeze or reset or some other issues?). Maybe you have to shorten the G-Sensor somehow. This will need people who own the original plan of the device and also know how to get information out of it.
But great idea!
Click to expand...
Click to collapse
Thanks for your feedback. I also think this may work and if not with the drive I've ordered with some other USB. I've seen USB devices as small is a dime so this should work. I'll be happy to purchase a bunch of USB drives to see which work. I probably would like anyone with an Athena and a USB drive to test what they have and post the results.
For the record I ordered a Corsair Survivor 32GB USB Flash Drive model CMFUSBSRVR-32GB.
I think there was a group of people(I couldn't remember who exactly) who already dismantled their athena when it came out to see which micro drives in the market is compatible with the one installed in the athena. I suggest we find the post first before and read through their findings. There might be something there that may help with this project.
If I remember it correctly, there was even a host of pictures and instructions in dismantling the Athena.
I just couldn't remember other details because I was just browsing around and never thought of owning an athena.
http://forum.xda-developers.com/showthread.php?t=303188
Something I found about USB Drives and the Athena
Wikipedia claims microdrives use more power then flash drives:
"consume more power than flash memory (on the order of 190mA, peak 310mA, at 3.3V) "
http://en.wikipedia.org/wiki/Microdrive
Good luck to you this would be cool.
http://forum.xda-developers.com/showthread.php?t=298987
HDs that work with the athena
What about a 72GB solid state drive?
http://www.engadget.com/2008/01/07/hands-on-with-sandisks-72gb-ssd-and-friends/
eaglesteve said:
What about a 72GB solid state drive?
http://www.engadget.com/2008/01/07/hands-on-with-sandisks-72gb-ssd-and-friends/
Click to expand...
Click to collapse
Let`s keep this a short term, realistic and affordable goal. ;-p
USB storage is cheap, easily modified, compatible as it`s already recognized by the device both by the software and USB host capabilities of the device board, etc. Also, those drives aren`t yet available and I doubt people will want to spend over $800usd on them for Athena. No?
Well, IMHO there's two alternatives for such a modification:
1 - either use the ATA connection of the micro-drive with the 32 GB pendrive. Adapters exist, wiring should be tricky due to the size requirements (everything has to fit into the space usually used by the micro-drive);
2 - connect permanently the 32 GB USB pen-drive to the USB port. Removal of the micro-drive is in that case optional, maybe in order to make room.
The problem with the second option is that I am pretty sure this will screw-up USB slave connections, and more specifically ActiveSync. Altough, true, one can Sync through Bluetooth.
Two problems with the first alternative:
- G-Sensor, without a md, will no work anymore. BUT it can be disabled in a software manner, so that's no big issue aside from the fact that we won't be able to "tilt'n scroll";
- finding a compatible USB / ATA adapter (those are known to be... "capricious").
I find the first alternative much sexier, personnally... And it DOES get me thinking.
Why not just use one of theose new 16 or 32GB MicroSD/Transflash, or whatever the hell there called cards, just released at CES.. It would save ya
lots of work, and you wouldn't have to crack the Advantage open.
Yep, that's also being discussed on the forum.
But I do agree that having solid-state 32 GB instead of mechanical 8 GB in my Athena would suit me just fine.
Jointly with a 32 GB SDHC card, of course.
:-D lol
I currently have the 8GB SDHC....of course I'm going to buy the 16 and then the 32 as soon as they come out and I can get my hands on it...but my goal here is to replace the MD. After thinking it through even further, we could even setup an internal type of mechanism so as USB drives become larger and cheaper, we could just pop out the old and pop in the new thus continuing to increase the internal storage of our devices.
Maybe I'm just dreaming but replacing the MD seems to be a goal that we can achieve quickly and cost effectively. We've had the discussion of getting larger MD's...but always ran into obstacles we probably couldn't overcome. They are releasing large SSD's but we may have to mod the internal connection, etc. With the USB idea, the connection exists, compatibility is there, and it's very feasible. I'm just excited. LOL
HeartOfDarkness said:
Well, IMHO there's two alternatives for such a modification:
1 - either use the ATA connection of the micro-drive with the 32 GB pendrive. Adapters exist, wiring should be tricky due to the size requirements (everything has to fit into the space usually used by the micro-drive);
Click to expand...
Click to collapse
I'm thinking more simplistic. Take out the MD and dock it connect to. This frees up some space. Strip down USB drive as much as possible and hope that it fits some way into the device. If it fits, we can mount it in there in a number of ways. Solder 4 wires from USB drive to USB host interface on the board. Write some software to control (activate/deactivate aka mount/dismount) the USB drive and see how it goes.
2 - connect permanently the 32 GB USB pen-drive to the USB port. Removal of the micro-drive is in that case optional, maybe in order to make room.
Click to expand...
Click to collapse
Not sure what you mean exactly but...I want the USB drive to be internal. Of course I could get some velcro and stick a 32GB USB drive to the back of my Athena, etc...but that would just be ugly.
You also need the USB host cable to do this unless you want to solder wires and run them from the outside of the device to the inside USB host pins. Let me know if I got the wrong picture here.
The problem with the second option is that I am pretty sure this will screw-up USB slave connections, and more specifically ActiveSync. Altough, true, one can Sync through Bluetooth.
Click to expand...
Click to collapse
You bring up a very good point. I'm going to have to take my 4-in-1 cable and try to run a small USB drive while trying to ActiveSync. I wonder if that will still work. If it fails, the mod I'm proposing may cause a problem with ActiveSync connections. Anyone else have comments and/or ideas on this?
Two problems with the first alternative:
- G-Sensor, without a md, will no work anymore. BUT it can be disabled in a software manner, so that's no big issue aside from the fact that we won't be able to "tilt'n scroll";
- finding a compatible USB / ATA adapter (those are known to be... "capricious").
I find the first alternative much sexier, personnally... And it DOES get me thinking.
Click to expand...
Click to collapse
I'm hoping we can do it without any adapters. Just straight soldering of the 4 USB wires needed to communicate. Should suffice. I found that I don't really use nor need the G-Sensor on the MD. For sure can be disabled in the ROM. The Athena Project team would just have to make a Special Edition ROM for those that do the mod.
I posted a few weeks ago about a SSD that Intel will be releasing soon. I believe it will be a drop-in replacement for the existing drive.
http://forum.xda-developers.com/showthread.php?t=352834
techntrek said:
I posted a few weeks ago about a SSD that Intel will be releasing soon. I believe it will be a drop-in replacement for the existing drive.
http://forum.xda-developers.com/showthread.php?t=352834
Click to expand...
Click to collapse
I actually read that thread a little while ago. Do you know when it will be released and how fast they will get up to larger drives like 8, 16, 32, etc. GB's?
ia ctually dont think you will run into active sync problems...
reason being i remember a special cable that came with my friends hermes that split the usb port into two
one for charging and one for syncing...
so i think if we disable the flash drive when syncing it should be fine

[Q] A70iT 250GB HDD removal/replacement

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.

[Q] External CD/DVD Drive

So.. Right now I'm currently building a computer from well, basically scrap. So far, everything seems to be going well in terms of gathering the parts and now it's almost time to get my hands dirty and start putting it together. The basic idea is that this laptop is going to run off the MK808 portable android USB stick, which will control hopefully every aspect of the PC from a functioning webcam, touch-pad, keyboard and so on. I'm doing the build by tearing down an old 17" laptop that has a fried mobo, and I'm trying to salvage as much as possible for use in this project.
So, now onto my question! On sites like ebay, you can purchase adapters to convert the optical drive of laptops into a USB external powered drive. If I was to give this the power it needs, and connect it via USB to the MK808, would the Android OS 4.1 be able to recognize it? I do plan to do this either way, as I'll also be running Ubuntu next to Android, but this would be some sick bragging rights! I've heard iffy stories about the Samsung drive that kinda works with Android, and I can't figure out what that would have that this wouldn't.. but then again, I'm sure you people here on XDA know much more about this than I!
+1
Im also searching for this answer as well
Sent from my GT-N8013 using XDA Premium HD app

[Q] HTC One-use as as USB drive?

Hey guys,
I did a search but didn't find a relevant thread to the One m7. The lack of SD card slot is a little concerning to me. As long as I can plug it in to my PC and it sees it as a "removable thumb drive" of sorts, I'll be fine without the SD card. Can anyone confirm this functionality? Or is it locked to crap like an iPhone?
Trying to decide between the One and S4. Not an easy decision by any means. I really like the One but I must be able to load custom ROMS and root/unlock bootloader.
Thanks
doubled822 said:
Hey guys,
I did a search but didn't find a relevant thread to the One m7. The lack of SD card slot is a little concerning to me. As long as I can plug it in to my PC and it sees it as a "removable thumb drive" of sorts, I'll be fine without the SD card. Can anyone confirm this functionality? Or is it locked to crap like an iPhone?
Trying to decide between the One and S4. Not an easy decision by any means. I really like the One but I must be able to load custom ROMS and root/unlock bootloader.
Thanks
Click to expand...
Click to collapse
Almost all if not all Android phones will show up as a drive when you plug them into a computer. The HTC One is no exception. It shows up. It also has USB OTG support so if you get a proper cable you can plug flash drives into it.
Awesome, thanks. I've had my EVO 3D since it came out, and it's been a pretty good phone but I'm due for an upgrade!
So, does the One show an "internal" SD card of sorts, is it a different partition? Just wondering if the process will be the same when booting into recovery to flash ZIPs and what not.
I don't understand how people can cram more than 25GB onto a phone. -_-
Well, I like to be able to use my phone as a removable thumb drive, and I also have Bluetooth in my Jeep and love streaming music from my phone that way. It works great. I have a sizable music collection and also like to keep software installs and other things handy (I work in IT) So the 64GB model is looking pretty good right now if I can still do all these things the same way I did before.
tehdef said:
I don't understand how people can cram more than 25GB onto a phone. -_-
Click to expand...
Click to collapse
One word. FLAC
anit77 said:
One word. FLAC
Click to expand...
Click to collapse
That's not a word, and is actually 4 words.
Free Lossless Audio Codec
Just sayin'.
tehdef said:
I don't understand how people can cram more than 25GB onto a phone. -_-
Click to expand...
Click to collapse
Agreed, especially since I got Plex. Now I just stream all my movies and music, I've got all this free space!
Sent from my HTC One
tehdef said:
I don't understand how people can cram more than 25GB onto a phone. -_-
Click to expand...
Click to collapse
Porn and Music
i cant understand ... whys it so hard to post in the correct section
Anyone knows why the HTC One doesn't work with DSLR Controller, via USB-OGT?
http://forum.xda-developers.com/showpost.php?p=40288853&postcount=2410
doubled822 said:
Awesome, thanks. I've had my EVO 3D since it came out, and it's been a pretty good phone but I'm due for an upgrade!
So, does the One show an "internal" SD card of sorts, is it a different partition? Just wondering if the process will be the same when booting into recovery to flash ZIPs and what not.
Click to expand...
Click to collapse
It mounts as a single drive. In windows, it shows up as a Portable Device, HTC One, and it is just a drive. There is a separate partition for the HTC Sync Manager.
The first time I plugged it in, it needed to install the USB drivers. After installed, I had to reconnect it, and it mounted the drive.
Additionally, I did not have to change the USB settings, toggling between USB Drive, or charge, or sync. It just shows up. Somewhat different than what I'm used to on my Inspire, but works much smarter now.
Flash Drive Applications
doubled822 said:
Hey guys,
I did a search but didn't find a relevant thread to the One m7. The lack of SD card slot is a little concerning to me. As long as I can plug it in to my PC and it sees it as a "removable thumb drive" of sorts, I'll be fine without the SD card. Can anyone confirm this functionality? Or is it locked to crap like an iPhone?
Trying to decide between the One and S4. Not an easy decision by any means. I really like the One but I must be able to load custom ROMS and root/unlock bootloader.
Thanks
Click to expand...
Click to collapse
We have very similar goals ... :highfive::highfive:
but want to have an un-secure partition for USB flash drive. I use this as a tablet so I need to have usb flash drive access.
Is there an app for that yet? Aside from doing all the grunt work of shelling into the root / moving directories by hand?
There must be a better way.

Could anyone port Kali Nethunter to Moto E Surnia?

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.

Categories

Resources