Send sms using pc via adb (linux - android) - Android General

Hello XDA!!!this is my first post...
I wanted to be able to send sms messages using my pc but i couldnt find anything useful....
So, after doing some research i managed to create and modify some scripts and got the results i wanted...
The scripts run on linux and have been tested on Arch Linux and Ubuntu...
There are 2 main scripts:
One for reading the phone's messages..
And one for sending messages...
The second script also reads a file called "contacts" and displays its content...
The "contacts" file does not use the phones contacts...the user can open it using a text editor and write his own contacts...
There is also another file called "adb_location" which the user must open with a text editor and paste location of adb...
#######Requirements#########
* Rooted android phone with sqlite3 installed(I believe most custom roms have sqlite3 installed)(My phone is rooted nexus S with CM9)
* Linux pc (tested: Arch Linux and Android)
* ADB installed and working properly
#######After Download#########
* Extract sms.zip wherever you want
* Connect your rooted phone to pc in debugging mode (so it can interact with ADB)
* Open the extracted folder
* Open the file: "adb_location" using a text editor and replace the line: "/opt/android-sdk/platform-tools/adb" with your own adb location
* Open the file: "contacts" and replace the examples with the contacts that you will be using
* Open in terminal the file: "reader-refresh.sh" to read the messages from your phone
* Open in terminal the file: "launch-contacts.sh" to view your contacts and send messages
Here is a demonstration video...not vary instructive but i thing it will help:
XDA wont let me post an outside link...so if you want to see the video search on youtube : "Send sms using pc via adb (linux - android)"
note: If you don't know how to root your phone, flash custom roms or install adb on your linux system, there are plenty of tutorials available on the web

WWWOOOUUUAAAHHHH.
Thanks 1000 times. I have been trying with Qtadb (qtadb installed on both sides). It is supposed to send sms but never could make it ork (client not responding)
I just found your script, and as an Arch user, noting to do than run it!! And working.
Very good script mate.
TY again, as I spend all day long on my box, and typing SMS on my SGS2 small keyboard is a pane in the ass.

polizois said:
Hello XDA!!!this is my first post...
I wanted to be able to send sms messages using my pc but i couldnt find anything useful....
So, after doing some research i managed to create and modify some scripts and got the results i wanted...
Click to expand...
Click to collapse
I think I will use this and adapt it to a web page my sister can use in Abu Dhabi to text anyone in the US for free through my phone.
Thank you so much for the research you have done. KUDOS!

ICS/Jellybean
Hi
can anyone confirm this is working in ICS/Jellybean (particularly on a SGS2)?
thanks, Ian

Sorted
Got things working again ... needed another
sleep 1
$ADB shell input keyevent 22
after the first one.

thanks for the fix...
iandoug said:
Got things working again ... needed another
sleep 1
$ADB shell input keyevent 22
after the first one.
Click to expand...
Click to collapse
Thanks for the fix my friend...I have't worked on it since I posted it on xda, because noone seemed to care...

Related

AdFree Hosts file

Since we currently can't write to /system while Android is running, the AdFree app is unfortunately unusable. However, here is the hosts file that the app supplies you with, so you can still put it into your phone manually.
Download the attached file, unzip it and place the hosts file on your sdcard. Then, open up a command prompt, load up your recovery menu (using the instructions in toastcfh's guide) and type:
Code:
adb shell
mount /system
mount /sdcard
cp /sdcard/hosts /system/etc/hosts
exit
Now you're AdFree
As in AD free while on the web only? Or does this block the ADs that are displayed within certain programs? Like Spare Parts for example.
VoXHTC said:
As in AD free while on the web only? Or does this block the ADs that are displayed within certain programs? Like Spare Parts for example.
Click to expand...
Click to collapse
Everytime the phone goes to download an ad, it gets blocked. So in both the browser and inside apps.
a) not development
b) i already did this thread
http://forum.xda-developers.com/showthread.php?t=695196&highlight=adfree
I'm guessing this requires root?
Also, those commands can't work AFAIK, because mount needs two arguments.
Or am I missing something here? I'm new.
I have actually had 0 problems running adfree right out of the box. Installed, ran and bam no ads. Didn't have to modify nothing through ADB.
superevilllama said:
I have actually had 0 problems running adfree right out of the box. Installed, ran and bam no ads. Didn't have to modify nothing through ADB.
Click to expand...
Click to collapse
U running 2.2? BC I see lots more adds since 2.2, it blocks some but not most.
Sent from my PC36100 using XDA App
You know, to my embarassing discovery, I never noticed (as I found this thread from google) but this is the forum specifically for EVO.
I'm running a DX (so 2.1), so that may be the problem. But still, I wouldn't think such things would be different in the OS. Guess the package it differently. Oh well. Not gonna bother rooting my toy just yet, hehe. Sorry bout the confusion.
AdFree is working perfect on CM7 nightly 23 & 25 & MikFroyo 4.5 but it does not work if you have BusyBox 1.18.3 but works perfect with BusyBox 1.17.1. I did not test other versions but I think the problem is related to BusyBox 1.18.3 by today 03/19/11.
Still there are ads running on some apps
like moneycontrol, and more.
Gregalous said:
Since we currently can't write to /system while Android is running, the AdFree app is unfortunately unusable. However, here is the hosts file that the app supplies you with, so you can still put it into your phone manually.
Download the attached file, unzip it and place the hosts file on your sdcard. Then, open up a command prompt, load up your recovery menu (using the instructions in toastcfh's guide) and type:
Code:
adb shell
mount /system
mount /sdcard
cp /sdcard/hosts /system/etc/hosts
exit
Now you're AdFree
Click to expand...
Click to collapse
earth08 said:
Still there are ads running on some apps
like moneycontrol, and more.
Click to expand...
Click to collapse
Its not updated, try absolute system tools from the Android Market. It downloads an updated script
If anyone is interested I created an app (Warning: requires ROOT) that allows you to enter one or more URLs and/or file paths and merges them and installs them as hosts. You may find the source-code here: https://code.google.com/p/android-ad-blocker/
I'll try to fix bugs for it but I can't promise I'll have time.
Edit: I made a new version because the old one had some issues transferring large files. You may find it here: http://dl.dropbox.com/u/8443626/android-ad-blocker.apk
Adfree works fine, Am I missing something? I just ran it, it updated my host file. I checked again and it said it's the latest version
Sent from my PC36100
karilofyore said:
If anyone is interested I created an app (Warning: requires ROOT) that allows you to enter one or more URLs and/or file paths and merges them and installs them as hosts. You may find the source-code here: https://code.google.com/p/android-ad-blocker/
I'll try to fix bugs for it but I can't promise I'll have time.
Click to expand...
Click to collapse
Can u help me... on how to use ur app
Sent from my °•EvO HD•°
Can u explain this process... where is the guide from toast...
Sent from my °•EvO HD•°
acme64 said:
Adfree works fine, Am I missing something? I just ran it, it updated my host file. I checked again and it said it's the latest version
Sent from my PC36100
Click to expand...
Click to collapse
x2 im confused
@ acme64 : Some people in market comments complained that it doesn't work fine anymore and it's a root app with closed source. Since it was simple to write a similar tool I did it for myself mainly.
@ Don74y3 : The way to use the application is to put a URL to a hosts file. You may use for example the one in the screenshot (I can't put the link here because of forum rules but use Google to search for "hosts file winhelp2002" and from the first link, take the address from "To view the HOSTS file in plain text form") and then click "Apply". What the program does is get that file and put it in your (rooted) Android phone. That file in turn lets the phone avoid domains that serve ads or malware. The app can take more URLs and merge them, but that's not necessary. After clicking "Apply" it is recommended to reboot the phone to make sure the changes go into effect. You will see that the pages load faster and without ads.
P.S. I'm not affiliated with the guys that make that hosts file, though I'm grateful for their work.
Unable to figure out system mount point.
Can you please help with this?
MattSkeet said:
Unable to figure out system mount point.
Can you please help with this?
Click to expand...
Click to collapse
Hi, the programs tries to figure out where the /system partition is mounted on your phone (this is because it has to switch it to read-write, put the hosts file and switch it back to read-only). I wrote the program to parse the output of the "mount" command.
Unfortunately it seems that on your phone the output is far different than what I expected. I don't know how to fix this unless you can send me the output of that command on your phone - by PM for example. To do this use adb (try to Google for how to get Android Debug Bridge) with your phone connected: run "adb shell" from a command prompt and at the shell prompt type "mount" without quotes and send me the output - at least the line that contains "/system".
Hi,
I have a different question.
I used adFree but then decided that I actually wanted see the ads on my apps.
I removed AdFree but the ads are still gone.
Is there a way to bring them back?

[UTIL][PC][15.10.2010] ADB Magic v1.0

This is a BETA version and will have issues
About
I got tired of using ADB by hand for a lot of operations, and thought well hey let's write something for that. I know about DDMS and ADB Explorer, but they aren't always exactly what I want/need.
BETA
Yeah this is a beta version and will have issues.. No warranty, use at your own risk, etc. I'll try to update this in the future. I have a lot of ideas of things to add/improve/fix still.
Requirements and Recommendations
- Required: .Net 3.5 framework
- Required: A working "adb shell" setup
- Recommended: writable /sdcard
- Recommended: root (via su) - note that a lot of things should work without root, but I haven't done any extensive testing on that
- Recommended: busybox
Features
- (also root) Explorer
--- View / Edit files directly in Notepad (optionally converting dos<->unix newlines)
--- Retrieve / add / replace files
--- Rename / delete/ chmod/ chown / checksum
--- New directory / symlink
- Locate (find all filenames matching a certain string)
- ADB shell
- ADB logcat
- ADB (command log)
- Packages
--- Install package (system copy, user copy, ADB install, with or without ODEX, etc)
--- List / backup / remove user and system packages
Retrieving / viewing / editing / replacing / adding files all use workarounds to be able to do this to files that cannot be directly pushed/pulled by ADB, but this functionality does depend on busybox being available.
Donate!
Donations appreciated, you can do so here: http://www.jongma.org/dx.php
Install
Extract the ZIP and put the EXE in the same folder where you have ADB. Also make sure your phone is working with the normal "adb shell" command.
Usage notes
- Please make sure your device is connected in USB debug mode before using ADB Magic !
- Please make sure you do not have the SD cards mounted to your PC !
- This has been developed only with a Galaxy S, so I'm not sure how well it'll work with other devices
Download
<< 1.0, 625
Awesomesause, i would recommend reposting in the android dev forum
edit: should have read ur post xD...
New version and moved ...
I have to say i tryed it on my x10,, and great works good, this program has lots of promise, Thank you and top marks for the work so far keep it up...
Works fine on my X10i. Great work. Very promising.
crap no linux version
nice utility,It works well for the Evo
very nice....works on droid
Thanks for this really useful program. It works great on my X10i.
very nice! works with xdandroid on tp1.
Absolutly great, thank you very very much for this! Extremly helpful!
This is pure awesome, thank you!
Updated to 0.9, now works with ROMs with the latest busybox
Found an issue
Hey, ive found you cant ctrl+c in shell, when i was testing my bootanimation;
#bootanimation
you usually hit crtl+c to stop, in this case I could not, so I had to restart the phone.
Otherwise, looking really good so far hey! Keep up the good work!
Super cool. Mad Props.
HI Chainfire!
I love this app, it's great! I've stumbled across a problem though... I upgraded from JPC to JPK on the weekend and since then it hasn't been working, even after going back to JG4. All the times I've tried it, I've been rooted. It comes up with an error box that just says ! in it.
I haven't changed any of the adb files, and I can also use adb shell manually. Any ideas?
Haven't flashed to JPK yet so no idea, but I'll see once I do
No worries!.
I moved it then ran ADBMagic so it could look for ADB, then put ADB back and selected it, still no luck. Also, I flashed back to JG4 then rooted and it still wouldn't work.
I also noticed that for some reason, it can't start the ADB server and issue the toolbox ls -l / command, even with busybox installed but it CAN see the live logging.
I'm stumped :S
-edit-
I got ADB File Explorer and tested it again. It works, but can't read all directories as it's not able to get su priveliges. I seem to remember the first time I used ADBMagic that SuperUser on the phone asked to allow ADBMagic... am I right or remembering badly? If so, it's not asking me to allow it anymore, across the different roms/roots. Strange.
OK, don't worry about my problem at the moment mate, it seems it's the symptom of a larger problem not associated with your program
Nitephyre said:
OK, don't worry about my problem at the moment mate, it seems it's the symptom of a larger problem not associated with your program
Click to expand...
Click to collapse
Care to elaborate on what this is? I'm having the same problem on my Rooted Captivate JH7, and I need it for the Jupiter GPSfix.

[Q] [Android] MMSSMS.DB restore?

Greetings,
Just to make things clear, I have used the search feature. However, I am not clear on the answers that I am reading.
I need to restore or export 1 SMS thread (or entire mmssms.db, doesn't matter) from an old ROM.
Last week my ROM crashed, and I had to switch to a new ROM.
It was a Sense 3.0 ROM (phone is HTC Droid Incredible 2). I was playing around with the different lockscreen options, applied the Stocks Lockscreen, and when I locked/unlocked my phone to see how it looked, nothing but My wallpaper and the top status bar showed up. There was no way to unlock the phone. I had to yank battery to reboot. The phone feature still worked, as I could see the text messages come through on the status bar, and my phone rang, but no notifications cam up on the screen. I was stuck. I did a ClockworkMod backup (aka Nandroid?) and switched to another ROM.
I used unyaffs on my Ubuntu Machine to extract the contents of data.img.
I have the mmssms.db file from /data/com.android.providers.telephony/databases backed up.
Using "SQLite database browser" I can see a preview of the SMS thread.
Technically, I don't need the SMS thread on my phone. If I have a .txt that is neat, organized, and readable, that will be fine. I just assume that I should reinsert the thread (or entire mmssms.db) into my current ROM so I can use SMS Backup and Restore.
My ultimate goal is to be able to get the SMS thread into a text document or large screenshot, which I can send to some friends. It involves a joke/prank, and is quite funny....a bit hard to explain.
How can I get the old mmssms.db (or just one thread) into my current ROM, or into a text document (or something of the like)? I have read something that mentions adb...which I am now Googling to find out what it stands for....so you can guess the amount of knowledge I have on it...
I believe I made that clear....if it is not, let me know, and I'll edit/repost.
tl;dr?
* Need SMS message thread from old ROM
* 1) Old ROM crashed.
* a) Can't get in
* i) Made a backup
* 2) Unyaffed backup
* a) Saved mmssms.db
How to get SMS thread (or entire mmssms.db into new ROM or into text document on computer?
Thanks for all the help!
[::AP::]
Try this on your console, if you have usb debugging enabled.
It should let your phone boot without auto activating the lockscreen.
Code:
adb -d shell
# sqlite3 data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value=0 where name='lock_pattern_autolock';
sqlite> .exit
# exit
adb reboot
Edit: Wasnt there a post before saying, if you could get in, it would be enough?
Thanks for the response.
Yes, getting into the old ROM would be enough, so I could use a SMS Backup tool, email the texts, and forget about it.
However, I am pretty new to Android. I'm a bit lost with your explanation.
Console meaning....the terminal in Ubuntu (phone connected?)....Android SDK?
If you could go into more detail, that would be great. Thanks.
[::AP::] said:
Thanks for the response.
Yes, getting into the old ROM would be enough, so I could use a SMS Backup tool, email the texts, and forget about it.
However, I am pretty new to Android. I'm a bit lost with your explanation.
Console meaning....the terminal in Ubuntu (phone connected?)....Android SDK?
If you could go into more detail, that would be great. Thanks.
Click to expand...
Click to collapse
First thing you need to do is make sure you have the android sdk. The sdk are the tools that let you "communicate" with your mobile device through the computer. If you don't have it, google android sdk installation and you should be able to fnd the link. I tried to put the actuall link but I was able to because I don't have more than 8 posts, sorry.
Now you can remove and install files from your android device as needed.
1. Connect your phone to your computer.
2. Using your Linux Terminal, change directory to the platform-tools folder. On my Windows computer I type cd c:\android-sdk\platform-tools but your sdk folder might have a different name so you should type something like this: cd /sdk-folder-name/platform-tools
3. Now type in: adb devices and your devices should be listed. If you get a message saying No Device Found then you need turn on usb debug mode or you need the drivers installed on your computer for your phone.
4.If your device is found, you need to back up your current database by typing: adb pull /data/data/com.android.providers.telephony/databases "directory on your linux machine where you want the files to be save"
5. Now type: adb push "path to the mmssms.db file" /data/data/com.android.providers.telephony/databases and do the same for the telephony.db file. Both of these files must be pushed onto your device in order to see the text messeges.
6. You should be able to see your texts from your old rom now on your new rom. Once you're done just push your backed up mmssms.db and telephony.db file from your newer rom back into your phone.
I don't know of a way to combine the text so this is the way I do it. I hope that helps!
Sorry for the late response - I have been quite busy.
I'll try this out and let you know.
Thanks a ton,
[::AP::]
This is an old thread but I'd like to share my recent experience with restoring SMS messages. Today decided to try mod on my Nexus 6 running rooted stock Nougat. Did full backup with TWRP, tried the mod, didn't have use for it and did full restore. All SMS messages were gone. Checked mmssms.db sure enough size was 0. So why TWRP didn't restore is a good question.
The way is was restored is by extracting mmssms.db and journal from TWRP backup using Nandroid Manager and copying to my location /data/user_de/0/com.android.providers.telephony. Started messenger but still no messages. Opened terminal app and changed ownership and group on both files. After that everything was restored to prebackup state.
I'm trying to do the same thing between a Droid Turbo and GS4. The Turbo screen died, but the phone boots and can go to recovery.
VZW GS4 - 5.0.1
VZW Droid Turbo - 6.0
- I copied the entire /data/data/com.android.provider.telephone directory from the Turbo using ADB
- Copied Turbo mmssms.db to the S4 (renamed the old S4 file mmssms.db.bak)
- Set permissions to 660, radio:radio (as per the old S4 file)
After a restart, Messages showed the old S4 text messages, even though I renamed the original mmssms.db file.
In other words, the S4 shows the old message history, even though the mmssms.db file has changed!
- There were two other files, mmssms.db-shm, mmssms.db-wal
- Renamed these to *.bak
After a restart, Messages now shows no text message history.
When I copied the telephony.db files over, the Phone app went into a bootloop, with a constant repeating dialog that it had crashed. I had to go into adb to reset the files.
It looks like something else is needed to make Messages see the new sms db.
Dear Hjicons,
Could you please give exact commands and what to type in adb shell to change the ownership and group of the mmssms.db and the journal?
Thanks in advance.
I did it "on the fly" without adb, only using MiXplorer
On a rooted Moto G XT1032 running KK
Copy (replace) backed up .db files in data/data/com.android.providers.telephony/databases
set permission to 600 rw-rw---- and owner, group to 1001 radio on all newly replaced files
Terminate (kill) message app, relaunch it and you're good to go, without even rebooting.
I set long press back key to terminate (kill) app via GravityBox
The same you can do with phone calls .db (same dir), or Whatsapp .db, in com.whatsapp/databases, permission to 600 and owner/group Whatsapp, then kill and relaunch

[TOOL][SCRIPT] AndSync - Synchronize Backup and Restore Android Devices

AndSync v1.3
About AndSync
This script helps you to:
- Synchronize applications if you have multiple android devices.
- Backup and Restore applications in batch.
- Un-install applications in batch.
- Backup and Restore application data on rooted and non-rooted (only for ICS and above) devices.
- Use your PC or Laptop to perform full backups. There is no need to first backup on SD card and then copy to your PC.
Why did I develop this?
1. I own multiple android phones with about 200 apps installed (I have no idea why ) and it has become difficult to manage application updates from Play Store on these devices.
2. I needed a quick and easy way to backup applications directly to my computer and restore them after I do a full re-flash.
What are the prerequisites for this script?
Android SDK (ADB shell)
Perl v5.10.1 (Any latest version of Perl would also be fine)
Note: I used these versions, it may work on older versions as well but I have not tested those.
Installing prerequisites
- Install Perl from here
- Install Zip for Perl (Ubuntu Users) - sudo apt-get install libarchive-zip-perl
- Install adb using instructions from here
On which Desktop/Laptop OSes will this tool work?
It is a Perl script and so it should work on all OSes that can run Perl. Of course Android SDK port (at-least for adb) should exist.
For which versions of Android will this tool work?
I have come across 'adb backup' and 'restore' commands but that is not available for older/all devices. Using this tool you can perform backup and restore of devices with Android Gingerbread and above. (I have only tested using GB and JB). Froyo devices are not supported in the current version.
Where can you find this tool?
Here is the link [AndSync]. You can just download the Perl script 'AndSync.pl' and execute it if you have Perl installed.
From AndSync v1.3 the script can be updated automatically from Settings->'Update this script'.
Known Issues
- Some operations spit out too much information on console.
- Does not support Froyo devices at the moment.
If you have issues with market links try:
Settings->Applications->Manage Applications->All->Google Play Store->Force Stop & Clear Data
Please share your thoughts and suggestions for improvement. Please open issues on Github so that it can be tracked.
Enjoy Android !!
Feature Requests:
DONE
1. Warn before over writing old backups. (Done)
2. Restore market links? (Please try the solution in the main post)
PENDING
1. Selective Backup and Restore.
Updated to AndSync v1.1
Updated to AndSync v1.2
Great tool, thanks!
Looks interesting, will try it out over the weekend.
Thanks
Sent from my Xoom using Tapatalk 2
do you think i can restore a system app with it....will try this week end on huawei honor u8660...thx
can you upload Perl v5.10.1 please....
Trying this out. I wonder how the speed compares to Titanium in terms of speed.
EDIT: As of right now, it doesn't recognize my 3VO running Gangnam Style CM10. Will test again after flashing Sense 4.1.
orb3000 said:
Great tool, thanks!
Click to expand...
Click to collapse
Thank you for your review!
desalesouche said:
do you think i can restore a system app with it....will try this week end on huawei honor u8660...thx
can you upload Perl v5.10.1 please....
Click to expand...
Click to collapse
You can restore system apps if your phone is rooted. Currently all operation are done in batch there is no option to restore only a selected app (you can delete all unwanted apps (keep the only one you want to restore) from the Backup directory and get it done).
thebeastglasser said:
Trying this out. I wonder how the speed compares to Titanium in terms of speed.
EDIT: As of right now, it doesn't recognize my 3VO running Gangnam Style CM10. Will test again after flashing Sense 4.1.
Click to expand...
Click to collapse
Thank you for trying out this tool. I have not done any comparisons yet. I had tested it on Motorola Defy with CM10. For ICS and up there is an alternate backup restore support as well.
Please post your suggestions for improvement.
awesome... multiple devices? very nice... my brother in law was just wanting me to reset his phone to factory so he can take the latest update... and with my gnex... can't wait to give try this out
[
cant get it work
1)downloaded perl 5.16.1 and extracted to d:
2)downloaded andsync files and copied to a folder in d:
3)adb already in d:
tried your command from all the places. din't work. please some more guidance i'm sure there are more ppl like me
thanks for your help. i'm on win7 and One X already connected through usb debuging
jacktackle said:
[
cant get it work
1)downloaded perl 5.16.1 and extracted to d:
2)downloaded andsync files and copied to a folder in d:
3)adb already in d:
tried your command from all the places. din't work. please some more guidance i'm sure there are more ppl like me
thanks for your help. i'm on win7 and One X already connected through usb debuging
Click to expand...
Click to collapse
You need to add adb and/or perl to your path variable:
Find the directory you installed perl and/or adb to, and add it to your path variable using this guide:
http://www.computerhope.com/issues/ch000549.htm
to check if its working properly (optional):
open up cmd (press win+r, then type cmd and press enter)
type adb
if it outputs info, then adb is working
type perl -v
if it outputs info, then perl is working
if you get
Code:
'<command>' is not recognized as an internal or external command,
operable program or batch file.
Then andsync script wont be able to find the needed programs
if this is in place, you should be able to double click the file or type perl <path>\AndSync.pl from within cmd prompt :highfive:
Great work
Wizwin, great script! :good:
I would like to request that the script gives a warning, or even the choice to make multiple backups when backing up for a second time
i did it twice in a row to test, and it just overwrote the first backup without warning - this could result in very unfortunate things for some people
Also, handling of multiple backups would be neat
paccer said:
Wizwin, great script! :good:
I would like to request that the script gives a warning, or even the choice to make multiple backups when backing up for a second time
i did it twice in a row to test, and it just overwrote the first backup without warning - this could result in very unfortunate things for some people
Also, handling of multiple backups would be neat
Click to expand...
Click to collapse
Thank you. Sure I will add that as an enhancement in the next release. I was waiting for requirements to come up.
Just tried it out, works well - thank you.
On a Le Pan TC970 tablet, running CM7 Beta 6.1 Gingerbread.
Please note: This apparently currently breaks android market links
I used titanium backup pro to restore them
Without, i guess there's no updates etc. for the restored applications (someone confirm?)
"recover android market links" would be a nice feature
hy!how can I use in windows 7 32 bit??
im sort of a newbie when it comes o scripts like this. I am running OSX Lion 10.7,5 and i have adb setup. Can i use this? Shiiiid how do i use this??
NVM: Too much work
paccer said:
Please note: This apparently currently breaks android market links
I used titanium backup pro to restore them
Without, i guess there's no updates etc. for the restored applications (someone confirm?)
"recover android market links" would be a nice feature
Click to expand...
Click to collapse
I have seen/used this feature in TB, let me check if something needs to be done to provide this feature.
acultr said:
hy!how can I use in windows 7 32 bit??
Click to expand...
Click to collapse
Yes! you can run it on any Desktop OS with Perl installed.
treyweez11 said:
im sort of a newbie when it comes o scripts like this. I am running OSX Lion 10.7,5 and i have adb setup. Can i use this? Shiiiid how do i use this??
NVM: Too much work
Click to expand...
Click to collapse
Open a Terminal on Mac, change the directory to the path where you placed the 'AndSync.pl' script and type in 'perl AndSync.pl'. I have executed it on a Mac but not tested it completely but I guess it would work fine if you have setup Perl and adb.

Energy Sistem - Android Smart Tv Box [ROOT]

Hello everybody,
sorry if this is not the right place for this, but since I have under 10 posts & that I can't post new threads where this topic should go...well I'll put it here, and feel free to move it if needed.
After having used an HTC Desire for a while + an eepad transformer, and enjoying the various communities around android, I thought I would buy a Energy Sistem Android Smart Tv Box and it came two hours ago "not rooted".
After a quick search all over the web, I finally found something that worked to unroot the box !!
I am really sorry but I can't find the original thread that linked to that file. Anyway, here you go:
http://www.sendspace.com/file/y6weis
*not uploaded by me...
I do not take any credit for this, this script is from
Android ICS Root Unlocker 1.0 [GreekDev]
and it as simple as running a batch file !! AND IT WORKS !
Instructions:
1- Find the IP the box is running on (ex: 192.168.1.104)
2- open a command prompt and go to the folder where you unzipped "ICS Root Unlocker 1.0" (ex: cd c:\ICS Root Unlocker 1.0 for example)
3- Once in the folder, try a:
files\adb connect 192.168.1.104:5555
if it says connected then you're fine to continue
4- just run the "ICS_Root_Unlocker.bat" batch file from this same folder and you should be okay.
Enjoy, I hope it will help others...
and now, let's see what we can do with this
b0b0
* just in case: I had the firmware updated to FW_Android_4.0.3_10-09-2012_rev01 BEFORE rooting
Help with Energy Smart TV root on Win 8 RTM
First off all thanks for sharing your experience. I'm new to android since I always loved iOS but started thinking about android as a good alternative to the less innovative iOS/iPhone plattform. I have to say your post was the first i found after 2 months of research and I was really happy to know there was a way to root the Energy Smart TV Box. Unluckily i can't manage to root it and since I'm new to android I'm kind of stuck. I hope you can help or anybody else. Problem is:
1- I managed to install the usb drivers using the SDK manager and in task manager everything seem to be right but everytime i run the batch file i get an error in spanish ( my windows setting ) wich translation is kind of The system can't find the specified route.
2- I have tried to run adb commands and i have as result as follows
Daemon not running. starting it now on port 5037 *
Daemon started successfully
error: device offline
PS: Device is turned on, with all the propper options ticked on in settings ( developer access and unsigned apps... )
Any advice on what to try. Remember, I'm new to android so detailed explaination would be appreciated. Thanks in advance and greeting from Spain.
Mi respuesta primera: Un saludo de Sevilla
Ok let's see, here's what I would do (taking into account that you already activated the usb debugging):
1- Get the IP the box is running on (ex: 192.168.1.104)
2- open a command prompt and go to the folder where you unzipped "ICS Root Unlocker 1.0" (cd c:\ICS Root Unlocker 1.0 for example)
3- Once in the folder, try a:
files\adb connect 192.168.1.104:5555
if it says connected then you're fine to continue
4- just run the "ICS_Root_Unlocker.bat" batch file from this same folder and you should be okay.
If this doesn't work, then I would try to type the commands from the batch file line by line (but before starting the commands from the batch file, make sure to get the device connected OK -or similar- message first!) -> that's what I did myself and it definitely worked.
Keep us updated
hasta pronto
b0b0
It worked for me
Thanks dude, it finally worked for me. I finally made it using adb connect comannd and then typing one by one all of the commands in the batch file. So thanks again and if you discover any custom rom, mods or tweaks, please share it. It would be appreciated. I'll do the same stuff.
PD: Gracias, seguí el hilo en inglés para no desvariar en el foro. Un saludo desde Gran Canaria.
Glad you got it working
No worries, I'll keep sharing what I find... but I'm just browsing the web for infos... I don't think I'll discover anything on my own
Next thing I'm trying to work out: cifs.ko to map samba shares on boot, this way the shares will show up in the Video and other sections
First off all, many thanks for the root tip, I will prove in the next few days.
I have another problem with this device. I installed another launcher (Go Launcher HD) and everything works fine, but if the original launcher don't runs, the USB ports don't work.
If I run the original launcher before running Go Launcher, so good, but if I run directly Go Launcher fails.
I've tried other launchers and always the same problem occurs. Until we run the launcher original usb ports not respond
Greetings from Spain and many thanks in advance
thanks for sharing that info... I don't know how to get this sorted though, since I'm not a dev let's hope someone helps
I hope more people will come here so we can discuss various improvements on that box
b0b0
Ok, thanks anyway
Hi, I just want to say thanks for the script, I've just rooted my Smart TV, all perfect.
Also, I want to confirm that, if you use another launcher instead of the default, if you reboot the machine your wifi wont work. Just use the other launcher and it'll start working again...
Just one more thing, you can install Flash 11 if you delete first flash 10 using Titanium Backup (or others). But I can't update the Youtube app, any ideas?
Thanks again!
Misc questions on this device
Hi,
The original repository for Android Root Unlock is on sourceforge.net (sorry I cannot post links)
I have a bluetooth keyboard (Rii Mini, but the bluetooth button in the prameters GUI has been removed.
I can see that the bluetooth service is running, but I cannot activate it since there is no button in the GUI.
Does anyone know how to add it again ?
Does anyone find if we can customize the apps shortcut on the main screen (add/remove some apps) ?
Thanks
chrisdroid33 said:
Does anyone find if we can customize the apps shortcut on the main screen (add/remove some apps) ?
Click to expand...
Click to collapse
If you install another launcher, you could add shortcut in the desktop screen.
Also, you could uninstall apps using Titanium Backup (root required)
Greetings
so i need to replace the launcher ?
how can I do that ? do I need to compile anything ?
thanks
Sent from my A500 using xda app-developers app
some news... it seems that some people managed to flash this box with other firmwares...
ex:
http://androidforums.com/google-tv/...dmi-google-tv-box-arm-cortex-a9-firmware.html
Worth having a look... I'm trying to gather some infos... then I'll post here.
Well, i tried several firmwares from similar tv box. Ours is Amlogic chipset, known as Amlogic c03ref.
But since the last firmware update, i ca say that our set top box is the most software advanced, not mention Xios DS (c03ref too).
In the last firmware, we have audio passthrough, wich is activated under the "sound-> digital output -> raw" option. This is intended to use among an a/v player multichannel in order to get real 5.1 audio. But i didn't get working this option yet.
This smart tv box is plenty of possibilities.
cheers
@Sanjuanero: indeed, you're right.
I tried Stane's firmware, and it's not really adapted to our boxes.
-I don't have adb access to the box (no idea why)...
-I don't have root neither,
-wifi is not working,(stuck while trying to activate)
-and the TV app is missing...I tried to take it out of the official firmware but no luck...
-most keys of the remote like Web, App, Settings etc do not work... (I took the remote.conf file out of the official firmware)
anyway, once I flashed the latest v2 firmware from Energy Sistem, the box ended up doing what I was asking for: access to CIFS shares.
I now did a /sdcard/mount_shares.sh script containing:
Code:
#!/system/bin/sh
su -c "mkdir /mnt/cifs_mnt"
su -c "mkdir /mnt/cifs_mnt/d"
su -c "mkdir /mnt/cifs_mnt/e"
su -c "mkdir /mnt/sdcard/movies_on_b0b0"
su -c "mkdir /mnt/sdcard/mp3_on_b0b0"
su -c "mount -t cifs -o rw,noperm,user=\"YOUR_USERNAME\",password=\"YOUR_PASSWORD\" //192.168.1.4/d$ /mnt/cifs_mnt/d"
su -c "mount -t cifs -o rw,noperm,user=\"YOUR_USERNAME\",password=\"YOUR_PASSWORD\" //192.168.1.4/e$ /mnt/cifs_mnt/e"
su -c "mount -o bind /mnt/cifs_mnt/e/movies/ /mnt/sdcard/movies_on_b0b0"
su -c "mount -o bind /mnt/cifs_mnt/d/MP3/ /mnt/sdcard/mp3_on_b0b0"
and use Script Manager to run the script at boot.
Now, everytime my box starts, I can go into the Home movie icon (or music) and access my movies straight away by going into /sdcard/movies_on_b0b0
Wicked !
I hope it helps others,
b0b0
chrisdroid33 said:
so i need to replace the launcher ?
how can I do that ? do I need to compile anything ?
Click to expand...
Click to collapse
Just install another launcher from Play Store, as Go Launcher HD.
You don't have to compile anything, only install launcher and select it.
Greetings
yes this works fine.
thanks a lot.
I can now access my nas automatically
Sent from my A500 using xda app-developers app
---------- Post added at 08:11 PM ---------- Previous post was at 07:25 PM ----------
I'll give a try. thanks
Sent from my A500 using xda app-developers app
I tried and it looks promising, but dont'k know why now my USB devices do not work anymore (USB wired keyboard and mouse)
Sent from my A500 using xda app-developers app
chrisdroid33, see my previus post:
chuzo__22 said:
I have another problem with this device. I installed another launcher (Go Launcher HD) and everything works fine, but if the original launcher don't runs, the USB ports don't work.
If I run the original launcher before running Go Launcher, so good, but if I run directly Go Launcher fails.
Click to expand...
Click to collapse
Now, I'm using Home Switcher app for easy switch on launchers.
hi
thanks for your feedback.
so to have go launcher and USB i need to start the original launcher first ?
home switcher can help, but what would be good is to automate the start of the original launcher and then the go launcher.
maybe with script manager ?
Sent from my A500 using xda app-developers app

Categories

Resources