Jump to content

[DEV] AOSP Dev for Zte Blade


Guest t0mm13b

Recommended Posts

Guest KonstaT

I have sdcard somewhat working. It doesn't complain about sdcard not being found, but it doesn't detect my media quite yet. It's only mounted to /mnt/sdcard (not /sdcard) at this time, still needs to have something added.

Does anyone know where are those lines in source tree that go into init.rc, so I can include it in the build?

Edit. Sdcard working. Media scanner works too. Add these to your init.rc:


# create mountpoints
mkdir /mnt 0775 root system
mkdir /mnt/sdcard 0000 system system
[/code]
[code]
# setup the global environment
export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
export LD_LIBRARY_PATH /vendor/lib:/system/lib
export ANDROID_BOOTLOGO 1
export ANDROID_ROOT /system
export ANDROID_ASSETS /system/app
export ANDROID_DATA /data
export EXTERNAL_STORAGE /mnt/sdcard
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb

# Backward compatibility
symlink /system/etc /etc
symlink /sys/kernel/debug /d
symlink /mnt/sdcard /sdcard
[/code]

Edited by KonstaT
Link to comment
Share on other sites

Guest hedgepigdaniel

Ok, an updated build: ics4blade alpha2. This is just what you would have ended up with so far by following instruction in the thread, not including KonstaT's instructions to get SD mounted. wifi is working.

system.img built from the latest sources on github:https://github.com/t0mm13b/ics4blade.

boot.img copied from alpha1.

you will need the stock partitions version of gen2 firmware: http://forum.xda-dev...d.php?t=1258855

download: http://www.mediafire...ejovmm901vx3eix

Latest ICS gapps: http://download.cloc...-20111125-2.zip

Note: the clockworkmod file doesn't work for me (now I tell you...), and I don't know why. Any ideas? I jsut copied a stock rom from seb404's thread and changed the script to flash system.img and boot.img. For now, just find a way of flashing the .img files - TPT/fastboot should work. I just copied them into the TPT.

Edited by hedgepigdaniel
Link to comment
Share on other sites

Guest t0mm13b

Why do not you try to build isc branch of cyanogenmod? There are already many patches at the moment.

No point in doing that, I want this to be a pure AOSP build, separate from the cm :)

As for cyanogen, there is no blade build available via way of command line to invoke it even with the ics branch in place, and anyway, that's an exercise for you to try out! :D

For me, getting the AOSP build is a challenge and ultimately set out to get a pure AOSP ICS ROM going :)

Link to comment
Share on other sites

Guest JustasU

Ok, an update build: ics4blade alpha2. This is just what you would have ended up with so far by following instruction in the thread. wifi is working.

system.img built from the latest sources on github:https://github.com/t0mm13b/ics4blade.

boot.img copied from alpha1.

you will need the stock partitions version of gen2 firmware: http://forum.xda-dev...d.php?t=1258855

download: http://www.mediafire...ejovmm901vx3eix

Latest ICS gapps: http://download.cloc...-20111125-2.zip

Note: the clockworkmod file doesn't work for me (now I tell you...), and I don't know why. Any ideas? I jsut copied a stock rom from seb404's thread and changed the script to flash system.img and boot.img. For now, just find a way of flashing the .img files - TPT/fastboot should work. I just copied them into the TPT.

Is network working?

Link to comment
Share on other sites

Guest hugobosslives

No point in doing that, I want this to be a pure AOSP build, separate from the cm :)

As for cyanogen, there is no blade build available via way of command line to invoke it even with the ics branch in place, and anyway, that's an exercise for you to try out! :D

For me, getting the AOSP build is a challenge and ultimately set out to get a pure AOSP ICS ROM going :)

Yer +1 for a pure build. and you guys are clearly loving the challenge so keep it up :D

Link to comment
Share on other sites

I have sdcard somewhat working. It doesn't complain about sdcard not being found, but it doesn't detect my media quite yet. It's only mounted to /mnt/sdcard (not /sdcard) at this time, still needs to have something added.

Does anyone know where are those lines in source tree that go into init.rc, so I can include it in the build?

Edit. Sdcard working. Media scanner works too. Add these to your init.rc:


# create mountpoints

    mkdir /mnt 0775 root system

    mkdir /mnt/sdcard 0000 system system


# setup the global environment

    export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

    export LD_LIBRARY_PATH /vendor/lib:/system/lib

    export ANDROID_BOOTLOGO 1

    export ANDROID_ROOT /system

    export ANDROID_ASSETS /system/app

    export ANDROID_DATA /data

    export EXTERNAL_STORAGE /mnt/sdcard

    export ASEC_MOUNTPOINT /mnt/asec

    export LOOP_MOUNTPOINT /mnt/obb


# Backward compatibility

    symlink /system/etc /etc

    symlink /sys/kernel/debug /d

    symlink /mnt/sdcard /sdcard

That's great if sd card is working now. Can I remplace those lines in the the zip to flash it?? If yes, can you tell me the location of init.rc, can't find itbiggrin.gif. thx

Link to comment
Share on other sites

Did anybody notice that Tom_G's build shown in his video here:

does have sound?

Wonder were it got lost, I thought this is compiled from source, too.

Edited by FelixL
Link to comment
Share on other sites

Guest hecatae

Did anybody notice that Tom_G's build shown in his video here:

does have sound?

Wonder were it got lost, I thought this is compiled from source, too.

thats got a whole host of cm9 patches applied

Link to comment
Share on other sites

Guest furrabbit.nh

That's great if sd card is working now. Can I remplace those lines in the the zip to flash it?? If yes, can you tell me the location of init.rc, can't find itbiggrin.gif. thx

init.rc is in the boot.img you need to extract boot.img with dsixda's kitchen or something alike, edit the init.rc rebuild and reflash.

Link to comment
Share on other sites

init.rc is in the boot.img you need to extract boot.img with dsixda's kitchen or something alike, edit the init.rc rebuild and reflash.

Ok I'll try that thank you!

Link to comment
Share on other sites

Did anybody notice that Tom_G's build shown in his video here:

does have sound?

Wonder were it got lost, I thought this is compiled from source, too.

He made a new device tree for ICS.

I think that's why his build has GSM, WiFi, SD, sound, etc.

The only problem is the data connection.

Link to comment
Share on other sites

Guest hecatae

Can someone build ICS from TomG?

TomG is building what will be cm9, not an aosp rom, this thread is about building aosp ics for blade, not about patching cm9 into it to make it work

Link to comment
Share on other sites

Guest hedgepigdaniel

TomG is building what will be cm9, not an aosp rom, this thread is about building aosp ics for blade, not about patching cm9 into it to make it work

That's true, but t0mm13b originally started with the blade device tree from CM7 as a starting point and that remains the bulk of our customization of AOSP. I'm sure if TomG was sharing his sources (which he will be when it becomes CM9) his work would be useful to us.

Link to comment
Share on other sites

Guest hedgepigdaniel

ok pls some1 will tell me how to edit those lib files?

Take them out of your computer and stretch them out on a flat surface. Use a pair of scissors to remove the rotten parts, splice the pieces back together with glue, put it back into your computer, and compile.

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.