[Q] Connecting N4 to get to internal storage on linux - Nexus 4 Q&A, Help & Troubleshooting

I have such problem:
I've got password on my Windows 7 that I don't, so I have Linux Live on pendrive without su permissions... So there's my question:
If I root my N4 will I be able to connect it to Linux without installing needed packages or I need custom ROM?

Related

'Mount' HTC Magic to my mac without microSD card

Hi,
I want to swap files between my Mac and my HTC Magic without using a microSD card. Standard it doesn't do that and only the card shows up on my desktop. Is there a way to do this? My microSD card broke and part of my data was lost.I'm running a custom rom (Cyanogen). It's kinda urgent. Thanks!
You have to use adb:
adb pull /data data
and with apps2sd:
adb pull /system/sd sd
Do I use the terminal for this? I'm a bit of a noob
You have to install the androidSDK
Aah that's a pity because I'm in no way a programmer nor have I touched a single line of code, ever. Aren't there any GUI applications (either on my mac or for my phone) that makes this possible?
I have downloaded the android SDK and I started up 'adb' which opened the Terminal (on Mac OSX) and showed me a list of commands, and at the end [Process completed]. I can't type anything. Please again forgive my noobness.

[Q] How do you get disk drive access after installing ADB drivers

I was finally able to get the ADB driver installed and rooted my KF. However now when I want to move files back and forth from my KF, it won't mount as a drive?
is there a simple fix for this so I can go back and forth?

[Q] Nexus 4 slow file transfer[Windows][Stock ROM]

Has anyone tried using MTP transfer?
I'm trying to copy some files from the phone to the computer but it seems impossible through MTP.
What other methods you can use to transfer files?
I had to use adb pull command to pull all my data before i unlock the bootloader. I'm assuming that custom ROMs will let you connect the phone as an external storage device but what about people who don't/can't install custom rom? Do they have to live with those slow MTP speeds while transferring something to the phone?
justFaisal said:
Has anyone tried using MTP transfer?
I'm trying to copy some files from the phone to the computer but it seems impossible through MTP.
What other methods you can use to transfer files?
I had to use adb pull command to pull all my data before i unlock the bootloader. I'm assuming that custom ROMs will let you connect the phone as an external storage device but what about people who don't/can't install custom rom? Do they have to live with those slow MTP speeds while transferring something to the phone?
Click to expand...
Click to collapse
i had that issue with a GS3 and someone told me to try a different usb port on my computer. so i did and everything transferred much faster like it should.
s10shane said:
i had that issue with a GS3 and someone told me to try a different usb port on my computer. so i did and everything transferred much faster like it should.
Click to expand...
Click to collapse
I tried everything and the only way i could get adequate speed was from adb.
I'm wondering why google didn't include external storage as an option to connect (in 4.2.2, i assume it's a software feature) like there is in some other phones that does not have sd card slot.
I don't think anything can fix MTP. It's so slow, that I have to use adb to transfer Clockworkmod backups.
I hate MTP so much.
The reason there's no mass storage option is because the geniuses at either LG or Google decided it was a good idea to make external storage a folder in /data/ rather than have a dedicated /sdcard/ partition.
Slow transfers with MTP on Nexus 4
** Note: You need a OTG cable with a power connector & ROOT
Nexus 4 - Stock ROM 4.3 ROOTED.
OTG cable with power connector
USB patch
StickMount app
An earlier version of Directory Opus (sorry, the trial expired and I did not note the exact version) seemed to do a good job of transferring files from the Nexus to the PC (Win 7), but when I tried it on another computer and it no longer worked (transfer stopped before it actually completed).
I tried the following and it worked for me:
Check these links:
http://www.androidcentral.com/android-advanced-usb-otg-nexus-4
http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
Use the patch that is suitable for your rom.
install StickMount, connect the usb otg cable to portable drive (in my case a seagate 320 GB Freeagent), the power, and then the phone.
The drive is mounted under /sdcard/usbstorage/sd1
You may need the ntfs-3g file from Chainfire's site.
Transfers were at 7 to 8 MBps from the Nexus to the portable drive [NO PC/Windows involved]. This is better than MTP and DirectoryOpus [when it worked] which was at around 4MBps.
The other option is to use SuperBeam app.
DirectoryOpus might work, but you probably need the right combination of MTP drivers, DirectoryOpus version and Windows version.

[Q] Need help with running Kali Linux

When i run the install it fails on checking mount points. i have the install going to my external sd i was wondering if this could be the problem? By the way im using linux deploy for the install.
It has to go onto your internal sd

Requirements to format a USB drive so Shield TV & TWRP and access it's files?

I'm trying to find out the Android requirements to properly format a USB drive from either a Windows or macOS computer (Linux if required) so (A) I can mount it on Shield TV 2017 (16GB) and (B) TWRP 3.2.3.0 Recovery Project can actually read the files on it.
What are the exact requirements to format the USB drive so Android doesn't have to modify or update anything?
FAT32/NTFS/XFAT/Other ? from what I've read FAT32 seems to be the most preferable.
MBR/GDP/Other ?
Primary/Logical ?
What tool is the best to format this so there's no issues?
I've tried Gparted, Windows Format, Acronis, Disk Utility, MiniTool Partition Wizard, and a few others.
Are their any requirements to copy data (i.e. boot.img, boot.zip, readme.txt, etc...) files from Windows/macOS/Linux onto the USB drive so it's readable?
These may sound like primitive or stupid questions, however I've spent several hours trying to boot my Shield TV (usb keyboard holding keys A and B) to then launch TWRP 3.2.3.0 Recovery to then mount the USB and read its files to Install them. So far I've tried just about everything I've learned from the internet and nothing seems to work. I've even formatted the USB drive using a Sony Android (7.0) TV however when I attempt to insert that onto either a PC or Mac both require the drive to be initialized. When my Shield TV was still working any USB drive I inserted required it be formatted or updated in some way so it could read it.
Currently if I format the USB drive can be detected by Shield TV and mounted by TWRP however none of the files I've copied onto it can be viewed by TWRP. I understand that TWRP filters files so if one needs to load an *.img file one needs to press the correct button to "view" and "access" those file types.
I'm starting to believe it's not the USB it's TWRP but I can't tell for certain.
Does one need to create Android-x86 (android-x86_64-8.1-rc2.iso) in VMware to accomplish this task? It's mind boggling that this is seems to be so difficult when it should be rather straight forward.
whiteak said:
You have tried mounting the USB I take it? I would try a different USB Stick if you have one for sure, it doesn't have to be any special format at all, just a simple fat32 format through Windows is all it needs. Without actually physically seeing what is going on, I can't really say what is going on, power is actually getting to the USB, eg, can you see any lights flashing etc?
Click to expand...
Click to collapse
Hello whiteak, Shield TV sees the USB drive, TWRP is able to mount it, navigate to it and list folders but no files are displayed either through Install (to see boot.img, readme.txt or boot.zip) even when toggling the IMG or ZIP button. I've also attempted to use TWRP's File Manager to review this data, no success. In an alternate test to prove that TWRP can see any *.img file I navigated to the Downloads folder (internal storage) and it can see recovery.img just fine. Using TWRP's File Manager I've attempted to change the file permissions (chmod 755, 777, etc...) to the usb-otg but that didn't change anything either.
At this point I'm unsure what to think? Is it the way the USB drive is formatted? Is it file/folder permissions on the USB drive? Is it TWRP limiting things that are actually there but refuses to read them for security or some other reasons? Hard to tell...
SOLVED
I solved the problem. I'll post the exact steps later but in short, create a Virtual Machine, install Android 8.1, insert the USB drive, format it and quit. Once this is done PROPERLY I later copied the necessary files using macOS TERMINAL from macOS to the USB drive. Now TWRP sees everything. What a pain in the @$$ to do such a simple task.
nadia p. said:
I solved the problem. I'll post the exact steps later but in short, create a Virtual Machine, install Android 8.1, insert the USB drive, format it and quit. Once this is done PROPERLY I later copied the necessary files using macOS TERMINAL from macOS to the USB drive. Now TWRP sees everything. What a pain in the @$$ to do such a simple task.
Click to expand...
Click to collapse
i havent used twrp on my shield tv before but i typically prefer to use twrp's adb terminal for that type of stuff..
it sounds like u had something formatted wrong or maybe even some type of encryption on the usb so it couldnt see the files... u def. shouldnt have to do all that lol
elliwigy said:
i havent used twrp on my shield tv before but i typically prefer to use twrp's adb terminal for that type of stuff..
it sounds like u had something formatted wrong or maybe even some type of encryption on the usb so it couldnt see the files... u def. shouldnt have to do all that lol
Click to expand...
Click to collapse
Hello elliwigy, I'm quite new at all this so I didn't know how to format a USB drive using ADB, I didn't even know this was possible. I'll have to look into this next time. My workaround installing Android in VMware worked out well.

Categories

Resources