Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "adb"
My dad found a phone a few weeks ago and asked me what he should do with it. Knowing how much it hurts to lose personal data, I said I could try to find the owner and send it back.
My first attempt was to search through the files on the SD card in order to find an identifying document (CV, bill, address...) but there were only family pictures.
My second attempt was to unlock the phone and check the information about the owner and the accounts linked to it. But for this to be possible adb has to be enabled. Good thing is that that particular brand shows an option for activating adb on the recovery menu.
But then, it's Android Oreo and I haven't found a way to lift the lock pattern. I thought I could bruteforce it over the shell (as I found there could be about 1300 possibilities for 2 to 5 point patterns), but there is the same attempt throttling as on the screen so that would take ages.
Finally, I found the owner in the most "social" way : The phone was displaying the weather for a particular place. It turns out that there are only 3K inhabitants in that city, si I thought that a big enough Facebook group might help me find the owner. So I posted a message on a 500 people FB group dedicated to this city with a selfie of the owner : someone identified her within 20 minutes.
Mission accomplished 😎48
An entire night I've spent on this shit.. preparing wires, soldering them on the motherboard, and finally connecting everything up to current meters, my PC's USB port and a lithium cell from my old Doogee phone that I still had laying around. All in the hopes to get an adb shell. But all in vain.. the turd doesn't even want to boot up. What a fantastic waste of time 😑
(Apologies for the terrible picture quality btw, this tablet's camera is absolute garbage)15
I flashed TWRP in my phone and it didn't boot anymore. I didn't have any image of any operating system in my sdcard and my pc hasn't a sd card slot.
So I started thinking, I googled for some solution, I tried the official tools, but nothing worked. So I started writing an adb script able to download the image from the server and install it in my phone.
While I was doing it I was also explaining my troubles to my no-tech friend. She's not confident with computers, she's able only to turn the pc on and go to Facebook.
She told me "why don't you put your sd card in another phone and download the operating system from it?"
She literally saved my day.
Sometimes we are so busy with our geek things and we forget trivial solutions4
"Pre-Installed Malware Found On 5 Million Popular Android Phones"
"added somewhere along the supply chain"
See below how to check if it's installed
- (new) https://thehackernews.com/2018/03/...
- (new) https://research.checkpoint.com/rot...
- (old relevant news) https://thehackernews.com/2017/03/...
"Rottensys" a malware which covers devices from: Honor, Huawei, Xiaomi, OPPO, Vivo, Samsung and GIONEE
"According to our findings, the RottenSys malware began propagating in September 2016. By March 12, 2018, 4,964,460 devices were infected by RottenSys," researchers said.
"At this moment, the massive malware campaign pushes an adware component to all infected devices that aggressively displays advertisements on the device’s home screen, as pop-up windows or full-screen ads to generate fraudulent ad-revenues."
If you have one of the affected devices, here's how I checked mine:
1. Install ADB (Windows: https://forum.xda-developers.com/sh...)
2. Connect your device in USB-debugging mode
3. execute "adb shell 'pm list packages -f' > output.txt" (On windows navigate to C:\adb and replace "adb" with ".\adb.exe")
4. open the now created output.txt
5. search for any of those:
So this happened a few days ago. I always want to root my smartphones for that little bit more control.
*Put's new smartphone into fastboot mode*
*Tries to flash root zip onto it*
"You have to OEM unlock the bootloader first"
*OEM unlocks the bootloader*
*Tries to flash but fails*
*Tries to reboot*
Phone: "The bootloader has been tampered with, the device will boot in 5 seconds".
*Screen just hangs there for ages*
*Tries to enter fastboot again to OEM re-lock the bootloader*
*Fastboot appears to startup RIGHT AFTER THE FUCKING ERROR MESSAGE so can't boot into that anymore*.
Hmm... TWRP is still installed...
*Tries to flash some stuff through TWRP*
"The zip file you are trying to flash is corrupt".
FUCK MY FUCKING LIFE.
*Connects phone to Linux for adb flashing*
*Nothing happens after half an hour of trying*
*Connects phone to ancient windows 7 laptop*
*Laptop doesn't even RECOGNISE the phone although all drivers are installed*.
*Le me about to completely lose my fucking mind*
*Connects phone desperately with Linux again*
*Phone is recognised right away but the SPL flash tool can't detect it*
*Tries to put it into fastboot again*
*Fails for about an hour*
*phone in charging mode again*
*Presses the power button for a last, desperate attempt*
*SPL flash suddenly recognises the phone*
*Android boots again like nothing happened*
I can use it again like normal but the No-Root firewall is draining my battery like crazy.
That was one hell of a journey though!11
Android studio: Installing APK
ADB: Device disconnected
Android Studio: Failed to install
ADB: Device reconnected
Me: *Hits debug*
Android Studio: Installing APK
ADB: Device disconnected
Android Studio: Failed to install
ADB: Device reconnected
ADB: Device disconnected
ADB: Device reconnected
Windows: Updates are ready to install
For me definitely Microsoft for multiple reasons:
- Word is probably the best wysiwyg document editor, but it's unreliable. Wrote a 100 page document? - sorry file is corrupted. It's a bulldozer of a piece of software, but remembering a clean state of the document in case the computer crashes - disaster, or verifying a document for validity before overwriting the last version? Nope.
- Cloud services are integrated..badly. Word document stored on OneDrive with some problems after crash -> welcome to hell.
- Their approach to software development from an enterprise point of view, but trying to do customer software is currently driving me nuts with Xamarin Forms. Data structures and C# are awesome, but need a good UI you're back in the middle ages.
- Their lack of concern for performance: MacBook Air with browser open and a text editor: 11 hours of battery life. Start OneDrive and we're down to one and a half hour maybe.
- Apple charging hilarious money on their products is one thing you can't deny, but what the hell do the guys at Microsoft do... - I got a MacBook Air from my employer and it has ridiculously low specs (i5 Dual Core 1.8 GHz, 8GB ram, SSD) , yet it greatly outperforms my Win10 PC (i7 Quad Core 3.6 GHz, 16GB ram, SSD) in some tasks - code compilation for example. You can't tell me MS aren't generating demand for better hardware by writing the most inefficient pieces of software. My wife has a Quadcore Atom laptop and it struggles on opening one instance of ms word. Hell, my first PC had a 433 MHz Celeron and a slow HDD with 8GB and 64 MB ram and you could work more efficiently than with this quadcore trying to run Win10 piece of crap.
- Outlook: Stores gigabytes and gigabytes of data on the harddrive, yet when the mail server is not available, crashes on startup and when it launches for once doesn't show any mail for the unreachable server.
- Windows update - do I really need to go into detail? On a desktop - okay... But we had Windows Server running - well - on a server, doing some task on it's own (2 week's job). Couple of days into the task it decided to install updates and restart.
- Their inability to create something that works reliably over time. Computer's getting slow? We don't know why.. Rather than fixing the causes we'll add a reset button which will ease the process of reinstalling windows for you. (Did someone really ever use this feature?)
- Drivers on windows are thankfully now easier than before, but still a hassle sometimes. Some things just work on Linux/macOS, take ages on Windows. I remember looking for adb drivers for the Oneplus One just to mention one example.
- What's wrong with Hyper-V? I always wondered why I can do virtualization tasks on Linux without trouble whereas on Windows I'd always have trouble- especially when I also want to use emulated Android devices (HAXM).
- Their disregard for standards. Android uses adb as the interface for debugging apps. This way it doesn't really matter if you are on a device or an emulator. Not when you start working with Xamarin. Then all of a sudden you need Microsoft's emulator (i think it was because of HyperV) which is then not compatible with Android Studio although the interface should/probably could be the same. AND THERE IS NO SUCH THING AS "SYNC" IN GIT!
And I strongly dislike the attitude of Microsoft people - at least in my country. Microsoft is the best! It's the right way to do it! If it doesn't work the way you want it, you can still use this overly complicated workaround, your preferred solution anyway doesn't make sense/is dirty. You're using <put generic non MS tech here>? - Hahaha - I played with this when I was a child, now I do grown-up stuff. Or the famous: "iPhone? A business phone without keys? No one will buy this!"
Hope i didn't miss something, or I might need to come back...12
Watching a movie the difficult way:
1. Download the movie
2. Push it to phone A via adb
3. Write WebRTC datachannels implementation that so that phone B starts getting the bytes from phone A
4. While file is being written, start MX Player in phone B and start watching.
5. profit?! :P
Obviously I was just testing the implementation, but the movie ended being nice.5
My tablet is lying on a table 2m away from me and I have to install a new app.. but I don't want to get out of my couch ffs! And I haven't configured dropbear in it yet, and neither do I have adb over TCP/IP. Well fuck it then. My desktop with BlueStacks.. hah, it's running fucking WanBLowS. No remote access there. Too much to ask of that certified pile of crap.
But the point is.. moar remotes, moar better 😋 anything to not have to stand up, taught by my ability to log into a server in Italy from the comfort of my couch. SSH and the sysadmin trade sure is nothing short of amazing ♥️5
Me: I want to learn Clojure
Me: But I need real tasks to learn
Me: OK, reconnecting device with wireless adb
Inner me: Are you kidding? 5 lines with bash
Me: In clojure it will be more elegant and faster to write similar tasks in future
*2 hours later*
Me: IT WORKS
Internal me: Really? This is ugly as fuck. And the only clojure feature it uses - sh and re-find
Me: But... It... Works... *cries*
My brother came to me with his phone today to ask me if I could turn it on with my computer, because his power button is broken so I proceeded to attach it to my lappy and boot it with adb just to find out I can't do anything because he hasn't turned on USB debugging!
I managed to get into his recovery which helped nothing because in order to navigate in the menu the power button has to work
Uuuugh I hate this ...39
An hour before my Mathematical Expression and Reasoning for Computer Science final...
Have reviewed all the material available but past exams are useless because new_prof == new_format.
This is not even a rant, I'm just scared because to get into the major I need an average between this and programming of 82. I fucked up in the second midterm and got a 50/100. Everything was so perfect (at least above 80) and now I need more than 70 in this final. I'm feel I can get more than 70 but I had the same feeling during the midterm I fucked up.25
Fuck the brains of circular dependency.
On a fresh install of OS X on my hackintosh.
1) Let me install HomeBrew
2) I need Command Line Tools to install HomeBrew
3) Xcode dmg is on my Android. Opens Android File Transfer tool.
4) Error: File is larger than 4GB. Need to use adb.
5) Need to install android-platform-tools, which contains adb.
6) android-platform-tools is available in brew. Goto 1).
Note: Networking is limited to tethering mobile data as Wifi chip hasn't arrived yet.4
devRant already replace SoundCloud as my orange app in the main screen...
To be fair, SoundCloud was just there to complete the rainbow.
Rant: this app told me that my rant would be safe if I closed the Post Rant window (since I can't post more than one rant per hour or something) but it didn't save my awesome tags! I feel betrayed.23
Had to use a cmd window for adb to push some files to my phone so I could flash them and everyone is staring at me...
It's just a cmd window people... #Hackerman4
I propose a list of interesting readings. Not limited to developing.
Yes, I'm in need of something new to read...
I'll start in the comments, feel free to comment new readings or critique the ones proposed.29
Me: *Trying to get the mobile banking app*
App: Nope, you have a rooted device
Me: *disables root access for apps and adb*
App: Nope, you have a rooted device
Me: *Maybe a xposed module would help*
Xposed: Nope, you have android nougat
Me: *Maybe there's some LineageOS marshmallow rom for my phone*
LineageOS: Nope, just android 7.1
Just did a transplant on my friend's phone. He dropped it one too many times, and fucked it up real bad.
We were first going to simply put his SIM card into another phone. I had an old S6 that bricked itself during an update before I really knew much of anything about phones, so I dug it out and spent a day trying to restore it with heimdall, adb/fastboot, and eventually odin when I found a laptop with windows. Unfortunately it's a Verizon phone, and because Verizon likes to keep a tight chastity belt on everything, it was pretty much impossible to unbrick. After giving up with finding a custom recovery or flashing a stock ROM, we moved to Plan B.
We took both phones apart, switched the boards, switched the SIMs, and he now has a working phone in much better condition than before he dropped it seven feet from his girlfriend's bunk.
It's always fun to make life from two dead things.3
When I used Windows and I needed to flash a rom I had to download minimal adb and fastboot package to use adb and fastboot.
I am using Manjaro now so I thought there must be a minimal package. Searched on pacman and android-tools is already installed and it's just a 2mb package. I love linux 😁8
My new HTC smartphone hates me.
First it started to shut down all of the sudden yesterday night, when I was solving quadratic equations on my laptop.
I thought that it might be due to low battery. So I have restarted it. After putting itself into a bootloop for 4 start sequences, it was able to fully start to the page where it told me to enter the security pin to decrypt my files. I also had 30 attempts left. Like a ransomware.
I was like "tf I didn't set anything up".
So I decided to use my first attempt as I had 30 attempts left.
I entered the pin (I can swear that it's correct) and it told me that it has to wipe the /data partition.
I did that. I pressed that button. After waiting for 30 minutes I gave up and rebooted into the bootloader.
Bootloader -> Download Mode -> wipe /data (stock rom + stock recovery btw.)
Some error with "e: mount /cache failed[...]e: mount /data failed"
So, I tried using the adb sideload - no success.
Fastbooted into RUU Mode - HTC keeps rebooting itself into the RUU Mode - no success
Tried to flash the firmware and twrp recovery from Download mode - no success
Then I tried to flash all these things from the sd card - no success
Searched for revolutionary (I know this from my old HTC sensation device).
It wasn't big of any help.
Then someone on xda recommended htcDev (htc's <b>developer-friendly</b> lol site)
I followed every step. Everything seemed to be okay.
I got to the last step.
I needed to get my encrypted token by entering "fastboot oem get_identifier_token" to be able to submit it to HTC, and after they would send me an e-Mail with an .bin file that would let me unlock the bootloader to be able to flash my way through all this headache giving fucking piece of dog shit!
But since I can't back to the phone settings to select the bootloader activation box that would let me get my token... but nah.
Sent by using the devRant web app (:\)8
Fucking piece of shit, i want to make a fairly thin app with some native functionality and
Flutter - no documentation whatsoever, what a surprise
React native - i need 3 extra modules just to do what i want
Cordova - fuck no
Litho - seems fine but i dont wanna use native, i dont even have adb on my laptop18
So I had to test an Android app I made with some friend a month ago because tomorrow we'll be presenting it in front of our teacher, and we had to recall the bugs, and change some API key (because Google changed their API policy and stuff).
I start Android Studio, it updates, I change the API key, launch the emulator and wait for the updated apk to install.
> Android Studio waits for the device to be online... wut ? The emulator has booted for 2 minutes now.
> Close the emulator, starts it again
> Emulator doesn't launch
> IDE ERROR : Unable to locate adb
> DID THE FUCKING UPDATE DELETE ADB ? ARE YOU TRYING TO MIMIC WINDOWS OR WHAT ?
> Quack the error to find where it should be
> "Launch SDK Manager, install platform-tools if it's not already in <path in explorer>"
> Not in explorer, check in SDK Manager : "Installed". wut ?
> Try to uninstall/reinstall
> "Uninstalling platform-tools... Some log messages... Stopping ADB..."
> WAIT WAT ? HOW DO YOU WANT TO STOP SOMETHING THAT'S NOT INSTALLED ?
> Doesn't stop adb (of course). Stalls. Does nothing. Still tries to stop adb. Is dumb.
> Kill Android Studio, restart, retry
> Same result.
I'm reinstalling Android Studio right now. It will take 2 hours because of all the sdks and tools to download and it's 00:05. I consider ending my life at this moment.4
This evening for curiosity i executed a nmap over my android phone expecting (like everyday) all port closed.
But i see
9080/tcp open glrpc
Let me check something....
And the first line provied me the UID of the app that was running on 9080 port (2378 in hex)
So let me check which app is that
$dumpsys package | grep -A1 "userId=*UID*"
And the answer is com.netflix.mediaclient
Why netflix is running a http server on 9080/tcp on and android phone??3
A: "It would be great if we can add a snack bar in our office."
A: "It makes our developers smarter."
A: "Jobs said 'stay hungry, stay foolish'. That's why we shouldn't makes our developers fool."1
After ten years of working sh*t jobs I finally got the chance to study CompSci at a top university... All the kids look at me as if I've been programming for years, truth is I just study a lot because my scholarship requires me to get B+ or above.
I just learned that you can use Android Device Monitor in Android Studio to take screenshots.
Until today I was using adb screencap -p /sdcard/filename, totally forgetting the filename, go through all the commands and see what fucking file name I used and do an adb pull. It was a lot of fucking work.2
I have a new personal project that I hope I'll share with you guys one day. It just came to me. A fog simulation for a window manager such that it has fog behind the transparent console while you code and the fog goes in front when the terminal is locked. How about it?2
Got my first job, 3rd year student from my country took me in to help making an app for a company in Texas... All the other guys are from 4th year or graduate school. Feeling nervous, let's hope I don't fuck up.2
Me: I've never been so long without exercising (since before this, my first winter), I should get in shape now that this God forsaken weather is finally reaching livable levels.
(some time later at the gym)
Also me: You've always been in good shape, why stop with just chest, let's do some arms and shoulders.
(48 hours later, Monday morning)
I had to turn my whole torso to look if any car was coming while walking to the library, moved like terminator because of the massive neck muscle pain, suffered through the pain of setting up all my study material to the realize (just now) I can't even fucking look down to my notebook... Can I be more stupid?1
I was given 6 whole months to rewrite some old monolithic web app exactly 5 months ago today. Now I have to show my boss the progress I've made. How do I explain him that I wasted my time in this order:
1.- heavy procrastination
2.- try new frameworks to work with, pick one, start writing the app, regret and start over again using a different framework.
4.- existencial crisis and self doubt.
Now all I have are a bunch of incomplete buggy modules and a mental breakdown.8
After 8 hours of carefully installing Gentoo in my laptop I ended up with a... Completely unusable OS. Guess I'll try again tomorrow, apparently I didn't set up the kernel with the appropriate drivers.2
OMG... I want to thank my mother for changing my diapers for many years, my brother for all the games he no longer plays, my wife for actually making money, my plant for the awesome smell, God for maybe doing something (I guess), thanks @dfox, @trogus, and each one of you guys that deemed my rants worthy of your ++.1
I learned C with a K&R copy a friend gave me years ago. Now at University we in CompSci get taught in Python the first year and Java next while the engineers start with C and (I'm guessing) move on to assembly later on.
This friend comes to me all worried because he has to submit the next day a working Reversi game for the console written in C. Turns out the game was divided among two labs and he failed to submit the first one.
The guy is smart but once a week or so, when we met to smoke a joint and relax with some other friends, he was always talking about how he would prefer something like law but that would be bad business back in Egypt.
Back to the game, I get completely into it. First hour checking all the instructions he was given, then reviewing the code he wrote and copied from Internet. We decide start from scratch since he doesn't really get what the code he copied do. It took us 10 hours only stopping to eat but we get all the specifications of both labs perfectly.
A week after that he comes to me: "my TA said your code is the ugliest shit he's ever seen but he gave me a perfect score because it passed all the tests". I'm getting better (the courses I'm taking help me a lot) but what really made me happy is that he solved the next lab by himself (Reversi wasn't the first time I helped him, only the first time he was absolutely lost). Now he actually gets excited about coding and even felt confident for his programming final.
No more talking about being a lawyer after those 10 hours, totally worth it.1
From time to time I go to the office bathroom and there's this guy who's leaving without washing his hands.
I admire his courage for doing so even if there's people around!!2
I was wondering if anyone knows of a similar app to asus auto start manager?
One of the main reasons I love my Asus Zenfone 3 zoom is the fact that it has this feature which let's you ban apps from running/starting in the background. It sounds simple but it helps the phone last well over 3 days in addition to it's 5000 mAh battery. Going to any other phone and seeing the battery drain so rapidly gives me war flashbacks of my Nexus 6p with the degraded battery issue.
In any case, I would imagine something of this sort would require adb privileges at least if not root seeing as it would require almost system level access to function and not be overridden/go to sleep. Also this is very different from greenify or apps that force deep sleep on your device. Essentially this toggles whether an app will run outside of you manually opening it also preventing background process hence why things like email and messaging apps need to be toggled on so you can get notifications etc.7
when the adb in your android studio is older than the adb provided by your distro and both versions are incompatible2
Fuck whoever is responsible for the backup and restore features of ADB. Luckily I had a backup in a different format, but if it was up to ADB's shittyness I would've lost all my data.
Can anyone transitioned from eclipse adb to android studio actually work with the damn studio?
The eclipse plugin was one hella glitchy but working with it was easy and clear. The Studio makes every fucking simple thing to science.😅6
I just fucked up real bad:
My phone was giving some error about not being able to install an update. Fair enough, i think to myself, so i try rebooting. Still nothing...
I then remember that i at some point OEM unlocked it for some testing, so i start up adb and see if i can connect during the update process. I can't. This is bad: I can't get into my home environment, nor can i connect with adb
Then i try booting into recovery, but instead of booting to ACTUAL recovery, it boots to some custom made "E-Recovery" made by huawei (my phone is a huawei p9 lite), which only gives me the option to download the update, which crashes, and no way of resetting. However, from here, i am finally able to connect to my internal storage via hisuite to make a backup
Next up: Bootloader
So i next load up the unlocked bootloader to try and manually flash the update. That works great, but it still wont boot normally. So i figure: it must think my device is in fact a different device. At this point i'm pretty fucked: Even though i have my data backed up, i can't manually download the update from huawei's site because i don't have the right keys, and i can't download an OTA because their site sucks and half of the downloads don't work, including the one i need. So now i'm stuck here with a bricked phone because EMUI doesn't know how to install an update.
I then did the stupidest thing i have done to date: i wanted to flash a custom recovery image over the "E-Recovery" in order to do some troubleshooting, but instead of writing
"fastboot (mydeviceid) flash recovery recovery.img"
"fastboot (mydeviceid) flash boot recovery.img"
Meaning i flashed my BOOT partition with a custom recovery image that turned out to not be able to run. Great! Now i've totally fucked my boot sequence
I can't call their support line either, because as soon as they realize i've tried to restore it myself, and therefor had my OEM unlocked, they basically just hang up.7
I use mail.com and the amount of websites and companies that ask me if I'm sure I don't mean Gmail is so annoying. One finance company even changed it to Gmail without asking me! Time to change email addresses?2
Waiting for Gradle build is bad enough, but also waiting for ADB install to complete too:
$ adb install Foo.apk
* daemon started successfully *
.......Okay, it's 100%, let's finish this up...
<5 minutes later>
I've gotten so used to inputing text in fields via "adb shell input text ....", that I did the same today with an emulator, not realizing I could just use my laptop keyboard to write in the fields.
Every. Single. Time.
Push APK to device. Runs.
Make code change. Try to run - but device not shown in ADB list.
Only this sequence works, and not every time:
1. Turn off USB debugging on device
2. Turn off debug mode with toggle on device
3. Turn back on debug mode, then toggle USB debugging
4. Wait for prompt, allow debugging from computer.
If I check remember this computer, then I need to add the extra step to revoke authorizations.
Why. WHY Can't I just push to my device while its plugged in more than ONE TIME4
So today I was asked to make a 2 programs, one to send socket data to the Android either through wireless or through the USB and the program on the Android to receive that data and send an SMS according to the data .....
Through Wireless was working like a charm, through USB required to use the adb to do some forwarding ... done that and the Android keep's receiving the data without any info inside .... after a few hours of searching and 0 info (even asked on stackoverflow 0 anwsers) so I just decided to insert a System.Threading.Thread.Sleep(250); after the Connection is done when its chosen the Cable on the GUI ... and now its working -.-2
Fuuuuu I tried sideloading the devrant app on my Android watch but it kept crashing so I did a logcat over ADB and saw they use function that don't work on watches. So Damm sad I wanted to watch some rants way more sneaky5
Made a root only app: enable/disable GPS, mobile data, airplane mode and etc. work on not rooted device(yes all these functions work too).
How: Desktop app which downloads cross-platform ADB drivers, unzips them, executes a few commands, deletes the drivers and voala.
P.S: I use local ADB TCP connection(yeah I ported a part of the drivers for java android) and write_secure_settings granted with 'pm grant'.
And everything is user-friendly with screenshots explaining how to enable ADB and how to click a 2 buttons.3
Is there anything worse than bugs that you can reproduce easy but lack exception/error messages so you can't fix it?
I'm working on a hobby project for Android and I can't solve a bug and it's killing me (the whole project depend on it). I went through all phases:
1. I notice the bug early but couldnt reproduce it so I let it be.
2. I notice it happen a lot when I started to use the framework for real. Decided now that I need to fix it.
3. Found the exact way to reproduce it.
4. Trying different ways to fix it, nothing works.
5. Write question on stack overflow, no answers.
It feels like if you can reproduce the bug 100% of the time it should be easy to fix right? Well hell no - no exceptions, no error message and adb hangs until I stop the procedur. The last kick in the balls? When I stop the procedur I get all logcat messages back and everything look like normal. Just give me a damn error message! Tell me what you're doing or what I'm doing wrong!3
I like the settings on my phone as dark as the dungeons with Geralt and a torch or the awesomely dumb flashlight from Doom 3.12
Googled for about 2 hours now and can't get this shit working. Trying to launch the Android Wear Emulator through Android Studio using KitKat 4.4 API. I created a new device within the device manager using 512 MB RAM and 128 MB VM. Square Display.
I am running on osx 10.11 El Capitan on Software Acceleration (because hardware doesnt even boot to the android logo). I get the following error when running using ./emulator:
Error while connecting to socket '127.0.0.1:1970': 61 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 25
What does it mean? I couldnt find an asnwer on the net.2
Wanted to use WordPress for a landing page with a knowledgebase, installed wp, remembered how shit it is and deleted it right away. It never felt so good to press that "Delete database" button.
I'll stick to a responsive theme for now.
That feel when your friend uses your old phone and gives it back then didn't tell you the password.
Then that extra feel when you try find a rom for it and get lucky but then you can't find the correct gapps version so you just adb install ancient apps from prehistoric times......
Feels bad man5
I am lazy to pair my android device to another android device via blutooth for tethering(Pan Access Network) for internet access. Wifi sucks too much battery. Whenever pairing is done, device asks for prompt message stating "yes" or "no" for connection. I want that it automatically by default give permission to connect. Is there any possible solution (maybe through adb shell or something). I have tried every site related to this issue but most of them have unix system Bluetooth issues so no luck. Reply if you know a fix.1
Not really dev related but here it goes:
Decided to update some apps on my phone during lecture. Suddenly android crashes and is stuck in a bootloop. Went to safe mode where "downloaded" apps are disabled but wanted to at least be available via telegram. So I followed a guide to manually convert an app to a system app and tested with some random app that I didn't care for. That worked flawlessly and then decided to proceed with telegram but it said that moving failed but actually the folder was moved. I took the chance and rebooted (again to safe mode) only to find out that now the system ui crashes as soon as it loads, also rendering the safe mode useless.
Great that such things always happen when you don't have access to a trusted machine with adb installed.
Just enrolled myself in Andrew Ng's Machine Learning course at Coursera for the summer, is it a good place to start? Any recommendations?
Just wanted to do some scripted image resizing for school in school because the teacher asked me to help her with that.
So I thought: Let's just write a tiny script. Written the script in almost no time (just iterates over all jpg's and resizes them)
Now I tried to run it. Didn't have my laptop so I had to somehow run it on their windows PCs. At least it's windows 10, unlike other schools that still run XP and stuff so I thought it might be doable. Well guess what, nope it wasn't.
First tried to install imagemagick, that didn't work as only teacher accounts have admin and the teacher was already pretty scarred once he saw me doing stuff in powershell so I thought I'd better not ask to do this via a teacher account and mess with stuff as admin.
Next method: Installing msys2. That worked at least (after taking forever to install and having to mess with the av software to get it to run).
And there comes the next problem: pacman doesn't connect via the proxy so I can't download any packages. There is free wifi but only for teachers, and students aren't going to get access until the school finally has a faster connection because they'd (understandably) cause this connection to be constantly overloaded. I just happen to have access to this wifi network, too, because at least the guys from the IT dept know how bad using proxies under linux is. So I connect via wifi and it works. At least I thought: After running the script it yields weird errors about unsupported arguments even though the command is exactly the same I have been using for years (already checked typos twice)
Then got the idea of simply installing imagemagick on termux on android and transferring the files onto my phone.
Too bad we aren't allowed to attach our own USBs to the pcs. Luckily I got a rooted phone so I simply activate adb over network and connect to it.
After downloading the platform-tools I can't run them because of AV software. Luckily there is an option to add an exception per executable so I do that. After doing that it works.... nope it doesn't. The wifi only allows 443/tcp and 80/tcp, even for internal network devices.
So that's it. I'm simply going to upload that stuff to my nextcloud and convert it at home.
Windows, I hate you!!!2
y'ALL I AM LEARNING ADB/FASTBOOT
WHY DIDN'T I TRY THIS SOONER
now i just need a rom that's compatible with the kindle fire 1st gen, firefirefire, and twrp 18.104.22.168
Q).How does one try to understand how or what a programme is in a third world country with no basis of proper infrastructure?
Apart from using raspberry pi which not only requires a person to help yiu understand it but cost a lot.......Something that Completes the circle , from bundling the the hardware with seamless software out of the box and for the fraction of the cost of a raspberry pi
[Open to all sorts of input.....from this thing has no practical use to lets do something]3
Don't tell dev rant. But I'm going use ADB to sniff their SQL packets and make a neral network with all the posts for that damn stress ball3
Spent hours installing m2cryoto adb openssl on Windows but couldn't reach anywhere, at home it took five minutes and done. There is nothing like osx (brew) and linux. Things are so easy on them. They make development faster.
Insane code. I was printing user name and password in adb log for my android app. So we were reading all the users credentials.
We removed that log before users start knowing it. :p1
Hey guys I've got little question, sometimes it is more convenient to me to get the adb Debug informations in a terminal instead of Android Studio, is there any way ONLY show Logs from a certain level? Even after reading the docs I couldn't figure it out 😥😥😥
Not exactly a function in a programming language, but as far as Android SDK goes, typing "adb lolcat" instead of "adb logcat" is easier on fingers, and funnier !