2013. június 5., szerda

LG GT540 frissítés

Hamarosan magyarul is...

ToDo with 2.1 factory SW (no rooted, network locked)
3 steps are needed:
i) FranceOrange SW install to enable fastboot
ii) Recovery toolkit install in fastboot mode
iii) xda-cm-9.1.0-IceCreamSwift-28102012 install
i)
1. Install LG drivers from the official LG site
2. Download FranceOrangeV20C_Fastboot.kdz
3. Download KDZ updater (KDZ_FW_UPD_EN.7z)
4. Install MSXML and KDZ updater in a same round with KDZ updater installer
5. Put FranceOrangeV20C_Fastboot.kdz into the KDZ updater directory
6. Turn off USB mass storage mode and turn on USB debugging on the phone
7. Launch KDZ updater (with administrative privileges, if necessary - Vista & Win7)
8. Set 3GQCT & PhoneMode=DIAG
9. Select FranceOrangeV20C_Fastboot.kdz as the update file
10. Connect the phone to the computer
11. Wait for Windows to install drivers, if needed
12. Press UPDATE
13. Reboot the phone after disconnected from the computer
ii)
1. Download CWM_Recovery_6.0.2.7_Flasheable.zip
2. Download AIO-Android-Toolkit
3. Unzip AIO-Android-Toolkit into C:\ (Can be placed anywhere else, but this case the script must be modified)
4. Unzip file recovery.img from CWM_Recovery_6.0.2.7_Flasheable.zip and copy it to folder Flash_Folder under AIO-Android-Toolkit
5. Turn off the phone
6. Press the camera button with the power button together until a black screen appears with backlight on after the LG logo screen - this is the fastboot mode
7. Connect the phone to the computer again
8. Wait for the new drivers (Android Bootloader Interface - WdfCoInstaller01007.dll in XP) to be installed on the computer. If necessary help Windows finding the files (Under C:\AIO-Android-Toolkit\files)
9. Launch AIO-Android-Toolkit
10. Select menuitem "3: FASTBOOT TOOLKIT" & press Enter
11. Select menuitem "2: YEAH!, LET'S START! :D" & press Enter
12. Select menuitem "3: FLASH SOMETHING TO MY PHONE" & press Enter
13. Select menuitem "5- Flash Recovery.img Only" & press Enter
14. Wait for message "RECOVERY FLASHED!"
15. Press any key
16. Select menuitem "6- Back to Fastboot Tool Main Menu."
17. Select menuitem "4: REBOOT MY PHONE, I'M FINISHED!"
iii)
1. Upload file xda-cm-9.1.0-IceCreamSwift-28102012.zip to the SDcard of the phone
2. Turn off the phone
3. Press HOME + POWER button for 15s, the phone will restart in Recovery Menu
4. Select "wipe data / factory reset" and select "yes".
5. Select "wipe cache partition" and select "yes".
6. Select "advanced" then "wipe Dalvik cache" and select "yes".
7. Select "install from sdcard zip" 'after "choose zip from sdcard", find the file xda-cm-9.1.0-IceCreamSwift-28102012.zip, select it and select "yes".
8. Wait until message "Install from sdcard complete".
9. Select "reboot system now"

2013. június 1., szombat

LG XA42 USB mp3 lejátszási sorrend

Néhány év használat után kezdett furcsán viselkedni a mikrohifim: egyik-másik albumot nem abban a sorrendben játszott le az USB eszközről, ahogyan azt például egy fájlkezelő mutatta (és ahogy persze régen csinálta).
Sokmindent megpróbáltam vele, hogy a megfelelő sorrend lejátszására bírjam, tag-eltem a fájlokat, átneveztem őket, fájlneveket rövidítettem, de egyik sem hozta el a megoldást, mígnem egy Windows-os géppel készült átmásolás után azt tapasztaltam, hogy a lejátszás sorrendje megfelelő lett.
Ez kicsit gondolkodóba ejtett. Amikor rossz volt a lejátszási sorrend, akkor valóban nem Windows-on, hanem Ubuntun másoltam fel az USB kulcsra az albumkönyvtárakat, de amikor ellenőrzésképpen kilistáztam a fájlokat, akkor a sorrendjük jónak tűnt.

Jó sok próbálgatás, kísérletezés és analizálás után végül rájöttem mi is zajlik az LG belsejében.
A lejátszás sorrendjét tekintve a mikrohifit nem érdekli, hogy mik a fájlok nevei, azok milyen hosszúak s hogy az mp3 tag-ekben mik szerepelnek, egyedül csak az, hogy a fájlok könyvtáraiban milyen sorrendben vannak a fájlokra való hivatkozások.
A könyvtárban található fájlokra való hivatkozások sorrendjét Ubuntu-n az
ls -fl
parancs mutatja meg. Az itt látható sorrendet követi tehát a lejátszás is.

Ahhoz, hogy a fájlok nevének a sorrendjében történjen a lejátszás, az USB eszközön először létre kell hozni a megfelelő nevű könyvtárat, majd ebbe kell belemásolni az mp3 fájlokat.
Ubuntu-n ez a következő parancsokkal érhető el (a példában az mp3 könyvtárunk a /tmp/forras alatt van, az USB eszköz a /mnt alá van mount-olva):
mkdir /mnt/forras
cp /tmp/forras/* /mnt/forras/