Rooting with SuperOneClick on a Mac - Samsung Galaxy S (4G Model)

I must be the only weirdo who uses Mac computers but an Android phone. I would really like to root my Galaxy S 4G with SuperOneClick. People talk about needing Mono in order to do this on a Mac but I've downloaded Mono and I'm still not sure how to run the .exe file on my Macbook. Can someone please give me guidance? This is making me nuts. I am even willing to just do it in recovery if I can get the update file for my sd card....but the only thing I can find is SuperOneClick for windows.
Thanks

Hello,
have a look here, please report success/failure back. Cheerz

Bound4wb said:
I must be the only weirdo who uses Mac computers but an Android phone. I would really like to root my Galaxy S 4G with SuperOneClick. People talk about needing Mono in order to do this on a Mac but I've downloaded Mono and I'm still not sure how to run the .exe file on my Macbook. Can someone please give me guidance? This is making me nuts. I am even willing to just do it in recovery if I can get the update file for my sd card....but the only thing I can find is SuperOneClick for windows.
Thanks
Click to expand...
Click to collapse
You're not the only one out there. I don't know if this is an accurate statement, just my perception, but it seems like the Samsung Galaxy dev community is very Windows centric. I've been an HTC user/tinkerer until recently (G2, Aria) and there were a lot of Mac and/or Linux users.
Just curious, did you follow the link and where you able to root? Maybe we could start a Mac support thread?

Yes that sounds like a great idea!! I have been trying forever to root my new galaxy and cannot find a solution that is compatible with 2.2 and mac

Bound4wb said:
I must be the only weirdo who uses Mac computers but an Android phone. I would really like to root my Galaxy S 4G with SuperOneClick. People talk about needing Mono in order to do this on a Mac but I've downloaded Mono and I'm still not sure how to run the .exe file on my Macbook. Can someone please give me guidance? This is making me nuts. I am even willing to just do it in recovery if I can get the update file for my sd card....but the only thing I can find is SuperOneClick for windows.
Thanks
Click to expand...
Click to collapse
I have Parallels 5, I just started it up, plugged in my phone, told my computer to recognize it via the Parallels desktop, then started up the 'exe' file and ran the course. No problem, finished it in seconds.

Making Mono Work
Bound4wb said:
I must be the only weirdo who uses Mac computers but an Android phone. I would really like to root my Galaxy S 4G with SuperOneClick. People talk about needing Mono in order to do this on a Mac but I've downloaded Mono and I'm still not sure how to run the .exe file on my Macbook. Can someone please give me guidance? This is making me nuts. I am even willing to just do it in recovery if I can get the update file for my sd card....but the only thing I can find is SuperOneClick for windows.
Thanks
Click to expand...
Click to collapse
Hey! So my PC just died, and now I have to make all of this work on the Mac, bummer, but at least I have one... So here's what you do:
1. Install Mono
2. Install the thing you're trying to run under Mono, like SuperOneClick
3. Open Terminal in your Mac
4. In Terminal, type: cd /Applications/SuperOneClickFolder or whatever your folder is
5. In Terminal, type mono SuperOneClick.exe or whatever the name of your executable is. As you can see, this is super similar to doing the Run... commands in Windows, except it's mono instead of run
6. Your file should open now. But, you really don't want to be opening terminal and opening software by command line, do you?
7. Right click on SuperOneClick.exe and go to More -> Automator -> Create Workflow. If this doesn't work for you (it didn't for me...), then open up Automator, Create New Workflow, and drag in the .exe you want to run into the Workflow area
8. Add a "Run Shell Script" to this workflow. In the Shell Script area, type exactly what you typed into the Terminal earlier:
cd /Applications/ApplicationFolder
mono Application.exe
???
Profit!

This works but when i hit root it kills the app. Any ideas. Is there somewhere i need to load usb drivers.

zachsihi said:
This works but when i hit root it kills the app. Any ideas. Is there somewhere i need to load usb drivers.
Click to expand...
Click to collapse
Exactly the same here :/
Getting kind of bored of no methods working for Mac now.

papermakesplanes said:
Hey! So my PC just died, and now I have to make all of this work on the Mac, bummer, but at least I have one... So here's what you do:
1. Install Mono
2. Install the thing you're trying to run under Mono, like SuperOneClick
3. Open Terminal in your Mac
4. In Terminal, type: cd /Applications/SuperOneClickFolder or whatever your folder is
5. In Terminal, type mono SuperOneClick.exe or whatever the name of your executable is. As you can see, this is super similar to doing the Run... commands in Windows, except it's mono instead of run
6. Your file should open now. But, you really don't want to be opening terminal and opening software by command line, do you?
7. Right click on SuperOneClick.exe and go to More -> Automator -> Create Workflow. If this doesn't work for you (it didn't for me...), then open up Automator, Create New Workflow, and drag in the .exe you want to run into the Workflow area
8. Add a "Run Shell Script" to this workflow. In the Shell Script area, type exactly what you typed into the Terminal earlier:
cd /Applications/ApplicationFolder
mono Application.exe
???
Profit!
Click to expand...
Click to collapse
When i did do that i got this(and holy is it long) nhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/2.10.5/lib/libgdiplus.dylib
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
at SuperOneClick.Form1..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) SuperOneClick.Form1:.ctor ()
at SuperOneClick.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/2.10.5/lib/libgdiplus.dylib
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
at SuperOneClick.Form1..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) SuperOneClick.Form1:.ctor ()
at SuperOneClick.Program.Main () [0x00000] in <filename unknown>:0

dbrayton1 said:
You're not the only one out there. I don't know if this is an accurate statement, just my perception, but it seems like the Samsung Galaxy dev community is very Windows centric. I've been an HTC user/tinkerer until recently (G2, Aria) and there were a lot of Mac and/or Linux users.
Just curious, did you follow the link and where you able to root? Maybe we could start a Mac support thread?
Click to expand...
Click to collapse
Yeah, that's my perception too. I recently formatted to linux and I feel scared that if I brick my phone, won't be able to use odin level of recovery.

every time i try this method i just keep getting the reply, "no such file or directory" from my terminal.
i have tried every method in these forums to root my infuse on my mac and nothing seems to work.
can somebody, ANYBODY walk me through this please?

http://forum.xda-developers.com/showthread.php?t=1375517

bhundven said:
http://forum.xda-developers.com/showthread.php?t=1375517
Click to expand...
Click to collapse
i appreciate the help but i am trying to root my Samsung Infuse and this method is not working

Have you tried vmware? Or you can always dual boot. I'm sure you can borrow a friends computer for 15 min. Just make sure you have everything you need.
Sent from my SGH-T959V using xda premium

jager555 said:
...Or you can always dual boot. I'm sure you can borrow a friends computer for 15 min. Just make sure you have everything you need.
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
this is probably gonna be my best option at this point. appreciate the reply...

papermakesplanes said:
Hey! So my PC just died, and now I have to make all of this work on the Mac, bummer, but at least I have one... So here's what you do:
1. Install Mono
2. Install the thing you're trying to run under Mono, like SuperOneClick
3. Open Terminal in your Mac
4. In Terminal, type: cd /Applications/SuperOneClickFolder or whatever your folder is
5. In Terminal, type mono SuperOneClick.exe or whatever the name of your executable is. As you can see, this is super similar to doing the Run... commands in Windows, except it's mono instead of run
6. Your file should open now. But, you really don't want to be opening terminal and opening software by command line, do you?
7. Right click on SuperOneClick.exe and go to More -> Automator -> Create Workflow. If this doesn't work for you (it didn't for me...), then open up Automator, Create New Workflow, and drag in the .exe you want to run into the Workflow area
8. Add a "Run Shell Script" to this workflow. In the Shell Script area, type exactly what you typed into the Terminal earlier:
cd /Applications/ApplicationFolder
mono Application.exe
???
Profit!
Click to expand...
Click to collapse
Alright, so i installed mono, installed superoneclick, and when i type cd /Applications/SuperOneClickv2.2-ShortFuse, it just gives me an error saying that it doesnt exist. But it does....

You need to be root
In terminal, of course, the command is "su -"
Instructions:
Enable Root user on your mac if it isn't done already (search google for this). Remember the password!
Download mono -> search mono mac, then go to the download page (wont let me post links...)
Mount the Mono .dmg and install it
Download SuperOneClick -> shortfuse dot org
Save .zip anywhere, in this example it is on the desktop in a folder called "Android". Extract it by double-clicking of course.
Your commands would then be (if downloaded to a folder on the Desktop):
su -
cd /Users/your_username/Desktop/Android/SuperOneClickv2.3.3-ShortFuse/
mono SuperOneClick.exe
These commands can be added to Automater if you want to. When i tried mono itlocked up a few times, but ran on the third try. Good luck - it is very buggy

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

Hey I followed all the instructions but I'm getting "-sh: /usr/bin/mono: Bad CPU type in executable".
Any way to fix this? Thank you!

Does anyone know of a Mac Kitchen to cook our own ROMS?

Related

BackTrack 5 for Android Smartphones - VERY UNSTABLE

WARNING: THIS IS NOT FOR THE FAINT OF HEART
UPDATE: My goal was to create a version of BackTrack 5 for ARM that was easy to use and install. As of this time, that IS NOT the case! The versions posted here are **probably not** going to work straight out of the box. If you know what you are doing in a Linux environment, you'll probably be able to get it working.
Because of this, the project is currently completely unsupported. You are free to dive in, but you are doing so with no support for me, and I'm not liable for any damage that might be done to your device's ROM.
I encourage you to pass this up unless you know what you are getting yourself into!
If you were referred here from the XDA-Developers.com article...
Hi there! Let's get one thing on the record here... this is *not* a native client! This is the chroot + VNC method that we'd been using to get Ubuntu running with Android for a while. The article makes it sound like that's the case, but sadly it's not. However, with the chroot + VNC method we can really run BackTrack 5 on an Android device, and it really does work. This takes some technical skills, and isn't for the non-Linux experienced user.
Requires a rooted device!
BackTrack 5 installation guides are making their way around this forum. I've tried to synthesize it all, but I've also added my own touches to help with usability and features, along with a workaround for the "ioctl LOOP_SET_FD failed" error message some people have been getting.
In theory this build is nearly universal, so if you have an Android device it should work. I've put it all in one zip file that you can download directly from my website, no hassles or wait timers.
If you are interested have a look, feel free to re-post. Credit goes to the BackTrack team and xda member anantshri (he's got skills, give him props guys), who built the base image file.
Information, download link, and installation guide at:
(SERVER OFFLINE, SEE BELOW)
If you like what you see help me out, hosting is expensive!
http://www.mattslifebytes.com/donate
(alternatively, you can show interest in the products and services featured on my website, if you know what I mean )
msullivan said:
If you don't know what BackTrack is, you probably don't want it
BackTrack is an operating system based on Ubuntu Linux that is used for security testing (aka hacking) and digital forensics. I'm a master's degree student in computer security, so I love this OS... it can do awesome things. Turn on your Wi-Fi and you can do advanced network scans and tests right from your phone, no laptop required. For me this is hella-useful.
But besides just being an OS for hacking ****, it's also fully Ubuntu-based, so you can run it like a desktop, including running Firefox and other Linux applications.
Click to expand...
Click to collapse
Well guys my server had hardware failure (lol, my luck), so here's the website's content:
msullivan said:
The Download
This installation of BackTrack 5 is available as a compressed file that will need to be extracted. I recommend downloading this using Chrome or Firefox. Internet Explorer often doesn’t play well with large HTTP downloads.
The root account’s password and the VNC server password are both set to ‘root’ by default!
Mirror 1
Part 1: http://www.mediafire.com/?1z5sbxdxv3naxp1
Part 2: http://www.mediafire.com/?0zz1vac0k59d58p
Part 3: http://www.mediafire.com/?kxpb7ug0x55ppde
Mirror 2
http://www.megaupload.com/?d=M6YCKZLR
Mirror 3 (Provided by shenshang)
http://www.shenye.co.uk/files/BackTrack5ForARM-MattsLifeBytesEditionv2.zip
Mirror 4 (Provided by brilldoctor)
http://brilldoctor.co.cc/Files/BackTrack5ForARM-MattsLifeBytesEditionv2.zip
Mirror 5 (Thanks for uploading, PIIcoding)
Part 1: https://rapidshare.com/files/3602140493/BackTrack5ForARM-MattsLifeBytesEditionv2.part1.rar
Part 2: https://rapidshare.com/files/2384880899/BackTrack5ForARM-MattsLifeBytesEditionv2.part2.rar
Part 3: https://rapidshare.com/files/3314159192/BackTrack5ForARM-MattsLifeBytesEditionv2.part3.rar
Part 4: https://rapidshare.com/files/3073073580/BackTrack5ForARM-MattsLifeBytesEditionv2.part4.rar
Part 5: https://rapidshare.com/files/2486943841/BackTrack5ForARM-MattsLifeBytesEditionv2.part5.rar
Part 6: https://rapidshare.com/files/3545372402/BackTrack5ForARM-MattsLifeBytesEditionv2.part6.rar
Part 7: https://rapidshare.com/files/2371728719/BackTrack5ForARM-MattsLifeBytesEditionv2.part7.rar
Part 8: https://rapidshare.com/files/1437974805/BackTrack5ForARM-MattsLifeBytesEditionv2.part8.rar
Part 9: https://rapidshare.com/files/1758571109/BackTrack5ForARM-MattsLifeBytesEditionv2.part9.rar
The Description
If you want to run BackTrack 5 on your Android-powered device, read on, you’re in the right place! So the big news is that BackTrack 5 runs on Android phones. We’ve been able to run Ubuntu on these devices for quite some time too, but admittedly BackTrack on a smartphone is just awesome.
Anyway, files for using BackTrack 5 on an Android phone have been running around the internet, but sadly it’s kind of a mish-mash of links saying, “go download this, then get this, to then this, blah blah blah”. Too confusing for my simple brain, so I’ve rounded it all up and posted it in one place… right here. The version posted here has everything you should need to run BackTrack 5 on your Android device. I’ve also added a lot of goodies to help with the user experience that the other offerings don’t include:
Works around the ioctl LOOP_SET_FD failed error that many people have been receiving on Galaxy S devices (and others)
Asks the user if they want a VNC session upon start-up
Starts the SSH service automatically and displays device IP on start-up
Enables the Ubuntu repositories to Aptitude, so you can do package installation
Adds vim. Really, what distribution doesn’t come with vim by default? Seriously…
Sets the screen resolution to 800×480 default (should be compatible with most smartphone devices)
SU
This requires root!
You must be able to "su" at terminal. This ability is usually provided by software for rooting your phone. To see if you have rooted your phone correctly and it's working, go to your terminal emulator and type "su" <enter>. If it is working, you'll probably get a prompt asking you if you want to allow your terminal emulator root access. Hit accept/yes. Now you'll be back in your terminal emulator. Type "whoami" <enter>. If it responds with "root" or "uid 0", then you are properly rooted.
Busybox
This requires Busybox!
I am no longer providing an installer for Busybox because of issues getting it to work universally, so instead YOU need to go get a working build and install it (I believe "Busybox Installer" will work, but not tested). If you want to know if you have Busybox and it's working, go to your terminal emulator and type "su" <enter>, then "busybox ls" <enter>. If you get a printout of all the files in your current directory, then your Busybox will likely work with BackTrack 5 just fine. If you get an error, "busybox: not found", that means you either do not have Busybox, or it is not properly installed.
WARNING FOR CyanogenMod USERS
Before doing ANYTHING, please test for ext2 support by running (as root, at terminal) --> "modprobe ext2" <enter>
If this fails probably your device lacks ext2 support and the whole thing will screw up if you try to run it! Support for ext2 in CM is being worked on.
The Installation Guide
Enable Wi-Fi and connect to a Wi-Fi access point (* not required, but BT5 cannot use your data plan for internet access)
Download the zip file, extract anywhere
After extraction you’ll have one folder “bt5″; copy this folder to the root of your phone’s SD Card
Put card back in phone and/or unplug from USB
In a terminal emulator, type “su” <enter>, “cd /sdcard/bt5″ <enter>
Now you are ready to rock and roll, so issue “sh bt” <enter> (in the future to start BT5 skip the line above and come straight to this command)
If all is well you’ll now be running BackTrack 5 on your Android device; you can SSH to it via Wi-Fi (password ‘root’), or access it from VNC if you said “Yes” to the prompt asking if you wanted a VNC session
To get a GUI for BackTrack on your smartphone’s screen, download a VNC viewer from the market (many are free), then connect to host “127.0.0.1″, port “5901″, password “root”
Enjoy, boys and girls.
The Credits
The BackTrack 5 Development Team
anantshri on xda-developers (his blog: http://blog.anantshri.info/) for creating the image file to fit FAT32 filesystems
anantshi's original thread where it all began: http://forum.xda-developers.com/showthread.php?t=1074169
Click to expand...
Click to collapse
Known Incompatibility
Voodoo lagfix kernel (possibly? reported, not confirmed)
Hi thanks for the great work, I try it on my HTC WildFire with CyanogenMod7 2.3 CFW
this what i got when try it install it from the terminal:
$ su
# id
uid=0(root) guid=0(root)
#
# cd /sdcard/bt5
# sh installbusybox
installbusybox: 14: Syntax error: end of file unexpected (expecting "fi")
#
# sh bt
bt: 36: Syntex error: end of file unexpected (expecting "then")
#
Click to expand...
Click to collapse
Which terminal emulator are you using?
Terminal emulator
Open up "installbusybox" in a text editor and axe the first two lines, then try again.
Hrm... I failed when packaging the version that got put up online (sorry). I'm fixing now, will update shortly.
ok i remove the first two lines, and i got:
# sh installbusybox
BeginningBusyBox installation...
mount: mounting /dev/block/mtdbloc faild: No such file or directory
/sdcard/busybox: No such file or directory
cd:can't cd to /data/local
installbusybox: ./busybox: permission denied
cd:can't cd to /system/xbin
: No such file or directory
installbusybox: ./busybox: permission denied
If there were no error messages given above then installation was successfull
#
Click to expand...
Click to collapse
not sure why when i try to chmod 755 busybox nothing change!
msullivan said:
Hrm... I failed when packaging the version that got put up online (sorry). I'm fixing now, will update shortly.
Click to expand...
Click to collapse
aha, ok thanks again
Awesome.
Sent from a super smooth captivate running andromeda
Old news...
Btw.. if you're having problems, migrate apps from SDCard to Internal memory.
edit: Just realized this came off kinda ****-like... So here http://forum.xda-developers.com/showpost.php?p=13924701&postcount=109
AdamOutler said:
Old news...
Click to expand...
Click to collapse
News isn't that BT5 runs on these; the news is that my builds resolve a lot of issues and makes it as simple as dropping in the files and saying go.
Fixed version now posted at the website.
http://www.mattslifebytes.com/?p=456
export PATH=/data/local/bin:$PATH
$ $su
# cd /sdcard/bt5
# sh bt
mkdir failed for /data/local/mnt, File exists
mount: No such device
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM
failed.
failed.
failed.
failed.
losetup: /dev/loop7: No such device or address
#
I have this error when i try
Sent from my A953 using Tapatalk
Motodoido said:
export PATH=/data/local/bin:$PATH
$ $su
# cd /sdcard/bt5
# sh bt
mkdir failed for /data/local/mnt, File exists
mount: No such device
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM
failed.
failed.
failed.
failed.
losetup: /dev/loop7: No such device or address
#
I have this error when i try
Sent from my A953 using Tapatalk
Click to expand...
Click to collapse
Same error here, Verizon Fascinate.
Motodoido, tripacer99: have you remembered to do the "sh installbusybox" command first?
I download the new package, and this what i got:
[[email protected] tools]$ ./adb shell
# id
uid=0(root) gid=0(root)
# cd sdcard/bt5
# ls
bt busybox installbusybox unionfs
bt5.img fsrw mountonly
# sh installbusybox
Beginning BusyBox installation...
/sdcard/busybox: No such file or directory
--install: applet not found
If there were no error messages given above then installation was successful!
# sh bt
mkdir: can't create directory '/data/local/mnt': File exists
Loop device exists
losetup: /dev/block/loop7: No such file or directory
mount: mounting /dev/block/loop7 on /data/local/mnt failed: Device or resource busy
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
net.ipv4.ip_forward = 1
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: ip 192.168.2.13 mask 255.255.255.0 flags [up broadcast running multicast]
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM
umount: can't umount /data/local/mnt/dev/pts: No such file or directory
umount: can't umount /data/local/mnt/proc: No such file or directory
umount: can't umount /data/local/mnt/sys: No such file or directory
umount: can't umount /data/local/mnt: Invalid argument
losetup: /dev/loop7: Device or resource busy
#
Click to expand...
Click to collapse
Hrm yet another small error in one of the scripts. So sorry :S (this script is from the BT5 team though, so I take no fault in it not working, lol).
Open "installbusybox" in a text editor and replace the text "cat /sdcard/busybox" with "cat /sdcard/bt5/busybox" it should work. I'll fix it and put it up online once I'm home from work today.
msullivan said:
Hrm yet another small error in one of the scripts. So sorry :S (this script is from the BT5 team though, so I take no fault in it not working, lol).
Open "installbusybox" in a text editor and replace the text "cat /sdcard/busybox" with "cat /sdcard/bt5/busybox" it should work. I'll fix it and put it up online once I'm home from work today.
Click to expand...
Click to collapse
thanks for your time and for your help
now i got:
# sh installbusybox
Beginning BusyBox installation...
[1] Illegal instruction ./busybox cp /da...
--install: applet not found
If there were no error messages given above then installation was successful!
#
# cat installbusybox
perm=$(id|cut -b 5)
if [ "$perm" != "0" ];then echo "This script requires root! Type: su"; exit; fi
echo "Beginning BusyBox installation..."
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/bt5/busybox > /data/local/busybox
chmod 755 /data/local/busybox
#/data/local/busybox mkdir /system/xbin
cd /data/local
./busybox cp /data/local/busybox /system/xbin
cd /system/xbin
chmod 755 busybox
./busybox --install -s /system/xbin
rm /data/local/busybox
echo "If there were no error messages given above then installation was successful!"
# ls /data/local/busybox
ls: /data/local/busybox: No such file or directory
#
Click to expand...
Click to collapse
Dr_Death said:
thanks for your time and for your help
now i got:
Click to expand...
Click to collapse
I'll have to play when I get home... at the moment I don't have an answer :-/
Link is offline....

A Working mkyaffs ?!

Hi everybody
I have searched all over the internet for a working mkyaffs.exe I found one (attached below) but it's not working with me, it does create the output it should create, but:
1. it's 14MB larger than the one CWM Created.
2. unyaffs returns error when trying to unyaffs the file I created via mkyaffs
The error that is produced is:
Code:
0 [main] unyaffs 768 exception::handle: Exception: STATUS_ACCESS_VIOLATION
624 [main] unyaffs 768 open_stackdumpfile: Dumping stack trace to unyaffs.ex
e.stackdump
The stackdump is:
Code:
Exception: STATUS_ACCESS_VIOLATION at eip=6112A143
eax=00000000 ebx=00000004 ecx=00002400 edx=00000000 esi=20028390 edi=00000000
ebp=0028ABE8 esp=0028ABE4 program=C:\Users\Omar\Desktop\New folder (2)\unyaffs.exe, pid 768, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0028ABE8 6112A143 (00000000, 0040DC70, 00000200, 00000000)
0028AC28 004010BF (0028ACA9, 00000000, 20028280, 00401333)
0028AC58 004013AF (00000002, 0028AC80, 20028280, 0028ACA0)
0028AD08 61007535 (00000000, 0028CD88, 61006B20, 00000000)
End of stack trace
Thanks in advance

[DISCUSSION]How to fix Jack server failing to build with error "Try jack-diagnose"

[DISCUSSION]How to fix Jack server failing to build with error "Try jack-diagnose"
Did you got this error while building with Jack?
Code:
[ X% Y/Z] Building with Jack: /home/minealex2244/los/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex
FAILED: /bin/bash /home/minealex2244/los/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp
Communication error with Jack server (52). Try 'jack-diagnose'
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
It looks like the installation of Jack server is broken. So how do we fix it?
1. Open a terminal window
2. Type the following commands:
Code:
jack-admin kill-server
jack-admin uninstall-server
cd prebuilts/sdk/tools
touch jack
mm -j32 showcommands &> mm.out
./jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar
3. Now the build should work.
Note: Sometimes it will continue to fail, just be persistent ("make" command again). In my case it is running somehow out of memory and that's why I'm persistent.
Note2: By increasing the RAM memory you will get better results. I see that Jack server is running out of memory at some point.
Note3: It is possible to reduce the number of concurrent services in file $HOME/.jack-server/config.properties
Code:
jack.server.max-service=N
where "N" is a number (default: 4).
Note4: Try creating a swap file of 20-40 GB as Jack uses a lot of RAM (https://forum.xda-developers.com/showpost.php?p=73083910&postcount=4).
Thanks for this post. I had lost the jack server and couldn't find how to get it back. You really saved me bro!
how do I create the swap file, new to building and I am having this issue? Thanks!
yung40oz84 said:
how do I create the swap file, new to building and I am having this issue? Thanks!
Click to expand...
Click to collapse
Here is a guide: https://www.howtoforge.com/ubuntu-swap-file
Also this may help:
Code:
export USE_CCACHE=1
prebuilts/misc/linux-x86/ccache/ccache -M 50G
Add these to your .bashrc
minealex2244 said:
Here is a guide: https://www.howtoforge.com/ubuntu-swap-file
Also this may help:
Code:
export USE_CCACHE=1
prebuilts/misc/linux-x86/ccache/ccache -M 50G
Add these to your .bashrc
Click to expand...
Click to collapse
Could I set the ccache to a large USB flashdrive for faster caching? I'm using a standard HDD, just curious if I could get a slight performance boost from this
Travisholt92 said:
Could I set the ccache to a large USB flashdrive for faster caching? I'm using a standard HDD, just curious if I could get a slight performance boost from this
Click to expand...
Click to collapse
It depends on how fast the USB drive is.
minealex2244 said:
It depends on how fast the USB drive is.
Click to expand...
Click to collapse
My USB ports are too slow for that, however I did find a speed boost by taking an old smaller sata hard drive and mounting it as the /out folder. So it mainly reads from one drive while writing to the other which helps with overall read/write latency. I hope this information helps someone else.
Does anybody know how to raise the the amount of resources javac uses when compiling? Mine is stuck at "javac -J-Xmx1024M" and I believe that is causing some build errors for me. My cm-14.1 tree is limited to 1024m and my lineage-15.0 tree is limited to 2048m for javac. The variable must be able to be changed somehow if it changes between build trees like that.
jack server error 51
I am trying to compile ResurrectionRemix Rom from source. Compilation would not even start.
Communication error with Jack server 51. Try 'jack-diagnose'
I am getting this error. I have tried killing the server and running it again. then getting this error
No Jack server running. Try 'jack-admin start-server'
I checked the logs but nothing is in there. I tried running "jack-diagnose" but it is showing permission denied. Kindly help me. thanks
Please send link to download the jack jar file for launcher and server.
karan4c6 said:
Please send link to download the jack jar file for launcher and server.
Click to expand...
Click to collapse
Repo sync -f should do the thing.
Stuck
Code:
[email protected] ~/Andro_Dev/DotOS/prebuilts/sdk/tools $ ./jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar
Jack server jar "jack-server-4.8.ALPHA.jar" is not readable
[email protected] ~/Andro_Dev/DotOS/prebuilts/sdk/tools $
Black_J said:
Stuck
Code:
[email protected] ~/Andro_Dev/DotOS/prebuilts/sdk/tools $ ./jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar
Jack server jar "jack-server-4.8.ALPHA.jar" is not readable
[email protected] ~/Andro_Dev/DotOS/prebuilts/sdk/tools $
Click to expand...
Click to collapse
Make sure that the file is RW and not RO. Right click on it and change the properties.
minealex2244 said:
Make sure that the file is RW and not RO. Right click on it and change the properties.
Click to expand...
Click to collapse
Thanks for the quick reply, but I figured out my problem.
I blindly just copied pasted the codes. The directory was having jack-server-4.11.ALPHA.jar not jack-server-4.8.ALPHA.jar in my case.
you saved me bro. Thanks
nit_in said:
I am trying to compile ResurrectionRemix Rom from source. Compilation would not even start.
Communication error with Jack server 51. Try 'jack-diagnose'
I am getting this error. I have tried killing the server and running it again. then getting this error
No Jack server running. Try 'jack-admin start-server'
I checked the logs but nothing is in there. I tried running "jack-diagnose" but it is showing permission denied. Kindly help me. thanks
Click to expand...
Click to collapse
Did you figure this out? I'm having same problem with the same error message.
Airtioteclint said:
Did you figure this out? I'm having same problem with the same error message.
Click to expand...
Click to collapse
before giving the make/lunch/brunch command enter this in terminal.
JACK_SERVER_VM_ARGUMENTS="-Xmx4g -Dfile.encoding=UTF-8 -XX:+TieredCompilation" /mnt/disk2/du/prebuilts/sdk/tools/jack-admin start-server
Click to expand...
Click to collapse
if this don't work, increase the value from 4g to 8g or more
replace the /mnt/disk2/du with your project directory.
Also open .jack-server/config.properties in your home.
and edit jack.server.max-service to 1
Hope this will help you.
Thanks
Another reason for Jack Server errors could be that the port server clashes with already started instances of other users in your system.
If you set up a server and admin port based on your uid, your Jack Server should work without issues.
at now: jack-server-4.8.ALPHA.jar
minealex2244 said:
Did you got this error while building with Jack?
Code:
[ X% Y/Z] Building with Jack: /home/minealex2244/los/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex
FAILED: /bin/bash /home/minealex2244/los/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp
Communication error with Jack server (52). Try 'jack-diagnose'
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
It looks like the installation of Jack server is broken. So how do we fix it?
1. Open a terminal window
2. Type the following commands:
Code:
jack-admin kill-server
jack-admin uninstall-server
cd prebuilts/sdk/tools
touch jack
mm -j32 showcommands &> mm.out
./jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar
3. Now the build should work.
Note: Sometimes it will continue to fail, just be persistent ("make" command again). In my case it is running somehow out of memory and that's why I'm persistent.
Note2: By increasing the RAM memory you will get better results. I see that Jack server is running out of memory at some point.
Note3: It is possible to reduce the number of concurrent services in file $HOME/.jack-server/config.properties
Code:
jack.server.max-service=N
where "N" is a number (default: 4).
Note4: Try creating a swap file of 20-40 GB as Jack uses a lot of RAM (https://forum.xda-developers.com/showpost.php?p=73083910&postcount=4).
Click to expand...
Click to collapse
Hi I am getting a bunch of errors when It's compiling the package: Download Provider
FAILED: /bin/bash -c "(rm -f /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/with-local/classes.dex ) && (rm -f /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes.jack ) && (rm -rf /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc ) && (mkdir -p /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/with-local/ ) && (mkdir -p /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/ ) && (mkdir -p /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc ) && (rm -f /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list ) && (touch /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list ) && (echo -n 'packages/providers/DownloadProvider/src/com/android/providers/downloads/Constants.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadDrmHelper.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadIdleService.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadInfo.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadJobService.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadNotifier.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadReceiver.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadScanner.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadStorageProvider.java packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadThread.java packages/providers/DownloadProvider/src/com/android/providers/downloads/Helpers.java packages/providers/DownloadProvider/src/com/android/providers/downloads/OpenHelper.java packages/providers/DownloadProvider/src/com/android/providers/downloads/RealSystemFacade.java packages/providers/DownloadProvider/src/com/android/providers/downloads/StopRequestException.java packages/providers/DownloadProvider/src/com/android/providers/downloads/StorageUtils.java packages/providers/DownloadProvider/src/com/android/providers/downloads/SystemFacade.java ' >> /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list ) && (if [ -d "/home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/src" ]; then find /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/src -name '*.java' >> /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list; fi ) && (tr ' ' '\\n' < /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list | build/tools/normalize_path.py | sort -u > /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list-uniq ) && (echo -basedirectory /home/android/RR > /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/with-local/classes.dex.flags; echo -forceprocessing -include build/core/proguard.flags -dontobfuscate -dontoptimize -printmapping /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack_dictionary -include /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/proguard_options -include /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/proguard_options >> /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/with-local/classes.dex.flags ) && (if [ -s /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list-uniq ] ; then export tmpEcjArg="@/home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list-uniq"; else export tmpEcjArg=""; fi; JACK_VERSION=3.36.CANDIDATE /home/android/RR/out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error -g -D jack.java.source.version=1.8 --classpath /home/android/RR/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jack:/home/android/RR/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack:/home/android/RR/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes.jack:/home/android/RR/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jack:/home/android/RR/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jack:/home/android/RR/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jack --import /home/android/RR/out/target/common/obj/JAVA_LIBRARIES/android-support-documents-archive_intermediates/classes.jack --import /home/android/RR/out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes.jack -D jack.android.min-api-level=25 -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first --output-jack /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes.jack --output-dex /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc --config-proguard /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/with-local/classes.dex.flags \$tmpEcjArg || ( rm -rf /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes.jack; exit 41 ) ) && (mv /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/classes*.dex /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/with-local/ ) && (rm -f /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list ) && (mv /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc/java-source-list-uniq /home/android/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/jack-rsc.java-source-list )"
ERROR: /home/android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadStorageProvider.java:326: The method setFilterByString(String) is undefined for the type DownloadManager.Query
ERROR: /home/android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:150: COLUMN_DESTINATION cannot be resolved or is not a field
ERROR: /home/android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155: COLUMN_FILE_NAME_HINT cannot be resolved or is not a field
ERROR: /home/android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1133: The method update(SQLiteDatabase, ContentValues, String, String[]) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1237: The method setStrictColumns(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1238: The method setStrictGrammar(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/RR/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1316: The method delete(SQLiteDatabase, String, String[]) is undefined for the type SQLiteQueryBuilder
It looks like it's a jack error. I compiled 2 different roms and arrived at the same error. How can I fix it if it's possible?

How to extract data from ADB/twrp (.ab) backup?

Hi guys,
i made a backup using ADB and TWRP, no i have a backup.ab that i cant do anything with. I've been searching for a while and i cant unpack, split, or extract the backup. I tried using windows 10, ubuntu bash (on winows10), and virtual linux.
so far, windows and virtual linuxmint 18 give me about the same error.
I used :
Code:
java -jar abe.jar unpack backup1.ab nexus745544.tar
To unpack it, but i get the following error (both windows and linux):
Code:
Invlaid Magic: TWRPtwstreamheaderöâS·TWRPtwfilename€ÌøÔñ£â/data/media/0/TWRP/BACKUPS/0117111846320501/2017-12-17--02-02-18_NRD90MN920PVPS3DQK1/system.ext4.winTWRPtwdatablockDÝíº/app/00407550000000000000000000000062132154162340010533xustar rootroot50 RHT.security.selinux=u:object_r:system_file:s0
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Invalid Magic TWRPtwstreamheaderöâS·TWRPtwfilename€ÌøÔñ£â/data/media/0/TWRP/BACKUPS/0117111846320501/2017-12-17--02-02-18_NRD90MN920PVPS3DQK1/system.ext4.winTWRPtwdatablockDÝíº/app/00407550000000000000000000000062132154162340010533xustar rootroot50 RHT.security.selinux=u:object_r:system_file:s0
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:502)
at org.nick.abe.Main.main(Main.java:128)
... 5 more
Caused by: java.lang.IllegalArgumentException: Invalid Magic TWRPtwstreamheaderöâS·TWRPtwfilename€ÌøÔñ£â/data/media/0/TWRP/BACKUPS/0117111846320501/2017-12-17--02-02-18_NRD90MN920PVPS3DQK1/system.ext4.winTWRPtwdatablockDÝíº/app/00407550000000000000000000000062132154162340010533xustar rootroot50 RHT.security.selinux=u:object_r:system_file:s0
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:332)
... 6 more
other commands i tried:
Code:
dd if=backup1.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" > backup11.tar
This command creates a backup11.tar (with 0 bytes) but the terminal just hangs.
Code:
dd if=backup1.ab bs=24 skip=1|openssl zlib -d > mybackup7668.tar
This command also creates the .tar file with 0 bytes but the terminal throws error:
Code:
openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
which i'm still trying to fix this error, maybe it fixes it.
if you have any more questions, let me know.
Any help is appreciated. Thanks.
Same problem here,
I think TWRP backups are in some way different from others .ab files.
Just wanted to also say I have the exact same problem as the other two people in the thread.
Only, I also have my efs partitions in there and now when I need them my phone is essentially a tablet.
Same problem here. It is hard to believe that the answer to this question is so hard to find. After all, one only needs to be able to read the source code to find the answer (unfortunately, that's not what I am qualified to do)
For anyone else in trouble, more information can be found here:
github.com/TeamWin/Team-Win-Recovery-Project/issues/898

exec '/system/bin/sh' failed: No such file or directory (2)

I've been trying to get CyanogenMod 12.1 to work on a Samsung device, but when I try to run adb shell, I get the following error:
Code:
- exec '/system/bin/sh' failed: No such file or directory (2) -
I can confirm that the binary exists (I checked via TWRP). Any help please?
Wondering what sense the cmd listed above makes? It simply switches to Android's default shell.
AFAIK exec cmd isn't part of Android OS ( read: Toybox )
xXx yYy said:
Wondering what sense the cmd listed above makes? It simply switches to Android's default shell.
AFAIK exec cmd isn't part of Android OS ( read: Toybox )
Click to expand...
Click to collapse
Thanks! I hope I'll be somehow able to fix this issue.

Categories

Resources