Jump to content

[LIQUID METAL] My build AOSP experience


Guest davidevinavil

Recommended Posts

Guest davidevinavil

I'm trying to make a most possible simple boardconfig.mk without wifi bluetooth and other stuff..

@Vache do you think it could boot without that stuff?!

Link to comment
Share on other sites

Guest vache
I'm trying to make a most possible simple boardconfig.mk without wifi bluetooth and other stuff..

@Vache do you think it could boot without that stuff?!

Yes it should boot. If not, you can play with Acer libs.

Link to comment
Share on other sites

Guest davidevinavil
Yes it should boot. If not, you can play with Acer libs.

Compil always stop :( Something new Vache?

Edited by davidevinavil
Link to comment
Share on other sites

Guest davidevinavil
Ok i have now a working device tree, i'll share it tonight.

It's bootable, i can start to fix non-working things.

Well news :(

Link to comment
Share on other sites

Guest davidevinavil

@Vache

About prelinkmap is right to use prelink-linux-arm-2G.map instead of prelink-linux-arm.map?

I mean is that compatible?!

Edited by davidevinavil
Link to comment
Share on other sites

Guest vache
@Vache

About prelinkmap is right to use prelink-linux-arm-2G.map instead of prelink-linux-arm.map?

I mean is that compatible?!

No it's not compatible, look at adrresses, they are really different.

I'm using the prelinkmap you posted in the OP.

Link to comment
Share on other sites

Guest davidevinavil
Yes.

Ok, but most of adress are the same..

I'm not seing difference :(

Ok prelink-linux-arm-2G.map has most lib, but seems the other has the same adress..

I ask just to understand :(

Link to comment
Share on other sites

Guest davidevinavil

Compiled seems working..

I try to flash system.img using fastboot, but phone won't boot at all..

Have to flash also userdata.img?

Boot is right that picked from metalounay?

W/WallpaperService( 1428): failed parsing /data/system/wallpaper_info.xml java.io.FileNotFoundException: /data/system/wallpaper_info.xml (No such file or directory)
I/SystemServer( 1428): Audio Service
W/AudioPolicyManagerBase( 1352): setPhoneState() setting same state 0
I/SystemServer( 1428): Headset Observer
I/SystemServer( 1428): Dock Observer
W/DockObserver( 1428): This kernel does not have dock station support
I/SystemServer( 1428): UI Mode Manager Service
I/SystemServer( 1428): Backup Service
V/BackupManagerService( 1428): No ancestral data
I/BackupManagerService( 1428): Backup enabled => false
I/SystemServer( 1428): AppWidget Service
I/SystemServer( 1428): Recognition Service
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
[/codebox]

Your builded rom is booting well?

It's full working?

Edited by davidevinavil
Link to comment
Share on other sites

Guest vache
Compiled seems working..

I try to flash system.img using fastboot, but phone won't boot at all..

Have to flash also userdata.img?

Boot is right that picked from metalounay?

W/WallpaperService( 1428): failed parsing /data/system/wallpaper_info.xml java.io.FileNotFoundException: /data/system/wallpaper_info.xml (No such file or directory)
I/SystemServer( 1428): Audio Service
W/AudioPolicyManagerBase( 1352): setPhoneState() setting same state 0
I/SystemServer( 1428): Headset Observer
I/SystemServer( 1428): Dock Observer
W/DockObserver( 1428): This kernel does not have dock station support
I/SystemServer( 1428): UI Mode Manager Service
I/SystemServer( 1428): Backup Service
V/BackupManagerService( 1428): No ancestral data
I/BackupManagerService( 1428): Backup enabled => false
I/SystemServer( 1428): AppWidget Service
I/SystemServer( 1428): Recognition Service
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
W/MountService( 1428): Waiting too long for mReady!
[/codebox]

Your builded rom is booting well?

It's full working?

You don't have to flash userdata too.

For the "Waiting too long" error, try to push the build.prop from metalounay.

Link to comment
Share on other sites

Guest davidevinavil
You don't have to flash userdata too.

For the "Waiting too long" error, try to push the build.prop from metalounay.

Have to make wipe before flashing?

To push build.prop i can use adb right?

Edited by davidevinavil
Link to comment
Share on other sites

Guest davidevinavil
You don't have to flash userdata too.

For the "Waiting too long" error, try to push the build.prop from metalounay.

I've tried to push buld.prop from metalounay but has the same issue :(

Could be this?!

Package target files: out/target/product/liquidmetal/obj/PACKAGING/target_files_intermediates/liquidmetal-target_files-eng.davide.zip
ls: impossibile accedere a out/target/product/liquidmetal/recovery/root: File o directory non esistente
Package OTA: out/target/product/liquidmetal/liquidmetal-ota-eng.davide.zip
Package: out/target/product/liquidmetal/liquidmetal-img-eng.davide.zip
./build/tools/releasetools/ota_from_target_files:67: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
unzipping target target-files...

WARNING: Failed to load max image sizes; will not enforce
image size limits.

creating boot.img...
creating recovery.img...
creating system.img...
using device-specific extensions in device/acer/common

WARNING: Failed to load max image sizes; will not enforce
image size limits.

unable to load device-specific module; assuming none
creating userdata.img...
cleaning up...
done.
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 958, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 939, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 399, in WriteFullOTAPackage
os.path.join(OPTIONS.input_tmp, "BOOT")))
File "./build/tools/releasetools/ota_from_target_files", line 435, in __init__
self.size = len(data)
TypeError: object of type 'NoneType' has no len()
make: *** [out/target/product/liquidmetal/liquidmetal-ota-eng.davide.zip] Errore 1
[/codebox]

It's strange because compilator build system.img boot.img userdata.img :/

P.S. During compil I've to manually copy libloc.so libcommendefs.so and libdrm1_ini.so..

It's normal this?!

Edited by davidevinavil
Link to comment
Share on other sites

Guest vache
I've tried to push buld.prop from metalounay but has the same issue :(

Could be this?!

Package target files: out/target/product/liquidmetal/obj/PACKAGING/target_files_intermediates/liquidmetal-target_files-eng.davide.zip
ls: impossibile accedere a out/target/product/liquidmetal/recovery/root: File o directory non esistente
Package OTA: out/target/product/liquidmetal/liquidmetal-ota-eng.davide.zip
Package: out/target/product/liquidmetal/liquidmetal-img-eng.davide.zip
./build/tools/releasetools/ota_from_target_files:67: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
unzipping target target-files...

WARNING: Failed to load max image sizes; will not enforce
image size limits.

creating boot.img...
creating recovery.img...
creating system.img...
using device-specific extensions in device/acer/common

WARNING: Failed to load max image sizes; will not enforce
image size limits.

unable to load device-specific module; assuming none
creating userdata.img...
cleaning up...
done.
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 958, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 939, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 399, in WriteFullOTAPackage
os.path.join(OPTIONS.input_tmp, "BOOT")))
File "./build/tools/releasetools/ota_from_target_files", line 435, in __init__
self.size = len(data)
TypeError: object of type 'NoneType' has no len()
make: *** [out/target/product/liquidmetal/liquidmetal-ota-eng.davide.zip] Errore 1
[/codebox]

It's strange because compilator build system.img boot.img userdata.img :/

P.S. During compil I've to manually copy libloc.so libcommendefs.so and libdrm1_ini.so..

It's normal this?!

Yep it's normal, it have to be fix.

For the boot, try to backsmali both services.jar from AOSP and Acer, and replace those files :

all MountService*.smali

all NativeDaemonConnector*.smali

from Acer to AOSP.

Smali the modified services.jar and push it on phone, reboot.

Link to comment
Share on other sites

Guest davidevinavil
Yep it's normal, it have to be fix.

For the boot, try to backsmali both services.jar from AOSP and Acer, and replace those files :

all MountService*.smali

all NativeDaemonConnector*.smali

from Acer to AOSP.

Smali the modified services.jar and push it on phone, reboot.

Eh eh i don't understand at all :/

Smali what mean? is a command or a procedure?

Ok I'm trying :(

Edited by davidevinavil
Link to comment
Share on other sites

Guest vache
Eh eh i don't understand at all :/

Smali what mean? is a command or a procedure?

Ok I'm trying :(

I'll try to fix this for next build, and the wifi too.

I still can't get RIL working, so no call/data.

I have not so much time to work on it but i try to do my best.

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.