lundi 6 mai 2013

Mele V2.0.3 en_US img+sdcard version

This is an update of the v2.0.1 Win8 firmware.

Original thread: The ultimate single-core fun new firmware V2.0.3 released

This is an update from 1.3.1 firmware but I generated a new firmware image (less issues with previous state).

What is fixed:
- avi/mkv/mp4 issues fixed

Here are the modified versions:
Phoenixcard image: v2.0.3_en_US.img
dd-able img: v2.0.3_en_US.ddimg.bz2
sdcard version: v2.0.3_en_US.sdcard.bz2

Edit: fixed the "Unfortunately, the process com.google.process.apps has stopped" issue after having installed gapps.zip, refer to ->this<- post.


Reminder:
PhoenixCard image is flashed using this: PhoenixCardV306
dd-able img is flashed using:
  - under linux: bzip2 -cd Mele_4.0_V1.3BETA_revised_en_us_4.ddimg.bz2|dd of=/dev/sdx bs=4096
  - under Windows: uncompress the archive before, and then use WinImage
The SDCard version is something like a "live-sdcard". You can run it without affecting the flashed image.
sdcard version, under linux only, run: cd sdcard/; make DEV=/dev/sdx (where sdx is the sdcard device number).

This time I chose to not include APEX launcher.
You can download it freely from here: Apex Launcher

<not tested>: To get google apps, from the installed Mele firmware, use the Internet navigator and download this:
gapps-ics-20120429-signed.zip
This will put the file in /mnt/sdcard/Download/, where the init script looks at.

Reboot, wait for the device to reboot and you are done.
The details of what is modified in this firmware from the original version:
- boot defaults to en_US
- deactivated /system/lib/hw/sensors.exDroid.so (fixes 100% system_server bug)
- added /etc/init.d capability
- added capability to install gapps if zip present in /mnt/sdcard, by a /etc/init.d script
- removed the Chinese applications (you can still find them in the original update.zip in system/preinstall and system/vendor/app, I kept Flash Player).
- added xpad.ko module (found here: MELE A1000 Hacking - XBOX 360 controller support in 3.0.8 kernel)

samedi 20 avril 2013

Mele mobile phone remote control

Mobile phone remote control software
With this piece of software you can control your Mele device from your mobile phone (over wifi).
Install this apk on your mobile phone, and you will have thie following controls (slide at the bottom of the screen):




MeLE_A10_SDK1.6_V2.0.1 img+sdcard version


This firmware is particular with its frontend looking like Windows 8.

Original thread: Mele brand new Win8 GUI v2.0.1 update
This is an update from 1.3.1 firmware but I generated a new firmware image (less issues with previous state).

From what I saw:
- mp4 seek fixed
- network issues after suspend seem to have been fixed

Here are the modified versions:

Reminder:
PhoenixCard image is flashed using this: PhoenixCardV306
dd-able img is flashed using:
  - under linux: bzip2 -cd Mele_4.0_V1.3BETA_revised_en_us_4.ddimg.bz2|dd of=/dev/sdx bs=4096
  - under Windows: uncompress the archive before, and then use WinImage
The SDCard version is something like a "live-sdcard". You can run it without affecting the flashed image.
sdcard version, under linux only, run: cd sdcard/; make DEV=/dev/sdx (where sdx is the sdcard device number).

This time I chose to not include APEX launcher.
You can download it freely from here: Apex Launcher

<not tested>: To get google apps, from the installed Mele firmware, use the Internet navigator and download this:
http://goo.im/gapps/gapps-ics-20120429-signed.zip
This will put the file in /mnt/sdcard/Download/, where the init script looks at.

Reboot, wait for the device to reboot and you are done.
The details of what is modified in this firmware from the original version:
- boot defaults to en_US
- deactivated /system/lib/hw/sensors.exDroid.so (fixes 100% system_server bug)
- added /etc/init.d capability
- added capability to install gapps if zip present in /mnt/sdcard, by a /etc/init.d script
- removed the Chinese applications (you can still find them in the original update.zip in system/preinstall and system/vendor/app, I kept Flash Player).
- added xpad.ko module (found here: MELE A1000 Hacking - XBOX 360 controller support in 3.0.8 kernel)

jeudi 7 février 2013

Mele_HTPC_20121220_V1.3.1 en_US img+sdcard version

Another firmware.
the changelog is here: http://www.mele.cn/download/show/21.htm

Here are the modified versions:
Phoenixcard image: Mele_HTPC_20130116_V1.3.1_en_US_Apex.img
dd-able img: Mele_HTPC_20130116_V1.3.1_en_US_Apex.ddimg.bz2
sdcard version: <TBD>

To get google apps, from the installed Mele firmware, use the Internet navigator and download this:
http://goo.im/gapps/gapps-ics-20120429-signed.zip
This will put the file in /mnt/sdcard/Download/, where the init script looks at.

Reboot, wait for the device to reboot and you are done.

Original firmware: http://www.mele.cn/download/show/21.htm

I applied the same things as in my previous post:
Mele_HTPC_20121220_V1.3 en_US img+sdcard version

dimanche 3 février 2013

Keeping Google Play device entry over firmware flashes: Android ID

Edit: *DOES NOT WORK* Useless. The device is still duplicate... perhaps /data/misc/radio/imei.conf needs to be copied too?

To keep the same device entry in Google Play after a firmware flash, you must keep the "Android ID" intact.

This key is a unique identifier used by Google Play to address your device.
After each firmware flash, this unique identifier is re-generated by default, and this leads to a new device entry in Google Play (I have around 20 duplicate entries in my Play account->Parameters).

This Android ID is stored in the system database, and it is easy to change it.
First, you have to retrieve the Android ID you want to keep over the firmware flashes:
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
SELECT * FROM secure WHERE name = 'android_id';
.quit

The "SELECT" command will display the Android id, like this:
34|android_id|123456789abcdef0

After a firmware flash, you just have to update this Android ID. Do that at early stage (before installing Google Applications for example), so that all applications will take into account the updated ID:
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
UPDATE secure SET value = '<your preferred ID>' WHERE name = 'android_id';
.quit

With <your preferred ID> the one you got initially with the SELECT command (i.e. 123456789abcdef0 in my example).
Just reboot to be sure that any running application gets the new ID.

Source: http://forum.xda-developers.com/showthread.php?p=37218521

samedi 5 janvier 2013

Mele_HTPC_20121220_V1.3 en_US img+sdcard version

2 versions:
- 1 flasheable using PhoenixTools here: Mele_HTPC_20121220_V1.3_en_US_Apex.img
         or dd-able image: Mele_HTPC_20121220_V1.3_en_US_Apex.ddimg.bz2
- 1 SDCard version: sdcard_Mele_HTPC_20121220_V1.3.tar.bz2.
Choose your flavor...

Next, you can install gapps.
You just have to put in /mnt/sdcard the gapps .zip file found here: gapps-ics-20120429-signed.zip, and reboot (download from a PC, put it on a external sdcard, copy with the file manager).

The script in /etc/init.d (here: 10update_gapps) will scan at boot and install gapps if present.

In the case of SDCard version, you have to put the gapps zip file in the last partition (named UDISK, /dev/sdx10)

In details, what is modified in this firmware from the original version (Mele_HTPC_家庭版_20121220_正式版_v1.3):
- boot defaults to en_US
- deactivated /system/lib/hw/sensors.exDroid.so (fixes 100% system_server bug)
- added /etc/init.d capability
- added capability to install gapps if zip present in /mnt/sdcard, by a /etc/init.d script
- added APEX Launcher as default launcher (found here: Apex Launcher)
- added Andrew patch 2.0.apk as preinstalled app (found here: http://bbs.mele.cn/showtopic-855.aspx)
- added ES Explorer as preinstalled app (found here: Download)
- added xpad.ko module (found here: MELE A1000 Hacking - XBOX 360 controller support in 3.0.8 kernel)

Specifically in the SDCard version:
- tuned /etc/vold.fstab so that sdcard is correctly mounted.
- in first partition, you will find uEnv_recovery.txt that boots on the SDCard, recovery mode. Just replace in the first partition uEnv.txt by uEnv_recovery.txt and you will boot into recovery. Replace by uEnv_normal.txt and you will boot in normal mode.
- added recovery partition (/dev/sdX7)

samedi 22 décembre 2012

Mele_HTPC_20121220_V1.3 SDCard version

I managed to automate the creation of a SDCard bootable version from a stock Android image, under linux.
Of course you will lose your data on SDCard, and you may lose data from your computer if you don't care enough about this infamous X letter!

As an example, here is the latest firmware from Mele (20 December 2012) on which I just modified the partition names (SDCard instead of NAND), changed the default language, and added the /etc/init.d stuff :
- get this: sdcard_Mele_HTPC_20121220_V1.3.tar.bz2
- get a 8GB SDCard (not less, the partitions are created depending on this minimal size)
- uncompress the above archive,
- as root, check the SD-Card device number (/dev/sdX), and perform: make DEV=/dev/sdX
- Optionally, mount /dev/sdX1 to edit uEnv.txt that contains the MAC address. Set it to your usual MAC address if needed.
- Once done, put this SDCard into your device, power-on and enjoy.

The original firmware is here: Mele_HTPC_家庭版_20121220_正式版_v1.3

Notes:
- A slow SDCard gives slow boot process. A Class 10 SDCard gives good results.
- This SDCard image won't modify the flashed firmware, you can revert to your NAND image simply by removing the SDCard, and rebooting.

The details on what it does
The process is quite simple:
1/ create partitions on SDCard
2/ format partitions
3/ fill the partitions with the interesting things (extracted from the Mele firmware).
Mandatory modifications from the original firmware are the nandX->mmcpblk0pX stuff in order to work properly, and to avoid this SDCard firmware to corrupt the flashed firmware .
You can easily modify the created partitions' content for customization.