CERCA
PER MODELLO
FullScreen Chatbox! :)

Utente del giorno: 4eyes81 con ben 2 Thanks ricevuti nelle ultime 24 ore
Utente della settimana: elmegio con ben 7 Thanks ricevuti negli ultimi sette giorni
Utente del mese: bluemask con ben 43 Thanks ricevuti nell'ultimo mese

Visualizzazione dei risultati da 1 a 5 su 5
Discussione:

Salvare file.ini modificato da terminal su Tattoo

Se questa discussione ti è stata utile, ti preghiamo di lasciare un messaggio di feedback in modo che possa essere preziosa in futuro anche per altri utenti come te!
  1. #1
    Baby Droid


    Registrato dal
    Jan 2010
    Messaggi
    22

    Ringraziamenti
    2
    Ringraziato 0 volte in 0 Posts
    Predefinito

    Salvare file.ini modificato da terminal su Tattoo

    Ciao a tutti,

    seguendo una guida in rete per abilitare la compatibilità con reti wireless ad hoc sul mio Tattoo sono arrivato a questo punto:
    Now you must edit tiwlan.ini file in current directory. I did this with VI editor which is part of busybox. You must know some basic things about VI editor befor you do this. VI operates in two modes. When you open editor you are in command mode and you can't edit your file yet.
    To edit file type:
    Code: vi tiwlan.ini
    First you must navigate trough file with your trackball. Find the following line:
    Code: WiFiAdhoc = 0
    This is the line we need to edit. To enter edit mode press A on your phone's keyboard. Now move the cursor with trackball to the end off this line. Replace 0 with 1. You must add two more lines in order this to work. To add new line press enter key and then type:
    Code:
    dot11DesiredSSID = HTCG1
    dot11DesiredBSSType = 0

    Replace HTCG1 with whatever you like. This is SSID of your wireless Ad-hoc network.
    Now you must exit back again to command mode. This is done with escape key, and since our keyboard doesn't have escape key we must click down trackball and simultaniously press 1. This is the same as you pressed escape on regular computer keyboard. In command mode again we can't edit the file but we can type commands. Command for saving file is 'w' and for exiting editor is 'q'. Every command is typed after ':' so our command to save file and exit editor will be:
    Code: :wq
    Purtroppo pare che il comando finale (:wq) che serve per salvare il file TIWLAN.INI appena modificato non mi salva il file...ho ovviamente già installato Busybox e riesco a modificare il file alle righr richieste....però non riesco mai a salvare...e tra l'altro dopo aver fatto il comando di salvataggio e uscita (:wq) non riesco più a inviare comandi al terminal, devo praticamente riavviarlo, qualcuno mi saprebbe aiutare?

    Grazie in anticipo a tutti, Andrea

  2.  
  3. #2
    Androidiano L'avatar di blackserval


    Registrato dal
    Mar 2010
    Messaggi
    61

    Ringraziamenti
    0
    Ringraziato 3 volte in 3 Posts
    Predefinito

    Sei sicuro che il filesystem sia in modalità read-write?

    Hai fatto le modifiche per l'accesso come root ed installato il boot.img alternativo?

  4. #3
    Baby Droid


    Registrato dal
    Jan 2010
    Messaggi
    22

    Ringraziamenti
    2
    Ringraziato 0 volte in 0 Posts
    Predefinito

    Ciao Blackseveral,

    Ho rootato il systema, infatti con il comando adb devices mi trova il telefono...poi ho seguito la guida presente in questo link
    Connect G1 to Ad-hoc network SOLVED - Android and G1 Forums, Mods, Hacks, News, Downloads, Skins, Themes, and more! | ModMyGphone
    (spero non ci siano problemi a linkare un altro forum)...
    Il comando adb devices funziona e mi restituisce un dispositivo connesso, quindi penso proprio che sia correttamente effettuato il root, il comando "su" funziona quindi ho i diritti di administrator...solo non riesco a salvare le modifiche fatte a quel file

    Il comando che abilita la modalità read write dovrebbe essere questo no?
    Remount /system partition as read-write with the following command:
    Code: mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    Il boot.img alternativo non credo di averlo installato ma è indispensabile?

    Comunque riepilogando, l'unico problema sembra essere che non riesco a chiudere e salvare il fine tiwlan.ini dopo averlo modificato, qualche idea sul come fare?

    Grazie mille dell'aiuto,

    Andrea
    Ultima modifica di andreabianchi1984; 30-03-10 alle 13:59

  5. #4
    Androidiano L'avatar di blackserval


    Registrato dal
    Mar 2010
    Messaggi
    61

    Ringraziamenti
    0
    Ringraziato 3 volte in 3 Posts
    Predefinito

    Il boot.img alternativo può essere comodo perché monta da subito il filesystem in modalita read-write.

    Se non lo hai messo, non ti preoccupare, in realtà non l'ho messo nemmeno io, perché al momento non ne vedo una effettiva utilità. Bisogna solo fare a mano i vari passi.

    da adb shell prova a eseguire nell'ordine i vari comandi:

    su

    cd /data/local/bin

    insmod tattoo-hack.ko

    mount -o rw,remount /dev/block/mtdblock3 /system



    Dovrebbe funzionare

  6. #5
    Baby Droid


    Registrato dal
    Jan 2010
    Messaggi
    22

    Ringraziamenti
    2
    Ringraziato 0 volte in 0 Posts
    Predefinito

    Ciao,

    allora per effettuare il Root completo ho seguito stasera questa ottima guida
    https://www.androidiani.com/forum/ht...e-12-03-a.html
    Ora riesco anche a sfruttare il comando insmod

    Per quanto riguarda il collegamento wireless AdHoc sto seguendo questa guida
    http://forum.xda-developers.com/show....php?p=6017187
    E sono finalmente riuscito a inserire i due file nella cartella system/etc/wifi...
    Solo che comunque non riesco a creare una rete wireless ad hoc tra pc e Tattoo...c'è qualceh accorgimento da tenere a mente?

    Grazie mille intanto per l'aiuto

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire risposte
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Torna su
Privacy Policy