yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] SMcC2:
It really depends on what you're trying to do.

I wrote the following as a simple .bat file and ran it from my platform-tools directory on my Windows laptop:

And it does the following:

View attachment 5373813
[General Questions and Answers] Deleted member 1890170:
An Android shell script and a Windows bash script ( including a Powerpoint script ) are in all aspects different with regards to coding, this because Android shell scripts are coded using Linux synthax.

BTW:

To not have to dance on 2 weddings I create my scripts mainly as pure Android shell scripts, which I copy from PC to Android device, and then start executing it from PC by means of ADB using a Windows bash script.

Example Windows bash script:

@echo off
adb devices
adb push <ANDROID-SCRIPT-PATH-ON-PC-HERE> /tmp
adb shell "chmod 0755 /tmp/<ANDROID-SCRIPT-NAME-HERE>"
adb shell "cd /tmp; $(<ANDROID-SCRIPT-NAME-HERE>);"
adb shell "rm -f /tmp/<ANDROID-SCRIPT-NAME-HERE>"
[General Questions and Answers] Gantori:
I am doing similar adb commands but from a bash script on a PC connected only via wifi to android box.

FYI, unlike a phone these Android 11 devices are not recognized by Windows11 when connected via a USB cable.

Commands I issue are things like

$ADB_CMD shell pm uninstall org.courville.nova

Before I can use these varous ADB commands I have to

(1) manually add the box to my wifi (via a mini-keyboard attached to android box)

(2) figure out which IP it was assigned by my router

(3) update my script with the correct IP to it can issue all the $ADB_CMD = eg. "../ADB -s 192.168.123:5555"

(4) run the script

I would like to skip steps 1..3, so the idea of running a similar script on the android box is very attractive.

(1) prepare a usb thumbdrive with a script, aps, ... and plug it into the android device

(2) use the filemanager on the device to execute the script

(3) done (ie. never have to connect to wifi).

What do you suggest doing?

I assumed by the nature of it's name "bridge" that ADB is meant to be run over a connection?

Ideally I would like to install nothing on the android device but I would not mind if a script installed some apk from the thumbdrive and then de-installed it.

The device is rooted.

Can you actually get some shell prompt on Android? or does it require an app to be installed.

I saw references to /usr/bin/sh I have no idea how to start one :)

Thank you for helping out.
[General Questions and Answers] xXx yYy:
Short answer: use

SH Script Runner for Android - APK Download

Download SH Script Runner apk 1.10 for Android. Bash script runner and shell command executor with superuser functionality.

apkpure.com

app to run scripts on Android device without the need of ADB
[General Questions and Answers] Gantori:
So I downloaded SH Script Runner_v1.10_apkpure.com.apk onto a thumbdrive

I insert it into the android device I have to install it manually?

can you provide a sample script.sh that would run the equivalent of I can take it from there

$ADB_CMD shell pm uninstall org.courville.nova

...

I went ahead and installed the SH Script Runner it looks like it's designed to create/manage several scripts. I am not sure I understand yet it's flow.

When accessing the upper-right menu ... "open local script" It does not appear to let me browse other than internal /sdcard IOW, it does not seem to list my connected thumbdrive like this simple FileManager or X-plore would.

Once I understand the syntax of this script.sh I will convert my current make.sh and take it over the android device.

I do all my script editing on a PC with VScode editor.

Thank you for your guidance.
[General Questions and Answers] xXx yYy:
SH Script Runner is both a script editor and script executor, means write your code into this editor and run the script.

Example:

pm uninstall org.courville.nova
[Huawei P20 Pro Questions & Answers] stoger12:
hi there,

I take pics of A4 pages with black text on with my p20 pro.

however when i send to the printer it comes out awful, with a grey dull background instead of white ?

anyone no how to resolve ...
[Touch Diamond, MDA Compact IV General] flashburn:
I am having problems syncing on my Vista x64 SP1 machine.

When I first plugged in my phone, there were two options, one to access the Diamond as a mobile device and another to act as a removable disk. I mistakenly chose for it to act as a removable disk. Now when I go to Windows Mobile Device Center it always shows up as Not Connected.

How can I revert this setting? I have looked everywhere and can't find any way to change this.
[Touch Diamond, MDA Compact IV General] flashburn:
Doh, nevermind, I figured it out. It seems that when I did that it changed the setting on the actual phone. I dug around and found the setting on the phone.
[Touch Diamond, MDA Compact IV General] daniel.bigred:
hey, i have the same problem, where did you find the setting:confused:???
[Touch Diamond, MDA Compact IV General] lazerin:
Goto start-->setting-->connections-->USB to PC.
[Touch Diamond, MDA Compact IV General] daniel.bigred:
that helped thanks!! i haven't played with settings on the phone yet, been too busy with other features (my prev device was a P3300-what a change!!!)

the syncing was still an issue tho, had to use Windows Update to get the new USB drivers.

I guess this must be a 64 bit problem...
[Touch Diamond, MDA Compact IV General] buffystar:
I have had weird problems.

My work pc XP laptop all ok synchs and transfers contacts etc.

My home PC Vista 32 bit Ultimate can explore device etc but fails to synch all the time. Have to delete partnership. Reboot pc and diamond and repair. Synchs once then fails again after that.
[Android Head-Units] mallom:
Hi all, I hope everyone is doing well.

I am new to the forums and first time posting, so please don't kill me! :)

Looking forward to get a tesla style unit for my Lexus RX350 2007 with Factory Nav and backup camera. I am located in Texas - USA.

Was just wondering if you guys have any recommendations what would be the best/fastest unit available for my car. The goal would be to keep the OEM backup camera and possibly have compatibility with custom firmwares, like Sergey's for example (could be any other).

I am not a picky person as far as sound quality, all I am really looking for on the unit is to be able to use the OEM camera, Spotify, google maps, Control4 (home automation application) and maybe some youtube now and then.  To be able to have the unit in Dark mode would be a huge plus too.

I sent a message to this seller and he replied confirming this unit is pretty much “plug and play-ish” (needs the original AC board) and supports the OEM backup camera. He also sent me a screenshot showing the Device Information. Not sure if you guys have seen or worked if this unit before. The seller said they usually release updates every quarter or so, not sure if this is true.

https://www.aliexpress.com/item/1005002667830420.html?spm=a2g0o.store_pc_groupList.8148356.17.284821f8IR2TU2

(I would get the 6gb RAM/128gb model)

View attachment 5373547

View attachment 5373549

Any other suggestions or recommendations are greatly appreciated. Thanks and have a great day!
[Vivo V20 Pro Questions & Answers] j3tt3:
I wonder if any Developer will ever do a modded rom and kernel for or beloved V20 ; ).
[Google Pixel 3 Questions & Answers] logeshwywan:
Hi All.

I have stuck in weird issue in my pixel 3. Can't able to install any custom rom

Process I hav gone through..

Flash the stock rom Android 10/11 using flash all.bat (downloaded from Google website)

Then install the custom ROM'S boot image and install rom using adb sideload.

There is no error after adb sideload. Showing success.

After reboot, it normally boot into stock os.

Please help me to fix the same. Thanks in advance.
[Google Pixel 3 Questions & Answers] AsItLies:
I recently had similar issues (maybe same) doing Lineage. For me the key was to switch to using a usb 2.0 port. Lineage mentions doing this in their directions. I'm familiar with apps like qfil needing it also. Sure enough, all worked as expected with a 2.0 usb port.

cheers
[Google Pixel 3 Questions & Answers] AlexKarimov:
Did you flash stock to both slots? Here's how I flash a custom ROM, starting with a clean flash of stock image:

Once in fastboot:

fastboot --slot=all flash bootloader stock-bootloader.img(or drag and drop to cmd window)

fastboot reboot bootloader

fastboot --slot=all flash radio stock-radio.img(or drag and drop to cmd window)

fastboot reboot bootloader

fastboot --slot=(current slot) --skip-reboot update stock-image.zip(or drag and drop to cmd window)

fastboot reboot bootloader

fastboot --slot=(other slot) --skip-reboot update stock-image.zip(or drag and drop to cmd window)

Then you enter recovery and wipe/format data and reboot to system after.

From here, you enable USB debugging and reboot back into fastboot and follow the flashing instructions for your preferred ROM.
[Google Pixel 3 Questions & Answers] logeshwywan:
Thanks for your inputs, will try with your steps.. I have one doubt on this..As per Google's statement "Execute the flash-all script. This script installs the necessary bootloader, baseband firmware(s), and operating system." - Flash-all script won't flash on both slots? please clarify! Because I did stock rom flash in that way only..
[Google Pixel 3 Questions & Answers] logeshwywan:
Wholla! It's working fine with 2.0 USB Ports. Many thanks for your suggestions.

Tried with 2 custom roms, perfectly great with first attempts..!
[Google Pixel 3 Questions & Answers] AlexKarimov:
I don't use the flash-all script, I use ADB and fastboot. Someone in the Dirty Unicorns thread had the same issue and edited the flash-all.bat and left instructions but he still had to use ADB and fastboot in the end to set the active slot and run flash-all again.

From the DU thread:

And could you please explain how we flash it to both slots?

Edit; got it working now

- Removed the -w in flash-all (not sure if it was necesarry)

- Runned flash-all while on b

- Then fastboot --set-active a

- Runned flash-all while on a

Then followed the instructions, and it worked.
[Google Pixel 3 Questions & Answers] AsItLies:
So, for those that may not realize, we should clarify why we may want to flash to both slots;

A custom rom isn't 'complete' by itself. It uses the 'blobs' that are a part of the original firmware. By flashing 'both' slots with the same firmware, that means when the custom rom does an 'update', both slots will have the same version of the 'blobs', and the update will work as expected.

So, if you never plan to update the custom rom, and only want to 'test' it, there's no reason to flash both slots. But, this does necessitate you know which slot you're on, and which slot things are being flashed to, of course.

Yeah, the A/B slot thing, it's confusing.

cheers
[iQOO 7 Legend] androidusr7:
I received an update of around 300 mb and after that I cannot fast charge anymore. Is anyone facing the same problem?
[iQOO 7 Legend] abnormalindian:
I got the same update and mine works just fine.
[iQOO 7 Legend] androidusr7:
ok it seems my usb cable is not working. replaced usb cables and now getting around 2800 mA charging speed. normal is 4000+. I think replacement of cable with original cable may get it back to those speeds.
[General Questions and Answers] jason141207:
I HAVE BRICKED MY PHONE BY INSTALLING TWRP AND FLASHING CUSTOM ROM ON TWRP MY LEX507 IS DEAD .

I TRIED TO FLASH MY MOBILE BUT I AM RECIVING MORE ERROR ON FLASH TOOL

ANOTHER THINK IS IN MY COMPUTER WHEM I CONNECT MY LECO DEVICE IT CONTINOUSLY DETECTING AND UNDETECTING TWO DEVICES

View attachment 5373565

SOMETIMES IT DETECTS MTK USB

View attachment 5373571

SOMETIMES IT DETECTS PRELOADER USB VCOM PORT

THEN OTHER ERRORS FROM FLASHING TOOL I RECIVE ARE AS FOLLOWS

*View attachment 5373573

ERROR CODE 5000

*View attachment 5373575

ERROR CODE 6029

*View attachment 5373579

ERROR CODE 2005

*View attachment 5373585

ERROR CODE 2004

PLEASE ANY ONE HELP ME PLZ HELP AS SOON AS POSSIBLE
[General Questions and Answers] dedq:
Can you enter the recovery? If you cannot, the phone is hard bricked. You can't do anything about it.
[General Questions and Answers] jason141207:
I CAN'T ENTER RECOVERY IN MY PHONE. IT IS NOT AT ALL BOOTING .

WHEN I CONNECT TO CHARGER RED LED GLOWS.

IS THERE ANY OTHER OPTIONS TO RECOVERY IT.

I AM CRYING😭😭😭😭😭😭😭.
[General Questions and Answers] SMcC2:
Have you tried from a device running a supported OS? (not Windows 11)

Not certain if it has anything to do, but AFAIK Windows 11 is only in beta.
[General Questions and Answers] jason141207:
I HAVE TRIED FROM WINDOWS 10 ONLY.

PLEASE ANYONE HELP ME I WANT MY PHONE BACK

😭😭😭😭😭😭😭😭😭
[General Questions and Answers] dedq:
Can you enter fastboot or Download mode? Chances are pretty low you can actually do something to be honest...

Those kinds of things happen. It's happened to me tone of times.
[General Questions and Answers] jason141207:
NO MY PHONE NOT AT ALL BOOTING, WHEN I CONNECT TO CHARGER RED LIGHT GLOWS

😭😭😭😭😭😭
[General Questions and Answers] dedq:
That is hard brick and go take it somewhere to some third-party technician who will be able to fix it.
[General Questions and Answers] jason141207:
THEN MY PHONE DEAD THAT'S ALL,😭😭😭😭😭😭😭😭😭
[Mogul, XV6800 General] TNTRMSKD:
Hi guys, I was hoping maybe someone can help me out and diagnose my problem. For the first part of the day, my phone worked normally. I could make/receive calls without any problem. All of a sudden in the late afternoon, I got a call from the 'missus' and she could not hear me at all. I thought it was just the phone possibly acting up so I rebooted and then called her back. She picked up but could not hear anything from my end. This went back and forth a few times until I reached for the home phone to call her back. After our conversation I tested the voice record and unless I talk very very LOUD and directly with my mouth/lips on the mic, the phone will pick up NOTHING. Even if I'm just a few inches away, it will not pick up my voice whatsoever. Is there some sort of setting that allows you to adjust mic sensitivity? I'm on the latest official Sprint ROM and was wondering if reflashing might do the trick? From my understanding of microphones, they either work or don't work right? I mean it IS picking up my voice, I just have to yell to high hell for it to do so. And even then the playback will not be nearly as loud as the volume I was yelling at (yes my speakers work correctly). Thanks in advance!

-Mike
[Google Pixel 2 Questions & Answers] Ritor:
Trying to root my phone to flash Alexndr ROM. Phone is Google purchased (NOT verizon) pixel 2 G011A . USB Debug and OEM unlocking are toggled "on."

From the bootloader screen, and connected to the computer, this is the result from the following commands:

fastboot flashing unlock

fastboot flashing unlock_critical

It is communicating with the device:

fastboot devices

and unlocking the bootloader seems to be enabled on the phone

fastboot flashing get_unlock_ability

I've tried all the USB ports on several computers with both Win10 and linux, with the same result.

On the phone itself, developer options are enabled, USB debugging is enabled, and OEM unlocking is enabled. Curiously, OEM unlocking becomes grayed out and disabled after enough failed attempts, but I've been fixing this with a factory reset.

The Android version is 11, build RP1A.201005.004A1

What am I missing here? Why wont this bootloader unlock? Thanks!
[Google Pixel 2 Questions & Answers] ccoons:
I have the same problem. Can someone please explain how to fix this?
[Huawei Mate XS Questions & Answers] Phaze1585:
Hello, this phone is still super expensive but I found a seller on eBay who has the EU version and I was told this version comes with google play store preloaded. I don’t have the model number yet but I was wondering if anyone knew anything about the UK version before I decided to buy. Is this phone even still worth getting in 2021?
[Huawei Mate XS Questions & Answers] OrionBG:
I have the EU version and it definitely does NOT come with Google services preloaded.

It is quite cumbersome to install them (almost) properly but it is doable to an extent...
[Xperia Z5 Q&A, Help & Troubleshooting] high_alpha:
I'm a newbie. First time, I've repaired my smartphone firmware with Xperia Companion. After game lagging, I've got bootloop. Next time after Xperia Companion firmware restoring, this game is lagged again, and I've got bootloop and restored firmware with Xperia Companion again. And today I used Ultra Stamina Mode, and after exiting this mode I've got bootloop again. I think Xperia Companion can't fix source of the problem, and I'm getting bootloops again and again. I think the problem was not game related. How can I fix this problem if Xperia Companion can't fix that?

upd: firmware is official and I've used only Xperia Companion always
[POCO M3 Questions & Answers] Dennsa:
Van suport?
[Tilt, TyTN II, MDA Vario III General] powergator:
Manila 2D seems to basically slow applications down and be riddled with bugs and other tendancies that need to be solved and reprogrammed because it stinks. Skip the fact it wasn't orginally written for the Kaiser. It's still a piece of crap.

Why are the chefs (and more largely phone makers) so obsessed with this junk? It's not more efficient in most measures I think of. It's definitely slower.

HTC Home with Homeplug has most of the same capability and is more functional for most people's needs. Sure, you can put more apps on the Manila Programs page but so what....? I only use that page when I'm driving and my fat fingers can't control from the start menu. I don't plan on making Registry Changes while passing Granny in the RH Lane on my motorcycle so who cares?

Why has the benchmarking of ROMs dropped off with the loss of some of the Great Chefs of Kaiser's Past. Let's focus more on functionality and lose the fluff until the power of these phones can keep up with the fluff.

How many Manila 2D Roms have you seen with a benchmark test included with it lately?

Eggsactly....lol.
[Tilt, TyTN II, MDA Vario III General] LNJ:
want some cheese with that whine?
[Tilt, TyTN II, MDA Vario III General] powergator:
Absolutely...

I prefer a sharp, hard cheddar with a Cabernet that I'll bring with me that will knock your socks into next week.

But you didn't even have an opinion on the matter eh?:rolleyes::rolleyes:
[Tilt, TyTN II, MDA Vario III General] bradecrain:
Cooked into ROM

Actually hyper dragon's rom and many others with it cooked in it runs smooth. Installed I have noticed it runs crappy. But I don't think they should forget about it.....part of these forums purpose is to help people develop and use these developments to make our devices better.

So with that said please continue your work and forget about peoples comments that show disrespect towards that work.
[Tilt, TyTN II, MDA Vario III General] LNJ:
i have nothing to say to people who protest against progress and evolution!
[Tilt, TyTN II, MDA Vario III General] powergator:
Run with the dinosaurs....You'll go far....

Not disrespecting anyone. Did you or any Kaiser Rom Chefs you know make Manila 2D?

Just offering an opinionbased on fiddling a bit with Manila on Hyperdragon and other Roms.
[Tilt, TyTN II, MDA Vario III General] bradecrain:
Hyper runs fine for me Mr ignorance. Have fun with this thread.
[Tilt, TyTN II, MDA Vario III General] twistkill:
we being humans like options..and thankfully for the chefs here we have plenty of it...

so we have loaded ROMS like garmin's DK, sakajati's hyper dragon, NATF base, etc

and well we have "fluff-free" ROMs like bengalih's BRR or notatreofan's NATF loaded, etc..

if you read the ROM descriptions, you should find what you need and if you do..please donate, rather than creating redundant threads!
[Tilt, TyTN II, MDA Vario III General] jackleung:
From M2D, we got everything handy on the todays screen and accessible by a smooth GUI

At this moment, I think M2D is still not mature for Kaiser until it get landscape support. Unlike other PDA w/o keypad, the chance we have to work w/ landscape is far greater. Other than that, most functions work fine w/ a bit trade off on performance.

Therefore, I took out HTC home and made a M2D "ready" rom (instead of cook in), and give user the cab in case users wants M2D. But this is just me and other cook may think otherwise.
[Tilt, TyTN II, MDA Vario III General] powergator:
I resemble that remark, at times.... ;).

But, in this case, Mr Bradercrain, I would recommend a review of your remarks before throwing personal insults toward someone expressing a mere opinion about the direction that Roms are taking.

When you say your Rom "runs fine".....compared to what? A dinosaur??? I agree Mr Bradercrain. See what I mean?
[Tilt, TyTN II, MDA Vario III General] SlyDogJeff77:
more more more

Oh I just love that line!

How about some curly crys to go with that waaaaaaaaaahhhhmmmmburger?

OH no. you're eating too much and we are going to have to call the wambulance!

my friend makes fun of me like this all the time.
[Tilt, TyTN II, MDA Vario III General] edbutler:
I think that the speed is not the most important thing here, I think that all the cooks that are spending so much of their time trying to offer something "NEW" to a somewhat boring platform should be Held in reverence not criticized for all their efforts. They do this work for FREE and I am greatful for everyone of them. Your post said how some "Great cheefs have droped off" maybe they were frustrated with complaints form people that are ungreatful and demanding. Our Cummunity has members from all over the world with offerings for and from every country. If you don't like Manila2D then find something else that you do like. If you go to the same restruant every day and order the same Cheeseburger day after day, then out of the blue you order the pork chops, don't criticize the cook because his Pork chops don't taste like a cheeseburger, Simply order the Cheesburger! If your still unhappy then maybe you should find another restaurant!!!

thats my 2 cents!

Ed...
[Tilt, TyTN II, MDA Vario III General] thebomber:
manilla 2d is not bad but why cook in a rom while its still in beta

actually i find htchome tab more usefull

but manilla is awsome but i am bored of it

and samsung omnia rocks touchwiz is awsome screw htc :D

all i wish for is that not all roms have manilla

change a bit
[Tilt, TyTN II, MDA Vario III General] twistkill:
home or m2d..i guess its upto the chef and his preference..

as for gentlemen who are not satisfied with the package, they have 2 options..

option one:

download a base rom

download cabs you want installed (try p1tater's and alltheway's 4shared folders)

use sashimi or uc to install them all after flash

option two:

B-Y-O-R
[Tilt, TyTN II, MDA Vario III General] cushcalc:
Unlike some of the posts above, I'm not intent on deriding your opinion, and I think you have a point - although it's not the speed and the bugs that are the problem IMO because those will likely be solved by the great minds here. But for me, it's nicer eye candy than HTC Home, but I have tried both and gone back to the tried and true (for me) - I pack a lot more on my screen with Spb Pocket Plus and Spb Diary, Battery Status, WMA Phone Profiles, and Sun'n'Moon.

Seems to me that Manila 2D is an attempt to look pretty like the iPhone, but how does it increase the functionality of my WM6.1 PDA phone? Someone please enlighten me.
[Tilt, TyTN II, MDA Vario III General] monx®:
Then try Manila 3D | But u need Diamond or Raphael :p
[Tilt, TyTN II, MDA Vario III General] JstarLuvsTina:
and whats the point..??

someone weave this kid a basket for pointing out the obvious

matter of fact..knit him a sweater..its a bit chilly out