Jump to content


Photo

Huawei Sonic u8650 4.4.2 (Alpha 2)

- - - - -

  • Please log in to reply
36 replies to this topic

#1
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

ONLY for TESTING

Huawei u8650

SoniKK 4.4.2 unofficial cm11 ARMv6

by Lucky76

 

 

 

 

 

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

 

 

This custom rom is ONLY for developers and testers and not for everyday use, yet has a lot of bugs to fix then:

 

 

Disclaimer:

I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed.

Please do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.

 

This is my custom rom was compiled with the sources Unofficial CyanogenMod for ARMv6 devices -----> HERE

 

 

Note:

 
Unfortunately, given the limited features of this device we have little chance to improve and have a good custom rom 4.4.2 kitkat ...

I remember the Sonic U8650 has 256 Mb of RAM and usable only about 176 Mb and although KitKat has been optimized for devices with little RAM is always talking about 512 Mb.

Another big problem is the amount of internal memory, and especially that of the partition / SYSTEM which is only 186 Mb and then I still had to shave all the files inside the rom to make it start ........ You can see a partition table that I extracted during a test

Finally, this device is equipped with a CPU 600 MHz Qualcomm Snapdragon S1 MSM7227 65nm ARMv6 2008, then a little antiquated and apart from a bit of overclocking can not do anything.

 

 

 

Tips Pre Flash

 

1. Having device with charging the battery to 100%
2. Read the manuals listed below at least a couple of times before you do them.
3. Having installed the various drivers in your PC.
 
Installing Custom Rom

 

 

1. Recovery ClockWorkMod by udk ver. 6.0.1.0 r1

 

Link CWM ------> 6.0.1.0_r1

 

Link CWM ------> 6.0.4.8

 

 

1A. Installation Guide Clockworkmod


A. SPAM zip file from the link above the recovery

B. Unzip the zip file

C. Turn off the device and enter into fastboot mode by holding the Volume - button and the Power button

C. Connect your Sonic U8650 to PC with USB cable

D. Run the installation file according to your operating system

1B. Recovery CWM

 

To enter recovery mode
A. Turn off device

B. Keep pressed  Volume + and Power

2. Download

 

Link Custom Rom

 

ALPHA 2

SoniKK_Gapps Alpha2 ------> HERE  -----> ATTENTION Already includes apps base of Google
MD5SUM ---->

 

 

SoniKK_NGapps Alpha2 ------> HERE  ----> ATTENTION Not includes apps of Google
MD5SUM ---->

 

 

 

 

ALPHA 1


SoniKK_Gapps Alpha1 ------> HERE -----> ATTENTION Already includes apps base of Google
MD5SUM ----> 993f6134dcaf49e996e862e8250ce908


SoniKK_NGapps Alpha1 ------> HERE ----> ATTENTION Not includes apps of Google
MD5SUM ----> 5615e11d392de5a59cd204ce8ba89a98

 

 

 

 

 

SoniKK_Gapps Alpha1 ------> HERE -----> ATTENTION Already includes apps base of Google --------> U8510 ------> TEST x BOOTING......???? NOT Sorry
MD5SUM ---->

 

Tested but not booting

 

 

Note

The First Start after the installation is a bit slow about 4 minutes

 

 

 

3. Installation

A. Copy the file that you have just downloaded ----> SoniKK.*.Zip into your microSD.

B. Enter into ClockWork Recovery 6.0.1.0_r1 (thanks to udK).

C. Go in the "Backup and Restore" menù and select "BackUp". Do a Nandroid backup! . After the backup, go back.

D. Go down in the menu "Wipe data / factory reset" and confirm for Wipe all user data.

E. Now go back to the main menu and go to the menu "Install zip from sdcard".

F. In this menù "choose zip from sdcard".

G. Now you have to choose and confirm the file "SoniKK.*.zip". Start the installation.

H. Wait the end of the installation. At the end go back and choose "reboot system now".

I. Done now will start. 

J. The first start is little slower

4. Changelog

 

Alpha 2

1. Fixed mountSD
2. Fixed mount  USB old Style mass storage
3. New Recovery 6.0.4.8 maybe..... for test....

 

 

Alpha 1

  1. Booting.. eheheheh
  2. Touchscreen OK
  3. Light OK
  4. Rotation OK
  5. Audio OK
  6. Soft Touch OK
  7. GPS??? Ok
  8. Overclock 710 MHz
  9. Underclock 30 MHz
10. Bluetooth OK
11. Vibration OK
12. Other...

 

 

 

5. BUGS Hardware & Software.

 

Bugs Software: Many

Bugs Hardware: Many--->  WiFi etc.....

 

 

 

Table Memory of Alpha 1

df
Filesystem         Size    Used    Free   Blksize
/dev              87.7M  136.0K   87.6M      4096
/mnt/asec         87.7M    0.0K   87.7M      4096
/mnt/obb          87.7M    0.0K   87.7M      4096
/mnt/fuse         87.7M    0.0K   87.7M      4096
/system          186.0M  181.7M    4.3M      4096
/data            160.6M   77.9M   82.7M      4096
/cache            63.0M    1.2M   61.8M      4096
/data/HWUserData  20.0M   19.1M  884.0K      4096

6. OTHER DOWNLOAD

 

Google GappsLights x KiKat Lucky76 ----> HERE

 

 

 

Github Source Device u8650 cm11 armv6 -----> HERE

 

Github Source Vendor u8650 cm11 armv6 -----> HERE

 

 

 

 

CREDITS:

Google
Team CM
Dev. Ivan19871002 ---> source of kernel c8650 x CM 9
Source ARMv6 CM11 ---> HERE
udK for his CWM Recovery mod 6.0.1.0_r1 and for his help with New Recovery 6.0.4.8
MODACO

All those who try : laughing.gifIf you really want......

 

 

Bye

Attached Files


Edited by lucky76, 11 May 2014 - 08:24 AM.

  • 2

#2
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

Bug

1. MicroSD (storage, sd-ext, sdcard.....)   ------> FIXED

No Mount microSD

- Permession denied

A. RAMDISK ----> File init.huawei.rc

 

#############
## 2: INIT ##
#############
on init
# See storage config details at http://source.androi...m/tech/storage/
# mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
# mkdir /storage/sdcard0 0700 root root
# export EXTERNAL_STORAGE /storage/sdcard0

# sdcard
mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
mkdir /storage/sdcard0 0700 root root

symlink /storage/sdcard0 /mnt/sdcard
symlink /storage/sdcard0 /sdcard
export EXTERNAL_STORAGE /storage/sdcard0

# sd-ext
mkdir /sd-ext 0771 system system
export SD_EXT_DIRECTORY /sd-ext


#on init old ----> ICS 4.0.4
# export EXTERNAL_STORAGE /mnt/sdcard
# mkdir /mnt/sdcard 0000 system system
# # for backwards compatibility
# symlink /mnt/sdcard /sdcard


service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0
class late_start
disabled


B. CM-11.0/overlay/frameworks/base/core/res/res/xml/storage_list.xml ----> Changed

<StorageList xmlns:android="http://schemas.android.com/apk/res/android">

   <storage
       android:mountPoint="/storage/sdcard0"
       android:storageDescription="@string/storage_sd_card"
       android:allowMassStorage="true"
       android:emulated="false"
       android:removable="true"

       android=primary="true"
       android:maxFileSize="4096" />
</StorageList>
E/Vold ( 114): failed to open /fstab.huawei
E/Vold ( 114): Error reading configuration (No such file or directory)... continuing anyways

 

logcat |grep sdcard0

 

D/MountService( 456): got storage path: /storage/sdcard0 description: Scheda SD primary: true removable: true emulated: false mtpReserve: 0 allowMassStorage: true maxFileSize: 4294967296
D/MountService( 456): mStorageId=0 mPath=/storage/sdcard0 mDescriptionId=17040838 mPrimary=true
D/FileUtils( 815): Trying to get UUID for /storage/sdcard0
E/MediaProvider( 815): /storage/sdcard0 UUID: -1
W/MediaScanner( 815): Error opening directory '/storage/sdcard0/', skipping: Permission denied.

 

adb shell ls -l -a /mnt/

 

drwxr-xr-x root system 2014-04-23 22:18 asec
drwxrwxr-x root system 2014-04-23 22:18 fuse
drwx------ media_rw media_rw 2014-04-23 22:18 media_rw
drwxr-xr-x root system 2014-04-23 22:18 obb
lrwxrwxrwx root root 2014-04-23 22:18 sdcard -> /storage/sdcard0
drwx------ root root 2014-04-23 22:18 secure
drwx------ shell shell 2014-04-23 22:18 shell

Wifi 50%
CAM 50%

Continue.......


Edited by lucky76, 05 May 2014 - 08:34 PM.

  • 0

#3
Dark-Nightmare

Dark-Nightmare

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:Huawei Ascend Y300

Hi Lucky76 i've been following your progress since ics and i've made an AOKP port in 4.0.4. I'm interested in continue working on this device, now i've a few knowledges about compiling Android and i've seen your github repos fou u8650. If you're interested in, we can cooperate together.

 

Best regards, Dark_Nightmare.

 

Pd: Sorry for my English, I'm Spanish  :D


  • 0

#4
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5
Hi

Yeah soon i'll upload all my work.....

You are from htcmania forum?

Big bug problem in this ROM is mount microsd.
The rom is fast.

Bye

  • 0

#5
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

cat /proc/meminfo

MemTotal: 179760 kB
MemFree: 7260 kB
Buffers: 0 kB
Cached: 41092 kB
SwapCached: 0 kB
Active: 126808 kB
Inactive: 15344 kB
Active(anon): 101916 kB
Inactive(anon): 264 kB
Active(file): 24892 kB
Inactive(file): 15080 kB
Unevictable: 772 kB
Mlocked: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 179760 kB
LowFree: 7260 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 101912 kB
Mapped: 39244 kB
Shmem: 320 kB
Slab: 10112 kB
SReclaimable: 1868 kB
SUnreclaim: 8244 kB
KernelStack: 3776 kB
PageTables: 4904 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 89880 kB
Committed_AS: 2226912 kB
VmallocTotal: 565248 kB
VmallocUsed: 61012 kB
VmallocChunk: 460804 kB


Edited by lucky76, 01 May 2014 - 07:13 PM.

  • 0

#6
Dark-Nightmare

Dark-Nightmare

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:Huawei Ascend Y300

Hi

Yeah soon i'll upload all my work.....

You are from htcmania forum?

Big bug problem in this ROM is mount microsd.
The rom is fast.

Bye

Yeah, can we contact throught skype or something simmilar?

 

I think it could be caused by the partitions, on my actual device (huawei y300(u8833)) we had to build a new recovery because some partitions changed from 4.2 to 4.3 and 4.4, we had the same problem. I wish to try it as soon as possible.

 

Good luck and regards.


Edited by Dark-Nightmare, 21 April 2014 - 07:26 PM.

  • 0

#7
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

Fixed Buetooth.....

 

Now is ok 100%

 

 

BUG to fixing

 

WIFI

Mount microSD


  • 2

#8
ExCaL1BuR

ExCaL1BuR

    Regular

  • Members
  • PipPip
  • 98 posts
  • Gender:Male
  • Devices:Huawei U8510,ZTE Blade

Great Work Lucky ;)

 

I was not expecting this .

A tip, can you upload the rom to MEGA ?

A question that i have is if the rom works on the huawei ideos x3 strait a way ? 

We need to change the boot.img?


  • 0

#9
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

Great Work Lucky ;)

 

I was not expecting this .

A tip, can you upload the rom to MEGA ?

A question that i have is if the rom works on the huawei ideos x3 strait a way ? 

We need to change the boot.img?

 

Thank you.

 

I have upload my custom rom on mediafire.

 

and i have post all in italian forum (tuttoandroid).

 

This week end i hope post all here...... Not have much free time.

 

You can't change my boot.img because is made for kitkat...... I have compiled new kernel (zImage) and new ramdisk for booting cm11.

 

On kernel i have added selinux and fuse_fs on config and patch for bluetooth sleep on driver/bluetooth/.......

 

I not know if my rom works fine on ideos x3 sorry.......

 

 

I have upload all job on my github.

 

This rom have 3 BUGS:

 

1. mount microSD ----> Very important for swap and install other apps

 

2. WiFi scan scan scan scan

 

3. FOTOCAM

 

Bye


Edited by lucky76, 28 April 2014 - 09:57 PM.

  • 1

#10
ExCaL1BuR

ExCaL1BuR

    Regular

  • Members
  • PipPip
  • 98 posts
  • Gender:Male
  • Devices:Huawei U8510,ZTE Blade

Thank you.

 

I have upload my custom rom on mediafire.

 

and i have post all in italian forum (tuttoandroid).

 

This week end i hope post all here...... Not have much free time.

 

You can't change my boot.img because is made for kitkat...... I have compiled new kernel (zImage) and new ramdisk for booting cm11.

 

On kernel i have added selinux and fuse_fs on config and patch for bluetooth sleep on driver/bluetooth/.......

 

I not know if my rom works fine on ideos x3 sorry.......

 

 

I have upload all job on my github.

 

This rom have 3 BUGS:

 

1. mount microSD ----> Very important for swap and install other apps

 

2. WiFi scan scan scan scan

 

3. FOTOCAM

 

Bye

Ok thanks for the quick anwser ..... can u send me the link of mediafire ?

I want to try to work it around to our ideos x3 cause normally the roms of the U8650 works fine on the ideos x3 .


  • 0

#11
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5
I have posted all my job here bye.

  • 1

#12
ExCaL1BuR

ExCaL1BuR

    Regular

  • Members
  • PipPip
  • 98 posts
  • Gender:Male
  • Devices:Huawei U8510,ZTE Blade

If we could change the partitions sizes it ould be awsome like my Zte Libra :)


  • 0

#13
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

HI

 

I have change a little for WiFi..... Now i can see my wifi

# DELETE FOR NEW Wifi KitKat
#service dhcp-service /system/bin/netcfg wlan0 dhcp
#    class main
#    oneshot

#on property:dev.bootcomplete=1
#    stop dhcp-service
#    start dhcp-service
# OLD WPA SETTINGS
#service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf -dd
    #class main
    #user root
    #group wifi inet
    #socket wpa_eth0 dgram 660 wifi wifi
    #disabled
    #oneshot



# NEW WPA SETTINGS
service wpa_supplicant /system/bin/wpa_supplicant \
    -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf -dd \
    -e/data/misc/wifi/entropy.bin \
    -O/data/misc/wifi/sockets -g@android:wpa_eth0
    class main
    socket wpa_eth0 dgram 660 wifi wifi
    disabled
    oneshot

But have not connection after saved PW......

 

 

This is all init.huawei.rc

import /init.huawei.usb.rc
import /init.qcom.bluetooth.rc
import /init.swapart.rc

###################
## 1: EARLY-INIT ##
###################
on early-init

    mount debugfs /sys/kernel/debug /sys/kernel/debug

#############
## 2: INIT ##
#############
on init
# See storage config details at http://source.android.com/tech/storage/
#    mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
#    mkdir /storage/sdcard0 0700 root root
#    export EXTERNAL_STORAGE /storage/sdcard0

    mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
    mkdir /storage/sdcard0 0700 root root
    symlink /storage/sdcard0 /mnt/sdcard
    symlink /storage/sdcard0 /sdcard
    export EXTERNAL_STORAGE /storage/sdcard0
    export SD_EXT_DIRECTORY /sd-ext

    # Add permissions for camera access
    #chmod 0666 /dev/msm_camera/config0
    #chmod 0666 /dev/msm_camera/control0
    #chmod 0666 /dev/msm_camera/frame0
    #chmod 0666 /dev/msm_camera/pic0

#on early-init old
#    export EXTERNAL_STORAGE /mnt/sdcard
#    mkdir /mnt/sdcard 0000 system system
#    # for backwards compatibility
#    symlink /mnt/sdcard /sdcard


###########
## 3: FS ##
###########
on fs
    mount_all /fstab.u8650
    swapon_all /fstab.u8650

# mount mtd partitions
    mount yaffs2 mtd@system /system
    mount yaffs2 mtd@system /system ro remount
    mount yaffs2 mtd@userdata /data nosuid nodev
    mount yaffs2 mtd@cache /cache nosuid nodev
    mount yaffs2 mtd@cust /cust
    mount yaffs2 mtd@cust /cust ro remount

# DELETE FOR NEW Wifi KitKat
#service dhcp-service /system/bin/netcfg wlan0 dhcp
#    class main
#    oneshot

#on property:dev.bootcomplete=1
#    stop dhcp-service
#    start dhcp-service

################
## 4: POST-FS ##
################
on post-fs

    # nv
    #mkdir /data/nv
    #chown system system /data/nv
    #chmod 0711 /data/nv

    mkdir /data/local/download 0771 system cache
    mkdir /cache/download 0771 system cache

    # wifi
    #chmod 0777 /data/misc/wifi/config_mac
    #mkdir /data/audioprop 0777 system system
    #mkdir /data/misc/wifi/sockets 0770 wifi wifi
    #setprop wifi.supplicant_scan_interval 20
    #setprop wifi.interface eth0
    #mkdir /data/misc/dhcp 0777 system system

#####################
## 5: POST-FS-DATA ##
#####################
on post-fs-data

    # cutils/installd wants a media dir
    mkdir /data/media 0770 system system

    # Create the directories used by the Wireless subsystem
    mkdir /data/misc/wifi 0770 wifi wifi
    mkdir /data/misc/wifi/sockets 0770 wifi wifi
    chmod 0770 /data/misc/wifi/sockets
    mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
    mkdir /data/misc/wifi/hostapd 0770 wifi wifi

    # Take from msm7x27a
    # Create the directories used by the Wireless subsystem
    #mkdir /data/misc/wifi 0770 wifi wifi
    #mkdir /data/misc/wifi/load 0770 wifi wifi
    #mkdir /data/misc/wifi/sockets 0770 wifi wifi
    #mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
    #mkdir /data/misc/dhcp 0770 dhcp dhcp

    mkdir /data/misc/dhcp 0770 dhcp dhcp
    chown dhcp dhcp /data/misc/dhcp

    # Create directory used by audio subsystem
    mkdir /data/misc/audio 0770 audio audio

    # Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections
    # We chown/chmod /persist again so because mount is run as root + defaults
    chown system system /persist
    chmod 0771 /persist

    #Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant
    #mkdir /data/system 0775 system system
    #symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant

    #Create directories for wiper services
    mkdir /data/wpstiles/ 0755 shell
    mkdir /data/wiper 0755 gps qcom_oncrpc

    #Create directories for Location services
    mkdir /data/misc/location 0770 gps gps
    mkdir /data/misc/location/mq 0770 gps gps
    mkdir /data/misc/location/xtwifi 0770 gps gps

    #Create directory from IMS services
    mkdir /data/shared 0755
    chown system system /data/shared

    #Create directory for FOTA
    mkdir /data/fota 0771
    chown system system /data/fota

    #Create directory for hostapd
    mkdir /data/hostapd 0770 system wifi

    # Create /data/time folder for time-services
    mkdir /data/time/ 0700 system system

    mkdir /data/audio/ 0770 media audio
    # Enable the setgid bit on the directory
    chmod 2770 /data/audio

    # last line for post-fs-data
    setprop vold.post_fs_data_done 1

###################
## 6: EARLY-BOOT ##
###################
on early-boot
    # set RLIMIT_MEMLOCK to 64MB
    setrlimit 8 67108864 67108864

    
on boot-pause
    exec system/bin/battery_charging

#############
## 7: BOOT ##
#############

on boot
    mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
    chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
    chown bluetooth bluetooth /proc/bluetooth/sleep/proto
    chown system system /sys/module/sco/parameters/disable_esco
    chmod 0666 /sys/module/bluetooth_power/parameters/power
    chmod 0666 /sys/class/rfkill/rfkill0/state
    chmod 0666 /proc/bluetooth/sleep/proto
    chown bluetooth bluetooth /dev/ttyHS0
    chmod 0666 /dev/ttyHS0
    chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
    chmod 0666 /sys/devices/platform/msm_serial_hs.0/clock

    # OLD Create WIFI filesystem structure
    mkdir /data/misc/wifi 0770 wifi wifi
    mkdir /data/misc/wifi/sockets 0770 wifi wifi
    mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
    mkdir /data/misc/dhcp 0770 dhcp dhcp
    chown dhcp dhcp /data/misc/dhcp
    setprop wifi.interface eth0

    # NEW Create WIFI filesystem structure
     #mkdir /data/misc 01771 system misc
     #mkdir /data/misc/wifi 0770 system wifi
     #mkdir /data/misc/wifi/sockets 0770 wifi wifi
     #chmod 0770 /data/misc/wifi/sockets
     #mkdir /data/misc/dhcp 0770 dhcp dhcp
     #chown dhcp dhcp /data/misc/dhcp
     #mkdir /data/system 0775 system system

    
    mkdir /data/wpstiles/ 0777 shell
    mkdir /etc/wiper 0777 location qcom_oncrpc

    mkdir /data/misc/radio 0774 radio radio
    mkdir /data/local
    chmod 0777 /data/local
    chown radio shell /data/local
    mkdir /data/local/tmp
    chmod 0777 /data/local/tmp
    chown radio shell /data/local/tmp

    mkdir /data/radio 0770 radio radio
    chown radio radio 0770 /data/radio

    mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
    chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
    chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
    chown bluetooth bluetooth /proc/bluetooth/sleep/proto
    chown system system /sys/module/sco/parameters/disable_esco
    chmod 0666 /sys/module/bluetooth_power/parameters/power
    chmod 0666 /sys/class/rfkill/rfkill0/state
    chmod 0666 /proc/bluetooth/sleep/proto
    chown bluetooth bluetooth /dev/ttyHS0
    chmod 0666 /dev/ttyHS0
    chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
    chmod 0666 /sys/devices/platform/msm_serial_hs.0/clock
    
    
    # Increase read throughput from sd card
    write /sys/block/mmcblk0/bdi/read_ahead_kb 2048
        
    chmod 0777 /sys/kernel/logger/log_events/enable
    chmod 0777 /sys/kernel/logger/log_main/enable
    chmod 0777 /sys/kernel/logger/log_main/priority
    chmod 0777 /sys/kernel/logger/log_radio/enable
    chmod 0777 /sys/kernel/logger/log_radio/priority


 # Sdcard polling
    chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
    chmod 0664 /sys/devices/platform/msm_sdcc.2/polling
    chmod 0664 /sys/devices/platform/msm_sdcc.3/polling
    chmod 0664 /sys/devices/platform/msm_sdcc.4/polling

    chown system system /sys/module/g_android/parameters/product_id
    chown system system /sys/devices/platform/msm_sdcc.1/polling
    chown system system /sys/devices/platform/msm_sdcc.2/polling
    chown system system /sys/devices/platform/msm_sdcc.3/polling
    chown system system /sys/devices/platform/msm_sdcc.4/polling
    chown system system /sys/devices/platform/android_usb/composition
    chown system system /sys/devices/platform/android_usb/remote_wakeup

    chown system system /sys/devices/platform/msm_hsusb/gadget/sdstatus
    chown system system /sys/devices/platform/msm_hsusb/gadget/switchusb
    chown system system /sys/devices/platform/msm_hsusb/gadget/fixusb
    chown system sdcard_rw /sys/touch_screen/update_firmware


    #Create QMUX deamon socket area
    mkdir /dev/socket/qmux_radio 0770 radio radio
    chmod 2770 /dev/socket/qmux_radio
    mkdir /dev/socket/qmux_audio 0770 media audio
    chmod 2770 /dev/socket/qmux_audio
    mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth
    chmod 2770 /dev/socket/qmux_bluetooth
    mkdir /dev/socket/qmux_gps 0770 gps gps
    chmod 2770 /dev/socket/qmux_gps


# Temporary hack to prevent framebuffer flicker
    chmod 0777 /sys/class/graphics/fb0/state
    write /sys/class/graphics/fb0/state 1


########################
## 8: BOOT COMPLETED ##
########################


#############################################################################
### 9: S E R V I C E S                                                        ##
#############################################################################


service qmuxd /system/bin/qmuxd
    class main

service port-bridge /system/bin/port-bridge /dev/smd0 /dev/ttyGS0
    class main    
    
service pcm-bridge /system/bin/pcm-bridge /dev/smd7 /dev/ttyGS1
     class main    

on property:init.svc.wpa_supplicant=stopped
    stop dhcpcd


service hci_qcomm_init /system/bin/log -t qcom-bluetooth -p i "hci_qcomm_init service requested"
    class main
    user bluetooth
    group bluetooth net_bt_admin
    disabled
    oneshot

on property:ro.emmc=1
    start rmt_storage
    
service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
    class main
    user bluetooth
    group qcom_oncrpc bluetooth net_bt_admin
    disabled
    oneshot

service netmgrd /system/bin/netmgrd -E
    class main
    disabled

on property:ro.use_data_netmgrd=true
    start netmgrd

service hci_qcomm_init /system/bin/log -t qcom-bluetooth -p i "hci_qcomm_init service requested"
    class main
    user bluetooth
    group bluetooth net_bt_admin
    disabled
    oneshot    
    
# OLD WPA SETTINGS
#service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf -dd
    #class main
    #user root
    #group wifi inet
    #socket wpa_eth0 dgram 660 wifi wifi
    #disabled
    #oneshot

# NEW WPA SETTINGS 1
#service wpa_supplicant /system/bin/wpa_supplicant \
#    -ieth0 -Dnl80211,wext -c/data/misc/wifi/wpa_supplicant.conf -dd \
#    -e/data/misc/wifi/entropy.bin \
#    -O/data/misc/wifi/sockets -g@android:wpa_eth0
#    class main
#    socket wpa_eth0 dgram 660 wifi wifi
#    disabled
#    oneshot


# NEW WPA SETTINGS 2
service wpa_supplicant /system/bin/wpa_supplicant \
    -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf -dd \
    -e/data/misc/wifi/entropy.bin \
    -O/data/misc/wifi/sockets -g@android:wpa_eth0
    class main
    socket wpa_eth0 dgram 660 wifi wifi
    disabled
    oneshot

#Here added only -BKL to -ABKL
service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
    class main
    disabled
    oneshot

service iprenew_eth0 /system/bin/dhcpcd -n
    class main
    disabled
    oneshot
    
service wiperiface /system/bin/wiperiface
    class main
    user location
    group qcom_oncrpc
    oneshot   
 
service fm_dl /system/bin/sh /system/etc/init.qcom.fm.sh
    class main
    user system
    group system
    disabled
    oneshot

service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh
    class main
    user root
    disabled
    oneshot    

service btwlancoex /system/bin/sh /system/etc/init.qcom.coex.sh
    class main
    user root
    group qcom_oncrpc bluetooth net_bt_admin
    disabled
    oneshot
 
 service bcm_hciattach /system/bin/sh /system/etc/bluetooth/init.bcm.bt.sh
    class main
    user bluetooth
    group qcom_oncrpc bluetooth net_bt_admin system
    disabled
    
chmod 0664 /dev/accel
chmod 0664 /dev/compass_aot
chmod 0666 /dev/compass_dev
chmod 777 /dev/oncrpc*


service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0
    class late_start
    disabled

service bugreport /system/bin/dumpstate -d -v -o /storage/sdcard0/bugreports/bugreport
#   Triggered by the KEY_VOLUME_DOWN+KEY_MENU keycodes
    keycodes 114 139
    class late_start
    disabled
    oneshot

Any Idea for fix mount microsd and WIFI????


Edited by lucky76, 01 May 2014 - 07:04 PM.

  • 0

#14
ExCaL1BuR

ExCaL1BuR

    Regular

  • Members
  • PipPip
  • 98 posts
  • Gender:Male
  • Devices:Huawei U8510,ZTE Blade

I´ve tested on my X3 and it doesn´t boot.... it is stuck on bootloop . 


  • 0

#15
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

I´ve tested on my X3 and it doesn´t boot.... it is stuck on bootloop .

Maybe zImage......

 

mountsd

 

Old vold from ics 4.0.4

dev_mount sdcard2 /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard1 /mnt/sdcard auto /devices/virtual/mtd/mtd7/mtdblock7

New fstab.u8650?????

# http://source.android.com/devices/tech/storage/index.html
#<src>                <mnt_point>     <type>    <mnt_flags and options>    <fs_mgr_flags>

cache                   /cache         yaffs2    nosuid,nodev        recoveryonly
userdata                /data          yaffs2    nosuid,nodev        recoveryonly
system                  /system        yaffs2    defaults            recoveryonly
boot                    /boot          mtd       defaults            recoveryonly
misc                    /misc          mtd       defaults            recoveryonly
recovery                /recovery      mtd       defaults            recoveryonly
/dev/block/mmcblk0p1    /sdcard        auto      defaults            recoveryonly
/dev/block/mmcblk0p2    /sd-ext        vfat      defaults            recoveryonly

/devices/platform/msm_sdcc.1/mmc_host/mmc0    auto    vfat    defaults    voldmanaged=sdcard0:auto,noemulatedsd

init.huawei.rc on Kitkat

on init
    mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
    mkdir /storage/sdcard0 0700 root root
    symlink /storage/sdcard0 /mnt/sdcard
    symlink /storage/sdcard0 /sdcard
    export EXTERNAL_STORAGE /storage/sdcard0
    export SD_EXT_DIRECTORY /sd-ext
    export DOWNLOAD_CACHE /cache/download 


#on early-init old from ICS 4.0.4
#    export EXTERNAL_STORAGE /mnt/sdcard
#    mkdir /mnt/sdcard 0000 system system
#    # for backwards compatibility
#    symlink /mnt/sdcard /sdcard
# mount point   fstype      device                  [device2]
#/boot           mtd         boot
#/cache          yaffs2      cache
#/data           yaffs2      userdata
#/system         yaffs2      system
#/misc           mtd         misc
#/recovery       mtd         recovery
#/sdcard         vfat        /dev/block/mmcblk0p1    /dev/block/mmcblkp0
#/sd-ext         auto        /dev/block/mmcblk0p2


#dev:    size   erasesize  name
#mtd0: 00500000 00020000 "boot"
#mtd1: 00500000 00020000 "recovery"
#mtd2: 00140000 00020000 "misc"
#mtd3: 00060000 00020000 "splash"
#mtd4: 0ba00000 00020000 "system"
#mtd5: 03f00000 00020000 "cache"
#mtd6: 0a0a0000 00020000 "userdata"
#mtd7: 01400000 00020000 "userdata2"
#mtd8: 01400000 00020000 "cust"

Any Idea to fix mount sdcard???


Edited by lucky76, 03 May 2014 - 05:45 PM.

  • 0

#16
infernape763

infernape763

    Newbie

  • Members
  • Pip
  • 41 posts
  • Gender:Male
  • Devices:Xperia Z1/Huawei Ascend G510
  • Twitter:@infernape763
Lucky, dazzozo test these patches, I have not the pc by hand and this annoyed
https://github.com/D...cm-11.0/patches
https://github.com/D...cm-11.0/patches

  • 0

#17
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

Lucky, dazzozo test these patches, I have not the pc by hand and this annoyed
https://github.com/D...cm-11.0/patches
https://github.com/D...cm-11.0/patches

OK i try this patch... Thx

  • 0

#18
infernape763

infernape763

    Newbie

  • Members
  • Pip
  • 41 posts
  • Gender:Male
  • Devices:Xperia Z1/Huawei Ascend G510
  • Twitter:@infernape763

OK i try this patch... Thx

PD:Good Job :)

  • 0

#19
lucky76

lucky76

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Nexus 5

PD:Good Job :)

Thank.... I'll hope to fix WiFi and microsd

 

 

EDIT:

 

I have compiled with this patch for wifi and vold but nothing.....


Edited by lucky76, 04 May 2014 - 01:13 PM.

  • 0

#20
Luian

Luian

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Huawei u8650

Glad you that people interested in upgrading our little dream is to have my huawei android 4 Stable hopefully you succeed a great job greeting 

 
Excuse my English I speak Spanish only.
 
Pd.Might you please put more screenshots

Edited by Luian, 04 May 2014 - 10:32 PM.

  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users