[DEV][ROM][5.0.2][CM12] Lollipop for LG-P500

ibub

Senior Member
Oct 22, 2012
1,730
1,522
0
Louisville,Ky
Apparently it fails to flash boot image:
Code:
Installing '/sdcard/AAA/cm-12-20150602-UNOFFICIAL-p500.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
minzip: Extracted 3 file(s)
detected filesystem ext4 for /dev/block/mmcblk0p2
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 12
run_program: child exited with status 127
detected filesystem f2fs for /dev/block/mmcblk0p4
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
Creating filesystem with parameters:
    Size: 833617920
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7280
    Inode size: 256
    Journal blocks: 3180
    Label: 
    Blocks: 203520
    Block groups: 7
    Reserved block group size: 55
Created filesystem with 11/50960 inodes and 6610/203520 blocks
warning: wipe_block_device: Wipe via secure discard failed, used discard instead

detected filesystem ext4 for /dev/block/mmcblk0p2
minzip: Extracted 0 file(s)
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
minzip: Extracted 1067 file(s)
created [/system/app/Bluetooth/lib]
created [/system/app/Bluetooth/lib/arm]
created [/system/priv-app/DefaultContainerService/lib]
created [/system/priv-app/DefaultContainerService/lib/arm]
created [/system/app/Gallery2/lib]
created [/system/app/Gallery2/lib/arm]
created [/system/app/Camera2/lib]
created [/system/app/Camera2/lib/arm]
created [/system/app/LatinIME/lib]
created [/system/app/LatinIME/lib/arm]
created [/system/app/PacProcessor/lib]
created [/system/app/PacProcessor/lib/arm]
created [/system/app/Terminal/lib]
created [/system/app/Terminal/lib/arm]
created [/system/app/PrintSpooler/lib]
created [/system/app/PrintSpooler/lib/arm]
created [/system/app/PicoTts/lib]
created [/system/app/PicoTts/lib/arm]
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
/tmp/install/bin/backuptool.sh: cd: line 102: can't cd to /tmp/addon.d/
md5sum: can't open '*sh': No such file or directory
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
cp: can't stat '/tmp/addon.d/*': No such file or directory
can't find boot partitionscript aborted: assert failed: write_raw_image("/tmp/boot.img", "boot")
assert failed: write_raw_image("/tmp/boot.img", "boot")
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/AAA/cm-12-20150602-UNOFFICIAL-p500.zip'
Error flashing zip '/sdcard/AAA/cm-12-20150602-UNOFFICIAL-p500.zip'
Updating partition details...
I:TWFunc::Set_Brightness: Setting brightness control to 5
...done
I need to review my build (roomservice.xml).
Thanks
Yeah, I got the same thing. Rebooting CM 9 internal. Gonna look at updater script again.

Sent from my LGL34C using XDA Free mobile app
 

kprsnt

Senior Member
Oct 17, 2011
165
204
0
Hyderabad
@ibub and @thunder45

I got one doubt...!

How u guys flashed 350mb system size of cm 12 build on 192mb size system partition...??

U will get the same log when u have insufficient storage space on system partition while flashing..

U can try to remove some apks but it won't work, because art files occupies almost 100mb in framework folder..

The best option to flash system partition on SD card system partition by editing updater script ....!

I don't had d device to test.. But surely it works
 

ibub

Senior Member
Oct 22, 2012
1,730
1,522
0
Louisville,Ky
This is os2sd, so it does flash system to 2nd partition of sdcard. Still trying to get the boot.img to flash though. I can boot to internal system (cm-9) and look at /data/sdext2, which contains all the cm-12 system files. So at least the system flash succeeds. But without the kernel it doesn't even try to boot os2sd.

Sent from my LGL34C using XDA Free mobile app
 
Last edited:

Dovidhalevi

Senior Member
Jun 26, 2012
2,729
1,171
0
PortTool !?!?

This is a bunch of bash scripts designed to take
1. A ROM built for the device
2. A ROM which is the target
and make a version for the device.

OK, seems too good to be true, so probably is!

Anyone tried this baby?
Like to take Rar****'s working 4.4.4 ROM or our CM12 attempt and make a new omni 5.1 based ROM or Paranoid 5.1?
(Any Lollipop-based ROM will have the system space problem, requiring either OS2SD or fancy footwork after flashing.)
 
Last edited:

Dovidhalevi

Senior Member
Jun 26, 2012
2,729
1,171
0
Have a look at what's happening here!
http://forum.xda-developers.com/showthread.php?t=3323975

Would there be hope after all? Specs of these dinos look mightly like our velociraptor. Does Jurassic Park yet live?

They use the sdcard as /data, period (instead of the O2SD thing, no Link2SD, etc.), all internal 400meg goes to /system and /cache. If they are also Armv6 (devices from 2011!!), then ... hey, let's get Gerrit going again.
 

ibub

Senior Member
Oct 22, 2012
1,730
1,522
0
Louisville,Ky
Have a look at what's happening here!
http://forum.xda-developers.com/showthread.php?t=3323975

Would there be hope after all? Specs of these dinos look mightly like our velociraptor. Does Jurassic Park yet live?

They use the sdcard as /data, period (instead of the O2SD thing, no Link2SD, etc.), all internal 400meg goes to /system and /cache. If they are also Armv6 (devices from 2011!!), then ... hey, let's get Gerrit going again.
I looked it up. Both of these sonys use Qualcomm msm 8255 snapdragon s2 processors. ArmV7 instruction set.
 

Dovidhalevi

Senior Member
Jun 26, 2012
2,729
1,171
0
I looked it up. Both of these sonys use Qualcomm msm 8255 snapdragon s2 processors. ArmV7 instruction set.
Oh, well ...

(I tried to find this out myself, did not succeed.)

Their scheme of using all on-board for /system and /cache and using the sdcard for /data -- might the current CM12 attempt flash with the boot.img patched to do things this way? Cannot test ART if it has no place to put its results.

Unfortunately, these schemes seem to me like there is no return. Need special recovery. I have no spare device to check myself.
 

Dovidhalevi

Senior Member
Jun 26, 2012
2,729
1,171
0
I looked at the repo, but nobody has been working on it. I should probably close this thread, but I just never got around to it.
... or ... do it. I have not been able to download enough stuff to attempt it myself for whatever reason.

Some questions remain:
Can we live without ART if that is, indeed, the problem? Can it be kludged to work with good old dalvik?
Seems that the new file-system is a bigger problem, so much stuff that once was on /data now clogging /system. Fancy footwork to solve: System gets all on-board, data to sdcard? Symlink system/app?