yashsingh1/xdaforums huggingface dataset:
[Android General] Android-Andi:
Maybe you can add (after changeing directory path) my modified "record.bat" for taking screenshots from running androidsystem

@ECHO off
REM Record_running_Android
IF EXIST %~dp0new ECHO new directory found! :)
IF NOT EXIST %~dp0new ECHO new directory not found! :(
mkdir new
ECHO initialised new directory! :)
:loop
%~dp0tools\adb shell screencap -p /extSdCard/screen.png
%~dp0tools\adb pull /extSdCard/screen.png %~dp0new
%~dp0tools\adb shell rm /extSdCard/screen.png
FOR /F "tokens=*" %%i in ('%~dp0tools\date.bat') do SET DATE=%%i
MOVE %~dp0new\screen.png %~dp0new\%DATE%.png
goto loop
pause

I´m using extSdCard as directory, because my Micro-SD-Card is mounted there.

Maybe change it like this:

@ECHO off
REM Record_running_Android
IF EXIST %~dp0new ECHO new directory found! :)
IF NOT EXIST %~dp0new ECHO new directory not found! :(
mkdir new
ECHO initialised new directory! :)
:loop
%~dp0tools\adb shell screencap -p /sdcard/screen.png
%~dp0tools\adb pull /sdcard/screen.png %~dp0new
%~dp0tools\adb shell rm /sdcard/screen.png
FOR /F "tokens=*" %%i in ('%~dp0tools\date.bat') do SET DATE=%%i
MOVE %~dp0new\screen.png %~dp0new\%DATE%.png
goto loop
pause
[Android General] thewisenerd:
Whoa! Someone actually cares :)

Remember that the *quality* is always the same. It pulls the images (frames) in the same resolution as of your phone. If you are talking about the FPS, you should modify this line...

ffmpeg -r 4

The -r switch controls the FPS.

Again, the FPS depends upon how many screens are actually captured by your device. If you have a fast SD-Card, and a fast processor, it is indeed likely that the frames captured would be more. You can try increasing the -r 4 by 2/3 frames and see if the video is suitable to your needs. (eg. -r 5/ -r 6, etc...)

Didn't know about that... It worked for me without those two DLLs. Anyways, I will just add it for safety.

You could change it yourself... Reason why I wouldn't change it? Because different devices have different mount points. If it is extSDcard, you can change accordingly. (If that wasn't the point, please clarify the last post. I understood it as: my mountpoint for sdcard is different :silly:)

p.s. thanks.. i was thinking no one cared :p
[Android General] Android-Andi:
This will change how long the picture stays (i set it down to 2, beacause in my case it was to fast).

MP4 and libx264 codec will give you better quality. I tested it yesterday the whole evening ;) Trust me. Screenshot added (mp4 more clearly).

Try that one (video looks better):

ECHO off
REM snaps mode
REM fb2png credits go to respective developers
REM thanks to whiskey103 for his screenshot.bat for windows
REM thanks to vineethraj49 for his mkvideo.bat (video as *.avi)
REM thanks to me and my computer
IF EXIST %~dp0tmp ECHO tmp directory found! :)
IF NOT EXIST %~dp0tmp ECHO tmp directory not found! :( && MKDIR tmp && ECHO initialised new tmp directory! :)
IF EXIST %~dp0output_video ECHO output_video directory found! :)
IF NOT EXIST %~dp0output_video ECHO output_video directory not found! :( && MKDIR output_video && ECHO initialised new output_video directory! :)
%~dp0tools\adb pull /sdcard/fb2png/screens/ tmp
SET /P name=Enter the name for your video:
%~dp0tools\ffmpeg.exe -f image2 -r 2 -i tmp/1%%09d.png -c:v libx264 -r 30 output_video/%name%.mp4
%~dp0tools\adb shell rm /sdcard/fb2png/screens/*
rm tmp/*
REM hit enter to exit
pause

Adding will take you on the safe side ;) Thanks :) I think they are under GPLv2, but i´m not shure.

You can also download libiconv-1.9.2-1-bin.zip and libintl-0.14.4-bin.zip. DLL´s are in the "bin" directory after extracting.

[MENTION=279333]ECHO[/MENTION] off
REM Record_running_Android
IF EXIST %~dp0new ECHO new directory found! :)
IF NOT EXIST %~dp0new ECHO new directory not found! :(
mkdir new
ECHO initialised new directory! :)
:loop
%~dp0tools\adb shell screencap -p /sdcard/screen.png
%~dp0tools\adb pull /sdcard/screen.png %~dp0new
%~dp0tools\adb shell rm /sdcard/screen.png
FOR /F "tokens=*" %%i in ('%~dp0tools\date.bat') do SET DATE=%%i
MOVE %~dp0new\screen.png %~dp0new\%DATE%.png
goto loop
pause

Internal SD? Same path you use in your batch-scripts. Should work for everyone.

[The Script i posted before was for use on micro-sd (working for my device) - i have changed it later ( :P ) to use on internal-sd for everyone]

Only one problem: the name of the files... can´t use the mkvideo.bat to make a video... i had to rename them after captureing using Ant Renamer2.

But you can add the 2 .bat from me as a "Bonus" into your zip if you want.
[Android General] thewisenerd:
Sure!

cool! i have no objection. as of mp4 encoding too, you could add it as a feature, but do release it in this thread only.:p I sure would give you credits for a version 2.0 :angel: i don't want xda to be weeded by one more thread. there are already many (by a gazillion n00bs :()
[Android General] thewisenerd:
Cool, but, one small change that I would like to say...

drawbacks of your method :fingers-crossed: :

not all devices are fast enough to process the "capture>pull>remove" loop which you have implemented.

except that, awesomeness quotient is great. you have added support for capturing the screen while android is running in normal mode :victory:

It can be just downloaded and extracted into the folder where you already have the files... releasing it as version 2.0 ;) :p

p.s. Guess its time for me to update the linux version :p
[Android General] Android-Andi:
Maybe i can make 2 batch files (pulling as a second step). Maybe add the pull line into the "mkvideo_mp4_running_android-universal.bat".

I can test it after sleeping :silly:

And you´re right: its not so fast like in recovery (on my Galaxy Tab 2 7.0 P3110)

Thank you :) Thanks for your great work before my modification - my modification wouldn´t be possible without you :) :good:

Do it :)

Because i´m not running a linux i couldn´t make it (and i´m not that good at linux).
[Android General] thewisenerd:
Yeah, recovery... too slow :(

Thank Kyan He and Whiskey103 too :p

https://github.com/vineethraj49/android-shot

If you are interested, you can send in pull requests to https://github.com/vineethraj49/android-shot/tree/windows. PM me if interested to maintain the git,I will add you as a collaborator.
[Android General] Android-Andi:
sure, big thank @ Kyan He and Whiskey103 too!

i'll release update 2.0.1 later. i'm working on it. PM to you later.

pull won't work on windows. i tryed over vbs but didn't got it work.
[Android General] Android-Andi:
Version 2.0.1 (extra batch-files)​

Download 2.0.1 from here

Installation:

Download and extract V 1.0 from op.

Extract "universal-bat2.0.1.zip" and copy all *.bat to "android-shot" directory.

Changes:

[LIST][*]not pulling data from your device (slowed down the recording process) @ record_running_android-universal.bat
[*]pulling before converting (better for recording process) @ mkvideo_mp4_running_android-universal.bat[/LIST]

How-To make a video in recovery:

1. start "record_recovery-universal.bat" (press CTRL + C if you are finished)

2. start "mkvideo_mp4_recovery-universal.bat" and follow the instructions.

How-To make a video in running android:

1. start "record_running_android-universal.bat" (press CTRL + C if you are finished)

2. start "mkvideo_mp4_running_android-universal.bat" and follow the instructions.

You can change the path from sdcard (default) to your micro-SD like before (different devices = different mountpoints) (instructions)

Thanks

@vineethraj49

Kyan He (https://plus.google.com/116857119889961125943) and his wonderful tool "fb2png" (https://code.google.com/p/android-fb2png/)

Whiskey103 (http://xdaforums.com/member.php?u=2632943) and his guide (http://xdaforums.com/showthread.php?p=40260716) on taking screenshot in windows.

Edit 30.07.2013:

Changed Download-Link, still 2.0.1 (some UI changes of the running batch)
[Android General] thewisenerd:
time to update thread title I guess!

[MENTION=5153662]Android-Andi[/MENTION], could you post a video for android_running_system for video recording as a sample? :)
[Android General] Android-Andi:
Shure,can do it next days,maybe today.
[Android General] vivekjain1:
for rooted devices

is there anyby some gesture
[Android General] Android-Andi:
Work in progress =) Uploading video later (be surprised).
[Android General] Android-Andi:
Hands on "Android-Shot":

http://www.youtube.com/watch?v=lviorDfMKOs

[YOUTUBE]lviorDfMKOs[/YOUTUBE]
[Android General] hamid-sp3:
Well I was able to get it to work, but the picture color is not working correctly any ideas?
[Android General] thewisenerd:
more info please :)

Device name

Link to threads on XDA

Does this problem persist on all recoveries? (did you try twrp?)

Else, first try this!!!

Download the following file:

View attachment fb2png.img

Now, rename the file from "fb2png.img" to "fb2png".

Now, replace this fb2png into the folder where you have placed the batch files.

Now, try again...

p.s. [MENTION=5153662]Android-Andi[/MENTION], you need to take a look at this!!!

p.s. I can't believe i'm so dumb, that I had been using an old version of fb2png until now :o
[Android General] Android-Andi:
Don´t know... i´m not a developer. sry :silly:

Maybe related to the Kernel.

Wich version is included? August 2011?

---------- Post added at 07:44 PM ---------- Previous post was at 07:19 PM ----------

Device?

Kernel?

Maybe you can try fb2png-0.8-rgb-fix_and_raw-dumper.zip - 465.55 KB, but i don´t know what will happen (work? brick? :silly: )

Edit:

[I tryed that "fb2png-0.8-rgb-fix_and_raw-dumper" without problems on my P3110 (first picture black, from 2nd picture ok)]

Edit 30.07.2013:

Changed Download-Link for 2.0.1 in my post (some UI changes of the running batch), no other changes, still 2.0.1
[Android General] thewisenerd:
:silly:

Yes, august 2011 :o :(

edit: https://github.com/PhilZ-cwm6/fb2png-debug

i am trying to build fb2png from these sources again... downloading the ndk :p

p.s. http://d-h.st/users/philz_touch/?fld_id=17004#files

http://xdaforums.com/showpost.php?p=41724844&postcount=87

http://xdaforums.com/showpost.php?p=41742766&postcount=98
[Android General] Android-Andi:
yeah, the link i posted before was from [MENTION=4666971]Phil3759[/MENTION]

the file (0.8 rgb fix) is working for me to, but it is 1mb (your 400kb) and will slow down the process a little (or not???).

i would wait building, and let the version as it is. only add a link for 0.8 rgb fix and wait until hamid told us his device and told us if it is working.
[Android General] Android-Andi:
New version comming soon... :) I´ll post a Video later.
[Android General] Android-Andi:
"Whats Next?" ...

Next Version maybe "2.1 universal Toolkit Update".

Any feedback? What can be added?

[YOUTUBE]zp5l7JTI__8[/YOUTUBE]
[Android General] Tigerstown:
This is what I was looking for the code to take pic an video in recovery.. I was told there was a way but was also told fig out myself.. Well I found this thread. I will try in twrp 2.6.0.0 an see how it works. Thanks an hitting thanks to .
[Android General] Android-Andi:
I added some features to my "Toolkit" Starter Script. Little changes in all the other ,bat again. Asking fpr USB Debugging, Connection etc. only at startup.

ADB Server get´s started at the beginning and get killed by using Exit over menu...

And some more... hope i can release at the weekend.

Some features missing yet?
[Android General] thewisenerd:
none :p

Seems like you are the one thinking up all the new features :p. I just hope I am able to implement all these in the Linux version too...

p.s. The linux version has been patched for version 2.0.1 (seriously!)

link: https://github.com/vineethraj49/android-shot/tree/c7ab3af9c7dcaae1b55d59254320404218dcdff7
[Android General] Android-Andi:
Shout be possible to get "Toolkit" on Linux ;) I´ll upload next days and give the link only to you.

I´ll share toolkit to all if i have finisched my Tutorial.
[Android General] Android-Andi:
Update 2.1 comeing today =)
[Android General] Android-Andi:
Update 2.1

Please use Update 2.1.2

Download from here.

Extract into "Android-Shot" directory. (replace existing .bat from update 2.0.X )

Run "1 Universal-Starter.bat" and follow the instructions.

If you have question: ask.
[Android General] Android-Andi:
Ok.. i´m sorry for beeing so fast....

Update 2.1.2

Download update from here.

If you don´t have: Download Android-Shot V1 from OP

After downling, extract update into "Android-Shot" directory (replace existing .bat from update 2.0.X )

Run "1 Universal-Starter.bat" and follow the instructions.

Enjoy :) Leave a feedback :)

Changes:
Not getting asked for changeing mountpoints. Default = \sdcard (internal storage).

If you want to change your mountpoints to your microSD:

1. Run 1 Universal-Starter.bat

2. In menu goto "Page 2"

3. Choose "Change Mountpoints to microSD"

4. Enter Mountpoints...

5. your default mountpoint changed.
[Android General] Android-Andi:
Any feedback :confused: ? Only 3 downloads... :(
[Android General] hamid-sp3:
Sorry bro,

I'm too busy and I will test your update next week.

Tnx
[Android General] thewisenerd:
sorry, i can't give any feedback as of now :p

I don't have windows :o main reason why I can't check any of the versions :p
[Android General] Android-Andi:
Update 2.1.3b

Download update from here.

If you don´t have: Download Android-Shot V1 from OP or direct-link

Download libiconv and copy "libiconv2.dll" from libiconv-1.9.2-1-bin.zip/bin into android-shot/tools

Download libintl and copy "libintl3.dll" from libintl-0.14.4-bin.zip/bin into android-shot/tools

Update:

After downloading, delete all existing "*-universal.bat" and "Universal-Starter" from previous universal updates.

Extract update 2.1.3 into "Android-Shot" directory.

Run "1-Universal-Starter.bat" and follow the instructions.

Enjoy :) Leave a feedback :)

Changes in Update 2.1.3:
Only 3 batch-files needed!
Some "batch-code" update

Not getting asked for changeing mountpoints. Default = \sdcard (internal storage).
[COLOR="Red"]Path set using recovery.ini & android.ini! Will be created on first start[/COLOR].

If you want to change your mountpoints to your microSD:

Please run the batch-files from a patch without spaces (e.g. C:\Android-Shot or D:\Android-Shot).

1. Run 1 Universal-Starter.bat

2. In menu goto "Page 2"

3. Choose "Change Mountpoints to microSD"

4. Enter Mountpoints...

5. your default mountpoint changed.
[Android General] thewisenerd:
damn...

I so need to get a copy of windows to check this out! :p
[Android General] hamid-sp3:
!

I still have problem with colors in v2.1.3... :rolleyes:

DEVICE: Xperia arc s (Lt18i)

KERNEL: LuPuS V16
[Android General] thewisenerd:
possibility 1: did you try this? http://xdaforums.com/showpost.php?p=38442298&postcount=186

possibility 2: it might be the color of your recovery.This is usually a problem of the recovery's kernel.

this has happened before with the device i owned. blue was orange. on taking screenshot, it was blue.

http://xdaforums.com/showpost.php?p=38442298&postcount=186
[Android General] Android-Andi:
rename "fb2png " to "fb2png.bak"

Download and extract the fb2png (from Phil) from here and copy it to android-shot directory (first shot might be black, 2nd should work - maybe right colored)

If it´s not working, delete the new one and rename "fb2png.bak" back to "fb2png".
[Android General] hamid-sp3:
i did these works but my screenshots still had problem...

then i decide to rename old "fb2png.bak" back to "fb2png & after it fixed :))

tnx
[Android General] thewisenerd:
?

So, v2.1.3's fb2png works fine?
[Android General] Android-Andi:
thats what he said....

he used the one from phil with same problem... again using your from V,1 and working :D
[Android General] hamid-sp3:
sure, but it works after some Manipulation |):
[Android General] hamid-sp3:
Hi again

I can't "Record running android" with both f2pngs.

other features work Properly!

edit: please update

To take a screenshot

&

To capture video

THANKS :)
[Android General] hamid-sp3:
Help me plz!

[MENTION=5153662]Android-Andi[/MENTION] & [MENTION=4869275]vineethraj49[/MENTION] can you help me?
[Android General] thewisenerd:
Your phone is likely missing the screencap binaries. Download this View attachment screencap.zip, extact it, and place the file named "screencap" in your phone's /system/bin folder.
[Android General] hamid-sp3:
I don't think that's my problem, I saw screencap binaries in /system/bin folder that has 5.52 kb size then replace with yours but still can't record video running android :(

you can see the recorded video from my phone below
[Android General] thewisenerd:
You sure can get it running right...

Do you mean, it is too fast or something? missing frames?
[Android General] hamid-sp3:
I haven't these problems…

If you would have seen my recorded video, you will see the screen is gray complete but in temp folder all frames are properly.

How can I fix gray screen problem?
[Android General] thewisenerd:
Actually, I had seen the videos. It is in color, both the videos in fact.

Try playing them on another video player.
[Android General] hamid-sp3:
Thanks man! ;)

Problem was my player.

Can increasing number of frames to have the best video recording?
[Android General] thewisenerd:
I use below code for directly capturing the phone's screen. but below command works only with linux. maybe if one can get this to work on windows, 1-2 fps+ assured.

adb shell screencap -p | sed 's/\r$//' > ph.png
[Android General] Android-Andi:
Look on the right upper side :D

Mybe i´ll write an GUI only for screenshot without all other function of this tool ;) stay tuned [MENTION=4869275]vineethraj49[/MENTION] and all other.

(Edit: I´m new on C# that´s why it will take some time.)
[Android General] Android-Andi:
Now i build all functions of my GUI as seperate *.exe.

adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
&
fb2png

need to be in the same folder as my *.exe to make it work.

All output (screenshot, log, pulled files) will be in the same folder as the *.exe.

Screenshot V1.1 : https://www.file1.info/dIcmEWU

Extract the *.exe and put it into you android-shot folder. Copy "adb.exe", "AdbWinApi.dll" and "AdbWinUsbApi.dll" from the "tools" folder directly into the "android-shot" folder. (Sorry for my english, i hope you understand :p )

You need .NET Framework 4.0 installed.

*.exe tested on Wndows 8.

Tested on my P3110.

All tools written in C#

You can download all my Tools from here: https://www.file1.info/album/n68Qund

All Screenshots: http://xdaforums.com/showpost.php?p=45890612&postcount=76
[Android General] Android-Andi:
i updated the batch some days ago to 2.1.3b only codefix. last update from me for the batch. something was wrong to pull files and convert the Video. i wont add new features to the batch. i am only working on a GUI from now.

i try to implement screencast to my gui too but i need some feedback if the gui is working fine.

No feedback = no screencast in the GUI.
[Android General] Android-Andi:
Updated to "Screenshot V1.1"

http://xdaforums.com/showpost.php?p=45891403&postcount=59
[Android General] thewisenerd:
Gimme a couple of days to update maim thread. I am having my exams currently :p

i tried, and didn't work! then figured out, that I hadn't had .net framework 4.0 installed :p.

Will install .net framework 4.0 and try :D
[Micromax A110] dev1250:
i just installed jb using sp tool in my phone. but i am not getting it like the advertisment pic i.e. live wallpaper in the background of menu screen but in mine all i see is a black background. can anyone help?
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] marvincod1:
Hello guys,

i have a issue with my l7.. it's very slow very very slow.. i have the pacman rom on it, but it is still freaking slow..

can anyone tell me how to fix this? :)

i have him overclocked and uzing zram thing.

help meeee :$

thank youu ^^
[Android General] Jyjieng11:
Hey guys if you want a way to win a New Samsung Galaxy S4 check out this link http://HighOnAndroid.com/contest/?id=10323. Good luck to everyone entering!
[General Questions and Answers] zaldar5:
Hi, I'm new to the forum and they did not allow me to post in this forum http://xdaforums.com/showthread.php?t=1133590

so, I'm wondering if someone here can help me.

I went to the website http://www.samfirmware.com/

and I can not find the software for sgh-i987, it's like it does not exist.

And another funny thing, when I turn the device on and it goes to the black screen odin sees it's connected, however, when i go to the download mode it does not.

If it does not sound like soft brick here's what i have done so far. I was following this guide: http://oldwiki.cyanogenmod.org/wiki/Samsung_Galaxy_Tab_(GSM):_Full_Update_Guide

After step 7 in Installing the ClockworkMod Recovery section the tablet just restarts to black screen with a bar on the side.

Thanks in advance! :)
[Samsung Galaxy W I8150] shalawla5:
Hello guys

i`m using cm9 rc9 with HurtSky' Kernel v 3.3 and my device is working smoothly ( thnx to the developers ;) )

but i can`t creat new folder to put apps in it in the app screen or in the home screen ... if anybody knows how plz tell me
[Samsung Galaxy W I8150] thearif:
It is very simple to do. Just place two app icons on top of each other and the folder is created for you. Then you can place as many apps as you want.

Here is what I mean. Place an app on your home screen than place another on the first app icon. You are done
[Samsung Galaxy W I8150] shalawla5:
beautiful ... thnx
[One (M7) Q&A, Help & Troubleshooting] toxpoint:
Hi Everybody!

Wondering if anyone has a clue on how to edit the phonetic name in HTC people?

I love to use google now when im driving for messages, calls, but it doesnt recognise my SO's name, hears it as "carly" instead of "karlie"

Thanks!
[One (M7) Q&A, Help & Troubleshooting] joe460:
Not sure if you still have this problem, but I found that if you use Google Contacts with your desktop web browser, you can set the phonetic name there and Google Now will then recognise it when you do voice dialing even though HTC People doesn't show it.

I used this for when calling my wife, but still keeping her name as the contact. I added the phonetic name "my wife" in one field (first or last). Now I just say "call my wife mobile" and it works perfectly.
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] Rio257:
plzz can anyone give me the system ui of brightness slider with 14 toggles
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] Mranggapo:
hey please search before posting :fingers-crossed:

search marcussmith thread

its have many option to choose
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] abhishekr700:
follow Mranggapo's advise it worked for my friend
[Off-topic] weasley:
First Come First Serve
[Off-topic] college:
GMail

If there are any still left would love one. Thanks and Happy New Year.

Thomas_Comer@hotmail.com
[Off-topic] Gboye:
Hi,

I need one as well. Thanks

oad15@yahoo.com

Gboye
[Off-topic] bryson:
if you have any left, send me a pm, and ill send over my email address to you.

Thanks! Have a happy new year
[Off-topic] weasley:
Last Invite left Hurry........
[Off-topic] Gboye:
Thanks Weasley.

Gboye
[Off-topic] kevin.beecher:
hi wesley

any left if there is can i have a spare one

regards kevin beecher

www.kevin.beecher@ntlworld.com
[Off-topic] plandregan:
You Got Mail.
[Off-topic] plandregan:
P.S. I got loads left. Just PM for one.
[T-Mobile Samsung Galaxy S 4] Wicked White:
After getting Google Wallet to work on my GS4 I realized I didn't make a back up of the stock build prop :/

Now that I have everything working and setup correctly I wanted to change it back. Does anyone have those few lines? Agh.. I can't believe I forgot to make note of it..
[T-Mobile Samsung Galaxy S 4] :
here is the original Build.Prop

http://www.mediafire.com/view/0ga50oae1uv5qk2/build.prop
[T-Mobile Samsung Galaxy S 4] Wicked White:
^Thanks for such a quick reply man. Problem fixed. :good: