yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Android-Andi:
Hey [MENTION=4761111]QuantumCipher[/MENTION] ! Thanks for your "How To".

My Complete GUI only needs an cmd-console inside... don´t know how to do that. And i need something where i can see the command from "ADB-Shell". Screenshot of the GUI in my post before.

Now i build all functions of my GUI as seperate *.exe.

Screenshots of all my Tools attached.

adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
&
fb2png (from "Kyan He")

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.

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

You´ll find "fb2png" here http://code.google.com/p/android-fb2png/downloads/list (Latest Version: "fb2png-0.0.2" ; download it and rename it to "fb2png")

You need .NET Framework 4.0 installed.

Edit: 27.09.2013 New Tool "ADB-Wireless-ADB-Connect"
Enable "ADB over network" in the developper options, or use an app to do.
Now use this tool to connect if you wan´t to use adb over w-land
and disconnect if you are finished
-----------------------------------------------------------
26.09.2013 New Tool "ADB-Install-APK-DD" V1.2:
Drag & Drop APK or Browse File

New Tool "ADB-Sideload-DD-V1.2":
Drag & Drop ZIP for Sideload or Browse File

New Tool "ADB-Push-DD-V1.1":
Drag & Drop or Browse File, enter path on Device
-----------------------------------------------------------
25.09.2013: Updated Screenshot & Pull to V1.1
[Android Software/Hacking General [Developers Only]] QuantumCipher:
Hey Buddy, Adding console to a GUI for adb is something I haven't actually done yet.. But it is possible I think. Have you looked into adding normal Console into the Windows form or getting output to a textbox using System.Diagnostics ? I can't imagine it will be far of that with a bit of modification?

If I have time this week I will have a look into it ;) There must be something in platform tools which must do something helpful.
[Android Software/Hacking General [Developers Only]] Android-Andi:
Yeah, would be great if you find a way to do that :)

Another question, do you know how to rename files automaticli to count up?

I have a folder with a lot of "screenshot_*.png" and i want to rename all by a number starting from "100000.png".

Do you know how to loop a command in c# and how to abort it by pressing a button or something else?

i have seen this in other tools, but nobody told me how to add it :p

It must be a console, automated opend in current working directory. it would be nice if it´s possible to send commands from a textbox to it to see what happens if i run a command (e.g. adb shell commands).

---------- Post added at 05:14 PM ---------- Previous post was at 05:08 PM ----------

have a look on AIO_Flasher http://xdaforums.com/showthread.php?p=28719715 , console integrated :)

do you know how to add a build.prop editor like in this tool too?
[Android Software/Hacking General [Developers Only]] QuantumCipher:
http://stackoverflow.com/questions/1535023/c-sharp-append-number-to-file-being-saved
[Android Software/Hacking General [Developers Only]] Android-Andi:
I don´t understand it... :p soryy, i´m new with it....

Maybe i found something about a virutal console: http://dotnet-snippets.com/snippet/virtual-console-integrated-into-a-windows-application/633

but i don´t understand it too :D
[Android Software/Hacking General [Developers Only]] QuantumCipher:
So with console.. Does it have to be console? What are you trying achieve with it ? If that makes sense.. :confused:
[Android Software/Hacking General [Developers Only]] Android-Andi:
I added a textbox for adb shell commands... i need something to see the complete entered command listed and the output adb gives

private void button12_Click(object sender, EventArgs e)

{
Process p = new Process();
ProcessStartInfo info = new ProcessStartInfo();
info.CreateNoWindow = true;
info.FileName = "cmd.exe";
info.RedirectStandardInput = true;
info.UseShellExecute = false;

p.StartInfo = info;
p.Start();

StreamWriter sw = p.StandardInput;

if (checkBox3.Checked == false)
{
if (sw.BaseStream.CanWrite)
sw.WriteLine("adb " + textBoxADBC.Text);

}
if (checkBox3.Checked == true)
{

if (sw.BaseStream.CanWrite)
sw.WriteLine("adb shell " + textBoxADBC.Text);

}

sw.Close();
p.WaitForExit();
p.Close();
}
[Android Software/Hacking General [Developers Only]] QuantumCipher:
got any screenies?
[Android Software/Hacking General [Developers Only]] Android-Andi:
No because of:

info.CreateNoWindow = true;

But if i set it to

info.CreateNoWindow = false;

a cmd console pops up, but can´t see my command, and don´t get a real output.
[Android Software/Hacking General [Developers Only]] Android-Andi:
Screenshot attached of "logcat"
[Android Software/Hacking General [Developers Only]] QuantumCipher:
You could try making pre compiled .Bats to appear either in your textbox or CMD window...

Like this ... so When you click ADB reboot for instance it will write the commands being made as it happens. And once the procedure is complete you can make a custom adb call for saying its complete? Or something like that?
[Android Software/Hacking General [Developers Only]] Android-Andi:
No, i don´t wan´t to use batchfiles :p

Everything is working fine, only "ADB Command" of the GUI need´s something where i can see the complete code (adb.exe + entered text in textbox) and the output adb gives...

---------- Post added at 12:13 AM ---------- Previous post was at 12:06 AM ----------

Maybe [MENTION=3392162]fonehacker[/MENTION] can help...
[Android Software/Hacking General [Developers Only]] QuantumCipher:
SO... say I wrote " reboot recovery " in the adb command box and executed it, what would you like it to do? load up a console window for the procedure?
[Android Software/Hacking General [Developers Only]] Android-Andi:
a console at the buttom of the gui wich get´s the command and runs it would be nice...

but if there will be a big multiline textbox wich get´s all information (input & output) would be okay as well.

---------- Post added at 12:19 AM ---------- Previous post was at 12:17 AM ----------

I have to go to sleep now... i have to wake up in 4 1/2 hours :D ...
[Android Software/Hacking General [Developers Only]] QuantumCipher:
I believe fonehackers tool uses a textbox and not a embedded console. So he must be getting output from the device using adb then getting the process from the adb.exe and sending it to the textbox or something ha

EDIT:

Yep when you install a APK from his app, by the looks of it... strings together the adb command and executes in a adb.exe and the procedure is sent to the textbox in his app somehow. What I think is needed is retrieving data from CMD to a textbox?

My guess. :D

EDIT 2 :

Had a little rumage ....

fonehacker uses .beginoutputreadline

I saw this earlier looking for retrieving data from CMD.. Works the same pretty much. Ill try hook it up this week ;)
[Android Software/Hacking General [Developers Only]] Android-Andi:
Good news :)

I made some new "Mini Tools"

Download from here: http://xdaforums.com/showpost.php?p=45890612&postcount=76

Edit: Added 2 more and added "Browse File..." again:

You can choose between "Drag & Drop" oder "Browse File.." both working.
[Android Software/Hacking General [Developers Only]] QuantumCipher:
Drag and drop is a nice little feature, I made something similar for my xperia for transferring music wireless over Wi-Fi.. But whole waste of time in the end as the sending was toooo slow.
[Android Software/Hacking General [Developers Only]] Android-Andi:
Any news about "Console" ?
[Android Software/Hacking General [Developers Only]] QuantumCipher:
Did have a play around with it last week but couldnt get it to work :L Also I have been slightly caught up with Grand Theft Auto 5 ;) But I have added it to my tool so I will eventually get there. ha Just need to get it working... :mad:
[Android Software/Hacking General [Developers Only]] yashade2001:
great job man :)
[Android Software/Hacking General [Developers Only]] bonsai112:
I really like your guide and I got the basic stuff working. So where do I find more tutorials like that or at least some kind of list with all these commands(especially ADB commands to automatically install a Rom) I wanted to make something similar to Squabbis Toolkit but I just can't find a list of commands he is using :/
[Android Software/Hacking General [Developers Only]] QuantumCipher:
Would you like me to make a newer Tutorial ? With most or all commands showed? And There is some slight bug issues that occur when pushing files that I originally did not notice in this thread.
[Android Software/Hacking General [Developers Only]] yashade2001:
There is an existing adb commands list thread.
[Android Software/Hacking General [Developers Only]] rogerboogie:
nice thread

really nice thread , i am noob on visual languages programming

i ha some usefull bat files but iam looking for port to visual languages just like c# o vb

i learn a lot on this thread, thanks and hope you can help me on my project if i get stuck
[Android Software/Hacking General [Developers Only]] ManthanRB:
Yes a new tutorial will be great!:o

Can you modify my code i am not able to get the real-time output in my richtextbox:fingers-crossed:

ProcessStartInfo ABC = new ProcessStartInfo("Cmd");
ABC.UseShellExecute = false;
ABC.RedirectStandardOutput = true;
ABC.RedirectStandardInput = true;
ABC.CreateNoWindow = true;
var proc = Process.Start(ABC);
proc.StandardInput.WriteLine();
proc.StandardInput.WriteLine("adb install " + "\"" + TXT_Single_INSTL.Text + "\"");
proc.StandardInput.WriteLine("exit");
string s = proc.StandardOutput.ReadToEnd();
richTextBox2.Text = s;

:rolleyes:
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there,

try this:

ProcessStartInfo StartInfo = new ProcessStartInfo();
StartInfo.FileName = "path/to/adb/exe";
StartInfo.Arguments = Encoding.Default.GetString(Encoding.UTF8.GetBytes("ur command"));
StartInfo.CreateNoWindow = true;
StartInfo.UseShellExecute = false;
StartInfo.RedirectStandardInput = true;
StartInfo.RedirectStandardError = true;
StartInfo.RedirectStandardOutput = true;
StartInfo.StandardErrorEncoding = Encoding.UTF8;
StartInfo.StandardOutputEncoding = Encoding.UTF8;

Process _proc = new Process();
_proc.StartInfo = StartInfo;
_proc.ErrorDataReceived += (s, e) =>
{
if (e != null)
{
// do what u want with e.Data
}
};
_proc.OutputDataReceived += (s, e) =>
{
if (e != null)
{
// do what u want with e.Data
}
};
_proc.Start();
_proc.BeginErrorReadLine();
_proc.BeginOutputReadLine();

// send an command
_proc.StandardInput.WriteLine(Encoding.Default.GetString(Encoding.UTF8.GetBytes("ur command")));

Also have a look at this answer

Hope this helps u :)

Regards,

Sebastian
[Android Software/Hacking General [Developers Only]] ManthanRB:
Thanks a lot bro,:o

i will test it after my exams!:fingers-crossed:

but really thanks for replying!!!:D
[Android Software/Hacking General [Developers Only]] itechy:
Im having an issue with the following code

private void button5_Click(object sender, EventArgs e)
{
Process process = new System.Diagnostics.Process();
ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo.RedirectStandardInput = true;
startInfo.RedirectStandardOutput = true;
startInfo.RedirectStandardError = true;
startInfo.UseShellExecute = false;
startInfo.CreateNoWindow = true;
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "/C";
process = Process.Start(startInfo);
process.StandardInput.WriteLine("adb devices");
connected_devices.Text = process.StandardOutput.ReadToEnd();
}

Its all working and executing but the Standard output isn't changing or printing in the text box. Any help?
[Android Software/Hacking General [Developers Only]] KP@2016:
Very much helpfull. Thank you sir...
[Android Software/Hacking General [Developers Only]] KP@2016:
Bro tried your solution for getting realtime output, but got error. I tried for getting output for fastboot flash recovery recovery.img, any solution please help.. Check attachment for details If you have any alternate solution please tell!

Thanks in Advance

Edit :- That Refrence variable is "recovery" and passon is the path of recovery.img
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Heyho,

why using a complete process model?

If u use my dll u can just use AndroidCtrl.ProcessModels.RealTimeBGExe(string exe = null, string args = null) like:

...
private AndroidCtrl.ProcessModels.RealTimeBGExe myProcess;

public void MyProcess()
{
myProcess = new ProcessModels.RealTimeBGExe("\\path\\to\\fastboot.exe", string.Join(" ", "flash recovery", recovery));
myProcess.ErrorResponseCallback += OutputCallback;
myProcess.OutputResponseCallback += OutputCallback;
myProcess.Start();

// myProcess.Dispose()
}

private void OutputCallback(object sender, ProcessResponseArgs e)
{
Application.Current.Dispatcher.BeginInvoke((Action)delegate
{
if (string.IsNullOrEmpty(e.Error) == false)
{
// do with e.Error what u want
}
else if (string.IsNullOrEmpty(e.Output) == false)
{
// do with e.Output what u want
}
});
}
...

Regards,

Sebastian
[Android Software/Hacking General [Developers Only]] KP@2016:
Thanks a lot bro.. Soon i will try
[Android Software/Hacking General [Developers Only]] KP@2016:
Hey...bro..can u do a little favour for me..actually i want to get a realtime output from fastboot exe...like when button1 isclicked then it should run some codes and all the errordata and outputdata should be written automatically on textbox1 ,,,, also during this process, button1 should be clickable ...and the cursor on textbox1 should be waitforcursor.... Is this possible..Then how could we do it..
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Heyho,

i don't know how u code... Me for example, i code straight to the MVVM guidelines. Anyways, write a view model which holds the process, check for example the "IsAlive" property each x sec. if it changed to false. If not show the wait cursor.

Regards,

Sebastian
[Android Software/Hacking General [Developers Only]] KP@2016:
This would help you guys in making ADB toolkit [youtube]qoohtBIkUxY[/youtube]
[Android Software/Hacking General [Developers Only]] Raghu varma:
One doubt?

Instead of getting output log in cmd. How to get that log into in text box?
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Depends on what a kind of output you want to capture. For example if you want to get the Fastboot output, you need a processmodel. If you want the adb output, there are multiple options, you can do this via an socket or an processmodel.

What have you tried so far?

Regards,

Sebastian
[Android Software/Hacking General [Developers Only]] Raghu varma:
For example i did one software which is for flashing only twrp so now iam ready with my software and now i want to flash twrp so for that i wil click on flash button but after clicking on flash button iam getting cmd.exe popup for flashing twrp in to my phone but i want to see the flashing proccess by itself in software by the end instead of cmd.exe popup

so now

i want add a console like this to view the flashing proccess by the end

can you please clarify my doubt? by giving code

thanks
[Android Software/Hacking General [Developers Only]] Raghu varma:
For example this is my code

{

Process process = new Process();

ProcessStartInfo startInfo = new ProcessStartInfo();

startInfo.WindowStyle = ProcessWindowStyle.Hidden;

startInfo.CreateNoWindow = true;

startInfo.UseShellExecute = false;

startInfo.RedirectStandardOutput = true;

startInfo.FileName = "fastboot";

startInfo.Arguments = " devices "" + textBox1.Text + """;

process.StartInfo = startInfo;

process.Start();

richTextBox1.Text = richTextBox1.Text + process.StandardOutput.ReadToEnd();

}

iam getting output in rich text box in ( image 1)

but if i gave someother commands like

{

Process process = new Process();

ProcessStartInfo startInfo = new ProcessStartInfo();

startInfo.WindowStyle = ProcessWindowStyle.Hidden;

startInfo.CreateNoWindow = true;

startInfo.UseShellExecute = false;

startInfo.RedirectStandardOutput = true;

startInfo.FileName = "fastboot";

startInfo.Arguments = " flash boot "" + textBox1.Text + """;

process.StartInfo = startInfo;

process.Start();

richTextBox1.Text = richTextBox1.Text + process.StandardOutput.ReadToEnd();

}

iam not getting output in rich text box in ( image 2)
[Android Software/Hacking General [Developers Only]] Raghu varma:
Can you do me a small favor?

can you please write a code for this interface.

like when i click on flash

the flashing proccess need to appear in console output
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Well, you have already everything you need^^

-

Just wrap the "FlashBootImg(string imgPath)" function in a "Button.Click" event handler. After that edit:

Application.Current?.Dispatcher.Invoke(() =>
{
// This line to your needs
rtb.Document.Blocks.Add(new Paragraph(new Run(e.Data)));
});

and everything should be fine.

Regards,

Sebastian
[Galaxy S III Q&A, Help & Troubleshooting] sinahidden:
hey guys,

i have purchased my galaxy S3 from Iran,its having ICS 4.0.4 on it,now almost all the countries has got official update of jelly bean,but for my phone,its not there,

can any1 plz tell me if i want to install official update of another country how i can do it?currently im india n official jelly bean is available for indian S3.

thanx
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
Use CHECKFUS to download any current firmware and flash via Odin or go to sammobile .com or read the India thread .

jje
[Galaxy S III Q&A, Help & Troubleshooting] exynoss:
U can't install jelly bean update in other countries.

U have to do it manually with idin software.
[Galaxy S III Q&A, Help & Troubleshooting] sabaselection:
no update, no sim

Hi Guys

My friend is having the same problem however he doesn't have a SIMcard just yet. turned on his device and connected to wireless, checked for updates and it reports with no updates available for his device...bought the device in Australia. he doesnt don't get a SIMcard for another 2 weeks. Will he get updates once he insert his SIMcard or will he have to update via odin?

i was under the impression that Samsung will update their devices and then push it to our service providers to then push the update out to the user?

is this even correct?

Thanks
[Galaxy S III Q&A, Help & Troubleshooting] Tanveerul:
U can get the update even without sim card. Just download Samsung Kies on your laptop and connect your phone and upgrade the firmware using Kies.

This will do the update to jellybean

---------- Post added at 10:39 AM ---------- Previous post was at 10:34 AM ----------

Download Samsung Kies and use it to update your firmware to jellybean.
[Galaxy S III Q&A, Help & Troubleshooting] sabaselection:
thanks for the information but i have already tried Samsung kies for updates it was the first thing i did and it says i have no updates available for my device. its good to know its not network (SIM) related but i still have the same problem of being stuck on 4.0.4 when i know a jellybean update is available!

if anyone know any information about this would be greatly appreciated... i have also found that my model number is the GT-I9300A

What the hell is that?.. it was bought from Kogan Australia
[Galaxy S III Q&A, Help & Troubleshooting] Tanveerul:
Without Knowing the model how did u try the update using Samsung kies? As it ask for the model and the serial Number of your phone.:rolleyes:
[Galaxy S III Q&A, Help & Troubleshooting] sabaselection:
lol :silly: im not sure you know whats going on....

I have a NEW Samsung Galaxy S3 bought from Kogan Australia...

Out of the box it came with Android 4.0.4

I know jellybean (4.1.1) is available for the S3

FIRST i checked the phone for updates...Said my phone was all up to date.

Then plugged in my phone using Kies....Kies said the same thing.

Then went and had a look at the model number (BTW Kies didn't ask me for model number it figures it out on its own)

Turns out i got a GT-I9300A

Then searched the net for a Samsung galaxy GT-I9300A...Nothing came up.

Then decided to comment on XDA because i thought someone might know whats going on.

Found out i was wrong! :(
[Galaxy S III Q&A, Help & Troubleshooting] EtienneBordeaux:
Can you type this on your dialer.

*#1234#

Post here what you got.
[Galaxy S III Q&A, Help & Troubleshooting] mrm43:
I had the same problem as you when I bought my s3 two weeks ago. I am from the philippines and the s3 I bought had a different region (kenya). Kenya is still pending on jellybean update. I could not update via OTA. It always says that it is up to date. Tried kies, same thing. I decided to flash via Odin the Samsung official firmware 4.1.1 from sammobile, choosing my country among the list. After flashing I did a factory reset which then registered my s3 to my country. All is well now as I am registered to my local network and can receive OTAs. And warranty is not voided.

Note : be sure your s3 is GT-I9300 unlock. HTH.
[Galaxy S III Q&A, Help & Troubleshooting] sinahidden:
bro what will happen if i dont unlock my sgs3 and flash the 4.1.1 via odin?

i have used different simcards n all r working.so do i still need to unlock my phone?
[Galaxy S III Q&A, Help & Troubleshooting] mrm43:
Sorry for the confusion. What I meant was my s3 was factory sim unlock (open line). I did not mean bootloader unlocked. If you have used different Sims then your good to go. Don't unlock the bootloader if you're going to flash official firmware, to keep warranty.
[Galaxy S III Q&A, Help & Troubleshooting] sabaselection:
ap : I9300xxblfb

cp : I9300xxlfb

csc : I9300ojvblf3
[Galaxy S III Q&A, Help & Troubleshooting] EtienneBordeaux:
There is no JB update for Iran yet. If you want to have your JB experience then you have to download other countries' firmware then flash it manually. I suggest the UK-BTU version or rather go for Poland-XEO which is 4.1.2
[Sony Xperia S, Acro S, Ion] suf3r:
Hello, does anyone know how properly run on this phone (1280x720) ? I think i need edit some files, but which files ? Error: Uer interface 720x1280 is not supported or compatible skin can not be found.
[Sony Xperia S, Acro S, Ion] abd_alazeez2002:
Read this

http://www.mobilephonetalk.com/show...oid-Final-Edition-2012-All-Resolution-Working

I hope it could help u
[Samsung Galaxy W I8150] maulanarizki:
​

Hello everyone, please welcome our new team development "tw.UI team" specialist for theme development and this is our first offerings, we want to contribute in terms of developing a user interface for Galaxy W .. please don't at scorn: D

The first theme is from me, and other themes will be in post by another member of our team. Hope you like our theme, choose by your self which one you like and do with your own risk. Thank you.​

Here is my first tread also my first theme for GB only based DXLM3 and work for XXLMD.

I present to you

twUI_NarutoUI [Beta 1] THEME FOR GALAXY W​

​

Requirements:

1. Stock ROM DXLM3 and XXLMD (Deodexed Only)

2. Custom ROM :

- And ROM Based DXLM3/ XXLMD others who have customized​

FEATURES :

SytemUI.apk modded

Some transition animation added

frameworks-res.apk modded

14 toggles with naruto icon

some other modded

​

Initial Release :

v.Beta 1.0 (12/12/12)

- 14 toggles with naruto char icon

- Semi transparent status bar and notification bar

- Some transition animations

​

Download :

twUI_Naruto_UI [Beta 1]​

Screenshot :

​

Screenshot​

How to install :

Just apply via cwm, don't forget before installing, please wipe cache, wipe dalvik cache, reboot and enjoy...!!!​

Please always backup before any flashing, because I am not responsible for any damage your device​

Credits and big thanks

All tw.UI team member

Especially to ibanez7 for helping me mode framework-res.apk

gepengmilan for his based THEME PERTAMAX

[Official Community] Galaxy Wonder GT - I8150 Indonesia

All XDA member

​