[Q]ADB in recovery mode? - Sony Tablet S

how to enable adb shell in recovery mode?
when i try "adb shell" in recovery mode,it says sh not find somthing
does this means can't use adb in recovery mode?
i want trace recovery bin by ida pro,sames i have 2 chose:
1,enable adb shell and gdb server in recovery mode
2,or run recovery bin in normal mode.
the 1st,cant open adb shell
the 2nd got segment error in sh
please help!

<robin> said:
how to enable adb shell in recovery mode?
when i try "adb shell" in recovery mode,it says sh not find somthing
does this means can't use adb in recovery mode?
i want trace recovery bin by ida pro,sames i have 2 chose:
1,enable adb shell and gdb server in recovery mode
2,or run recovery bin in normal mode.
the 1st,cant open adb shell
the 2nd got segment error in sh
please help!
Click to expand...
Click to collapse
Release 5a recovery?? I get error: closed
Drivers are good aye?
Stifilz

no,i'm at 3.2.1
how to open adb shell?

<robin> said:
no,i'm at 3.2.1
how to open adb shell?
Click to expand...
Click to collapse
Wtf. Normally just adb shell. Does adb pull or adb push work etc?

<robin> said:
how to enable adb shell in recovery mode?
when i try "adb shell" in recovery mode,it says sh not find somthing
does this means can't use adb in recovery mode?
i want trace recovery bin by ida pro,sames i have 2 chose:
1,enable adb shell and gdb server in recovery mode
2,or run recovery bin in normal mode.
the 1st,cant open adb shell
the 2nd got segment error in sh
please help!
Click to expand...
Click to collapse
hi robin,
1. change region to US,
2. download this hacked_recov,
3. run recovery, update with this file, should finish with error 7,
4. wait one minute, and adb should be available - make sure that you have installed adb drivers for recovery device.
5. when in adb shell type this:
Code:
/system/bin/tempsu
PATH=$PATH:/system/bin:/system/xbin
and you will get root, and normally working with all the commands shell.
br
condi

wow,thanks candi!
your tool is real cooooool
i can trace recovery now!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

getting prohibit update as a result of checking version or base
condi said:
hi robin,
1. change region to US,
2. download this hacked_recov,
3. run recovery, update with this file, should finish with error 7,
4. wait one minute, and adb should be available - make sure that you have installed adb drivers for recovery device.
5. when in adb shell type this:
Code:
/system/bin/tempsu
PATH=$PATH:/system/bin:/system/xbin
and you will get root, and normally working with all the commands shell.
br
condi
Click to expand...
Click to collapse
So I've been at this for days now. From what I can read here and on the web it looks like my region file is screwed up. Tried a million different region zips.
I can get device to show in adb as recovery.
Any thoughts?

Related

where to get jbed aka. java box by esmertec

Hey guys, I'm just wondering where to get that java box for the hero phone ( like in the modaco Rom)
Thanks in advance!
i would also like this, I extracted the apk but i need more then that because it wont run on my friends stock hero.
im an mgmaps user so java is required!
huh, any replies to this? i'm not rooted, stock upgraded rom, can i get java and where can i find a suitable app?
http://lmgtfy.com/?q=jbed+android+apk
first link ... took me 5 secs
alright dudes, here is the tutorial for that.. thought everyone had found it for himself, but okay ;-)
http://home.leakdroid.com/2009/08/31/java-app-for-android/comment-page-1/
keyra74 said:
http://lmgtfy.com/?q=jbed+android+apk
first link ... took me 5 secs
Click to expand...
Click to collapse
yeah, aren't you cute, found that myself, thank you oh-so-very-much....now, this:
adb remount
adb install Jbed.apk or adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
is French to me....je ne parle pas francais!!!!
so, illiterate as i am, i turned to a forum of experts for a bloody answer....so, once again, thank you oh-so-very-much for providing it
i hope i've embedded enough sarcasm to make you realize you haven't helped a bit!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Download this
2. Start a shell (i prefer adb shell), and type the following (each line confirmed with the return key)
Code:
adb remount
adb install Jbed.apk or adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
Ready to take off with Java!
suisen said:
yeah, aren't you cute, found that myself, thank you oh-so-very-much....now, this:
adb remount
adb install Jbed.apk or adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
is French to me....je ne parle pas francais!!!!
so, illiterate as i am, i turned to a forum of experts for a bloody answer....so, once again, thank you oh-so-very-much for providing it
i hope i've embedded enough sarcasm to make you realize you haven't helped a bit!
Click to expand...
Click to collapse
They helped you out to much if you ask me...
Don't forget that this is a development sub-forum! If you don't understand the things mentioned here you should post your question in the general forum where they could help you out step by step.
does not work with the new rom release(rooting was no problem with flashrec and does work)
ginchiller said:
does not work with the new rom release(rooting was no problem with flashrec and does work)
Click to expand...
Click to collapse
in modaco it is already included, with normal rom it works (tested and using it)
that is just a proof that it is working in the new release, but how could it be installed without flashing to modaco?
maybe by reading this thread?
http://forum.xda-developers.com/showpost.php?p=4545215&postcount=7
yeah,...thanks... but as i said this method is not working with the new rom...
i figured out how to install it on the new rom!!!
as i said i have allready rooted it with this tutorial
Flashrec
so i had the cm-hero-recovery.img on my phone again
i restarted the phone holding POWER+HOME (not power+back)
then i typed in the following commands into the cmd (be sure that you have the Jbed.apk & libjbedvm.so in your android sdk tools folder)
Code:
adb shell mount /system
adb push Jbed.apk /system/app
adb push libjbedvm.so /system/lib
adb shell reboot
and after the reboot there it should be, i hope i could help someone with the same problem
Worked perfectly ginchiller ty
Is there a way to fullscreen mode?
I have installed the new opera mini but it has bugs with landscape.
Without landscape its ok but I want it in fullscreen...
for those j2me apps i tried yet, fullscreen works perfectly
How to install applications? When i run jbed i see sdcard folder. What i have to do?
close jbed, open a file browser, goto the folder where you stored the java-program (*.jar) and open/execute it with jbed (just open it, normally after a successful installation of jbed, jbed will pop up)
ohh, i will try another file manager because when i tap on .jar file in SUBFS its try to extract files not execute)))

[GUIDE] Root JB 2.20.401.5

Originally Posted by txxa
1. Boot into recovery.
2. Enable adb ( in twrp you need to start adb sideload, than cancel it ). Nexus recovery starts adb automaticaly
3. adb shell mount /dev/block/mmcblk0p24 /system
4. adb push ./su /system/xbin
5. adb shell ls -la /system/xbin ( i have not only su binary there, but tcpdump, and nc. for me it's some kind of check point. i mounted correctdevice )
6. adb shell chmod 06755 /system/xbin/su
7. adb shell ln -s /system/xbin/su /system/bin/su
8. adb shell sync
9 adb shell umount /system
10. adb reboot
After reboot install supersu from market. It will say about obsolete ( old binary ), but will work.
In windows steps 5 nad 8 can be skiped and in step 4 use: adb push su /system/xbin
Thanks to txxa for his work :good:
I thought i just need to flash supersu.zip ...
Sent from my HTC Desire X using xda premium
Works perfect. Screenshot attached.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello,
is this root method need unlocked bootloader ?
ralfred said:
Hello,
is this root method need unlocked bootloader ?
Click to expand...
Click to collapse
Ofcourse. Every root method does. Coz to have a custom recovery, u need to unlock.
Regards
neXus PRIME said:
Ofcourse. Every root method does. Coz to have a custom recovery, u need to unlock.
Regards
Click to expand...
Click to collapse
Thanks for your reply
I'll wait the update for me
You can add this one to OP
1) Download attached binaries from rootbin.zip to your adb folder
2) Reload to recovery (tested with Nexus Recovery)
3) Run in cmd
Code:
adb shell mount /dev/block/mmcblk0p24 /system
adb push su /system/xbin
adb push busybox /system/xbin
adb shell chmod 06755 /system/xbin/su
adb shell chmod 06755 /system/xbin/busybox
adb shell ln -s /system/xbin/su /system/bin/su
adb shell sync
adb shell umount /system
adb reboot
4a) Download and install supersu from market. It will say about obsolete ( old binary ), but will work.
4b) Instal via recovery attached UPDATE-SuperSU-v1.25.zip
You can choose between 4a or 4b.
Also attached archives with exe files.
Those who didn't root their phone download rootboxJB.zip (it roots phone and installing busybox)
Those who have rooted their phone download bboxJB.zip (it only installs busybox)
boot.img with init.d support can be found here.
Thanks to Softor from 4pda forums for all files and guides.
Another simple way......
....to own your phone even with new OTA JB!!
Gave it a trie and it worked like a charm - well, at least for me!
Just Flash the attached files trough recovery (used NexusRecovery 1.1 Beta - thx btw ) in following order:
1. Su_Bbox_1.20.2_gazhead_signed
2. Superuser-3.1.3-arm-signed
Would like to hear if it also worked for you!
cant root my device, htc desire x, first i rooted it, update came out, i got back to stock recovery, installed update, got latest twrp recovery and now rooting doesnt work even with this method. anyone have any ideas?
strawdr said:
cant root my device, htc desire x, first i rooted it, update came out, i got back to stock recovery, installed update, got latest twrp recovery and now rooting doesnt work even with this method. anyone have any ideas?
Click to expand...
Click to collapse
Checked preferences in Superuser?
Or which error do you have?
Will this method work for the 2.22 version of JB update?
Droid.Anoop said:
Will this method work for the 2.22 version of JB update?
Click to expand...
Click to collapse
I installed "superuser" on 2.22.707.6 (asia wwe) and i got strange bug. SU is working (tested with terminal emulator), but sometime when some app do "su" my phone goes to reboot. I was tryed to use myONEdx rom, but same trouble. Whats wrong with my device? =((

[Q] Copy files from device to pc hdd via adb shell

I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.
Code:
mv Camera c:/camera
renamed to c:camera
adb pull /path/to/Camera C:\camera
RoberGalarga said:
adb pull /path/to/Camera C:\camera
Click to expand...
Click to collapse
yeah I tried that. I think that since my phone is locked, I can't su the shell. I actually tried a single file also. No luck.
das-heftige said:
yeah I tried that. I think that since my phone is locked, I can't su the shell. I actually tried a single file also. No luck.
Click to expand...
Click to collapse
I don't have to unlock my tablet to pull files. You are doing the command from the PC, right, like in a DOS box? You should be able to see the files by doing "adb shell ls /sdcard/DCIM/Camera/". "adb pull /sdcard2/DCIM/Camera ." will pull all of the pictures on my Hisense external sdcard into the current "." windows directory on my computer.
BSODs when using usb 3.0
das-heftige said:
I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.
Code:
mv Camera c:/camera
renamed to c:camera
Click to expand...
Click to collapse
Hi,
I have facing out weird problem. Why, when i using adb command to copy file from PC windows to android Devices using Port usb 3.0. Windows will be immediately Blue Screen. Note: in blue screen appears, Bluescreen: Physical Memory Dump
I using Windows 7 (Zotac CPU). But, when i using standart USB port in zotac. Will be running.
Anyone knows, why the problem appears?
Thanks
Android All In One Toolkit - Data Transfer Via ADB
das-heftige said:
I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.
Code:
mv Camera c:/camera
renamed to c:camera
Click to expand...
Click to collapse
Hii
I Developed an application named "Android All In One Toolkit" With Windows GUI...
1. Data Transfer
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No Need to type single command
just put path in text box & Press Pull From Device button..
It has feature for fast data transfer over adb without mounting sd card...
It also has many more features that will make your workflow much easier..
Check out my Application
Thread : http://forum.xda-developers.com/showthread.php?t=2494319
aditya.kamble said:
Hii
I Developed an application named "Android All In One Toolkit" With Windows GUI...
1. Data Transfer
No Need to type single command
just put path in text box & Press Pull From Device button..
It has feature for fast data transfer over adb without mounting sd card...
It also has many more features that will make your workflow much easier..
Check out my Application
Thread : http://forum.xda-developers.com/showthread.php?t=2494319
Click to expand...
Click to collapse
Sorry aditya, but I got an error launching the app,
It said "Could not find the main class : androidallinonetoolkit. Program will exit

[Q] Adb and Adb shell help

Hi,
When I start up adb and use the command "Adb devices" my device show. I want to use adb shell, so I type "Adb shell" ofc. Then, when I try "Adb devices", my device does not show :/ Anyone have a solution?
First thing first, make sure you have USB debugging on.
To do this, go into About Phone, tap the build number 7 times (this should give you a toast notification that you are now a developer).
Go back, now go into the developer options what has come up above about phone.
Tick the USB Debugging box, and then connect your phone and try to connect with adb shell.
If this doesn't work, revoke USB debugging authorisations, then try adb shell again.
gamer649 said:
First thing first, make sure you have USB debugging on.
To do this, go into About Phone, tap the build number 7 times (this should give you a toast notification that you are now a developer).
Go back, now go into the developer options what has come up above about phone.
Tick the USB Debugging box, and then connect your phone and try to connect with adb shell.
If this doesn't work, revoke USB debugging authorisations, then try adb shell again.
Click to expand...
Click to collapse
That didn't work :/ Any other suggestions?
Have you installed the ADB drivers and drivers for the board set the Z2 uses?
gamer649 said:
Have you installed the ADB drivers and drivers for the board set the Z2 uses?
Click to expand...
Click to collapse
At least flashtool says I have ADB drivers installed?
Skanin said:
At least flashtool says I have ADB drivers installed?
Click to expand...
Click to collapse
I'm not sure what to suggest then. @Envious_Data any suggestions?
gamer649 said:
I'm not sure what to suggest then. @Envious_Data any suggestions?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A screenshot of what happens, if that helps
you're already connected in adb mode, as your pic shows, so why would you need to use adb devices again ?
what are you trying to do ? you've successfully connected to your device in adb mode and used the su command, so what do you want to do ?
ticktock666 said:
you're already connected in adb mode, as your pic shows, so why would you need to use adb devices again ?
what are you trying to do ? you've successfully connected to your device in adb mode and used the su command, so what do you want to do ?
Click to expand...
Click to collapse
Yeh, I know.. But I want to use the command "adb remount rw /system". If use it without "abd shell" I get a permission denied error, and in "adb shell" I get error: device not found.. (see picture)
Skanin said:
Yeh, I know.. But I want to use the command "adb remount rw /system". If use it without "abd shell" I get a permission denied error, and in "adb shell" I get error: device not found.. (see picture)
Click to expand...
Click to collapse
Note, don't use any quotes for the below commands.
1) Connect device to computer.
2) Type "adb shell" in cmd, then press enter.
3) Type "su", then press enter.
4) Type "mount -o rw,remount /system", then press enter.
Congratulations, it is now remounted. ADB devices will not work on the device, as the device cannot connect to itself to itself via USB.
what gamer said, you were simply using the wrong command for mounting

Unbrick without PC

Exists one way to unbrick a phone without Pc/Notebook? Like using a Other phone with otg or something else
rael7979 said:
rael7979 said:
Exists one way to unbrick a phone without Pc/Notebook? Like using a Other phone with otg or something else
Click to expand...
Click to collapse
Phone? Which phone? What is the problem?
Click to expand...
Click to collapse
Infinix Hot 11 X689F, the problem its because I flashed a wrong twrp in my phone, so because that my phone dont start anymore and dont open reovery mode
Take phone to authorized service center and let them try to fix it.
if the other phone is rooted you can use it for fastboot commands:
adb + fastboot Installer
The link provided let you download and flash an ADB / Fastboot from 2008 what is heavily outdated,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
what? type 'adb version' and tell me your version
This got released in 2023
Installing Termux would solve the problem.
pkg install android-tools
jwoegerbauer said:
The link provided let you download and flash an ADB / Fastboot from 2008 what is heavily outdated,
View attachment 5866147
Click to expand...
Click to collapse
[ ] You know how zip signing works.
(the binaries are from Feb 2020)
alecxs said:
if the other phone is rooted you can use it for fastboot commands:
adb + fastboot Installer
Click to expand...
Click to collapse
But i can't enter in fastboot mode to send the commands, i need a tool like mtk bypass to android, do you know one?
WoKoschekk said:
Installing Termux would solve the problem.
pkg install android-tools
View attachment 5866221
Click to expand...
Click to collapse
But termux doesn't recognize my device, I put usb but connect and disconnect all the time, and isnt my usb cable
rael7979 said:
But termux doesn't recognize my device, I put usb but connect and disconnect all the time, and isnt my usb cable
Click to expand...
Click to collapse
pkg upgrade
pkg install tsu
With tsu you are root in termux and able to detect your device. Do not use su because then you will leave the termux shell and the ability to run commands from Termux.
WoKoschekk said:
pkg upgrade
pkg install tsu
With tsu you are root in termux and able to detect your device. Do not use su because then you will leave the termux shell and the ability to run commands from Termux.
Click to expand...
Click to collapse
Ok, after that I run the android tools command yeah? Tomorrow I will try
rael7979 said:
Ok, after that I run the android tools command yeah? Tomorrow I will try
Click to expand...
Click to collapse
Yes, after them run pkg install android-tools and you can use fastboot.
alecxs said:
...
(the binaries are from Feb 2020)
Click to expand...
Click to collapse
Only confirms the binaries you linked to are not really useful because massively outdated.
Yes, binaries are v29.0.6 (2020).
adb-ndk/bin at master ยท Magisk-Modules-Repo/adb-ndk
adb-ndk. Contribute to Magisk-Modules-Repo/adb-ndk development by creating an account on GitHub.
github.com

Categories

Resources