Jump to content


Photo

[LIQUID METAL] My build AOSP experience

- - - - -

  • Please log in to reply
67 replies to this topic

#41
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal
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?

[codebox]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, 08 March 2011 - 11:01 PM.

  • 0
If you like my work, offer me a beer

#42
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

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 ServiceW/AudioPolicyManagerBase( 1352): setPhoneState() setting same state 0I/SystemServer( 1428): Headset ObserverI/SystemServer( 1428): Dock ObserverW/DockObserver( 1428): This kernel does not have dock station supportI/SystemServer( 1428): UI Mode Manager ServiceI/SystemServer( 1428): Backup ServiceV/BackupManagerService( 1428): No ancestral dataI/BackupManagerService( 1428): Backup enabled => falseI/SystemServer( 1428): AppWidget ServiceI/SystemServer( 1428): Recognition ServiceW/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!

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.

  • 0

#43
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

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, 09 March 2011 - 08:26 AM.

  • 0
If you like my work, offer me a beer

#44
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

Have to make wipe before flashing?
To push build.prop i can use adb right?


Yes²

  • 0

#45
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

Yes²


Ok I'll try this evening..
Your rom is working well?

  • 0
If you like my work, offer me a beer

#46
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

Ok I'll try this evening..
Your rom is working well?


Missing call/data and wifi.

  • 0

#47
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

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.zipls: impossibile accedere a out/target/product/liquidmetal/recovery/root: File o directory non esistentePackage OTA: out/target/product/liquidmetal/liquidmetal-ota-eng.davide.zipPackage: 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 shaunzipping 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 nonecreating 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

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, 09 March 2011 - 05:05 PM.

  • 0
If you like my work, offer me a beer

#48
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

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.zipls: impossibile accedere a out/target/product/liquidmetal/recovery/root: File o directory non esistentePackage OTA: out/target/product/liquidmetal/liquidmetal-ota-eng.davide.zipPackage: 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 shaunzipping 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 nonecreating 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

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.

  • 0

#49
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

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, 09 March 2011 - 05:30 PM.

  • 0
If you like my work, offer me a beer

#50
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

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.

  • 0

#51
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

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.


To me are doing most that you can imagin :(
I like learning and the result is not so important..
Thank a lot for that you're doing :(

  • 0
If you like my work, offer me a beer

#52
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

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.


Ok I do that, but when i make smali i optained a service.jar of 1.3 Mb instead of original 638 Kb..
It seems too size different and it don't work..
Now boot stops at boot logo :/


to baksmali I've type this

java -jar baksmali.jar services.jar

to smaly this

java -jar smali.jar out/com/android/server -o services.jar

I've downloaded the last version of smali-backsmali (1.2.6)
Is that right?

  • 0
If you like my work, offer me a beer

#53
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

Ok I do that, but when i make smali i optained a service.jar of 1.3 Mb instead of original 638 Kb..
It seems too size different and it don't work..
Now boot stops at boot logo :/
to baksmali I've type this

java -jar baksmali.jar services.jar

to smaly this

java -jar smali.jar out/com/android/server -o services.jar

I've downloaded the last version of smali-backsmali (1.2.6)
Is that right?


To smali just type :
java -jar smali.jar out -o services.jar

  • 0

#54
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

To smali just type :
java -jar smali.jar out -o services.jar


Nop :( Same error and services.jar has always 1.3 Mb size
E/AudioHardwareMSM72XX( 1436): failed to open AUDIO_NORMAL_FILTER /system/etc/AudioFilter.csv: No such file or directory (2).E/AudioHardwareMSM72XX( 1436): Could not open MSM SND driver.W/AudioHardwareInterface( 1436): Using stubbed audio hardware. No sound will be produced.W/AudioHardwareMSM72XX( 1436): Attempt to close invalid output streamE/JNIHelp ( 1442): Native registration unable to find class 'com/android/server/Watchdog'E/AndroidRuntime( 1442): Unable to register all android nativesE/AudioHardwareMSM72XX( 1443): failed to open AUDIO_NORMAL_FILTER /system/etc/AudioFilter.csv: No such file or directory (2).E/AudioHardwareMSM72XX( 1443): Could not open MSM SND driver.W/AudioHardwareInterface( 1443): Using stubbed audio hardware. No sound will be produced.W/AudioHardwareMSM72XX( 1443): Attempt to close invalid output streamE/JNIHelp ( 1449): Native registration unable to find class 'com/android/server/Watchdog'E/AndroidRuntime( 1449): Unable to register all android nativesE/AudioHardwareMSM72XX( 1450): failed to open AUDIO_NORMAL_FILTER /system/etc/AudioFilter.csv: No such file or directory (2).E/AudioHardwareMSM72XX( 1450): Could not open MSM SND driver.W/AudioHardwareInterface( 1450): Using stubbed audio hardware. No sound will be produced.W/AudioHardwareMSM72XX( 1450): Attempt to close invalid output stream

I've to compile smali and baksmali or just download that?
http://code.google.c...d...mp;can=2&q=
http://code.google.c...d...mp;can=2&q=

Edited by davidevinavil, 09 March 2011 - 06:57 PM.

  • 0
If you like my work, offer me a beer

#55
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

I've to compile smali and baksmali or just download that?
http://code.google.c...d...mp;can=2&q=
http://code.google.c...d...mp;can=2&q=


Strange, didn't have this error.

Can you try this services.jar ? http://shoobee.eu/up...276services.jar

  • 0

#56
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

Strange, didn't have this error.

Can you try this services.jar ? http://shoobee.eu/up...276services.jar


You are a g-d :(
It's working :( :) ;)

Even if most things are not working I can see that UI is very very smooth ;)

Edited by davidevinavil, 09 March 2011 - 11:08 PM.

  • 0
If you like my work, offer me a beer

#57
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

Strange, didn't have this error.

Can you try this services.jar ? http://shoobee.eu/up...276services.jar


I've already try to baksmali and smali but same error about size of services.jar
You are running Linux or windows?
What JRE version? 1.5 or 1.6
And I've to compile baksmali and smali or just download .jar?

  • 0
If you like my work, offer me a beer

#58
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

I've already try to baksmali and smali but same error about size of services.jar
You are running Linux or windows?
What JRE version? 1.5 or 1.6
And I've to compile baksmali and smali or just download .jar?


I'm using it on both Linux and Windows. (Java 1.5)
You don't need to compil anything, just download jar files.

  • 0

#59
lgcmn

lgcmn

    Diehard

  • Members
  • PipPipPipPip
  • 329 posts
  • Devices:Acer Liquid

I've already try to baksmali and smali but same error about size of services.jar
You are running Linux or windows?
What JRE version? 1.5 or 1.6
And I've to compile baksmali and smali or just download .jar?

don't know about Linux, but in Windows u need to take classes.dex file from services.jar (open it with WinRAR) and type
java -jar baksmali.jar -o classout/ classes.dex
and u'll have folders with smali files..
java -Xmx512M -jar smali.jar classout/ -o classes.dex
for packing back the classes.dex file and putting it back into services.jar
:(

  • 0

#60
davidevinavil

davidevinavil

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,005 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

don't know about Linux, but in Windows u need to take classes.dex file from services.jar (open it with WinRAR) and type
java -jar baksmali.jar -o classout/ classes.dex
and u'll have folders with smali files..
java -Xmx512M -jar smali.jar classout/ -o classes.dex
for packing back the classes.dex file and putting it back into services.jar
:(


Thank this evening I'll try..

  • 0
If you like my work, offer me a beer




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users