How to run Helium Desktop on Linux

If you want backup your Android apps, the best application to do it is Helium.
To run it, you need execute an application on your Desktop

wget http://download.clockworkmod.com/carbon/carbon-linux.tgz
tar xzvf carbon-linux.tgz 
cd linux
./run.sh .   

You will see this error:
                              
error: device not found
adb server is out of date. killing... README adb run.sh daemon started successfully README adb run.sh
error: device not found

Or this:

/data/app/com.koushikdutta.backup-1/base.apk
CLASSPATH=/data/app/com.koushikdutta.backup-1/base.apk app_process /system/bin com.koushikdutta.shellproxy.ShellRunner2  &
exit

hammerhead:/ $ ^[[24;80R

If you see, the bash script has an issue. To solve it, execute the following lines on your terminal:

pkg=$(adb shell pm path com.koushikdutta.backup) 
pkg=$(echo $pkg | cut -d : -f 2 | sed s/\\r//g)
echo $pkg 
adb shell << EOF
CLASSPATH=$pkg app_process /system/bin com.koushikdutta.shellproxy.ShellRunner2 $@ &
exit
EOF

You will see this message:

adb server version (31) doesn't match this client (39); killing...
* daemon started successfully

/data/app/com.koushikdutta.backup-b2EgoicJbOtZekaq2fnwnw==/base.apk

If you backup your apps throught Helium app, you won't be able to copy .json files that Helium need to restore these apps. To solve it, make your backups and restores throught Helium Server (PC Download option).

To extract .ab (Android Backup) files generated by helium, you can use tools from https://github.com/floe/helium_ab2tar

Comments

  1. You're my hero! I've no idea what your code does, but it solves my problem, thank you!

    ReplyDelete

Post a Comment

Popular posts from this blog

How to fix Android when developer options are not available for this user

Exception: Could not find a default OpenFlow controller in Mininet

v4l2: open /dev/video0: Permission denied