I have two security certificates that I need to install on an HTC Hero in order to sync with an exchange server. I transfered them to the device using a different email account with no trouble. I had to download the "astro" file manager in order to then access the certificates, but when viewing them, the file manager does not know what to do with the files.
I cannot find any sort of "certificate manager" or anything like that on the device. Does anyone know how to actually install the certificates?
thanks
cpenticuff said:
I have two security certificates that I need to install on an HTC Hero in order to sync with an exchange server. I transfered them to the device using a different email account with no trouble. I had to download the "astro" file manager in order to then access the certificates, but when viewing them, the file manager does not know what to do with the files.
I cannot find any sort of "certificate manager" or anything like that on the device. Does anyone know how to actually install the certificates?
thanks
Click to expand...
Click to collapse
As far as i'm aware, certificates only works on mobile windows... no other mobile OS.
n.steenbergen said:
As far as i'm aware, certificates only works on mobile windows... no other mobile OS.
Click to expand...
Click to collapse
I have had to install these on Blackberries and they installed fine.
So with Android, certificates are not required?
*edit
I just realized there was a HTC Hero forum... I didn't see it when I posted initially, so I posted here since the Click runs Android.
My apologies
The security certificates also work on the Palm Pre for Exchange syncing.
My Sprint Hero has recently stopped syncing with Exchange and it's giving me security certificate errors now:
"There are problems with the security certificate for this site.
This certificate is not from a trusted authority."
Oddly it used to work, and nothing has changed on the Exchange 2003 SP2 server.
Does anyone know the answer to this??
chnzshyguy said:
Does anyone know the answer to this??
Click to expand...
Click to collapse
Android root certificates are stored in /system/etc/security/cacerts.bks
I found a programm which ca update the keystore : portecle
http://portecle.sourceforge.net/
i've to pull the cacerts on your PC (u need java 6) adb pull ../..
then update wtih protecle : run portecle.jar
an push the fil again adb push ../...
A+
Jpq
(Mind the bump)
Is there an adb daemon installed on the HTC Hero, or will I have to push one on there somehow, to allow me to copy files to and from the phone?
And when I hooked one of these things up to my PC, XP reported it as a USB mass storage device and not a composite device. It didn't have a memory card, so it showed up as a removable drive with no disk in it. Or can I use the Android USB driver for Windows in place of usbstor to get access to the phone's own file system?
My carrier says I can hack the cacerts.bks file without violating their terms of service. Now I just need a way to get to it. Hopefully I can copy over it without having to root the phone.
gordonf4xda said:
(Mind the bump)
Is there an adb daemon installed on the HTC Hero, or will I have to push one on there somehow, to allow me to copy files to and from the phone?
My carrier says I can hack the cacerts.bks file without violating their terms of service. Now I just need a way to get to it. Hopefully I can copy over it without having to root the phone.
Click to expand...
Click to collapse
adbd should be there, to connect you need to enable checkbox in Settings->Applications->Development->USB Debugging
Nforce25, Thanks: I found the setting and can run adb on the phone. No root access, but if I have read/write access to the certificate store I won't need it.
Just typing 'su' gives me 'permission denied,' but I'll try to avoid rooting the phone.
Importing certificates manually
Android root certificates are stored in /system/etc/security/cacerts.bks
I found a programm which ca update the keystore : portecle
[ .. .. his link here .. ..]
i've to pull the cacerts on your PC (u need java 6) adb pull ../..
then update wtih protecle : run portecle.jar
an push the fil again adb push ../...
A+
Jpq
Click to expand...
Click to collapse
Hey there, nice work finding that out!
Now that i have my cacert imported inside the cacerts.bks i may try tomorrow if the wpa_supplicant will detect it, thus making it selectable for the wifi connection of my university. Keep ya posted.
Thanks.
Need your help with HTC sync and Certs..
Hello All,
I have looked for the certs on my phone using asto but I do not have them, which might explain why I am unable to setup my work email again. It was working before. Can someone help me find a way to fix this? I am able to use yahoo, gmail and hotmail but not my work email. using active sync gives me an error: Failed to create account. Please try again later. I was able to use it before but i messed something up. Any help appreciated. Thanks
EM
Hey Guys.
i managed to put my personal certificate in the cacerts.bks.
im now having trouble putting the file back into the andriod phone.
im getting "read only" error when trying to "adb push" the file back and "read only" error when trying to chmod the cacerts.bks file on the device (so i will be able to replace it with the new one) - im with the root account.
maybe i need to change the directory security? (system/etc/security)
im a noob at linux/unix (just rooted the phone yesterday)
any help will be great!
thanks ahead and sorry for my English,
Lior.
Try adb remount before any other command.
You can use a file manager as QTADB or android commander to do operations like copy, delete, rename etc from a graphical interface.
i tried from connectbot on the device
i tried using adb shell with superuser access
buth gave me "read only file system"
i even tried creating a folder in "system\etc\security" with astro file manager and got "no permission"
i am not familiar with that file system - do i need to change "security" directory permission before file permission?
EDIT: i checked mounting on the device and one of the mounts is:
/dev/block/mtdblock7 /system yaffs2 ro 0 0
as i understand, "ro" is read only?
so i cant write to this mount?
im afraid of unmounting it so my device won't stop working.
EDIT2: i tried adb remount
got: remount failed: Operation not permitted
EDIT3: managed to make the mount RW by using the command:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock7 /system
EDIT4: (more as progress status)
"chmod 777" on the cacerts.bks file
and
"adb push cacerts.bks /system/etc/security/"
WORKED!!!
Related
This is the latest release of my fix (June 14, 2011). This version addresses the Market ID and Moto Blur issue.
I have not had a chance to test the latest version, aside from verifying the awk command works as exptected. The rest is a strong educated guess, mixed with a re-tooling of it to just use Android Debug Bridge to do what I was having scripts do in the past. Should be much more reliable.
IF YOU DECIDE TO USE THESE INSTRUCTIONS: PLEASE, read through this page entirely from top to bottom at least once prior to doing anything. This way, if you are unsure on anything, you can ask the questions you need answers to. I am not liable for anybody messing up their phone because they didn't think to read the F'n manual prior to following these steps.
If you don't read this through completely before starting, and you brick your system, Don't come crying to me. I warned you.
This version makes it close to impossible to brick the system, but I left that bit in to cover my arse.
Earlier today, I wrote instructions on how to root the flipside. Now, I have Unknown Sources enabled. Here's how you can do it.
First, if you don't have root, follow these directions:
http://forum.xda-developers.com/showpost.php?p=9702394&postcount=4
Next, you will need to run a script, but for the script to work you will need to install busybox to your rooted flipside. You can either get it from the market, or download it somewhere on the web. I tried installing it from the market, but it just timed out on download for some reason.
Once you have busybox, you have an environment ready for enabling Unknown Sources. Lets do it:
Latest version installs busybox for you]
I have not tested it, so you may still need to tell it to install, but it installs the apk.
1. Download the attachment located in this post.
Unzip to a folder on your desktop.
PLUG IN YOUR PHONE NOW!!!
Double click on the batch file ("enable_unknown_sources.bat"). You may have to run as administrator, but I don't think so. Built on Windows XP (I'm a linux guy who wrote this at work in a couple minutes)
When it prompts for you to OK the super user for "unknown", look at your phone. It should have a prompt. If not, it may be ok. We will see....
once your phone has rebooted, you phone will have "unknown sources" enabled already. Don't worry about rebooting. The batch file did that for you.
Quite a bit less work than before. Good news: it's done! never to worry about it again...unless you upgrade....
DISCLAIMER:
DO NOT FOLLOW ANY OF MY STEPS IF YOU ARE UNSURE OF WHAT YOU ARE DOING! I have done my best to ensure that the instructions are accurate, but I made mistakes in the first revision, so who's to say that I didn't miss something this go 'round as well? If you decide to follow this walk-through, your actions are an agreement to not hold me liable if your phone becomes a pretty brick. I am not responsible for what you do with this information. If you have no idea how to do any portion of these instructions, you can either walk away (best idea), or ask for help here.
I am also not the 2nd shooter on the grassy knoll, nor am I the cause of all your woes throughout life. I always wanted to say that in a disclaimer.
run_second.sh
i get errors when i attempt to run your run_second
though for the life of me... i can't figure out what's wrong with it?
What error do you get?
on all 4 of the cp commands... i get a return of
cp: (destination directory): Invalid argument
EDIT: tried the run.sh script... got an invalid file/folder error on the mount... on one of the cp's... and on the chmod of the same
EDIT: i manually edited the 2 files in the system directory using notepad++ and droid explorer...
couldn't find the 2 databases anywhere on the phone? hidden?
Odd. I did this:
Code:
ls /data/data/com.motorola.android.providers.settings/databases
and I get this back:
Code:
settings.db
The only time I cannot do that is if I don't have super user.
DOH! just realized the issue. once you type "SU", go to your phone, and tell it to allow application "unknown" super user.
Forgot about that part.
well... here's one for you then... i have nothing in my /data/ directory...
never did...
EDIT: wait... droid explorer lied to me... now if i could just get into that file... i could hard change them without having to deal with all the scripting
script typo
Thanks for the script. I have managed to enable it by following your script.
However there are a few typo in your script that caused errors. I have corrected them. You may check attached script.
jonsjava said:
What error do you get?
Click to expand...
Click to collapse
I get an error when I exicute run.sh
: No such file or directory
monho said:
I get an error when I exicute run.sh
: No such file or directory
Click to expand...
Click to collapse
Did you install busybox? Please, run through what you have done so far. My goal is to get a comprehensive how-to together, and any and all input I can get will assist me to that end.
i'm getting read only file errors on the script now... i assume some file attributes need adjusting... not sure how to do that...
Did you remount /system/ in rw mode, as mentioned in the walkthrough? /system is read only by default, but part of my how-to explains how to re-mount it in read/write
all 5 chmod statements return no file found....
EDIT: even reboot is no found
that sounds like you don't have super user, or busybox isn't installed.
i have super user access... i used z4root... this also installs busybox... or so i'm told...
rignfool said:
i have super user access... i used z4root... this also installs busybox... or so i'm told...
Click to expand...
Click to collapse
That does not install busybox. As stated in my how-to, you will need to either download busybox from the market, or get it from the web.
I know it says it does, but I didn't have busybox features until I installed it manually myself.
root explorer FTW
so... after using root explorer to manually edit the mkitso files... and copy the databases from the /ab/ directory....
i made it work...
Hallo there. Please I would appreciate if you can help me. When you say:
1.Look for the one that says "/system". Mine says "/dev/block/mtdblock7"
- Mine says the same too, is that right? Could it be different? Why sould we care where it says 'system'?
2.'type this in (changing the /dev/ as needed)':
-When you say 'as needed' that means changing the /dev/ is not neccesary? What does ir depends? If it's neccesary, what should I type instead of /dev/?
3. 'Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock7 /system'
-Must that line be typed exactly as it's shown? I've done so and after running the commands:
cd /sdcard/
sh run.sh
-This error message appears:
No such file or directory
I've rooted with z4. I've already installed BusyBox from the market, altought I can see it's not an app that appears like the others: I've just got an Icon named 'busyBox Installer' and after all it says 'busybox is successfully installed'.
Please excuse my bad english and thank you very much in advance for your help
1. I wrote it that way just in case it was different anywhere else. It shouldn't be.
2. when I said "change /dev/..." It was in reference to 1. above
If /system is /dev/block/mtdblock7 as listed, you don't need to change it.
If /system is /dev/block/mtdblock21 (example), you would need to change my command to read:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock21 /system
That's what I mean when I said change /dev as needed. Seeing how yours is the same as mine, that is not necessary.
3. the command to mount /system will not affect the sdcard. Make sure the /sdcard isn't mounted on your computer. In windows, look in "My Computer", or your languages equivelant, and if you see the phone there, right click and tell it to unmount. Wait a few seconds for the phone to access the SD card, and try again.
so, I too have problems running run.sh
I tried both the one in the original post and the typo fix in the other post. Both didn't work. I get file not found errors.
Yeah, I have z4root done and busybox installed no problem.
For some reason it's not seeing the files when I run run.sh.
Here's a copy paste just to prove what I am seeing:
Unable to chmod /system/etc/motorola/com.android.providers.settings/secure.mkitso
: No such file or directory
Unable to chmod /system/etc/motorola/com.android.providers.settings/system.mkitso
: No such file or directory
I verified that my sdcard has /ab/ folder copied over, and all the subfolders and files from the original archive are moved over.
What gives?
Could anyone please check and see if they have the adbd service in /sbin/adbd, using root explorer. I don't have it and am wondering if that is why my device is seen as offline.
Edit:
How to:
I don't know how or why this is happening yet, but if your Atrix is seen as offline by ADB for some reason like mine was, just copy this adbd file using root explorer to the /sbin directory and change the permissions to match the other files in the /sbin directory (rwxr-xr-x). (Extract the file from the zip first)
There is still one issue for me though. After a reboot the file disappears and I have to move another copy to the /sbin directory to get ADB working again. It seems as though the file is removed on shutdown, so I have not been able able to get the Early USB Enumeration working yet. Hopefully a solution will be found for this soon.
It is present on my phone.
Do you need me to upload it for you?
Yes please! That might fix my problem! For some reason I dont have it and I think that is why my phone is seen by my computer but is always offline. Hopefully this will work!
Sent from my MB860 using Tapatalk
Anyone that has the adbd service in /sbin/adbd, could you please upload it here for me. I would really appreciate it!
Sent from my MB860 using Tapatalk
here you go.
unzip and that's it. the file has no extension.
Let me know if this solved the ADB problem
Thanks a lot, I will let you know how it goes. Hopefully it works.
Sent from my MB860 using Tapatalk
clubtech said:
here you go.
unzip and that's it. the file has no extension.
Let me know if this solved the ADB problem
Click to expand...
Click to collapse
Holy crap, it worked!!! My device is not offline any more and adb is working!! For four days now I have been trying to figure this out. Thank you for the file!!
One weird thing though, after a reboot the file is gone and I have to copy it over to /sbin again to get it working. Now I need to figure out why it gets removed on a reboot. Anyone have any ideas?
airbillion said:
Could anyone please check and see if they have the adbd service in /sbin/adbd, using root explorer. I don't have it and am wondering if that is why my device is seen as offline.
Edit:
How to:
I don't know how or why this is happening yet, but if your Atrix is seen as offline by ADB for some reason like mine was, just copy this adbd file using root explorer to the /sbin directory and change the permissions to match the other files in the /sbin directory (rwxr-xr-x). (Extract the file from the zip first)
There is still one issue for me though. After a reboot the file disappears and I have to move another copy to the /sbin directory to get ADB working again. It seems as though the file is removed on shutdown, so I have not been able able to get the Early USB Enumeration working yet. Hopefully a solution will be found for this soon.
Click to expand...
Click to collapse
It gets removed because the ramdisk extracts it to that directory on boot
designgears said:
It gets removed because the ramdisk extracts it to that directory on boot
Click to expand...
Click to collapse
Is there a way to keep it in /sbin permanently? I think this is why early usb enumeration does not work for me.
Can I install your deodexed rom? I am nervous because I cant get the early usb enumeration working when the adbd file gets removed on reboot. Does the deodexed rom do anything requiring adb on the shutdown or reboot? Would I be ok without the adbd service until I reboot and replace the file?
airbillion said:
Is there a way to keep it in /sbin permanently? I think this is why early usb enumeration does not work for me.
Can I install your deodexed rom? I am nervous because I cant get the early usb enumeration working when the adbd file gets removed on reboot. Does the deodexed rom do anything requiring adb on the shutdown or reboot? Would I be ok without the adbd service until I reboot and replace the file?
Click to expand...
Click to collapse
on my phone, it is always in /sbin (before and after reboot).
The fact that on your phone it is getting deleted is strange.
Do you see other files under /sbin?
clubtech said:
on my phone, it is always in /sbin (before and after reboot).
The fact that on your phone it is getting deleted is strange.
Do you see other files under /sbin?
Click to expand...
Click to collapse
Yes a bunch: acpi_available, alsactl, apm_available, badblocks, blkid, blockdev.....vol_id. There are about 40 files, but the adbd seems to disappear after a reboot and my early usb enumeration does not work. I think it is because it adbd gets removed on a reboot. Is there a way to keep it in there after a reboot that you know of or to get usb early enumeration working?
not sure about a fix but as a work around, in theory you can try to create a script that runs on boot that always pushes the adbd file back into the /sbin folder. you can use a combination of programs like gscript to create the script and then a program like tasker to executive the script on boot or some other type of autostart program.
NguyenHuu said:
not sure about a fix but as a work around, in theory you can try to create a script that runs on boot that always pushes the adbd file back into the /sbin folder. you can use a combination of programs like gscript to create the script and then a program like tasker to executive the script on boot or some other type of autostart program.
Click to expand...
Click to collapse
Thanks, i will look into this.
What about adding it in then changing permissions on it to disable the system from deleting it?
Sent from my SAMSUNG-SGH-I897 using XDA App
Changing your adbd permissions back to stock may help, as the file in the .zip won't have the proper permissions. Do this:
Code:
chmod 0750 /sbin/adbd
The one in the zip will be 0777, which gives everyone read and write access, which isn't set normally.
Atrix ADB offline issue
clubtech said:
on my phone, it is always in /sbin (before and after reboot).
The fact that on your phone it is getting deleted is strange.
Do you see other files under /sbin?
Click to expand...
Click to collapse
I have the same problem! Any solutions found?
How do it get this onto a phone that is not rooted, so that I can root it?
Thanks.
Atrix Rooted Deodexed ADB Offine Issue
When I received my Atrix I used the program superoneclick to root the atrix and then Fully Deodexed, i enabled the sideloading of apps with the same program.
I then went to my external sd card where I had saved the apk's for titanium backup and adfree and installed them without any issues.Over the next few days I used my phone without any problems at all.I had some apk's on my computer that i wanted to push to my atrix so i tried to connect via adb and my phone was seen as offline no matter what computer, usb port or cable I used.I then thought that a hard reset might solve the issue so I went to the recovery menu and performed a system restore.This did not fix the problem.For days I tried to figure out how to fix it, until I realized that the adbd service in /sbins was missing so i got a copy and placed it in /sbins and adb worked again. However, after a reboot the adbd file is removed from /sbin and to get adb working again I have to place my copy of the adbd service back into the folder.The problem now though is that early usb enumeration in the recovery does not enable adb, the phone just boots normally after about 5 seconds.Thank you for your help and interest in my problem.Mroadster
airbillion said:
Could anyone please check and see if they have the adbd service in /sbin/adbd, using root explorer. I don't have it and am wondering if that is why my device is seen as offline.
Edit:
How to:
I don't know how or why this is happening yet, but if your Atrix is seen as offline by ADB for some reason like mine was, just copy this adbd file using root explorer to the /sbin directory and change the permissions to match the other files in the /sbin directory (rwxr-xr-x). (Extract the file from the zip first)
There is still one issue for me though. After a reboot the file disappears and I have to move another copy to the /sbin directory to get ADB working again. It seems as though the file is removed on shutdown, so I have not been able able to get the Early USB Enumeration working yet. Hopefully a solution will be found for this soon.
Click to expand...
Click to collapse
I really wish I could tell you how I did it, but I was going through this very same issue with loss of ADB after doing the SuperOneClick with a subsequent reset. After resetting the device I was not able to obtain ADB.
I got to a point where I decided I was going to just get rid of root and try to remove Superuser however every time I ran the script to remove it, it was still there. The script was running but no connection to ADB resulted in no execution.
I reset the device a couple more times and uninstalled all Motorola drivers from my computer. When I went through the initial setup and driver install again, it installed all the drivers like normal including the ADB communication. I confirmed ADB via "adb devices" and I everything seemed good to go.
I then used DG's aRoot to root once again without any issues at all. Every time I attempt to use ADB, it now connects flawlessly.
I have this problem as well and it is driving me insane as I bit off more than I could chew just trying to root my phone... Hopefully we can figure something out in the future.
Hi!
I've just rooted NST with NookManager.
I'm a total noob in android world (as I don't have any smartphone) and I'm searching for basics about rooted android devices since two days but I didn't come to a solution to my problems.
Simply I want to uninstall some apk as described in this thread http://forum.xda-developers.com/showthread.php?t=1933615
I don't have titanium pro or root explorer.
How to install/uninstall apps and how to take full control about entire nook file system?
Thanks
yell! said:
Hi!
I've just rooted NST with NookManager.
I'm a total noob in android world (as I don't have any smartphone) and I'm searching for basics about rooted android devices since two days but I didn't come to a solution to my problems.
Simply I want to uninstall some apk as described in this thread http://forum.xda-developers.com/showthread.php?t=1933615
I don't have titanium pro or root explorer.
How to install/uninstall apps and how to take full control about entire nook file system?
Thanks
Click to expand...
Click to collapse
It depends on the Launcher you are using.
By default you should have "ReLaunch" installed.
To uninstall an apk, just select it in the app list and hold for a little bit longer. A dialog containing "uninstall" option the should pop up.
The other way is to use "NookColorTools".
http://forum.xda-developers.com/showthread.php?t=868366
Install it , run it, select "manage applications", select certain apk, uninstall it.
edit : you should probably place 'NookColorTools' in /system/app/ using ADB
######################################
Installing apk's
1 way - put 'some_app.apk' on mSD card and select it using any file manager.[/COLOR]
2 way - configure ADB, connect your nook and type 'adb install /your_apk_location_on_harddrive
3 way - install Google Play using 'NTGAppsAttack', install "searchmarket.apk" (i uploaded it somewhere, check my posts), search for apk in google play and install it.
#############################
To uninstall a system apk
Read the forum before deleting any system apk's.
Most of them are necessary for the system to work.
1 way - get any file manager that can mount root partition (Rhytm file manager ; ES file explorer) , select "root explorer" in options, navigate to '/system/app/', Move/delete any apk that you desire.
2 way - configure ADB, connect nook, type 'adb shell', 'mount -o rw,remount /dev/block/mmcblk0p5 /system', 'cd system', 'cd app', 'ls' (to see apk list), 'rm apk_name.apk'.
#############################
To install a system apk.
configure ADB, connect nook, type 'adb shell', 'mount -o rw,remount /dev/block/mmcblk0p5 /system'
exit ADB, from your system type 'adb push /your_apk_location /system/app'
#############################
If you encounter problems with installing from mSDcard search for "howto allow install non market applications on android'.
Remember that only Apk's for Android 2.1 will install. 2.2+ versions will give you an error.
That works great except for MetroUI and Apple 4S. Neither of which seem to want to uninstall from the play store and there's no app entry to hold down on to force deletion.
Plus ESfilemanager isn't letting me go to the system menue else I'd delete the apk there and while ReLaunch /will/ for some reason let me go to /system/apps since it won't let me move the library.apk back to the app folder from backup I'm not sure I trust it to not somehow fubar a delete.
Plus my sister deleted my nook backup image.
Any ideas how to safely clear these thins for someone that's clueless on how to use ADB from ubuntu 12.04? A link to an idiot's guide would be nice if nothing else.
Goggles2114 said:
That works great except for MetroUI and Apple 4S. Neither of which seem to want to uninstall from the play store and there's no app entry to hold down on to force deletion.
Plus ESfilemanager isn't letting me go to the system menue else I'd delete the apk there and while ReLaunch /will/ for some reason let me go to /system/apps since it won't let me move the library.apk back to the app folder from backup I'm not sure I trust it to not somehow fubar a delete.
Plus my sister deleted my nook backup image.
Any ideas how to safely clear these thins for someone that's clueless on how to use ADB from ubuntu 12.04? A link to an idiot's guide would be nice if nothing else.
Click to expand...
Click to collapse
>TUTORIAL - EVERYTHING ABOUT ADB - Fully Illustrated
http://forum.xda-developers.com/showthread.php?t=1241935
-use ADB to install NookColorTools
-go to 'manage applications' (in NCT)
-delete what needs to be deleted
Deleting files is needed only when you want to get rid of a system app.
Don't forget to mount system partition with write permissions. Otherwise you will not be able to copy NCT to /system/app/
You are a lifesaver (and is this thing pinned? I don't recall seeing it pinned. Hell best way of hiding a thread is put it at the very top with a sticky and making it red blinky bold letters.)
OK derp. That guide's windows. Need something linux-centric. I've a feeling after the initial setup it's similar
On command line 'adb devices' gets me nothing even with nook in usb mode.
Edit again: http://rootzwiki.com/topic/20770-gu...-adb-and-fastboot-in-linux-ubuntu-and-mint12/
Using that guide. Will edit/respond with results.
Edit the Third: Odd. Didn't have ot use ADB. ReLaunch let me install. Now to figure out wtf about mountingaccessing internal storage as root.
Thank you for your replies!
I prefer the ADB method via USB, I do not like to modify things by touch screen.
I installed ADB, server is running and nook is connected by usb cable, but no devices are found
Google does not help me (or I am failing with keywords) and I do not want to use a wireless connection.
yell! said:
Thank you for your replies!
I prefer the ADB method via USB, I do not like to modify things by touch screen.
I installed ADB, server is running and nook is connected by usb cable, but no devices are found
Google does not help me (or I am failing with keywords) and I do not want to use a wireless connection.
Click to expand...
Click to collapse
Make sure you have the driver installed properly. See the wiki article on installing the ADB driver for the Nook Simple Touch.
yell! said:
Thank you for your replies!
I prefer the ADB method via USB, I do not like to modify things by touch screen.
I installed ADB, server is running and nook is connected by usb cable, but no devices are found
Google does not help me (or I am failing with keywords) and I do not want to use a wireless connection.
Click to expand...
Click to collapse
Use "ADB konnekt" to connect with your pc via wifi.
If you want to connect via USB you have to turn on "USB DEBUGGING" (manually of using NookColorTools)
and add correct udev rules (http://ubuntuforums.org/showthread.php?t=1918512) on linux.
There are some differences in adding udev rules in different versions of Ubuntu/Debian/Mint. I have no idea on how to do that on Fedora,Gentoo etc.
Don't know how to do that on windows. This info can be found using a search engine x]. Look for ("android device adb setup windows")
Hi All,
I am in the process of trying to root and install a custom rom on my Nexus 4 4.4.2. I am a new linux user (Linux Mint 16) and my rooting experience is limited. When I try to do an "abd pull /sdcard/ /sdcard/" this is what it says
adb pull /sdcard/ /sdcard/
pull: building file list...
pull: /sdcard/Android/data/com.google.android.gallery3d/cache/imgcache.1 -> /sdcard/Android/data/com.google.android.gallery3d/cache/imgcache.1
cannot create '/sdcard/Android/data/com.google.android.gallery3d/cache/imgcache.1': No such file or directory
I was able to successfully do an abd backup...
USB debugging is enabled.
I get the same error whether the phone is connected as a Media device (MTP) or Camera (PTP).
any reason why the pull command wont work?
Any help is appreciated!
smokewagon said:
Hi All,
I am in the process of trying to root and install a custom rom on my Nexus 4 4.4.2. I am a new linux user (Linux Mint 16) and my rooting experience is limited. When I try to do an "abd pull /sdcard/ /sdcard/" this is what it says
adb pull /sdcard/ /sdcard/
pull: building file list...
pull: /sdcard/Android/data/com.google.android.gallery3d/cache/imgcache.1 -> /sdcard/Android/data/com.google.android.gallery3d/cache/imgcache.1
cannot create '/sdcard/Android/data/com.google.android.gallery3d/cache/imgcache.1': No such file or directory
I was able to successfully do an abd backup...
USB debugging is enabled.
I get the same error whether the phone is connected as a Media device (MTP) or Camera (PTP).
any reason why the pull command wont work?
Any help is appreciated!
Click to expand...
Click to collapse
Maybe this will help?
http://www.herongyang.com/Android/adb-push-and-pull-Command.html
Not a big fan of the CLI.
Sent from my Nexus 7 (2013)
Your problem (almost certainly) is that you don't have a /sdcard directory (folder) on your computer unless you created one (there certainly is no default /sdcard in a linux desktop system).
I also don't know how you installed ADB on your computer.
(This should work, otherwise I'll have to change what I wrote below).
Try this:
$ cd ~/Desktop
(This changes you to your desktop directory, if you are not already there)
$ mkdir sdcard
(this will make a new directory called "sdcard" on your desktop, you should see it pop up on your desktop)
$ adb pull /sdcard/ ~/Desktop/sdcard
(should pull the contents of /sdcard from your phone and put them in your newly created directory on your desktop: ~/Desktop/sdcard)
BAM
A little extra basic info for you, and welcome to linux. Soon you have the power to take over the world (ha ha ha... no, actually I'm not kidding at all).
As a basic rule, you should pretty much always be working inside of your home directory, for dealing with your personal files. Your home directory is /home/yourname. On my computers, my home is /home/kirk. My wife's home directory is /home/amy.
"~" is a shortcut for the home directory, for whomever is logged in at that moment.
If you wanted something that is on your desktop, it would be in the directory: /home/yourname/Desktop (~/Desktop). If you wanted to use your documents directory, it is : /home/yourname/Documents(~/Documents).
/home/yourname is where you usually where want to do your stuff.
"/" is the very root directory of the whole system, so you would be better off not creating and doing things like making directories like "/sdcard". That's a bad move. Leave root for system files. Not that you are necessarily going to destroy something by creating a /sdcard directory. But it'll cause you a few hassles.
So, use /home/yourname/sdcard (~/sdcard). Or if you want it on your desktop, (like I did above) use /home/yourname/Desktop/sdcard (~/Desktop/sdcard). Doing things inside of /home/yourname(~) means that you are the owner of that folder and everything in it, not root.
Otherwise you will just be causing headaches for yourself and having to grant yourself root permissions to work with those files (hassle). There's no good reason to do that to yourself. And if you did give yourself root permissions, and screwed up other stuff in the root directory like in: /etc or /dev or /bin, then you will REALLY be irritated.
Stick to your home for your personal files. /home/yourname (~)
Leave "/" or the "root" directory for system files.
You could check my little bash program for adb for Linux too. It's a program to be used in the terminal and it'll pull data off the sdcard etc. You can find it here
Sent from my Nexus 4 running Android 4.4
Thank you all for the help, I'll let you know how it goes.
Do I need drivers for my nexus 4 to work with Linux?
Sent from my Nexus 4 using Tapatalk
smokewagon said:
Thank you all for the help, I'll let you know how it goes.
Do I need drivers for my nexus 4 to work with Linux?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Try it without any installation of drivers just install adb tools and try the command line or my little tool. If it's not working, check the guides how to set up the usb-rules for adb
Sent from my Nexus 4 running Android 4.4
Thanks, will do.
Sent from my Nexus 4 using Tapatalk
iowabeakster said:
Try this:
$ cd ~/Desktop
(This changes you to your desktop directory, if you are not already there)
$ mkdir sdcard
(this will make a new directory called "sdcard" on your desktop, you should see it pop up on your desktop)
$ adb pull /sdcard/ ~/Desktop/sdcard
(should pull the contents of /sdcard from your phone and put them in your newly created directory on your desktop: ~/Desktop/sdcard)
BAM
Click to expand...
Click to collapse
BAM INDEED! It worked! I am pulling the contents now. Thanks a ton, and thanks for the other basic linux info, I will put it to good use.
Any other tips on using Linux to root android?
Shooooot....
So after the pull command finished, i opened the sdcard directory I created on my desktop, and it was empty....the pull command said this when it was done...
1733 files pulled. 0 files skipped.
2129 KB/s (995292697 bytes in 456.480s)
Any ideas?
Ok, I played with some settings and got it to work, though I don't know why it worked.
USB Debugged is enabled.
The first time I tried to 'pull' i had my USB computer connection set to "Camera (PTP)" - it didn't work.
I tried again changing the USB computer connection to "Media device (MTP)" - it didn't work.
I changed it back to "Camera (PTP)" and my computer recognized it in a different way than the first time (a dialog box popped up asking me what I wanted to do with the pictures that were on the device I had connected, this didn't happen the first time).
I am glad the pull command finally worked, I just wish I knew why.
I guess it's a tough road being a linux NOOB and a (near) Android NOOB. It's good to learn something new and keep my brain young.
How do you change the Boot/Power Off screen for a NSTG (Nook Simple Touch Glowlight) with firmware 1.2.1 ?
It's rooted etc, and I've read existing threads about doing this, but they relate to earlier firmware versions.
e.g.
This one is for firmware up to 1.0.1, so I'm reluctant to try the old replacement .jar file .
and this one, although simpler, does not seem to work as I could not find the appropriate image in the framework-res.apk file
TIA!
antboy9 said:
How do you change the Boot/Power Off screen for a NSTG (Nook Simple Touch Glowlight) with firmware 1.2.1 ?
It's rooted etc, and I've read existing threads about doing this, but they relate to earlier firmware versions.
e.g.
This one is for firmware up to 1.0.1, so I'm reluctant to try the old replacement .jar file .
and this one, although simpler, does not seem to work as I could not find the appropriate image in the framework-res.apk file
TIA!
Click to expand...
Click to collapse
It's actually very easy - no modified .jars or anything are necessary. Here's a quick key:
• The "Your Nook is completely off" images are located in /system/assets/shutdown_images. They are all easily edited .png files which can be copied and replaced at will. :good:
• The "black/white dots" animation images are located in /system/assets/boot_images, and they are also easily edited .png files which can be copied and replaced at will.
• The "Read Forever" screen is a bit harder - it is located in /boot (accessible via mounting or via booting Noogie) and is named booting.pgm. It is a .pgm file, which is only editable by converting it to .png and then converting it back when the editing is complete.
Hope this helps you out, and be sure to post again if you have any more questions!
ИΘΘK¡€ said:
• The "Your Nook is completely off" images are located in /system/assets/shutdown_images. They are all easily edited .png files which can be copied and replaced at will.
Click to expand...
Click to collapse
Thanks a lot, yes it was easy, at least it was easy using adb.
In case others find it useful:
adb connect <ip address>:5555
adb pull /system/assets/shutdown_images/cold_boot_screen.png
___
backup that file from the directory and put the new one in its place, locally
___
adb shell
mount -o remount,rw -t ext2 /dev/block/mmcblk0p5 /system
exit
adb push cold_boot_screen.png /system/assets/shutdown_images
adb reboot
antboy9 said:
Thanks a lot, yes it was easy, at least it was easy using adb.
In case others find it useful:
adb connect <ip address>:5555
adb pull /system/assets/shutdown_images/cold_boot_screen.png
___
backup that file from the directory and put the new one in its place, locally
___
adb shell
mount -o remount,rw -t ext2 /dev/block/mmcblk0p5 /system
exit
adb push cold_boot_screen.png /system/assets/shutdown_images
adb reboot
Click to expand...
Click to collapse
Another way to do it (the way I normally do it) is to use SwiFTP, which is an FTP server which is hosted on your Nook that is accessible from the PC. You don't even have to push/pull anything; you can just copy the image file you want to edit to your hard drive from the server, edit it, and then just paste it right back into the server. It works perfectly.
Post again to let me know if you'd like the .apk for the FTP server app!
ИΘΘK¡€ said:
Another way to do it (the way I normally do it) is to use SwiFTP, which is an FTP server which is hosted on your Nook that is accessible from the PC. You don't even have to push/pull anything; you can just copy the image file you want to edit to your hard drive from the server, edit it, and then just paste it right back into the server. It works perfectly.
Post again to let me know if you'd like the .apk for the FTP server app!
Click to expand...
Click to collapse
Hi, thanks. Yes I would like the .apk for the FTP server app.
Does it get around the read-only issue?
antboy9 said:
Hi, thanks. Yes I would like the .apk for the FTP server app.
Does it get around the read-only issue?
Click to expand...
Click to collapse
Here it is.
And yes, it does get around the read-only issue. However, you do have to change the directory in [FTP server app]/Advanced Settings.../Stay in folder (which is originally /sdcard) to /, or else you will get a "Permission denied" on the PC.
Enjoy! :good:
There are any number of graphic programs that can convert to/from the PGM graphic file format used in the boot partition.
There is also my Windows command line utility nookbits.exe available in the signature.