Jump to content
t0mm13b

[DEV] AOSP Dev for Zte Blade

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :)

  • Upvote 1

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

+1 for Github- ICS status.smile.gif +1 for donation$ too.

Edited by oxyg3n89

Share this post


Link to post
Share on other sites

can replacing the ril lib files fix this problem?

Why don't you try it out yourself? :)

Share this post


Link to post
Share on other sites

joestone's aosp gingerbread rom is in this forum somewhere, would any of that help with the ics build?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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.

thats got a whole host of cm9 patches applied

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

  • Upvote 3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

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