Jump to content


[LIQUID METAL] My build AOSP experience

- - - - -

  • Please log in to reply
67 replies to this topic

#41
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 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?

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!

Your builded rom is booting well?
It's full working?

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

If you like my work, offer me a beer

#42
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 8 2011, 22:04, said:

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!

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.


#43
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 09:01, said:

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.

If you like my work, offer me a beer

#44
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 9 2011, 09:17, said:

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

Yes²


#45
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 09:27, said:

Yes²

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

If you like my work, offer me a beer

#46
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 9 2011, 09:28, said:

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

Missing call/data and wifi.


#47
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 09:01, said:

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

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.

If you like my work, offer me a beer

#48
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 9 2011, 18:00, said:

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

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.


#49
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 18:20, said:

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.

If you like my work, offer me a beer

#50
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 9 2011, 18:23, said:

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.


#51
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 18:39, said:

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

If you like my work, offer me a beer

#52
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 18:20, said:

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?

If you like my work, offer me a beer

#53
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 9 2011, 19:38, said:

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


#54
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 19:46, said:

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 stream
E/JNIHelp ( 1442): Native registration unable to find class 'com/android/server/Watchdog'
E/AndroidRuntime( 1442): Unable to register all android natives
E/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 stream
E/JNIHelp ( 1449): Native registration unable to find class 'com/android/server/Watchdog'
E/AndroidRuntime( 1449): Unable to register all android natives
E/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.

If you like my work, offer me a beer

#55
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 9 2011, 19:54, said:

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


#56
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 20:30, said:

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.

If you like my work, offer me a beer

#57
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postvache, on Mar 9 2011, 20:30, said:

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?

If you like my work, offer me a beer

#58
vache

vache

    Hardcore

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

View Postdavidevinavil, on Mar 10 2011, 10:18, said:

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.


#59
lgcmn

lgcmn

    Diehard

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

View Postdavidevinavil, on Mar 10 2011, 12:18, said:

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


#60
davidevinavil

davidevinavil

    Addict

  • Members
  • PipPipPipPipPip
  • 976 posts
  • Gender:Male
  • Location:Crevoladossola (VB)
  • Devices:Acer Liquid Metal

View Postlgcmn, on Mar 10 2011, 11:16, said:

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..

If you like my work, offer me a beer




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users