HOW DO U DOWNLOAD YOUTUBE VIDEOS ????
MOST OF THE ANSWERS ARE THIRD PARTY APPS LIKE TUBEMATE,VIDMATE.ETC.
BUT IN THIS GUIDE I WILL TELL YOU HOW TO DOWNLOAD THIS VIDEOS WITH TERMINAL EMULATOR.(ANDROIDS INBUILT CHARM)
AND YES IT DOES NOT REQUIRE ANY ROOT ACCESS.
USING THIS TRICK YOU CAN DOWNLOD VIDEOS FROM OTHERS SITES WHICH SUPPORTS YOUTUBE –DL (NEARLY 1200 SITES)
LIST OF SUPPORTED SITES:- https://rg3.github.io/youtube-dl/supportedsites.html
STEP 1 – DOWNLOAD TERMUX (a terminal emulator app)APP FROM PLAYSTORE(size<1.5mb) : https://play.google.com/store/apps/details?id=com.termux-
GIVE IT STORAGE PERMISSION.YOU CAN DO IT BY GOGING TO SETTINGS>>APPS>>TERMUX>>PERMISSIONS>>ENABLE STORAGE ACCESS
STEP 2- OPEN TERMUX APP THEN TYPE CLEAR AND HIT ENTER TO CLEAR THE SCREEN.
THEN TYPE ALL THESE FOLLOWING COMMANDS ONE BY ONE OR DOWNLOAD THE COMMANDS.TXT HERE:-
COMMANDS.TXT:- https://www.mediafire.com/file/s9xzsbxxdp318b3/commands.txt
1) termux-setup-storage
2) packages install python
3) pip install youtube-dl
4) mkdir /data/data/com.termux/files/home/storage/shared/Youtube
(IT WILL MAKE A FOLFER YOUTUBE TO STORE DOWNLOADED VIDEOS)
5) mkdir -p ~/.config/youtube-dl
6) apt-get install nano
7) nano ~/.config/youtube-dl/config
8) --no-mtime
-o /data/data/com.termux/files/home/storage/shared/Youtube/%(title)s.%(ext)s
-f "best[height<=480]"
[replace the height=480 with 360, 720 or 1080, etc to change resolution]
9) Very important :- [To Save "Volume-down" + O; then press Enter, and then exit nano with "Vol-down" + X]
10) mkdir ~/bin
cd ~/bin
nano termux-url-opener
11) youtube-dl $1
12) Very important :- [To Save "Volume-down" + O; then press Enter, and then exit nano with "Vol-down" + X]
That’s it now you are good to go.
Now to download any youtube videos .go to youtube choose share option then choose termux option.thats it now your videos will be downloaded.ALSO TO DWONLOAD FROM OTHER SITES USE THIS SHARE OPTION THEN TERMUX. IHAVE NOT TESTED IN OTHERS SITE SO PLZ REPORT.
STILL CONFUSED I HAVE CREATED A VIDEO JUST LOOK AT THIS.HERE IT IS:- https://youtu.be/RUlgO5i4i8I
wow, im gonna try this afterwards,.. thanks
This works just fine on the YouTube app. And if you hit the share button, then the elipses button on a web browser, it redirects me to the same video on the YouTube app, which is fine. You just have to hit the share button once more and choose the Termux option, afterwards.
Thanks for this. Guess I don't need arkTube anymore.
interesting .. gonna try this thanks...
Tried it, works.
Instructions are very well laid out, had no problems following them, but some people just can't read so I'd expect "didn't work" comments as well.
Compared to the GUI 3rd party apps this offers less features (obviously), but seems more robust - one click starts it, and Termux supports multiple parallel sessions.
Overall if you want a no-nonsense approach, this is the way to go. For beginners or other use cases I'd still recommend an app.
Great
i tried it and yes it's work.
There many user-friendly apps then why this hard way?
alwynjoshy said:
There many user-friendly apps then why this hard way?
Click to expand...
Click to collapse
for me personaly i like to do something challenging, when you find an error, then you will look and review every step by step that given on instruction, that's how i'm learning and find something interesting.
gothic84 said:
for me personaly i like to do something challenging, when you find an error, then you will look and review every step by step that given on instruction, that's how i'm learning and find something interesting.
Click to expand...
Click to collapse
Yeah, Good thing, Go ahead
I'm stuck in step 2:
$ packages install python
packages: command not found
First time using termux and not used to Unix terminal.
Any idea?
Edit: need to replace packages with pkg.
amazing tutorial.
thank you very much.
can you pls help with youtube-dl commands ?
use this command
Use "pkg install python"
fred_gaou said:
I'm stuck in step 2:
$ packages install python
packages: command not found
First time using termux and not used to Unix terminal.
Any idea?
Edit: need to replace packages with pkg.
Click to expand...
Click to collapse
FU it ,only 720p best
When I open my file explorer (ES File Explorer) and go to /data, it's empty. There's no data/com.termux/files/home/storage/shared/Youtube/
But if I open termux app, I can cd into the YouTube folder.
Also, if I download a video, it doesn't save to the YouTube folder, but to the home folder. Either way, I can't access the video thru a video app. I'll see if I can copy it to external storage.
Just did. Cannot copy to external storage. Permission denied.
Help please!
Sent from my LG-D690 using Tapatalk
Tried it, works thank you.
Kahoan said:
Tried it, works thank you.
Click to expand...
Click to collapse
Perhaps you'd like to share as I cannot make it work. See my posts.
Sent from my LG-D690 using Tapatalk
Thanks for your sharing! I'll try it after.
BTW, I made a site -https://www.vidpaw.com - for people to download videos from sites.
Any feedback is welcomed!
Wow, thank you very much! Never thought that it would be possible this easy
Please can you help me
rajnish.cseku said:
Use "pkg install python"
Click to expand...
Click to collapse
Please help me sir I am download with termux but coming the this one
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/youtube-dl", line 11, in <module>
sys.exit(main())
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 472, in main
_real_main(argv)
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 58, in _real_main
parser, opts, args = parseOpts(argv)
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/youtube_dl/options.py", line 904, in parseOpts
user_conf = _readUserConf()
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/youtube_dl/options.py", line 67, in _readUserConf
userConf = _readOptions(userConfFile, None)
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/youtube_dl/options.py", line 52, in _readOptions
res = compat_shlex_split(contents, comments=True)
File "/data/data/com.termux/files/usr/lib/python3.7/shlex.py", line 305, in split
return list(lex)
File "/data/data/com.termux/files/usr/lib/python3.7/shlex.py", line 295, in __next__
token = self.get_token()
File "/data/data/com.termux/files/usr/lib/python3.7/shlex.py", line 105, in get_token
raw = self.read_token()
File "/data/data/com.termux/files/usr/lib/python3.7/shlex.py", line 187, in read_token
raise ValueError("No closing quotation")
ValueError: No closing quotation
[Process completed (code 1) - press Enter]
So what I can do?
Please can you help me
Working for me, thanks
Related
Some of you are familiar with the adb install command.
Is there an equivalent of it in the terminal emulator?
Hi,
Adb is used from the computer and terminal emulator is used from the phone.
What are you trying to do?
I'm trying to install an app without using astro.
your best choise would be
cd to the location of the apk file and use
adb install appname.apk
or adb install C:\folder\appname.apk
think thats the correct way im not sure how you can install it in the terminal i knwowho to remove it.. but not install :/
Install .apk via Terminal EMulator
1) Place the .apk on the root of your SD card (for simplicity)
2) Type "su"
3) cd into the destination of your .apk (in this case it will be cd /sdcard)
4) Use "install "name of .apk" /"destination"/"name of .apk"
su
cd /sdcard
install com.makemobile.coursepro.apk /system/app/com.makemobile.coursepro.apk
further example:
install "space" com.makemobile.coursepro.apk "space" /system/app/com.makemobile.coursepro.apk
This will install the app on your phone using the Terminal Emulator. The destination location can change as well.
Additional help: http://www.busybox.net/downloads/BusyBox.html
On the flip side, could you uninstall from the ext2 partition this way?
install on/from ext2
not sure...I'll looks into this. I had my apps and data on my sd however, it seemed a little buggy and inconsistant. It may have been due to using original G1 1gb class 2 card.
-let me know if you find out first.
a1t said:
1) Place the .apk on the root of your SD card (for simplicity)
2) Type "su"
3) cd into the destination of your .apk (in this case it will be cd /sdcard)
4) Use "install "name of .apk" /"destination"/"name of .apk"
su
cd /sdcard
install com.makemobile.coursepro.apk /system/app/com.makemobile.coursepro.apk
further example:
install "space" com.makemobile.coursepro.apk "space" /system/app/com.makemobile.coursepro.apk
This will install the app on your phone using the Terminal Emulator. The destination location can change as well.
Additional help: http://www.busybox.net/downloads/BusyBox.html
Click to expand...
Click to collapse
nevermind..........used astro file manager and it worked fine
help
what's 'cd' ? the emulator is already installed on the phone ?
i'm trying to install an app but i don't understand the adb method. someone can help me ?
thanks
MikeMadden said:
what's 'cd' ? the emulator is already installed on the phone ?
i'm trying to install an app but i don't understand the adb method. someone can help me ?
thanks
Click to expand...
Click to collapse
cd is a command, meaning "change directory". Which is used to move your location on the system.
MikeMadden said:
what's 'cd' ? the emulator is already installed on the phone ?
Click to expand...
Click to collapse
cd is a *nix command , it is short for 'change directory' and it... changes directory
MikeMadden said:
i'm trying to install an app but i don't understand the adb method. someone can help me ?
thanks
Click to expand...
Click to collapse
it depends on what the app is
your best bet would be to get an app called 'Astro file manager' from the market
Its quite easy, so I won't go into further detail
Which to be honest is a fair trade
APrinceAmongMen said:
Some of you are familiar with the adb install command.
Is there an equivalent of it in the terminal emulator?
Click to expand...
Click to collapse
Some people have mentioned the `install' command from BusyBox, but this won't quite do what you probably want. To invoke the full Android package installation experience--the complete equivalent of `adb install'--you're looking for `pm install'. It takes the same arguments that `adb install' does, checks signatures, creates the appropriate user accounts, etc. so the package is installed the Android way. You can also use `pm uninstall' to remove a package (and as with `adb install', the "-k" option keeps its data around).
The `am' and `pm' commands are both underdocumented, but can be terribly useful. `am' can issue arbitrary Intents, including some Extra values. `pm' has other features not mentioned here, but which are shown in the help text.
olearyp said:
Some people have mentioned the `install' command from BusyBox, but this won't quite do what you probably want. To invoke the full Android package installation experience--the complete equivalent of `adb install'--you're looking for `pm install'. It takes the same arguments that `adb install' does, checks signatures, creates the appropriate user accounts, etc. so the package is installed the Android way. You can also use `pm uninstall' to remove a package (and as with `adb install', the "-k" option keeps its data around).
The `am' and `pm' commands are both underdocumented, but can be terribly useful. `am' can issue arbitrary Intents, including some Extra values. `pm' has other features not mentioned here, but which are shown in the help text.
Click to expand...
Click to collapse
'pm install' often fails with [INSTALL_FAILED_INSUFFICIENT_STORAGE]
which used to frustrate me no end ..
simple shell script
Code:
am start -a android.intent.action.VIEW -t application/vnd.android.package-archive -d file://$1
just pass the full path e.g
sh /sdcard/installapk.sh /sdcard/theapp.apk
and it pops up the Android Package installer
Firerat said:
'pm install' often fails with [INSTALL_FAILED_INSUFFICIENT_STORAGE]
which used to frustrate me no end ..
Click to expand...
Click to collapse
Interesting. I wonder if that's related to A2SD or a particular implementation, and pm getting confused as a result? Still, I like the idea of sending the VIEW intent to bring up the package installer. Good snippet.
I just cp the files to /system/sd/app/
from Windows Command prompt, and after switching to the folder containing the .apk file, type:
adb install filename.apk
if it is a reinstall:
adb install -r filename.apk
you could also push the file to the app folder. I use this method to push system apk:
adb remount <<<< you have to remount since you're going to mess with a sys folder
adb push filename.apk /system/app
seriously useful thread... especially after for some weird reason certain apps fail to install using the default Android installer. *cough* Radiant *cough*
Thanks for the help guys. Btw install command doesn't work. To clear things out for some clueless person like I am :
1. Open Terminal Emulator
2. Type -
su
cd /dir
pm install appname.apk
3. Done!
Example -
su
cd /sdcard
pm install AstroFileManager.apk
Hope that can help!
rajasyaitan said:
Thanks for the help guys. Btw install command doesn't work. To clear things out for some clueless person like I am :
1. Open Terminal Emulator
2. Type -
su
cd /dir
pm install appname.apk
3. Done!
Hope that can help!
Click to expand...
Click to collapse
This is very helpful, thanks!
rajasyaitan said:
Thanks for the help guys. Btw install command doesn't work. To clear things out for some clueless person like I am :
1. Open Terminal Emulator
2. Type -
su
cd /dir
pm install appname.apk
3. Done!
Example -
su
cd /sdcard
pm install AstroFileManager.apk
Hope that can help!
Click to expand...
Click to collapse
Thanks big time. Installed perfectly although apk won't open...just got to find one that will.
Found an easy way to install Debian, resize the debian.img, and run a desktop on your rooted G1!
1. Installing Debain - has an installer.
For step 6. Do this instead:
Code:
# su
# ./installer.sh
OR
# su ./installer.sh
2. Resize debain.img
3. Installing Desktop
For those who run into problems or errors while installing/downloading tightvncserver and/or LXDE follow these modifications:
1. type:
Code:
cd /etc/apt
nano sources.list
2. add after the first one:
Code:
deb http://ftp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.debian.org/debian lenny main contrib non-free
3. Hold down the trackball and hit o
4. Hit return (to save the new sources.list)
5. Hold the trackball and hit x (to exit nano)
6. Type (enter after each one):
Code:
apt-get update
apt-get install tightvncserver
apt-get install lxde
For Haykuro's builds [Thanks to buttkicker!]:
The procedure is same for 5.0.2H versions as well.
However, some files need to be modified.
I am attaching two sets of files.
Use as needed.
1: debian_v21-sdcard.zip
extract to /sdcard/debian
2: debian_v21-system-sd.zip
extract to /system/sd/debian (ext2 partition)
Replace the files in the original downloaded package with the ones in this post.
If you chose option 2, remember to type
Code:
cd /system/sd/debian
in step 4
Mirrors of Installer & debian.img:
Code:
http://mindsofwisemen.com/fileso/other/debian_v21.zip
http://www.filedropper.com/debianv21
Mirrors of Attached:
Code:
http://www.filedropper.com/debianv21-sdcard
http://www.filedropper.com/debianv21-system-sd
Thanks for this info, I'd also like to know if anyone hs tried it using the H build roms .... as apposed to JF's rom ... as stated in the instructions!
Thanks will try this on my G1 verry nice.
does this make a dual boot option? or how does it work?
no it doesn't. you run debian via the terminal emulator, then you run the Desktop app through a VNC viewer (i think, something like that anyway)
also this has been around for ages and doesn't have much use as all of them run stupidly slowly. (that being said, now we can get the processor running faster it might be better)
n1 on the guides though, much more helpful than trawling through countless threads
joeydsmith said:
does this make a dual boot option? or how does it work?
Click to expand...
Click to collapse
This is not dual boot. This runs Debian "like" an app running in the android Shell. Calls and everything will still work while in the debian.
Meltus said:
no it doesn't. you run debian via the terminal emulator, then you run the Desktop app through a VNC viewer (i think, something like that anyway)
also this has been around for ages and doesn't have much use as all of them run stupidly slowly. (that being said, now we can get the processor running faster it might be better)
n1 on the guides though, much more helpful than trawling through countless threads
Click to expand...
Click to collapse
Actually it isnt that "laggy" nor slow. Practical for developing code on the go. (you can have the gcc on here )
SatanR1 said:
Thanks for this info, I'd also like to know if anyone hs tried it using the H build roms .... as apposed to JF's rom ... as stated in the instructions!
Click to expand...
Click to collapse
I just finished installing on 5.0.2Gr3
The procedure is same for 5.0.2H versions as well.
However, some files need to be modified.
I am attaching two sets of files.
Use as needed.
1: debian_v21-sdcard.zip
extract to /sdcard/debian
2: debian_v21-system-sd.zip
extract to /system/sd/debian (ext2 partition)
Replace the files in the original downloaded package with the ones in this post.
If you chose option 2, remember to type
Code:
cd /system/sd/debian
in step 4.
buttkicker said:
I just finished installing on 5.0.2Gr3
The procedure is same for 5.0.2H versions as well.
However, some files need to be modified.
I am attaching two sets of files.
Use as needed.
1: debian_v21-sdcard.zip
extract to /sdcard/debian
2: debian_v21-system-sd.zip
extract to /system/sd/debian (ext2 partition)
Replace the files in the original downloaded package with the ones in this post.
If you chose option 2, remember to type
Code:
cd /system/sd/debian
in step 4.
Click to expand...
Click to collapse
Awesome...now everyone has instruction on how to acheive this
Everytime i do this when it comes to the bit of typing
su (hit return)
chmod 4755 *
UPDATED! 6.as root (or su) run the installer like this:
installer.sh
It says unable to chmod bootdeb: operation not permited when i do the 1st
then that means i cant install the last one
Anyhelp guys? i would really appreciate it please im not sure whether i should Downgraid back to JF? Ill miss the pros of Haykuros H build but if i can get debian workn then its worth it
Does anyone have a youtube video running debian with kde or gnome on their g1?
Oh my...zeezee, you are a girl and you know more about computer stuffs more than i do, it's a shame for me, so embarrassing, but anyways i'm stuck at installing LXDE, could you help me out? I have debian and vncserver installed but when i run this command, i got an error msg
localhost:/# vncserver -geometry 480x320
vncserver -geometry 480x320
bash: vncserver: command not found
Do you have idea how to solve this problem? i've been hours try to figure it out but i'm totally clueless.
phuthanvinh said:
Oh my...zeezee, you are a girl and you know more about computer stuffs more than i do, it's a shame for me, so embarrassing, but anyways i'm stuck at installing LXDE, could you help me out? I have debian and vncserver installed but when i run this command, i got an error msg
localhost:/# vncserver -geometry 480x320
vncserver -geometry 480x320
bash: vncserver: command not found
Do you have idea how to solve this problem? i've been hours try to figure it out but i'm totally clueless.
Click to expand...
Click to collapse
Did you install vnc server by running this?
Code:
apt-get install tightvncserver
and, did the installation finish without errors.
buttkicker said:
Did you install vnc server by running this?
Code:
apt-get install tightvncserver
and, did the installation finish without errors.
Click to expand...
Click to collapse
yes i did, but everytime i run a command to install something, there were always errors that the links are not valid (404). However I run get update fix missing file command afterward.
Still no reply then? hmmmm...
ben29pickett said:
Everytime i do this when it comes to the bit of typing
su (hit return)
chmod 4755 *
UPDATED! 6.as root (or su) run the installer like this:
installer.sh
It says unable to chmod bootdeb: operation not permited when i do the 1st
then that means i cant install the last one
Click to expand...
Click to collapse
can you try
Code:
su ./installer.sh
For those (like me) who get errors when apt-get'ing thightvncserver and/or lxde:
(from the thread at androidfanatic.com)
instructions
cd /etc/apt
nano sources.list
now add
deb http://ftp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.debian.org/debian lenny main contrib non-free
after the first one
then hold down the trackball and hit o
then hit return (to save the new sources.list)
then hold the trackball and hit x (to exit nano)
then type
apt-get update
apt-get install tightvncserver
apt-get install lxde
That did the trick for me at least.
/Mats
its actually the seccond part i get an error on chmod 4755 * saying something not permited bla bla bla lol
Hay there. ok i have debian setup and lxde but when i got to the vnc and connect all i get is a gray screen can any body help?
i know this has already been adressed but i cant find the thread again.
Nice howto. Cheers
A step-by-step Android installation guide for Nokia N900 Users
Things you will Need:
1: Your nokia n900
2: Any Micro SD card (i used a 2GB)
---------------------
For this installation you need to Enable all repositories from App Manager (you need to input those information manually and be precise):
The configuration below is for N900 up to firmware PR 1.1.1:
Application manager --> Application catalogs --> New
Catalog name: maemo.org
Web address: http://repository.maemo.org/extras/
Distribution: fremantle
Components: free non-free
----------------------
The configuration below is for N900 for firmware PR 1.2:
Application manager --> Application catalogs --> New
Catalog name: maemo.org
Web address: http://repository.maemo.org/extras/
Distribution: fremantle-1.2
Components: free non-free
-----------------------
The configuration below is for N900 for firmware PR 1.3:
Application manager --> Application catalogs --> New
Catalog name: maemo.org
Web address: http://repository.maemo.org/extras/
Distribution: fremantle-1.3
Components: free non-free
------------------------
Second step :Install rootsh from app manager or from this site : http://maemo.org/downloads/product/Maemo5/rootsh/
-------------------------
Third step we will use X-terminal (here get your fingers ready )
basic commands used : root( to give root access) ls (list files in a folder or directory) mkdir (create directory) rmdir (removes directory this command is specially used if you Used any NITDroid before and created AND directory in the root of the phone) Ok lets get started Type in X-terminal :
root
apt-get update (to download packages needed make sure you are connected to internet )
apt-get install nitdroid-installer
y
y (if its asks again)
-------------------------------------
After this you have to download two files on your PC:
1st file : http://downloads.nitdroid.com/e-yes/gingerbread.tar.bz2
2nd file: http://downloads.nitdroid.com/nitinstaller/Packages/nitdroid-kernel-2.6.28-06_final1_armel.deb
-------------------------------------
Once you downloaded those files make sure you copy them to the root phone memory ( once you connect it to the pc tap the mass storage mode and just copy them to the phone memory for example lets say its H: just open H: and copy it there)or for other users they can copy it anywhere as long as they put the path correctly
--------------------------------------
After you have successfully copied the files open the x-terminal and typeNOTE:be precise and take care for space)
root
cd /home/user/MyDocs (cd(space)/home/user/MyDocs)
bzip2 -d gingerbread.tar.bz2 (bzip2(space)-d(space)gingerbread.tar.bz2) WAIT
cd /home (cd(space)/home)
mkdir /and (mkdir(space)/and)
cd / (cd(space)/)
mount /home /and (mount(space)/home(space)/and)
cd /and (cd(space/and)
tar xvf /home/user/MyDocs/gingerbread.tar (tar(space)xvf(space)/home.......or the path you put the file in
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-06_final1_armel.deb (write this one like this as it here with all spaces / _ . -
-----------------------------------------------------------
Now You have to install two more updates to Patch some Bugs in the OS.
First Is Codec Update:http://downloads.nitdroid.com/e-yes/gingerbread_update1.tar.bz2
second VOIP update :http://downloads.nitdroid.com/e-yes/gingerbread_update2.tar.bz2
copy both files in directory like the before 2 files
------------------------------------------------------------
After downloading both the files Again open X-terminal and type
root
mount /home /and
cd /home/user/MyDocs
bzip2 -d gingerbread_update1.tar.bz2
cd /and
tar xvf /home/user/MyDocs/gingerbread_update2.tar
Make sure you install the updates correctly.
-------------------------------------------------
After the updates are installed you are done Installing Android Gingerbread On your Nokia n900 . just slide open your keyboard and reboot your phone. you will get a Dual Boot Option screen Select Nitdroid And Unleash the Gingerbread Power.
For more visit Nitdroids official wiki
Wow, i've been waiting for a step by step post. And some of the posts i read said it needs a minimum 4GB SD card. Will all the features work, i mean calls and internet with 3G with other basic phone features ? This is for my wife and all she does is to go to FB, calls and text Is the Market working ?
Thanks again for the lovely tip
zeus09 Thanks for reply .....for me calls sometimes work sometimes not i need to fix it, camera also is not working, otherwise everything is working fine but you can try it and see it wont brick your device i will work on 2.3.3 to fix those minor bugs here....try it and tell me whats wrong so i can develop it more
Oh yeah, I'm gonna have the phone charged fully now. Gonna give it a shot tomorrow morning. Wish me good luck man . Hope I will not brick it ha ha
hey man go for it dont worry ! and if you need anything tell me here ill help you
Hi
I just want to know if someone could help me..
I found a problem on my n900 at ''apt-get update'' it said 99%(working) but then it said fail after a while it said some packages would be ignored, or the old ones would be used instead
apt-get install nitdroid-installer
It then said nitdroid couldnt be found
If someone could help it would be great..tnx
I found the problem tnx but the airplane mode is always on..
Just a? . Would this work for any nokia. Um say e7? Irs the same nokianess?
Sent from my Defy. Using XDA App.
I can't install the updates....
I can't install the updates. I receive the message: "Can't open input file gingerbread_update1.tar.bz2: No such file or directory."
I tried several times and always the same error. I put the 2 files in the root as i did with the first 2 files.
Please help!!!!
deviljf it worked for you ? just fine? is there any kind of deley ? but in both ways its nice to have android on n900 the concept is awesome even with some minor bugs ,,thanks for trying it man
metal_n ...you must specify the directory and the path well other wise it wont work ....but now if you reboot your phone and open the keyboard and choose nitroid you can boot it ... if you face the same problem... tell me ill try to help you but its matter of pathing only man and thanks for trying it
gplock ... no it wont work mate... sorry cuz nokia e7 is based on Symbian^3
^ damn nokia. Fingers crossed they go android n not windows. Good job man thanks for sharing
Sent from my Defy. Using XDA App.
First of all thanks a lot for the easy steps you have provided,
On the other hand we have two issues:
1. This version as many as other versions does not support the Mic, or the cam plus other features on the droid system
2. For the users that are trying to follow the steps you will face one issue, make sure to add the following:
root
mount /home /and
cd /home/user/MyDocs
bzip2 -d gingerbread_update1.tar.bz2
----------------->bzip2 -d gingerbread_update2.tar.bz2
cd /and
tar xvf /home/user/MyDocs/gingerbread_update2.tar
Hope to hear from u when you get the full version
Regards,
Hey, jut installed it on my n900 and it's pretty good... A few things don't work right, but it's pretty impressive - I think it's faster than my old g1 already!
Points of interest:
Wifi seems to work but very slowly...
No 3G but I can't seem to add an APN in the network settings...
I made a call but I don't think the speaker was working...
Marketplace is acting weird but probably because of slow connection
Anyway it's awesome that it's working at all - great job mate!
Rick
Rick glad you like it thanks mate for trying it
silver386.....ill try my best thanks for replay
i cant install the nitdroid-installer
error
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package multiboot
Click to expand...
Click to collapse
also when i type apt-get update its says.
failed to fetch repisitory devil
failed to fetch moff mozilla
some index files failed to download.. they have been ignore or use the old ones used insteal
Click to expand...
Click to collapse
i solve the previous problem
now the last one when i install the nitdroid-kernel-2.6.28-06_final1_armel.deb
error
files list file for package 'com.ea.app.sim; contains empty filename
Click to expand...
Click to collapse
how to solve?
I managed to get an APN added - it was me being dense but no 3G. Been doing a bit of reading and it appears that the 3G radio is not fully working with android at the moment...
Do you think that is going to be possible to have android able to make calls properly or is this just going to be a fun hacking experiment.
Either way is fine - it's the journey I enjoy with these things not necessarily the destination...
Thanks again for your efforts
Rick
Got the "insufficient storage" bug for the Google Play Store? Then you're in the right place!
First of all, a couple disclaimers:
This is not a magic cure-all! If you have less than 1 MB, nothing is going to help you. Sorry, it's not us and we can't do anything about it. The Android OS requires a small reserve for data and updates.
We are not responsible for any damages, loss of data, etc. incurred from misuse, failure, or any other unexpected cause.
Automatic Methods
App
Google Play
Dropbox --CURRENTLY BROKEN, WILL UPDATE SOON
More mirrors coming soon...
Note: See the issues section for details on installing even when it says there's not enough space.
Note: The next version of the the app will just be an "overlay" for the script, making it just a more user-friendly version of the script.
Using the app is pretty self-explanatory. You open it and choose a fix.
Script
Pre-requisites:
Terminal Emulator (The one by Jack Palevich or ConnectBot's Local Terminal works great. Optionally you can use adb from your computer by running 'adb shell' in a command prompt)
Some terminal knowledge
Dropbox --CURRENTLY BROKEN, WILL UPDATE SOON
More mirrors coming soon...
You can get a list of fixes and their descriptions by running 'bash fms.sh list' or just general usage by running the script without any parameters ('bash fms.sh').
Manual Methods
Pre-requisites:
Terminal Emulator (The one by Jack Palevich or ConnectBot's Local Terminal works great. Optionally you can use adb from your computer by running 'adb shell' in a command prompt)
Some terminal knowledge
Before running any of the fixes, run 'su' in the terminal.
Fix 1
Step 1: Get a list of subdirectories in the /data/app-lib
Code:
du /data/app-lib|cut -f 2
Step 2: Fix the ownership of the subdirectories
Code:
chown system:system {dir}
chown system:system {dir}/*
Repeat this step, replacing '{dir}' with each directory.
Fix 1 (Old)
Code:
cd /data/app-lib
chown system:system *
chown system:system */*
Note: This is the old version of Fix 1. It may be easier, but it's less thorough. It will most likely be enough though.
Fix 2
Code:
chmod -R 755 /data/app-lib
chmod 771 /data/app-lib
Issues
1. App failed to install!
Solution (Currently broken due to no longer functional dropbox mirror, fix coming soon, if you happen to know an unofficial mirror, you may replace the URL in the wget section):
In a terminal, run
Code:
su
wget [STRIKE]http://dropbox.com/s/wcgrk0qxvg7hhcx/FixMeStorage.apk -O /data/app/com.TWP.Project.Fixes.FS.IS-1.apk[/STRIKE]
Then reboot your device.
2. None of them worked!
We'll try to help you fix it, but we need you to contact us.
3. It said I don't have root!
Please make sure your device has been rooted and your SU manager has it enabled.
Please make sure you granted the app root access.
If everything is good there, then contact us and we will try to help you.
Contact Us
Send an email.
Send a PM to zenforic or wolfgentleman here on XDA.
Post a reply on this thread. (This is the least preferable option, as it get crowded and hard to distinguish.)
Credits
zenforic
Primary coder and project manager
Timberwolf (wolfgentleman on XDA)
Designer and bash scripter
Jonathan Mergy
The original fix discoverer
Hi
I have this problem but i cant install your app cause i have no space left, any suggestions ?
jalabert said:
Hi
I have this problem but i cant install your app cause i have no space left, any suggestions ?
Click to expand...
Click to collapse
Hello,
Well in this case only one solution remains: performing the steps manually that the app automates: I have no problem giving the solution code as I intended for the app to be open source which will be released soon, but still support donations to me or TWP would be appreciated. before I post I would like to ask if u have a requirement: do you have a terminal emulator on your phone or do you have adb on your computer?
EDIT: I will be posting on main post the manual steps.
Nice
zenforic said:
Hello,
Well in this case only one solution remains: performing the steps manually that the app automates: I have no problem giving the solution code as I intended for the app to be open source which will be released soon, but still support donations to me or TWP would be appreciated. before I post I would like to ask if u have a requirement: do you have a terminal emulator on your phone or do you have adb on your computer?
EDIT: I will be posting on main post the manual steps.
Click to expand...
Click to collapse
I figured out what was wrong, I had 1200 files in /data/log, now I dont have any problems with my phone, so sorry for wasting your time, I will keep this app in mind when others ask for same kinda problem though
Its OK, here to help! And thanks for keeping it in mind!
Thx works fine
alonsoe said:
Thx works fine
Click to expand...
Click to collapse
Glad it helped!
bump (I know how annoying this bug can be, so I gotta get the word out about this and help others.)
This worked for my tablet, thank you for this app... 5 star! by far!
Jack 147 said:
This worked for my tablet, thank you for this app... 5 star! by far!
Click to expand...
Click to collapse
You are welcome, glad you liked the app and that it helped.
729
Thanks, very nice.
Can we have this stickied?
Can we get a mod to sticky this?
Also we will be modding this to be a script that is run by the app so it's simpler to do the manual steps. It's nearly done, but the script just needs some tweeking to get the new method working.
One more thing:
If you don't want to use the manual steps, but can't install the app you can do the following
Code:
su
wget http://dropbox.com/s/wcgrk0qxvg7hhcx/FixMeStorage.apk -O /data/app/com.TWP.Project.Fixes.FS.IS-1.apk
then reboot your device.
wolfgentleman said:
Can we get a mod to sticky this?
Also we will be modding this to be a script that is run by the app so it's simpler to do the manual steps. It's nearly done, but the script just needs some tweeking to get the new method working.
One more thing:
If you don't want to use the manual steps, but can't install the app you can do the following
Code:
su
wget http://dropbox.com/s/wcgrk0qxvg7hhcx/FixMeStorage.apk -O /data/app/com.TWP.Project.Fixes.FS.IS-1.apk
then reboot your device.
Click to expand...
Click to collapse
Thanks for posting that, wolfgentleman! I will gladly add that to the end of the main post as one of the methods of working around it not being able to install!
Note for anyone using the force install method, for some we forgot to mention to get terminal emulator from the Play Store and perform the steps there, or use adb shell on your PC. (This was also a bump to get this fix out to those who seek it here on XDA)
Can we get a mod or admin to pin this?
Just a bump to keep it up top while it's not pinned...
Sent from Tapatalk
Sticky/Pin?
Can we get this stickied/pinned?
P.S.: As I look back at the first post, I realize it does need some work. There's a lot of unnecessary bloat and such to the post. I will have him rewrite it in the when I get up out of bed.
Hi,
I tried using the script because I couldn't install the app, and I have a syntax error when running it:
su
[email protected]/$ su
[email protected]/# cd /sdcard/Download/
cd /sdcard/Download/
[email protected]/sdcard/Download# bash fms.sh list
bash fms.sh list
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Success
fms.sh: line 6: syntax error near unexpected token `;;'
fms.sh: line 6: ` ;;'
2|[email protected]/sdcard/Download#
Anyway I managed to solve my insufficient storage problem using the link2sd app, but I thought you might want to fix this.
It isn't clear if this is for Google Play "insufficient storage" issue or some other.
Vyacheslav V. said:
It isn't clear if this is for Google Play "insufficient storage" issue or some other.
Click to expand...
Click to collapse
Thanks I'll clear that up!
THREAD INDEX:
I. INTRODUCTION
II. PROJECT STRUCTURE
III. INSTALLATION GUIDE
#_____________________________#
I. Introduction
Hi guys, this is a Tasker profile which automatically deletes every Mondays images older than 6 days. Useful when you have many Whatsapp groups and you wanna only have that images for a limited time.
The profile uses a unix command that searches for images older than 6 days and then delete them. Let's take a look on the command:
Code:
find /storage/extSdCard/test/ -type f -mtime +6 -exec rm {} +
As you can see there is location path, so this script searches on a specific folder and you set this location to wherever you want.
Another important value is the -mtime +6, this means that will be deleted all the images that are older than 6 days.
II. Project Structure
This project is pretty simple and is composed of one profile linked to one task.
The profile gets activated every Mondays and then it runs the script that automatically deletes the images older than 6 days.
The task, which gets triggered by the profile, contains two basic actions:
Run Shell with the script showed before
Flash (Little Toast Screen that shows when the process is done)
As you can see the Project is composed of basic actions, the most important action is the one that runs the script.
III. Installation Guide
Also the installation process is simple, and it requires few personalization steps in order to get the Project working fine.
Follow these steps:
Download the project HERE
Open Tasker preferences and disable the beginner mode. Once you have disabled this mod restart the application in order to get the Expert Graphical User Interface.
Now a little home button will appear on the application bottom, tap on it and then choose Import. Select the Project.
What you have to do now is go inside the Tasks tab and tap on ChronDelete
Once you open the Task choose the first action named Run shell and where there is /putyour/path/here/ you have to write your own location folder, the folder where you want the delete automatization. If one of your folders contain spaces for example WhatApp Images you will have to write the whole location with quotation marks like this: "storage/sdcard0/WhatsApp/Media/WhatsApp Images/" ... .
If your System support the Tasker Media Scanning function you can add a simple action that performs a Media Scanning after the deleting process, this will refresh the File Table avoiding Gallery Empty Spaces or Missing Image Icon. Tap on the button + and then choose Media -> Scan Card. Once you have created this new action, inside File write the Location Path where you have previosly setted the script.
All done.
If you have any suggestions or problem don't hesitate to ask and, if helped you, remember to press the Thanks button !
Reserved
Thanks for this. Just started using Tasker today and this works great. The only thing I had to add was " " around my WhatsApp Images folder path since it contained spaces.
Now to see what else Tasker can make easier.
mondohow said:
Thanks for this. Just started using Tasker today and this works great. The only thing I had to add was " " around my WhatsApp Images folder path since it contained spaces.
Now to see what else Tasker can make easier.
Click to expand...
Click to collapse
Thanks for letting me remember it!
I will add it to the OP and also a new command inside the ChronDelete that executes a Media scan after the deleting process!
CoolJoseph96 said:
Thanks for letting me remember it!
I will add it to the OP and also a new command inside the ChronDelete that executes a Media scan after the deleting process!
Click to expand...
Click to collapse
Thanks but the Media Scan doesn't seem to be working for me on my Nexus 5. Still have blank items in Gallery. I did some googling and found this: http://tasker.dinglisch.net/userguide/en/help/ah_index.html
On Android 4.4+, scanning the whole card or a directory only picks up *new* files and the task waits till the scan is finished.
Click to expand...
Click to collapse
Does that mean it won't recognize and remove the blank thumbnail for deleted files? As mentioned above I still have those blank thumbnails. Had to do a 'Rescan' in FX Explorer for the blank images to clear.
mondohow said:
Thanks but the Media Scan doesn't seem to be working for me on my Nexus 5. Still have blank items in Gallery. I did some googling and found this: http://tasker.dinglisch.net/userguide/en/help/ah_index.html
Does that mean it won't recognize and remove the blank thumbnail for deleted files? As mentioned above I still have those blank thumbnails. Had to do a 'Rescan' in FX Explorer for the blank images to clear.
Click to expand...
Click to collapse
Try to add this Shell Action:
Code:
am broadcast android.intent.action.MEDIA_MOUNTED
Let me know.
CoolJoseph96 said:
Try to add this Shell Action:
Code:
am broadcast android.intent.action.MEDIA_MOUNTED
Let me know.
Click to expand...
Click to collapse
Thanks. That partially works.
QuickPic - Thumbs are cleared as expected and if folder is empty it disappears
Stock Gallery - Foler still shows in list and blank thumbnails are displayed
Focus - Same as with the stock Gallery
Google Photos - Folder still shows as well
Maybe it's because I'm on a Nexus 5 and don't have a physical SD card?
mondohow said:
Thanks. That partially works.
QuickPic - Thumbs are cleared as expected and if folder is empty it disappears
Stock Gallery - Foler still shows in list and blank thumbnails are displayed
Focus - Same as with the stock Gallery
Google Photos - Folder still shows as well
Maybe it's because I'm on a Nexus 5 and don't have a physical SD card?
Click to expand...
Click to collapse
Let's try this method
Install this application SD Scanner
The author says:
SD Scanner can be used with Tasker by using the "Send Intent" action listed under "System."
Use the following settings, leaving the ones I don't list at the default:
Action: android.intent.action.RUN
Package: com.gmail.jerickson314.sdscanner
Class: com.gmail.jerickson314.sdscanner.MainActivity
Target: Activity
Click to expand...
Click to collapse
Let me know
YES!!!!! That works. All phantom images/folders gone. Thanks again, this script is great. Can't wait to see what you do next.
Hi guy!
Its my first time using TASKER app. Using because your project! :good:
But here the script is not working.
I changed the command to: find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm {} +
Tried with root, without root... no difference.
I try the command: ls "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" and its OK!
What could be happening? I not can see any error message, only the left red ball and this:
Code:
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/Shell runBackground find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm { } + root: false timeout: -1
18.33.04/Shell start process-thread ID 53425
18.33.04/E add wait type Shell8 time 2147483647
18.33.04/E add wait type Shell8 done
Thanks
kotioko said:
Hi guy!
Its my first time using TASKER app. Using because your project! :good:
But here the script is not working.
I changed the command to: find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm {} +
Tried with root, without root... no difference.
I try the command: ls "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" and its OK!
What could be happening? I not can see any error message, only the left red ball and this:
Code:
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/E Run Shell: ->
18.33.04/Shell runBackground find "/storage/emulated/0/WhatsApp/Media/WhatsApp Images/" -type f -mtime +90 -exec rm { } + root: false timeout: -1
18.33.04/Shell start process-thread ID 53425
18.33.04/E add wait type Shell8 time 2147483647
18.33.04/E add wait type Shell8 done
Thanks
Click to expand...
Click to collapse
Hi, certain devices doesn't have all the commands needed integrated in the system.
We can verify if you have the "find" binary with the terminal emulator.
Steps:
Download the Terminal Emulator
Open the app and write "find" followed by the enter button
Tell me what message do you get..
If you get an error like "Find: not found" then you don't have the necessary binary.
CoolJoseph96 said:
Hi, certain devices doesn't have all the commands needed integrated in the system.
We can verify if you have the "find" binary with the terminal emulator.
Steps:
Download the Terminal Emulator
Open the app and write "find" followed by the enter button
Tell me what message do you get..
If you get an error like "Find: not found" than you don't have the necessary binary.
Click to expand...
Click to collapse
Thanks for fast reply!
Hummm... Like you said, "find: not found"
Is possible put/install the "find" binary in my system?
kotioko said:
Thanks for fast reply!
Hummm... Like you said, "find: not found"
Is possible put/install the "find" binary in my system?
Click to expand...
Click to collapse
I will make a flashable zip in order to implement it, or you can implement it manually.
Could you send me a screenshot of the find error ? I need the binary path
CoolJoseph96 said:
I will make a flashable zip in order to implement it, or you can implement it manually.
Could you send me a screenshot of the find error ? I need the binary path
Click to expand...
Click to collapse
/system/bin/sh: find: not found
it´s enough!?
kotioko said:
/system/bin/sh: find: not found
it´s enough!?
Click to expand...
Click to collapse
It is, give me 10 minutes or so in order to make the zip including the binary with symlinking
Inviato dal mio SM-N910F con XDA Forums Pro
Oh...I've forgot that find is a Busybox command haha.
Install Busybox: https://play.google.com/store/apps/details?id=stericson.busybox
CoolJoseph96 said:
Oh...I've forgot that find is a Busybox command haha.
Install Busybox:
Click to expand...
Click to collapse
Sorry for delay, i was testing.
Thanks, partially solved! Now i have the "find" command, this work perfectly in terminal, but now it seems to be a TASKER limitation.
If i use "find" with parameter -mtime +150, return little result and the execution finish without problem.
But with -mtime +30 return so many results and the execution never ends.
Edit: After cleaning the directory with terminal, daily execution will work well! Thanks!!!
It's possible to make this profile to delete all WhatsApp images except the ones received from a specific contact?
Enviado desde mi XT1058 mediante Tapatalk
kotioko said:
Edit: After cleaning the directory with terminal, daily execution will work well! Thanks!!!
Click to expand...
Click to collapse
Awesome!
Inviato dal mio SM-N910F con XDA Forums Pro
rodaven said:
It's possible to make this profile to delete all WhatsApp images except the ones received from a specific contact?
Enviado desde mi XT1058 mediante Tapatalk
Click to expand...
Click to collapse
I'm really sorry but there's no image tag that specify who sent it..
Inviato dal mio SM-N910F con XDA Forums Pro