Affichage des articles dont le libellé est Android. Afficher tous les articles
Affichage des articles dont le libellé est Android. Afficher tous les articles

vendredi 25 février 2011

Moblin

Moblin is an open source project focused on building a Linux-based platform optimized for the next generation of mobile devices including Netbooks, Mobile Internet Devices, and In-vehicle infotainment systems.

How to test with a USB drive ?

1) download the image
2) Use 'dd' from the command-line

# dd bs=4096 if=<image file> of=<usb drive>

3) Boot your PC from USB 

Informations from wikipedia : 

Moblin, short for 'mobile Linux', was an open source operating system and application stack for Mobile Internet Devices (MIDs), netbooks, nettops and embedded devices.[1] Now it is called MeeGo. Built around the Intel Atom processor, current builds are designed to minimize boot times and power consumption to create a netbook and MID-centric operating system. The netbook/desktop version of Moblin currently supports other chipsets based on the SSSE3 instruction set, such as the Core2 and some Celeron processors.
Commercial products built around Moblin 2 include a Foxconn netbook[2] and an InvenTech smartphone[3], both announced at Computex 2009. Acer has also announced the replacement of Linpus Linux with Moblin on their Acer Aspire One netbooks.[4][5] For its mobile Internet device class smartphone LG GW990, LG Electronics chose Moblin OS 2.1[6][7]. More recently, Dell began accepting orders for its Ubuntu Moblin Remix, a Canonical Ltd. project that builds Moblin using a more full-featured Ubuntu distribution as base [8]. Mandriva has started to offer Moblin's v2 version to all Mandriva distribution and netbook owners. [9]
At the Consumer Electronics Show in January 2010, MSI and Novell announced the upcoming availability of SUSE Moblin preloaded on the MSI U135 netbook. Following the recent release of Moblin version 2.1, this marks the first original equipment manufacturer (OEM) to sell a fully-supported Intel Atom processor-based netbook running Moblin-based technology to consumers. It was demonstrated at both the MSI and Intel booths at the show.[10] In addition, Samsung showed four netbooks preloaded with SUSE Moblin.
At the Mobile World Congress in February 2010, it was announced that the Moblin project would be merging with Maemo to create the MeeGo mobile software platform.



Project web site : http://moblin.org/

mercredi 23 février 2011

Acer Liquid - Recovery

Recovery :
=======

1. eteindre le téléphone
2. appuyer sur camera + volume down et sans relacher appuyer sur power
3. Le telephone vibre alors 2 fois
4. relachez les boutons
3. Appuyer sur power.

15 Useful Android Terminal (ADB Shell) Commands

While rooting your Android Phone or installing custom ROM on your mobile or partitioning your android device to install applications, requires some android terminal command and ADB (Android Debug Bridge) shell command knowledge. Below is the list of some basic android commands that are being used on Android platform frequently and that every android user must know.
android adb shell
Basic Android Terminal and ADB Shell Command List

1. How to open a cmd in Android Phone

Method 1: “Start” – “”Program”-” “Accessories” – “” Command Prompt ”
Method 2: “Start” – “” Run “, type cmd ENTER

2. How to restart Android Phone
When the phone and Computer is connected to the data cable, you can enter the following command

adb shell reboot === ENTER

3. Restart Android into Recovery Mode
With the data cable connected to your phone and computer, enter the following command

adb shell reboot recovery === ENTER

4. Convert back to ext2 partition
Restart the phone into Recovery mode, press “Alt + X” into the console. Open cmd and enter the following command

1 adb shell === ENTER
2 tune2fs-O ^ has_journal / dev/block/mmcblk0p2 === carriage return
3 e2fsck / dev/block/mmcblk0p2 === carriage return (optional, can be a problem area in section 2, when used)

5. Pulling applications from Android phone to computer

adb pull /system/sd/app app
adb pull /system/sd/app-private app-private

6. Pushing applications back to android phone from the computer

adb push app /system/sd/app
adb push app-private /system/sd/app-private

7. Delete existing apps on Android SD

adb shell rm -r /system/sd/app
adb shell rm -r /system/sd/app-private

8. Repair gravity System or switch to screen
Sometimes frequent brushing of phone can cause gravity system or switch to screen failure. Just follow the steps below-
Restart the phone into Recovery mode, press “Alt + X” into the console
Open cmd and enter the following command

mount / data === carriage return
rm / data / misc / akmd * / data / misc / rild * === ENTER

9. Ext2/ext3/ext4 formatted partition
Enter the following command in the cmd

adb remount === ENTER
adb shell === ENTER
rm-r / system / sd / * === carriage return

10. Remove/ system / app under the application

Under normal circumstances / system / app is not under an application. Use the following methods to remove these applications.
Open cmd and enter the following command

adb remount === ENTER
adb rm / system / app / Stocks.apk === Enter

11. If the start Time is too Long
Just enter the following command in order to view the boot process.

adb logcat === ENTER

12. Through Terminal Partition SD card
It will erase everything on your SD card

$ su
# cd /data
# wget http://64.105.21.209/bin/lib/droid/sdsplit
# chmod 555 sdsplit
# /data/sdsplit -fs *size* (add -nc to the end for JFv1.5ADP)

13. From the Recovery Screen, send an update file to your SD card.

adb shell mount /sdcard
adb shell rm /sdcard/update.zip
adb push *filename* /sdcard/update.zip

14. Restoring a nandroid backup via Fastboot
Start command-prompt/terminal cd to the nandroid folder and enter following commands

fastboot erase boot
fastboot erase recovery
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash userdata data.img
fastboot flash recovery recovery.img
fastboot reboot

15. Clear Search History in Android

Search History is accounted for Mobile Memory. It can also leak your privacy information as well. Just follow the steps below to clear android history.

Steps are as follows:

1. Make sure your mobile phone has Root authority.
2. Open the super-terminal.
3. Enter the following command

su
rm / data / data / com.android.vending / databases / suggestions.db

4. Exit Hyper Terminal and restart the phone.

Source : http://www.gadgetsdna.com/android-terminal-adb-shell-command-list/1168/

vendredi 24 septembre 2010

Bloquer la pub (en partie) sous Android et autre OS

Le but de cet article est de bloquer la pub d'une manière assez classique. Cette méthode est  identique quelque soit le système d'exploitation (à quelques détails près).

Un peu de théorie. Lorsque l'on navigue sur internet, nos terminaux (PC, téléphone, STB....) font des requêtes (appelées DNS) sur une sorte de gros annuaire afin de connaitre les coordonées exact (adresse IP) d'un serveur.

Localement, nos terminaux consultent dans un premier temps un annuaire local (cela est configurable, mais par défaut c'est l'annuaire local qui est consulté en premier).
  • Sous linux/andoroit/unix et autres clones : /etc/hosts
  • Sous windows : c:\windows\system32\drivers\hosts

Si par exemple j'ajoute la ligne "127.0.0.1        www.google.com" dans le fichier hosts, je ne serais plus en mesure d'afficher la page www.google.com dans mon naviguateur (127.0.0.1 étant une adresse IP locale, dite adresse de rebouclage ou loopback in english, bref en gros la requête ne sort pas de chez moi)


NB : Sur le market il existe une application appelée AdFree qui fait normalement çela assez bien.

Fini, la théorie, passons à la pratique pour Android :
Premièrement votre smartphone doit être rooté et bien évidemment le SDK Android doit être installé sur votre poste.
Enfin, il vous faudra une carte SD dans votre appareil.
On commence :- Premièrement, démarrer votre téléphone en mode recovery. Vous trouverez comment faire dans les tutos de root respectifs de chaque téléphone.
- Ensuite ouvrez une console et tapez ceci :
adb shell mount /system
adb shell mount /sdcard
adb shell shell mkdir /sdcard/etc
adb shell cp /system/etc/hosts /sdcard/etc/hosts.ref
adb shell rm -r /system/etc/hosts
        adb shell touch /sdcard/etc/hosts
adb shell ln -s /sdcard/etc/hosts /system/etc/hosts
- Redémarrez ensuite votre smartphone normalement.
- Branchez-le sur votre ordinateur en mode "lecteur de disque" et allez éditer le fichier etc/hosts.
Rajoutez à la suite toutes les lignes de ce fichier :
http://www.mvps.org/winhelp2002/hosts.txt
- Enregistrez, refermez et débranchez votre téléphone de votre ordinateur
- Voilà c'est terminé.