Jump to content

[ICS] CyanogenMod 9 for the Ascend G300 [LINK UP]


Guest tilal6991

Recommended Posts

Guest tilal6991

D:\android-sdk\platform-tools>adb push boot.img /sdcard/

4923 KB/s (4018176 bytes in 0.797s)

D:\android-sdk\platform-tools>adb shell flash_image boot /sdcard/boot.img

failed with error: -1

error scanning partitions

What??? I think the recovery itself is at fault then. The boot partition is not being detected. This isn't a problem with other ROMs since the boot partition has been the same but now it is a problem. Try:

/sbin/busybox dd if=/dev/zero of=/dev/block/mmcblk0p15

/sbin/busybox dd if=/sdcard/boot.img of=/dev/block/mmcblk0p15

Link to comment
Share on other sites

Guest Hans Gruber

What??? I think the recovery itself is at fault then. The boot partition is not being detected. This isn't a problem with other ROMs since the boot partition has been the same but now it is a problem. Try:

/sbin/busybox dd if=/dev/zero of=/dev/block/mmcblk0p15

/sbin/busybox dd if=/sdcard/boot.img of=/dev/block/mmcblk0p15

could that issue be down the phone sort of having 2 SD cards? An internal and actual SD?

I've run those commands and now just seeing if it will boot...

D:\android-sdk\platform-tools>adb shell /sbin/busybox dd if=/dev/zero of=/dev/bl

ock/mmcblk0p15

dd: writing '/dev/block/mmcblk0p15': No space left on device

16385+0 records in

16384+0 records out

8388608 bytes (8.0MB) copied, 4.175599 seconds, 1.9MB/s

D:\android-sdk\platform-tools>adb shell /sbin/busybox dd if=/sdcard/boot.img of=

/dev/block/mmcblk0p15

7848+0 records in

7848+0 records out

4018176 bytes (3.8MB) copied, 3.043388 seconds, 1.3MB/s

oh I didn't notice that no space left error (the phone did reboot itself after that first command)

Edited by Hans Gruber
Link to comment
Share on other sites

Guest tilal6991

Exactly correct! Right. While it's bootlooping try:

adb shell

mkdir /cache

mkdir /cache/dalvik-cache

chmod 7777 /cache/dalvik-cache

chown system.system /cache/dalvik-cache.

Link to comment
Share on other sites

Guest Hans Gruber

D:\android-sdk\platform-tools>adb push libgenlock.so /system/lib/

failed to copy 'libgenlock.so' to '/system/lib//libgenlock.so': Read-only file s

ystem

this would be going a lot quicker if I wasn't so terrible with linux!

Link to comment
Share on other sites

Guest Nesli

Great work guys :D Only few things i understand from logcat, for ex. we havn´t set DPI destiny, so it will boot up (if it will :D ) with dpi 160 (so small), let´s set to 220, or 240 by default..

Edited by Nesli
Link to comment
Share on other sites

Guest Hans Gruber

adb shell ls /dev

please?

D:\android-sdk\platform-tools>adb shel

accel

adsp

akm8975_dev

alarm

android_adb

android_adb_enable

apr_apps_user

ashmem

binder

block

compass_aot

console

cpu_dma_latency

cpuctl

device-mapper

diag

full

fuse

genlock

graphics

hw_extern_sdcard

hw_extern_sdcardMounted

hw_led

i2c-0

i2c-1

i2c-debug-0

i2c-debug-1

input

key_test

keychord

kgsl-3d0

kmem

kmsg

light

log

mem

msm_aac

msm_amrnb

msm_amrnb_in

msm_amrwb

msm_camera

msm_evrc

msm_evrc_in

msm_fm

msm_mp3

msm_mvs

msm_pcm_ctl

msm_pcm_dec

msm_pcm_in

msm_pcm_out

msm_preproc_ctl

msm_qcelp

msm_qcelp_in

msm_snd

msm_voicememo

msm_wma

msm_wmapro

msmdma

mtd

network_latency

network_throughput

null

oncrpc

pmem

pmem_adsp

pmem_audio

ppp

proximity

ptmx

pts

random

rfkill

rmt_oeminfo

rmt_storage

rtc0

rtc1

share_mem

smd0

smd1

smd17

smd2

smd21

smd22

smd27

smd3

smd36

smd4

smd7

smd_pkt_loopback

smd_sns_dsps

smdcntl0

smdcntl1

smdcntl2

smdcntl3

smdcntl4

smdcntl5

smdcntl6

smdcntl7

smem_log

smem_sleep_log

snd

socket

tgt

tty

ttyGS0

ttyGS1

ttyHS0

uinput

urandom

zero

Link to comment
Share on other sites

Guest tilal6991

Great work guys :D Only few things i understand from logcat, for ex. we havn´t set DPI destiny, so it will boot up (if it will :D ) with dpi 160 (so small), let´s set to 220, or 240 by default..

All these stuff are minor and can be figured out later. First if the launcher appears then the battle is essentially over!

Link to comment
Share on other sites

Guest tilal6991

The next command is tricky. You need to be very fast. As soon as it starts up type:

chmod 7777 /dev/kgsl-3d0

chown graphics.graphics /dev/kgsl-3d0

That needs to be done before it starts boot looping.

Link to comment
Share on other sites

Guest Hans Gruber

The next command is tricky. You need to be very fast. As soon as it starts up type:

chmod 7777 /dev/kgsl-3d0

chown graphics.graphics /dev/kgsl-3d0

That needs to be done before it starts boot looping.

I *think* I got it? http://pastebin.com/Gg47Tamn

I put them both in a .bat file

Link to comment
Share on other sites

Guest tilal6991

I *think* I got it? http://pastebin.com/Gg47Tamn

I put them both in a .bat file

Very strange. The error causing the loop is

I/Adreno ( 150): open(/dev/kgsl-3d0) failed: errno 2. No such file or directory

Which suggests that the socket doesn't exist. But from the ls you gave earlier it quite clearly does?? Try the bat file again and see if you go even quicker. If it doesn't work I have a solution but it will mean no HW acceleration ie. slow UI.

Link to comment
Share on other sites

Guest Hans Gruber

:( I've tried a few more times and I'm not sure it could be done any quicker. It's still saying

I/Adreno ( 152): open(/dev/kgsl-3d0) failed: errno 2. No such file or directory

Link to comment
Share on other sites

Guest tilal6991

Could´n be problem with the fact, that G300 doesn´t have Adreno 200, but Adreno 200 Enhanced..?(different drivers, etc.)

Shouldn't matter. The socket itself should be the same.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.