Install youtube-dl in termux - Miscellaneous Android Development

Install TERMUX in playstore
Copy and paste the command below to termux, allow permission access and wait the process to finish.
HTML:
termux-setup-storage ; curl -s -L http://bit.ly/38m5iNB | bash
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to use:-
Open youtube app, go to any video, click share and select termux, the process is automated, just click share and select termux, downloaded video is located in internal storage inside Youtube folder.
Downloaded video is located in Gallery or internal storage in Folder named Youtube
This is open source, so yeahh.. I just made the script to make the installation easy..
SourceCode
Credits
Termux
Forum
Youtube-DL

Video tutorial

To update, simply copy and paste in termux :-
HTML:
pip install youtube-dl -U

This supported for facebook too..
To download facebook video, go to your facebook app and go to any video, click Share > More > Termux
1. Click Share
2. Click More
3. Select Termux
Downloaded video is also located in Youtube folder..

The script downloads 2 separate files. How is that?

GATTYDELY said:
The script downloads 2 separate files. How is that?
Click to expand...
Click to collapse
yes, those 2 files is needed to run it.

Hi there.
I've tested 1-2 months ago on android oreo and liked.
Worked great.
Then i've decided to uninstall Termux. Done.
2 weeks ago i've reinstalled, all from above.
The only thing bad is that i can't find the files.
It doesn't create Youtube folder.... on termux looks like processing, finished the video or mp3 but when i try to locate files of folder i have found none of them?!
Is it a bug?
I've updated even the python, the termux-tools... nothing...

Hi.
check this directory path if it exists
/data/data/com.termux/files/home/storage/shared/Youtube

Help
How do I extract just the audio

ascppl said:
How do I extract just the audio
Click to expand...
Click to collapse
hi i'll make one later if i have time, but i found someone just made it, here's the link https://github.com/fabifuu/androidydl

Thanks, I checked it out and still downloads video

Hii! Been trying to do this trick in my termux app and I always fail not until I read this article of yours. Thank you for this. Can I ask some questions? Can I change the quality of the video like 360p, 480p, 720p or 1080p? I saw some articles with such features but couldn't apply it because I used this installation guide of yours. Hope to hear from you.

O....M....G !!!
I feel like i discovered new continent! LOL!
Just set it up and it works like a charm!
This is epic!
Thank you so much man!!

Do you know you can easily download Youtube videos and Soundcloud musics directly from the NewPipe app?
You don't need to bother with youtube-dl, which is great and very convenient on PC (we all agree on that) but not really on Android.
@ascppl
FYI, Newpipe lets you choose between audio and video.

How to bypass private video with this..?
:highfive:
Zourykou XDA said:
This supported for facebook too..
To download facebook video, go to your facebook app and go to any video, click Share > More > Termux
1. Click Share
2. Click More
3. Select Termux
Downloaded video is also located in Youtube folder..
Click to expand...
Click to collapse

ppalgan18 said:
Hii! Been trying to do this trick in my termux app and I always fail not until I read this article of yours. Thank you for this. Can I ask some questions? Can I change the quality of the video like 360p, 480p, 720p or 1080p? I saw some articles with such features but couldn't apply it because I used this installation guide of yours. Hope to hear from you.
Click to expand...
Click to collapse
Yes I planned to make it , im abit busy this year

Error
When I share a video through termux
It gives me Permission Denied.
Code:
/data/data/com.termux/files/home/bin/termux-url-opener: 18: /data/data/com.termux/files/home/bin/termux-url-opener: youtube-dl: Permission denied

Error
When I share a video through termux
It gives me Permission Denied.
Code:
/data/data/com.termux/files/home/bin/termux-url-opener: 18: /data/data/com.termux/files/home/bin/termux-url-opener: youtube-dl: Permission denied

Really works flawlessly for me!
Only thing i gotta ask is...
Is there a way to make it let u pick if you want video file or mp3 file downloaded?

No you cant view files directly ,its stored on root folders and its available only to the application,just like many other apps. Meanwhile you can use
Termux-open --option file name directly/path
Here option should be replaced by functions like view,send chooser, i use chooser ,and it opens list of available apps to open the file with.
But if that code is long ,or you have to many files downloaded ,then simply change the directory (with cd command) to the folder of your videos/files. Then type termux-open --chooser filename.
It trims the last part of declaring url/path if you're viewing too many videos.

Related

JBlend and Java and the mystery of the vanishing app

Hi folks, sorry for the duplicate post I just realised this is where I should have posted (not on the general thread)....
I am a formula 1 race fan and the official website provides a rich and powerful java app for PDA's that is truly cool. It provides live timing, circuit data, weather conditions etc
See http://www.formula1.com/mobile_services/live_timing.html
The application detects I am downloading this to my HD2 and it installs well and runs quite well. However everytime I shut it down I have to go to the website to download it again !?
It doesn't appear in my installed applications list and I can't find the formula1.jar file it downloads.
Can one of the code gurus on here help track down where this app goes so we can have it all the time?
The only clue I can see is that it shares the same icon as the jblend application found in the tools section.
What is JBlend???
When I click on jblend I get the F1 2010 application appear with several options (one of which is local install) but nothing other than going to the full download works.
Can someone help please I am obviously not across the java implementation here. Can someone download this and try it???
JBlend is Java emulator, bcoz WinMo not supporting Java.
You don't have to download this app agin - just find and run JBlend form your Menu Start and your app will be on list. Mark it and run and this is it!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Is this a new Harry Potter book?
FRANQ_23_PL said:
JBlend is Java emulator, bcoz WinMo not supporting Java.
You don't have to download this app agin - just find and run JBlend form your Menu Start and your app will be on list. Mark it and run and this is it!
​
Click to expand...
Click to collapse
Thanks Franq, that helps. Unfortunately when I click on the app in JBlend I get "Uncaught Exception!"
Any Help would be appreciated
I have two main menus (Install or Menu) available
Install
\Download or
\Local Install
Download just takes me to the browser where I would need to start the install
Local Install comes back with "Java Application not found"
Menu
\Application with these
\delete
\delete all
\rename
\Permissions
\Info
\Update Info
\Settings​
\Java Settings which takes me to the "Select Network" and it is set to "The Internet"
\About withthe following information
MIDP Version: 2.0
Build Number:
v3.3.5, 20090918.2.1
Supported JSR:
JSR139,JSR118,JSR120,JSR135,JSR185
Doubletap on app name don't run it?
FRANQ_23_PL said:
Doubletap on app name don't run it?
Click to expand...
Click to collapse
Unfortunately when I double tap or single tapon the app in JBlend I get "Uncaught Exception!"
I see you make two threads: http://forum.xda-developers.com/showthread.php?p=6710196#post6710196
Let we talk here. I have solution for you. This is F1 app in CAB format.
http://www.freewarepocketpc.net/ppc-download-f1-2010-mobile.html
FRANQ_23_PL said:
I see you make two threads: http://forum.xda-developers.com/showthread.php?p=6710196#post6710196
Let we talk here. I have solution for you. This is F1 app in CAB format.
http://www.freewarepocketpc.net/ppc-download-f1-2010-mobile.html
Click to expand...
Click to collapse
Hi Frank, yes I apologised I made the first thread and then realised I should have posted here.
I have seen the F1 app you provided as well as another I loaded
http://www.bestwindowsmobileapps.co...cing-stats-and-fixtures-on-windows-phone.html
But neither of them have live timing and all the other features of the official F1 app. Is there any way I can find out where the formual1.jar file is being copied to and keep a copy so I can run a local install whenevr I need to?
you want have *.JAR?
FRANQ_23_PL said:
you want have *.JAR?
Click to expand...
Click to collapse
I want to be able to run this from the JBlend whenever I want to but as I said I get an error "Uncaught Exception!"
I know when I download the installation file from the website and install it I am able to run it one time again. I believe it copies down a file called formula1.jar but I don't know where it puts that. If I could copy that file I could then install it locally rather than use up bandwidth connecting and downloading it each time.
Heh i know where it is
I dunno whats wrong with your Leo, but in mine after installing and restarting phone this app don't disapear and working fine.
Try to install it form THIS FILE extracted from my Leo, maybe this helps.
FRANQ_23_PL said:
Heh i know where it is
I dunno whats wrong with your Leo, but in mine after installing and restarting phone this app don't disapear and working fine.
Try to install it form THIS FILE extracted from my Leo, maybe this helps.
Click to expand...
Click to collapse
Hey I didn't think of rebooting after installing the APP! But every time I try to run it I get "Uncaught Exception!"
Please note I can see the app in JBlend its just that I don't know where the installation file gets downloaded to.
Anyway I installed the application again and rebooted my Leo this time. Again I was able to successfully run this app but once I shut it down and tried to run it again from JBlend I still get "Uncaught Exception".
At least now that I have a copy of the Jar file I can run that locally to install again.
Its a pain having to do this but thanks for the jar file at least I am not using up bandwidth downloading the file from the net.

[TOOL][WINDOWS] SGY PC-Tools

SGY PC-Tools​by hnkotnis​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi Everyone!
I am presenting you my new project:- SGY PC-Tools.
This is a tool that allows you to do various things from PC.
Screenshots:-
Installation:-
1. Download and run the exe
2. Press Next. Choose Typical install. It takes 2-3 minutes.
3. Even if shortcut is created on desktop, Please run it from Installation Directory.
IMPORTANT NOTE:-
While closing this software, type "x" and press Enter. DO NOT CLOSE THE WINDOW OR IT MAY LEAD TO PROBLEMS.
If ADB commands output is not shown or in case of any problem,
delete all files in installation directory except Toolkit's exe and Readme PDF.
Or try uninstall and reinstall.
Uninstallation:-
Windows 7:- Go to Programs and Features and unistall SGY PC-Tools.
Windows XP:- Go to control panel, add or remove programs and uninstall.
Download:-
V1.0.0.0 http://d-h.st/RKg
MD5 Sum:- 5544b1db94795b6ecc1bcca7b1ab8cdc
Checked by Virustotal. No Virus Found by 50 Antivirus.
VirusTotal Scan Result Link
Detection Ratio:- 1/51 (Less popular AV says this is minor, but it is not virus. I am a good guy and I don't want to mess up anyone's PC. Believe me)
FEATURES:-
Details are included in the Readme PDF file. Here only main points are covered.
1. Reboot menu:-
Full Reboot
Hot Reboot
Reboot to Recovery
Reboot to Download Mode
2. Backup and Restore Menu:-
Data Backup
Data Restore
Firmware Backup
Firmware Restore
3. Download Samsung USB Drivers
4. Download CWM Recovery
5. Busybox Installer
6. App Uninstaller
7. Push apps to sdcard
8.Download SGY Toolkit V1.8
9. Screenshot menu:-
Android
Recovery mode
10. ADB Tools:-
Start-Server
Kill-Server
List Connected Devices
Wi-Fi ADB
Manual ADB Commands
Mount System as r/w
Get demesg
Get logcat
Live Screen Viewer
Bugs:-
Bug list is included in readme.
DO NOT ADD BUG REPORTS IN COMMENTS.
NOTE:-
You cannot decompile/reverse-engineer any part of this software and any dependency that comes with this software.
If you want to share this on your blog, site, Facebook, Google+ page, just ask permission from me by PM.
By using this you agree that whatever damage happens to your device, its software, hardware or YOU,
You are responsible for it. I have no responsibility for it.
Click to expand...
Click to collapse
SOME PEOPLE ASK FOR SOURCES AND CREDITS WHEN THEY ARE NOT REQUIRED,
AND SAY THEY WANT TO GUIDE ME. I AM NOT AT ALL PAYING ATTENTION TO SUCH PEOPLE.
If you do this I will ask a moderator to remove your post. KEEP THIS FOR DEVELOPMENT ONLY!!!!!!!!
IF YOU HAVE PROBLEM, THEN SETTLE IT BY PM, THIS IS A RULE OF XDA
Click to expand...
Click to collapse
Credits:-
Unknown developer for Android Screen Monitor.
ALL REST CREDITS TO ME!!!
XDA:DevDB Information
SGY PC-Tools, a Tool/Utility for the Samsung Galaxy Y GT-S5360
Contributors
hnkotnis
Version Information
Status: Stable
Current Stable Version: 1.0.0.0
Stable Release Date: 2014-03-25
Created 2014-03-25
Last Updated 2014-03-26
Reserved
Reserved for something or may be nothing, but reserved for everything.
Reserved
Reserved. Don't ask why.
doesnt seem to work with me - it cant establish an adb connection with my phone
no problems using other adb tools
if I run adb devices from a cmd promp it detects my phone
also each time I run the program it asks me to keep replacing files then it brings up an error about adb files (but these files are in the folder)
iv attached screenshots
edit
ok so iv done some more testing - turns out this app wont work if you have an adb emulator installed - for example if you have bluestacks installed make sure you end task it or exit the programme before running this else it wont work as it will get confused between the physical adb device and the emulator
Still get the error messages about files and asking to replace files at each start up
once I disabled the emulator it works fine in terms of connection however the screen shot feature I still cant seem to make work
It now says it has successfully taken a screenshot but the screenshot is not in the folder
edit again - ok so you put the screenshot bug in your pdf file as a bug but it would be helpful if you actually put the bugs on the op of this thread
Your screenshot prog looks just like ADB ScreenCapture by majdinj xda - it gives exactly the same read outs
The android screen monitor is basically a copy of droidATScreen which I have put in the attachment however droidAtScreen can also take screenshots and continuous screenshots too
Well Done!! GONNA TRY THIS.
Great work
gonna try this good work
@marcussmith2626
You are not typing "x" to exit. So integrated cleanup is not executed. So you get that overwrite error.
Now delete all files (except toolkit exe and readme) and try again.
I ask you to go through Readme file which explains bugs and why they are in programme.
My programme is much similar to majdini's because ff2png (file used to take screenshot in recovery) used by him and me is taken from same source (GPLv2 licenced).
Also screenshot terminal command is universal for all androids.
I didn't knew about majdini's programme. But when you mentioned it, I checked his one. My commands are differently expressed (commands same as explained above, but code is different). If you use his code sometimes there is error.
But my code does not give error in batch format.
(but problem is after exe conversion, this has a bug. Check readme for more info).
Sent from my GT-I9001 Gadget of Mass Destruction with CM11 using XDA Developers App.
Cant download. New link please
Edit : Nope, it can now
But, why i can't do live capture ? after re-open this app ? I just can do it when first open it
GSculerlor said:
Cant download. New link please
Edit : Nope, it can now
But, why i can't do live capture ? after re-open this app ? I just can do it when first open it
Click to expand...
Click to collapse
Read my above comment. The part of typing "x".
Go through Readme. It contains all info.
Sent from my GT-I9001 Gadget of Mass Destruction with CM11 using XDA Developers App.
hnkotnis said:
@marcussmith2626
You are not typing "x" to exit. So integrated cleanup is not executed. So you get that overwrite error.
Now delete all files (except toolkit exe and readme) and try again.
Click to expand...
Click to collapse
to aviod the error of the adb files you have to run program as administrator
you should include run as admin in your exe file in future builds
Sorry bro, real bad CMD to EXE converter you use, I could easily find your .bat file here:
EDIT: Removed.
as far as your ADB device select is concerned use the command (adb.exe -d) this will direct the adb to the first USB ANDROID ADB Device
and I would like to know Setup program you used...

Disney+ IPK file

Hey everyone,
Is there someone with a recent WebOS TV who would like to download the IPK file of Disney + ? (Maybe using this method : https://forums.webosnation.com/webos-tips-info-resources/322549-how-retain-app-ipks-app-catalog.html).
I'm on WebOS 3.15, and according to LG, Disney+ is compatible with WebOS 3.0+. But my TV is not on the official list, so I can't find the app on the content store. I'm pretty sure it would work correctly if I install it from an IPK file, but I can't find it anywhere on the internet
Thank you !
@theorime2 , did you by any chance find this IPK? I'm looking for one also.
with regards
vvangogh said:
@theorime2 , did you by any chance find this IPK? I'm looking for one also.
with regards
Click to expand...
Click to collapse
I did not find anything... Sorry !
Thanks for the quick reply. I'll keep on searching
netflix ipk?
There is a way to download any ipk form LG Content Store (but the app must be available in your country)
This was tested on on WebOS TV v05.40.26
Requirements for PC:
WinSCP
DB Browser for SQLite
1. Go to https://github.com/RootMyTV/RootMyTV.github.io and root your LG TV.
2. After successful root, enable SSH in Homebrew Channel App on TV. Then restart TV.
3. Find your TV ip address (I have scanned LAN for devices).
4. Run WinSCP and connect to your TV: ip address, port 22, user: root, password: alpine
5. Uninstall the app that you want to export IPK.
6. Install it again from LG Content Store.
7. Browse to /var/luna/data and copy "downloadhistory.db" file to your computer.
8. Run DB Browser for SQLite, open "downloadhistory.db" file, select "Browse Data" tab. Scroll to last row and copy "history" column value. It should look like this:
{
"destFile": "com.accedo.videa.tvn.ipk",
"sourceUrl": "http://gfts.lge.com/fts/gftsFilePat...110&hash=N5J5CgE0aCro8dCC&mtime=1603724895000"
...
...
}
9. Now just copy the "sourceUrl" value and paste in your internet browser.
jtrz: Thanks for the info!
I used your method to find the names and URLs of apps, but when I try a sourceUrl on my PC browser I get a 403: Access Denied. I also tried using wget on the TV itself, but that didn't work any better. Are you still able to access the sourceURLs? (This would imply that the problem is on my end.)
It doesn't seem to work anymore. I had the same problems when trying.
curl and wget on TV both error out with something like "server returned error: HTTP/1.1 403 Forbidden'" or "403 Access Denied... You are not authorized to view this page."
bombenbodo said:
It doesn't seem to work anymore. I had the same problems when trying.
curl and wget on TV both error out with something like "server returned error: HTTP/1.1 403 Forbidden'" or "403 Access Denied... You are not authorized to view this page."
Click to expand...
Click to collapse
I did get it working eventually. I believe you can only access the link for a few minutes after it is generated. Thus, you have to do steps 5 through 9 as quickly as possible. It doesn't take a bot or anything like that, but you can't use an old link. When I did get it working, a normal PC web browser worked fine.
Ah, I get it. So, did you successfully download the disney+.ipk?
I'm on WebOS 3.40 similar to the OP, so there is no Disney+ App in the LG Content Store for me, but I would love to try the IPK by installing it manually and see if it works or not.
No, sorry, I wasn't trying to get that IPK in particular.
bombenbodo said:
Ah, I get it. So, did you successfully download the disney+.ipk?
I'm on WebOS 3.40 similar to the OP, so there is no Disney+ App in the LG Content Store for me, but I would love to try the IPK by installing it manually and see if it works or not.
Click to expand...
Click to collapse
Hi, i tried now installed ipk but didnt work. show "close application" button only
theorime2 said:
Hey everyone,
Is there someone with a recent WebOS TV who would like to download the IPK file of Disney + ? (Maybe using this method : https://forums.webosnation.com/webos-tips-info-resources/322549-how-retain-app-ipks-app-catalog.html).
I'm on WebOS 3.15, and according to LG, Disney+ is compatible with WebOS 3.0+. But my TV is not on the official list, so I can't find the app on the content store. I'm pretty sure it would work correctly if I install it from an IPK file, but I can't find it anywhere on the internet
Thank you !
Click to expand...
Click to collapse
can you check these lines directly from putty ? one is for appletv and the other for disney+
it seems to work for me...
luna-send -i -f luna://org.webosbrew.hbchannel.service/install '{"ipkUrl":"http://gfts.lge.com/fts/gftsFilePat...308&hash=hjDzqSTTUKa3CAWH&mtime=1664591368000"}' ===> appleTV
luna-send -i -f luna://org.webosbrew.hbchannel.service/install '{"ipkUrl":"http://gfts.lge.com/fts/gftsFilePat...902&hash=dmkn96RrTwuJQB3W&mtime=1674696506000"}' ===> DISNEY+
jtrz said:
There is a way to download any ipk form LG Content Store (but the app must be available in your country)
This was tested on on WebOS TV v05.40.26
Requirements for PC:
WinSCP
DB Browser for SQLite
1. Go to https://github.com/RootMyTV/RootMyTV.github.io and root your LG TV.
2. After successful root, enable SSH in Homebrew Channel App on TV. Then restart TV.
3. Find your TV ip address (I have scanned LAN for devices).
4. Run WinSCP and connect to your TV: ip address, port 22, user: root, password: alpine
5. Uninstall the app that you want to export IPK.
6. Install it again from LG Content Store.
7. Browse to /var/luna/data and copy "downloadhistory.db" file to your computer.
8. Run DB Browser for SQLite, open "downloadhistory.db" file, select "Browse Data" tab. Scroll to last row and copy "history" column value. It should look like this:
{
"destFile": "com.accedo.videa.tvn.ipk",
"sourceUrl": "http://gfts.lge.com/fts/gftsFilePat...110&hash=N5J5CgE0aCro8dCC&mtime=1603724895000"
...
...
}
9. Now just copy the "sourceUrl" value and paste in your internet browser.
Click to expand...
Click to collapse
thanks for the info, i tried it but this way by downloading the ipk file in browser i haven't succeed to install any aplication because it downloads just a small portion of the ipk file...
by using this other command you can install directly from the LG web adress that is discovarable from that history database
# Install app from remote HTTP url (requires Homebrew Channel)
luna-send -i -f luna://org.webosbrew.hbchannel.service/install '{"ipkUrl":"https://.../app.ipk","ipkHash":"package-sha256sum"}'
you just have to replace with your adress after ipkUrl and if you look at the putty's console you'll notice that this way it is downloading several small portions of the ipk file during the download process, unlike when downloaded from the browser where just the first portion of the ipk file is saved, so that's why the manual file installation process never succeeds
Hi,
I tried your solution, and I can say taht the ipk is correctly downloaded but at the end I got an error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Have you seen this before? Any suggestion?
I also tried to download the ipk from a Web browser and it works, but then when I tried to install it using WebOS dev manager I got an error:
geekracoon said:
Hi,
I tried your solution, and I can say taht the ipk is correctly downloaded but at the end I got an error.
View attachment 5860051
View attachment 5860053
Have you seen this before? Any suggestion?
I also tried to download the ipk from a Web browser and it works, but then when I tried to install it using WebOS dev manager I got an error:
View attachment 5860055
Click to expand...
Click to collapse
just delete the checksum part at the end of the command line "package-sha256sum" so that it will ignore checksum and will not receive that error and try again to see results

ADB File Explorer (python: application, cross-platform)

Python ADB File Explorer​Simple File Explorer for adb devices. Uses python library adb-shell or command-line tool adb.​Features:
List of adb devices
Connect via IP (TCP)
Listing / Pulling / Pushing files
Renaming and Deleting files
GitHub Repository​Latest build for win-x64:​ADB File Explorer v1.2.0
Download
Here some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just tried today, worked great! Windows 10 transfer to Pixel 6 Pro - 150gb in 15 minutes, much faster than MTP!
No errors or issues in Window 10, the window did read as non-responsive during the transfer but I assumed it was doing its thing and left it alone.
Only suggestion would be some sort of progress indicator, maybe that would stop the program from being "unresponsive"?
Thanks for your work, very easy to use!
kykyzachariah said:
Just tried today, worked great! Windows 10 transfer to Pixel 6 Pro - 150gb in 15 minutes, much faster than MTP!
No errors or issues in Window 10, the window did read as non-responsive during the transfer but I assumed it was doing its thing and left it alone.
Only suggestion would be some sort of progress indicator, maybe that would stop the program from being "unresponsive"?
Thanks for your work, very easy to use!View attachment 5459243
Click to expand...
Click to collapse
Thank you for your reply!
Ok, I will try to fix it.
!UPDATED!​to version v1.0
GitHub Repository
how about adb over wlan?
Latest build for win-x64:​ADB File Explorer v1.2.0
Download
Hi!
Is root adb server planned to be implemented?
I was just looking for a quick way to copy a folder from adb TWRP but when I tried to use this app there is the phone icon with a red cross (see picture) and nothing happens by clicking.
Through CLI instead I was able to copy the desired folder.
antoniu200 said:
Hi!
Is root adb server planned to be implemented?
Click to expand...
Click to collapse
root needed
Very cool stuff! I submitted a PR for supporting multiple file selection and download/delete on your repo. Please check it
Werve said:
I was just looking for a quick way to copy a folder from adb TWRP but when I tried to use this app there is the phone icon with a red cross (see picture) and nothing happens by clicking.
Through CLI instead I was able to copy the desired folder.
View attachment 5623663
Click to expand...
Click to collapse
I also found the same error for Samsung Galaxy M20 and unable to access files
@Azata
I hope this message finds you. First of all, thank you for developing this program! It has been immensely helpful for me in copying files to and from my device. I find that transfers via ADB are much faster and more reliable than using MTP protocol.
One thing I would like to suggest, I think it would be much better if the file picker interface could remember location of the last folder, as it always defaults to the application folder root where ADBFileExplorer.exe is located.
Also, it would be helpful if we could select multiple folders to copy at the same time. Currently, the file picker interface only lets you choose one folder at a time, and holding Ctrl whilst left-clicking does not select multiple folders.
Would it be possible to implement root? It does not trigger the root-prompt and simply says "permission denied"..
Could someone please post a step by step tutorial on how to use this?
I'm trying to run on a mac with m1 but having issues with PyQt5 installation. Does anyone have a workaround for this?
On Windows 7 X64
Tried installing/re-installing Python, but it's still not working.

.APK files not showing up in app folders

I am really lost with this problem as i cannot find any other instance of it...
device: Redmi note 9S, not rooted, developer options enabled, Android 10, MIUI 12.0.4.0
in the android/data/ directory, under the com.[author].[app] files, i can't seem to find any apk files, it just appears to be empty except for an additional "files" folder that doesn't contain any useful files, while the tutorials i was following need access to a base.apk file that, in my case, does not exist. I need to know if this is a new version general android change, a device specific one ? where are the apps running from? are they all web shortcuts? if they use an apk file, where can i find it? I'm unexperienced in all those things, but I felt this would be the best place to get an answer.
LasevIX_ said:
I am really lost with this problem as i cannot find any other instance of it...
device: Redmi note 9S, not rooted, developer options enabled, Android 10, MIUI 12.0.4.0
in the android/data/ directory, under the com.[author].[app] files, i can't seem to find any apk files, it just appears to be empty except for an additional "files" folder that doesn't contain any useful files, while the tutorials i was following need access to a base.apk file that, in my case, does not exist. I need to know if this is a new version general android change, a device specific one ? where are the apps running from? are they all web shortcuts? if they use an apk file, where can i find it? I'm unexperienced in all those things, but I felt this would be the best place to get an answer.
Click to expand...
Click to collapse
Go through your file manager settings and find the option to show hidden files.
@LasevIX_
An app's APK-file is housed in folder /data/data. The APK-file itself gets installed in folder /data/app as base.apk.
Example:
/data/app/[your_package_name]-[1,2,n]/base.apk
jwoegerbauer said:
@LasevIX_
An app's APK-file is housed in folder /data/data. The APK-file itself gets installed in folder /data/app as base.apk.
Example:
/data/app/[your_package_name]-[1,2,n]/base.apk
Click to expand...
Click to collapse
yes, i know that path. my problem was that it isn't available/doesn't exist on my machine
Droidriven said:
Go through your file manager settings and find the option to show hidden files.
Click to expand...
Click to collapse
I have done that already, but the apk files still don't show up.
also, I think this thread may benefit from further precisions:
the .apk files do not show up either in the phone's built in file manager, windows explorer or in ADB ls commands.
I am practically sure it isn't hidden files, I have all the settings for viewing them enabled.
if there's some secret setting that may provide access to those files, please do tell where.
after further checking, the app i was trying do copy to my computer reports an app size of 106MB, but the com.____._____ folder reports 21B, so i suspect it may be some sort of shortcut to another folder.
.
Typically one makes use of ADB commands to pull an APK file ( Android must NOT be rooted ):
Step 1: Get location of desired app in Android's filesystem
Code:
adb shell "pm path com.example.someapp"
The output will look something like
package:/data/app/com.example.someapp-2.apk
or
package:/data/app/com.example.someapp-nfFSVxn_CTafgra3Fr_rXQ==/base.apk
Step 2: Using the full path name from Step 1, pull the APK file from the Android device to the Windows computer
Code:
adb pull /data/app/com.example.someapp-2.apk <PATH-ON-PC>
jwoegerbauer said:
Typically one makes use of ADB commands to pull an APK file ( Android must NOT be rooted ):
Step 1: Get location of desired app in Android's filesystem
Code:
adb shell "pm path com.example.someapp"
The output will look something like
package:/data/app/com.example.someapp-2.apk
or
package:/data/app/com.example.someapp-nfFSVxn_CTafgra3Fr_rXQ==/base.apk
Step 2: Using the full path name from Step 1, pull the APK file from the Android device to the Windows computer
Code:
adb pull /data/app/com.example.someapp-2.apk <PATH-ON-PC>
Click to expand...
Click to collapse
I wasn't aware that you could use adb to find the location of apps, but the command you suggested gives an unexpected result (screenshot attached). it gives multiple results of files despite them being invisible to file explorers. Once i try to pull the package with the method you suggested, it gives an error as if it wasn't there. Did I type the wrong syntax? does the "pm path" command only give expected locations for files?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
for clarification, I am trying to access the netflix client APK in order to manually make it recognise widevine L1 certificates, as described in this thread: https://forum.xda-developers.com/t/netflix-hd-on-tab-s2.3274295/#post-65001865 .
The NETFLIX APK you want to extract from Android is a so-called Split-APK. IMO you've to turn this Split-APK into a normal non-Split-APK.
How to:
How to turn a split APK into a normal non-split APK - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
Hey guys, recently many modders contacting me about how to mod a split APK. We have already many tutorials about how to download or extract the split APKs, mod a split APK as it is and how to use a split APK installer to make the mod apply to the device. Here some examples of the mentioned...
platinmods.com
jwoegerbauer said:
The NETFLIX APK you want to extract from Android is a so-called Split-APK. IMO you've to turn this Split-APK into a normal non-Split-APK.
How to:
How to turn a split APK into a normal non-split APK - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
Hey guys, recently many modders contacting me about how to mod a split APK. We have already many tutorials about how to download or extract the split APKs, mod a split APK as it is and how to use a split APK installer to make the mod apply to the device. Here some examples of the mentioned...
platinmods.com
Click to expand...
Click to collapse
This will be helpful for teh future, thank you for directing me to that tutorial.
but it still requires to pull the apk, which i have not been able to do.
as described in my previous reply, ADB seems to be able to return the location of the apk, but can't pull it, as if it never existed.
According to the screenschot you provided earlier I think the package ( APK ) you want to pull is stored as
/data/app/com.netflix.mediaclient-YUY-VwSu3KeCc44bkA
shorthanded as
base.apk
but don't really know it: this is not my world.

Categories

Resources