Skip to content
cm-12.1
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
gps
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Device tree for Huawei G620-A2 aka Huawei SnapTo

Copyright 2015, The CyanogenMod Project

Device tree originally created by @Lloir and @thoemy.

Extracting proprietary files

The proprietary files should be extracted from device running CyanogenMod. If you want to use the official Huawei Android 4.4.4 ROM you need to make the following changes for a successful extraction.

Copy the following files from the boot.img ramdisk to system/bin:

  • sbin/libqmi_oem_main -> system/bin/libqmi_oem_main
  • sbin/rmt_oeminfo -> system/bin/rmt_oeminfo
  • sbin/rmt_storage -> system/bin/rmt_storage

Deodex the following odex files and put the classes.dex in the related apk or jar file:

  • app/com.qualcomm.location.odex
  • system/app/qcrilmsgtunnel.odex
  • system/app/TimeService.odex
  • framework/qcnvitems.odex
  • framework/qcrilhook.odex

The basic DEODEX procedure is as follows:

baksmali -x "$ODEX_FILE" -d system/framwork -o "$OUT_DIR"
smali "$OUT_DIR" -o "$OUT_DIR/classes.dex"
zip -j -u "$APK_FILE" "$OUT_DIR/classes.dex"

Hexedit vendor/lib/libqc-opt.so to use ICU53 symbols.

sed -i -e 's/utext_openUChars_51/utext_openUChars_53/g'\
    -e 's/utext_close_51/utext_close_53/g' \
    -e 's/u_errorName_51/u_errorName_53/g' \
    -e 's/u_digit_51/u_digit_53/g' \
    vendor/lib/libqc-opt.so

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •