Anyone with a 64GB touchpad? - TouchPad General

Hi:
I own a 64GB Touchpad which suffered of question mark issue.
With the appreciated help of Mr. Jcsullins TP came back to live.
It came back from dead with partition problems and WebOsDoctor
couldn't cure it.
First displayed weird partition errors like:
[email protected]:/# lvm.static vgck
/dev/mmcblk0p14: lseek 63447236608 failed: Invalid argument
/dev/mmcblk0p14: lseek 63447236608 failed: Invalid argument
/dev/mmcblk0p14: lseek 63447236608 failed: Invalid argument
Volume group "store" inconsistent
Click to expand...
Click to collapse
Tried tptoolbox form Mr. Jcsullins and recreate partitions.
Tried WebOsDoctor 3.0.0 and stopped at 8%.
Manually recreate partition to fit 32GB Touchpad and ran WebOs Doctor again
and stopped at 12%.
All the possible fixes to the 12% issue i've seen and read depends on
WebOsDoctor hangs at media partion erros and the user has to reformat
media partition; this fix didn't work on my TP.
Ran again tptoolbox to recreate the 64GB partitions and ran WebOs Doctor 3
but same exit: 12% stopped.
I've read that the partition layout from a 64GB is a little misterious and i'm looking
for a person who have a 64GB TP and may share the partiton scheme using
novaterm so i can't try recreate the scheme and may fix the 12% stucking.
Anyone with a little free time?
I have some print-out info from WebOs Doctor ( 3.0.0, 3.0.2, 3.0.4 and 3.0.5 )
i can upload if required.
Thanks in advance.

Note suggestions I post below could potentially brick your device further. Attempt at your own risk. Here is the partition layout for 32gb Touchpads.
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgremove store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgcreate -s 8M store /dev/mmcblk0p14
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static lvcreate -l 71 -i 1 -M y --major 254 --minor 0 -n root store
lvm.static lvcreate -l 8 -i 1 -M y --major 254 --minor 1 -n var store
lvm.static lvcreate -l 2 -i 1 -M y --major 254 --minor 2 -n update store
lvm.static lvcreate -l 3 -i 1 -M y --major 254 --minor 3 -n log store
lvm.static lvcreate -l 32 -i 1 -M y --major 254 --minor 4 -n mojodb store
lvm.static lvcreate -l 17 -i 1 -M y --major 254 --minor 5 -n filecache store
lvm.static lvcreate -l 3523 -i 1 -M y --major 254 --minor 6 -n media store
lvm.static lvcreate -l 64 -i 1 -M y --major 254 --minor 7 -n swap store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
mkdosfs -f 1 -s 64 /dev/store/media
Click to expand...
Click to collapse
That is the layout restore for 32gb Touchpads. If you examine this file, it appears that the only partitions that need to be changed or mojodb and assigning the rest of the storage to media. The file is topax.xml located in webOS doctor.
http://www.mediafire.com/view/?xa7adq6ohm99966
It appears from that file that mojodb size should be doubled so to this:
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgremove store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgcreate -s 8M store /dev/mmcblk0p14
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static lvcreate -l 71 -i 1 -M y --major 254 --minor 0 -n root store
lvm.static lvcreate -l 8 -i 1 -M y --major 254 --minor 1 -n var store
lvm.static lvcreate -l 2 -i 1 -M y --major 254 --minor 2 -n update store
lvm.static lvcreate -l 3 -i 1 -M y --major 254 --minor 3 -n log store
lvm.static lvcreate -l 64 -i 1 -M y --major 254 --minor 4 -n mojodb store
lvm.static lvcreate -l 17 -i 1 -M y --major 254 --minor 5 -n filecache store
lvm.static lvcreate -l 3523 -i 1 -M y --major 254 --minor 6 -n media store
lvm.static lvcreate -l 64 -i 1 -M y --major 254 --minor 7 -n swap store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
mkdosfs -f 1 -s 64 /dev/store/media
Click to expand...
Click to collapse
You should be able to resize the remaining space into media later (as I'm not positive on what the size should be or if the mojodb partition is correct either). Good luck.

Never knew they even made a 64 gb version

Hi:
Remolten said:
Note suggestions I post below could potentially brick your device further. Attempt at your own risk. Here is the partition layout for 32gb Touchpads.Good luck.
Click to expand...
Click to collapse
My TP isn't bricked but it's useless as a bricked one so
why not try your suggestions?
Thanks, i'll try the change on mojodb.
Regards.
Added info:
Changed from 32 to 64 mojodb but doesn't work.

gsausalito said:
Hi:
My TP isn't bricked but it's useless as a bricked one so
why not try your suggestions?
Thanks, i'll try the change on mojodb.
Regards.
Added info:
Changed from 32 to 64 mojodb but doesn't work.
Click to expand...
Click to collapse
Like I said earlier there is storage left over to add to media but I'm not exactly sure what's the amount to add to it.
You should also downloading the appropriate version of webOS doctor again from here:
http://www.webos-internals.org/wiki/Webos_Doctor_Versions
To make sure you don't have a corrupted one. Download the .jar version of it if possible.
Do you get the same exact error when running the different size for mojodb in the log?

Hi:
Remolten said:
Like I said earlier there is storage left over to add to media but I'm not exactly sure what's the amount to add to it.
Click to expand...
Click to collapse
I made this:
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgremove store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgcreate -s 8M store /dev/mmcblk0p14
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static lvcreate -l 71 -M y --major 254 --minor 0 -n root store
lvm.static lvcreate -l 8 -M y --major 254 --minor 1 -n var store
lvm.static lvcreate -l 2 -M y --major 254 --minor 2 -n update store
lvm.static lvcreate -l 3 -M y --major 254 --minor 3 -n log store
lvm.static lvcreate -l 32 -M y --major 254 --minor 4 -n mojodb store
lvm.static lvcreate -l 17 -M y --major 254 --minor 5 -n filecache store
lvm.static lvcreate -l 64 -M y --major 254 --minor 7 -n swap store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
then lvm.static vgdisplay that showed
Free PE/SIZE X
lvm.static lvcreate -l X -M y --major 254 --minor 6 -n media store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
mkdosfs -f 1 -s 64 -F 32 /dev/store/media
Click to expand...
Click to collapse
So i added the rest of the free space to store/media
Remolten said:
You should also downloading the appropriate version of webOS doctor again from here:
http://www.webos-internals.org/wiki/Webos_Doctor_Versions
To make sure you don't have a corrupted one. Download the .jar version of it if possible.
Click to expand...
Click to collapse
Done, with same errors
Remolten said:
Do you get the same exact error when running the different size for mojodb in the log?
Click to expand...
Click to collapse
Yes, and exiting at same point
PHP:
ene 20, 2013 7:25:57 AM com.palm.nova.installer.core.MountUtils getBootPartition
WARNING: unable to obtain boot partition with /tmp/find_boot.sh script
ene 20, 2013 7:26:13 AM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Flash Entry 14: type 7 (LVM), size 63455625216 (7632000), offset 603979776 (120000), file 0x0, part 14(s), type 8e, reformat=true
ene 20, 2013 7:26:13 AM com.palm.novacom.internal.NovacomSocketStream handleSocketException
WARNING: SocketException Cmd: file:///sbin/trenchcoat
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at com.palm.novacom.internal.PacketReader.readArray(PacketReader.java:37)
at com.palm.novacom.internal.PacketReader.readPacket(PacketReader.java:51)
at com.palm.novacom.internal.PacketReader.read(PacketReader.java:80)
at com.palm.novacom.internal.NovacomSocketStream.read(NovacomSocketStream.java:108)
at com.palm.novacom.internal.NovacomBaseStream.readLine(NovacomBaseStream.java:42)
at com.palm.nova.installer.core.stages.BaseStage$StreamReaderThread.run(BaseStage.java:57)
ene 20, 2013 7:26:13 AM com.palm.novacom.internal.NovacomSocketStream handleSocketException
WARNING: SocketException Cmd: file:///sbin/trenchcoat
ene 20, 2013 7:26:13 AM com.palm.nova.installer.core.stages.BaseStage$StreamReaderThread run
WARNING:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at com.palm.novacom.internal.PacketReader.readArray(PacketReader.java:37)
at com.palm.novacom.internal.PacketReader.readPacket(PacketReader.java:51)
at com.palm.novacom.internal.PacketReader.read(PacketReader.java:80)
at com.palm.novacom.internal.NovacomSocketStream.read(NovacomSocketStream.java:108)
at com.palm.novacom.internal.NovacomBaseStream.readLine(NovacomBaseStream.java:42)
at com.palm.nova.installer.core.stages.BaseStage$StreamReaderThread.run(BaseStage.java:57)
ene 20, 2013 7:26:13 AM com.palm.nova.installer.recoverytool.CardController postFlashEvent
WARNING: Flash Failure
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at com.palm.novacom.internal.PacketWriter.write(PacketWriter.java:29)
at com.palm.novacom.internal.NovacomSocketStream.write(NovacomSocketStream.java:169)
at com.palm.novacom.internal.NovacomBaseStream.write(NovacomBaseStream.java:21)
at com.palm.novacom.internal.NovacomBaseStream.write(NovacomBaseStream.java:69)
at com.palm.nova.installer.core.stages.TrenchcoatStage.run(TrenchcoatStage.java:104)
at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:426)
at java.lang.Thread.run(Unknown Source)
ene 20, 2013 7:26:13 AM com.palm.nova.installer.recoverytool.CardController postFlashEvent
INFO: Flash End time (Fail) 1358663173448
ene 20, 2013 7:26:13 AM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: from C:\Users\SAUSAL~1\AppData\Local\Temp\PalmWebOsRecoveryToolLog0.log.2
ene 20, 2013 7:26:13 AM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: to C:\Users\SAUSAL~1\AppData\Local\Temp\palmInstallerError0.log
ene 20, 2013 7:26:13 AM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: from C:\Users\SAUSAL~1\AppData\Local\Temp\PalmWebOsRecoveryToolLog0.log.1
ene 20, 2013 7:26:13 AM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: to C:\Users\SAUSAL~1\AppData\Local\Temp\palmInstallerError1.log
ene 20, 2013 7:26:15 AM com.palm.nova.installer.recoverytool.CardController handleFailCase
INFO: something failed, query to see if device is plugged in
ene 20, 2013 7:26:15 AM com.palm.nova.installer.recoverytool.CardController handleFailCase
INFO: exiting handleFailCase()
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at com.palm.novacom.internal.PacketWriter.write(PacketWriter.java:29)
at com.palm.novacom.internal.NovacomSocketStream.write(NovacomSocketStream.java:169)
at com.palm.novacom.internal.NovacomBaseStream.write(NovacomBaseStream.java:21)
at com.palm.novacom.internal.NovacomBaseStream.write(NovacomBaseStream.java:69)
at com.palm.nova.installer.core.stages.TrenchcoatStage.run(TrenchcoatStage.java:104)
at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:426)
at java.lang.Thread.run(Unknown Source)
ene 20, 2013 7:26:16 AM com.palm.nova.installer.recoverytool.runner.DeviceDiscoveryRunner$DeviceDiscoveryThread run
INFO: got controller
ene 20, 2013 7:26:16 AM com.palm.nova.installer.recoverytool.runner.DeviceDiscoveryRunner$DeviceDiscoveryThread run
INFO: got devices 1
ene 20, 2013 7:26:16 AM com.palm.nova.installer.recoverytool.CardController runnerFinished
INFO: device runner done
ene 20, 2013 7:26:16 AM com.palm.nova.installer.recoverytool.CardController runnerFinished
WARNING: flashing failed, move to failed card
Sorry about above. Spoiler didn't work
Thanks for your time

The first thing on your error above is probably caused by the the lack of /boot or maybe your changed the size from normal?
The second error appears to be it can't find the trenchcoat repair file probably on the Touchpad but maybe in the doctor.
The rest seems to indicate your device got disconnected by something (it might of disconnected you or maybe it just fails after the abnormal boot partition).
Try membooting into the novacom bootie image and checking the partition size of boot.

Related

DT a2sd issues

ok as dr.notor said i will open a post here with my problems
i flashed ciaox' open optimus latest version and tried numerous times to get a2sd to work, everything i try it keeps telling me the damn same thing: EXT partition not mounted. i've tried different kernels, reflashing openoptimus, partitioning through my windows pc and cwm.
here is adb shell output and logcat(i don't know exactly what part of logcat must be extracted so i will upload it all)
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\CORINA\My Documents\Downloads\android-sdk-windows\tool
s>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
sh-3.2$ su
su
sh-3.2# busybox ls -la /system/etc/init.d
busybox ls -la /system/etc/init.d
drwxrwxrwx 1 0 0 2048 Aug 16 17:52 ←[1;34m.←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:38 ←[1;34m..←[0m
-rwxrwxrwx 1 0 0 630 Aug 1 2008 ←[1;32m00banner←[0m
-rwxrwxrwx 1 0 0 642 Aug 1 2008 ←[1;32m00clock←[0m
-rwxrwxrwx 1 0 0 707 Aug 1 2008 ←[1;32m00clock~←[0m
-rwxrwxrwx 1 0 0 27 Aug 1 2008 ←[1;32m01sysctl←[0m
-rwxrwxrwx 1 0 0 1078 Aug 1 2008 ←[1;32m01zipalign←[0m
-rwxrwxrwx 1 0 0 266 Aug 1 2008 ←[1;32m02firstboot←[0m
-rwxrwxrwx 1 0 0 8177 Aug 1 2008 ←[1;32m02loopysmoothnes
stweak←[0m
-rwxrwxrwx 1 0 0 782 Aug 1 2008 ←[1;32m03ramscript←[0m
-rwxrwxrwx 1 0 0 199 Aug 1 2008 ←[1;32m04sdcard←[0m
-rwxrwxrwx 1 0 0 250 Aug 1 2008 ←[1;32m05powerfix←[0m
-rwxrwxrwx 1 0 0 1499 Aug 1 2008 ←[1;32m1apps2sd←[0m
-rwxrwxrwx 1 0 0 86 Aug 1 2008 ←[1;32m99complete←[0m
sh-3.2# busybox ls -la /cache
busybox ls -la /cache
drwxrwx--x 1 1000 2001 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
lrwxrwxrwx 1 0 0 18 Aug 17 10:54 ←[1;36mdalvik-cache←[0m
-> ←[1;34m/data/dalvik-cache←[0m
drwxrwxrwx 1 0 0 2048 Aug 17 10:54 ←[1;34mdc←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--- 1 1000 2001 2048 Aug 16 22:08 ←[1;34mrecovery←[0m
sh-3.2# busybox ls -la /data
busybox ls -la /data
drwxrwx--x 1 1000 1000 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
-rw-rw-rw- 1 0 0 2 Aug 16 17:52 ←[0;0m.noa2sd←[0m
drwxrwxrwx 1 0 0 2048 Aug 16 17:41 ←[1;34mamit←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34manr←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mapp←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mapp-private←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:43 ←[1;34mbackup←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdalvik-cache←[0m
-rwxrwxrwx 1 0 0 202 Aug 16 22:12 ←[1;32mdalvikheap←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdata←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mdbcheck←[0m
drwxr-x--- 1 1000 1007 2048 Aug 16 18:36 ←[1;34mdontpanic←[0m
-rw-rw-rw- 1 0 0 4110 Aug 17 10:54 ←[0;0mdta2sd.lg1←[0m
-rw-rw-rw- 1 0 0 4090 Aug 17 10:54 ←[0;0mdta2sd.lg2←[0m
-rw-rw-rw- 1 0 0 3928 Aug 17 10:54 ←[0;0mdta2sd.log←[0m
-rw-rw-rw- 1 0 0 296 Aug 16 17:52 ←[0;0mdtinstall.log←[0m
prw-rw-rw- 1 1000 1000 2048 Aug 16 17:41 ←[0;35mdun←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:52 ←[1;34mjit←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 21:49 ←[1;34mlgdrm←[0m
drwxrwx--x 1 2000 2000 2048 Aug 16 17:41 ←[1;34mlocal←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mlogger←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--t 1 1000 9998 2048 Aug 16 17:41 ←[1;34mmisc←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mnv←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mnx←[0m
drwx------ 1 0 0 2048 Aug 17 10:54 ←[1;34mproperty←[0m
drwxrwx--- 1 1001 1001 2048 Aug 16 22:12 ←[1;34mradio←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mscnt←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:42 ←[1;34msecure←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 17 10:56 ←[1;34msystem←[0m
drwxr-xr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34mtombstones←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34muma←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 17:41 ←[1;34mwmdrm←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:43 ←[1;34mxt9←[0m
-rw-r--r-- 1 0 0 142 Aug 16 22:12 ←[0;0mzipalign.log←[0m
sh-3.2# a2sd check
a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
[Γ£û] Ext partition found, but not mounted.
Your rom may not be setup to run Apps2SD.
Check with your rom developer if the boot image
is programmed to run Apps2SD.
Your partition may be using an EXT4 partition,
but your rom may not support EXT4. Repartition
your SD card to use EXT2 or EXT3.
sh-3.2# mount
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock1 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock9 on /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock3 on /lgdrm type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,r
elatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,
iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noe
xec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=c
p437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
sh-3.2#
0/ A usable terminal for Windows: Tera Term - download
1/ Suggestions:
What you have is called /system/etc/init.d/apps2sd? How have you installed that a2sd thing? This will not run, needs to be prefixed with digit(s) but it is extremely hard to recognize that due to the ****ty terminal output. Get a usable one above. Anyway, as an absolute minimum:
Code:
> adb shell
$ su
# mount -o remount,rw /system
# rm -f /system/etc/init.d/00clock~
# rm -f /system/etc/init.d/01zipalign
# rm -f /system/etc/init.d/03ramscript
# rm -f /system/etc/init.d/04sdcard
# mv /system/etc/init.d/*apps2sd /system/etc/init.d/04apps2sd
# a2sd reinstall
Personally would do this as well:
Code:
# rm -f /system/etc/init.d/02loopysmoothnesstweak
# rm -f /system/etc/init.d/05powerfix
# rm -f /system/etc/init.d/03ramscript
and would forget about installing crazy tweaks from god knows where.
Comments:
- 00clock~ is some ****ty duplicate
- 01zipalign - eh, that is what a2sd does without any initscript?!
- 02loopysmoothnesstweak - crazy junk tweaks
- 03ramscript - looks like more crazy junk tweaks?!
- 05powerfix - even more crazy junk tweaks?!?!
- apps2sd - apparently misnamed
Get back once done.
3/ If the above does not fix it
Code:
# rm -f /system/etc/init.d/*apps2sd*
and reflash stable (NOT beta) DT app2sd and enable what you need after booting.
4/ If it still does not work, output of:
Code:
# busybox fdisk -l /dev/block/mmcblk0
# cat /proc/filesystems
# uname -a
Sorry but i dont have the smallest idea on how to connect with tera :/
And the thing is these logs were made after a fresh install of open optimus
Sent from my LG Optimus One P500 using XDA App
You need Cygwin installed, use the cyglaunch icon then. Anyway, that was not the point. The above works even with the ****ty cmd.exe
biggiex2 said:
ok as dr.notor said i will open a post here with my problems
i flashed ciaox' open optimus latest version and tried numerous times to get a2sd to work, everything i try it keeps telling me the damn same thing: EXT partition not mounted. i've tried different kernels, reflashing openoptimus, partitioning through my windows pc and cwm.
here is adb shell output and logcat(i don't know exactly what part of logcat must be extracted so i will upload it all)
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\CORINA\My Documents\Downloads\android-sdk-windows\tool
s>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
sh-3.2$ su
su
sh-3.2# busybox ls -la /system/etc/init.d
busybox ls -la /system/etc/init.d
drwxrwxrwx 1 0 0 2048 Aug 16 17:52 ←[1;34m.←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:38 ←[1;34m..←[0m
-rwxrwxrwx 1 0 0 630 Aug 1 2008 ←[1;32m00banner←[0m
-rwxrwxrwx 1 0 0 642 Aug 1 2008 ←[1;32m00clock←[0m
-rwxrwxrwx 1 0 0 707 Aug 1 2008 ←[1;32m00clock~←[0m
-rwxrwxrwx 1 0 0 27 Aug 1 2008 ←[1;32m01sysctl←[0m
-rwxrwxrwx 1 0 0 1078 Aug 1 2008 ←[1;32m01zipalign←[0m
-rwxrwxrwx 1 0 0 266 Aug 1 2008 ←[1;32m02firstboot←[0m
-rwxrwxrwx 1 0 0 8177 Aug 1 2008 ←[1;32m02loopysmoothnes
stweak←[0m
-rwxrwxrwx 1 0 0 782 Aug 1 2008 ←[1;32m03ramscript←[0m
-rwxrwxrwx 1 0 0 199 Aug 1 2008 ←[1;32m04sdcard←[0m
-rwxrwxrwx 1 0 0 250 Aug 1 2008 ←[1;32m05powerfix←[0m
-rwxrwxrwx 1 0 0 1499 Aug 1 2008 ←[1;32m1apps2sd←[0m
-rwxrwxrwx 1 0 0 86 Aug 1 2008 ←[1;32m99complete←[0m
sh-3.2# busybox ls -la /cache
busybox ls -la /cache
drwxrwx--x 1 1000 2001 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
lrwxrwxrwx 1 0 0 18 Aug 17 10:54 ←[1;36mdalvik-cache←[0m
-> ←[1;34m/data/dalvik-cache←[0m
drwxrwxrwx 1 0 0 2048 Aug 17 10:54 ←[1;34mdc←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--- 1 1000 2001 2048 Aug 16 22:08 ←[1;34mrecovery←[0m
sh-3.2# busybox ls -la /data
busybox ls -la /data
drwxrwx--x 1 1000 1000 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
-rw-rw-rw- 1 0 0 2 Aug 16 17:52 ←[0;0m.noa2sd←[0m
drwxrwxrwx 1 0 0 2048 Aug 16 17:41 ←[1;34mamit←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34manr←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mapp←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mapp-private←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:43 ←[1;34mbackup←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdalvik-cache←[0m
-rwxrwxrwx 1 0 0 202 Aug 16 22:12 ←[1;32mdalvikheap←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdata←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mdbcheck←[0m
drwxr-x--- 1 1000 1007 2048 Aug 16 18:36 ←[1;34mdontpanic←[0m
-rw-rw-rw- 1 0 0 4110 Aug 17 10:54 ←[0;0mdta2sd.lg1←[0m
-rw-rw-rw- 1 0 0 4090 Aug 17 10:54 ←[0;0mdta2sd.lg2←[0m
-rw-rw-rw- 1 0 0 3928 Aug 17 10:54 ←[0;0mdta2sd.log←[0m
-rw-rw-rw- 1 0 0 296 Aug 16 17:52 ←[0;0mdtinstall.log←[0m
prw-rw-rw- 1 1000 1000 2048 Aug 16 17:41 ←[0;35mdun←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:52 ←[1;34mjit←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 21:49 ←[1;34mlgdrm←[0m
drwxrwx--x 1 2000 2000 2048 Aug 16 17:41 ←[1;34mlocal←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mlogger←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--t 1 1000 9998 2048 Aug 16 17:41 ←[1;34mmisc←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mnv←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mnx←[0m
drwx------ 1 0 0 2048 Aug 17 10:54 ←[1;34mproperty←[0m
drwxrwx--- 1 1001 1001 2048 Aug 16 22:12 ←[1;34mradio←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mscnt←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:42 ←[1;34msecure←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 17 10:56 ←[1;34msystem←[0m
drwxr-xr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34mtombstones←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34muma←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 17:41 ←[1;34mwmdrm←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:43 ←[1;34mxt9←[0m
-rw-r--r-- 1 0 0 142 Aug 16 22:12 ←[0;0mzipalign.log←[0m
sh-3.2# a2sd check
a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
[Γ£û] Ext partition found, but not mounted.
Your rom may not be setup to run Apps2SD.
Check with your rom developer if the boot image
is programmed to run Apps2SD.
Your partition may be using an EXT4 partition,
but your rom may not support EXT4. Repartition
your SD card to use EXT2 or EXT3.
sh-3.2# mount
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock1 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock9 on /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock3 on /lgdrm type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,r
elatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,
iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noe
xec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=c
p437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
sh-3.2#
Click to expand...
Click to collapse
whu dont u use s2e which is a great alternative to a2sd and works like a charm.
search market
doctor you are amazing... i did step 1 and 2 with that crappy cmd and...
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:\Downloads\Phone stuff\droid\android-sdk-windows\tools>adb shell
sh-3.2$ su
su
sh-3.2# a2sd check
a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Creating /cache/dc
[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
Darktremor 2.7.5.2-1 Apps2SD Status Report
================================================================================
===
Legend: [Γ£ö]=Setting is correct
[‼]=Setting is correct, but not optimal.
[Γ£û]=Setting is incorrect and needs to be fixed or option is not availa
ble.
================================================================================
===
Block Device - [Γ£ö] Found
- [Γ£ö] /dev/block/mmcblk0p2
EXT Partition - [Γ£ö] Mounted
Mount Point - [ ] /system/sd
Partition Type - [Γ£ö] EXT4
- [‼] May be incompatible w/ ROMS
Support EXT2? - [Γ£ö] Yes
Support EXT3? - [Γ£ö] Yes
Support EXT4? - [Γ£ö] Yes
Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[Γ£ö] Programs run from SD card
To run from internal storage, type a2sd remove
Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[Γ£ö] Private Programs run from SD card
To run from internal storage, type a2sd remove
Dalvik Cache - [ ] Symbolically Linked.
[ ] Dalvik to SD flag file found.
[Γ£ö] Dalvik runs from SD card
To run from internal storage, type a2sd nocache
To run from /cache partition, type a2sd cachepart
Swap - [ ] Partition not present or no swap support.
[Γ£ö] Swap does not start.
ZipAlign - [Γ£ö] Not running at boot.
To activate it, type a2sd zipalign
Dalvik Heap(MB) - [Γ£ö] 32m
Low Memory
Killer Settings - [Γ£ö] 2048,3072,4096,6144,7168,8192
Note: Values are in pages.
1 page = 4KB memory.
Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App
[Γüç] For a list of commands that you can use with Apps2SD
Type: a2sd help
sh-3.2#
i want to know...shoud i activate zip align? and can you please explain to me how come those tweaks prevented my ext partition to be mounted. i just don't understand. or was it because of the missnaming of app2sd?
anyway i'm glad it's working! this really made my day
shhbz said:
whu dont u use s2e which is a great alternative to a2sd and works like a charm.
search market
Click to expand...
Click to collapse
S2E is for CyanogenMod ROMs only!!!
biggiex2 said:
doctor you are amazing... i did step 1 and 2 with that crappy cmd and...
i want to know...shoud i activate zip align? and can you please explain to me how come those tweaks prevented my ext partition to be mounted. i just don't understand. or was it because of the missnaming of app2sd?
anyway i'm glad it's working! this really made my day
Click to expand...
Click to collapse
Wrt zipalign - makes boot a bit longer, should not harm anything though.
Otherwise - do not have time to download OpenOptimus ROM right now to check. Will look later whether your /system partition did not get formatted properly on flashing or whether the stuff is really misnamed and borked there.
I don't have yhis problem
If you do not have problems, then move on... As said above, most likely /system not formatted properly on flashing, leaving stale junk behind.
interesting....thanks for the help though
i have the same problem it always says sdcard not mounted, i also tried flashing again dta2sd but the same result.
Code:
C:\android-sdk\platform-tools>adb shell
sh-3.2$ su
su
sh-3.2# mount -o remount,rw /system
mount -o remount,rw /system
sh-3.2# rm -f /system/etc/init.d/04sdcard
rm -f /system/etc/init.d/04sdcard
sh-3.2# mv /system/etc/init.d/*apps2sd /system/etc/init.d/04apps2sd
mv /system/etc/init.d/*apps2sd /system/etc/init.d/04apps2sd
sh-3.2# a2sd reinstall
a2sd reinstall
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Darktremor Apps2SD Version 2.7.5.2-1
[ ] Launching Apps2SD Start Program with reinstall
[ ] Starting Darktremor Apps2SD in reinstall mode
[X] SD Card not mounted.
Cannot reinstall applications to SD card.
I had the same problem, I reinstalled the a2sd script and worked.

Error while compiling JB for msm7627a

I am getting this error ..
Code:
:/home/arun/qrd/development/scripts'
in mkuserimg.sh PATH=/usr/lib/jvm/java-6-sun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/arun/qrd/out/host/linux-x86/bin:/home/arun/qrd/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin:/home/arun/qrd/prebuilts/gcc/linux-x86/x86/i686-android-linux-4.4.3/bin:/home/arun/qrd/development/emulator/qtools:/home/arun/qrd/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin:/home/arun/qrd/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:/home/arun/qrd/development/scripts
+ ENABLE_SPARSE_IMAGE=
+ '[' -s = -s ']'
+ ENABLE_SPARSE_IMAGE=-s
+ shift
+ '[' 5 -ne 4 -a 5 -ne 5 -a 5 -ne 6 ']'
+ SRC_DIR=out/target/product/msm8625/persist
+ '[' '!' -d out/target/product/msm8625/persist ']'
+ OUTPUT_FILE=out/target/product/msm8625/persist.img
+ EXT_VARIANT=ext4
+ MOUNT_POINT=persist
+ SIZE=10485760
+ FC=
+ case $EXT_VARIANT in
+ '[' -z persist ']'
+ '[' -z 10485760 ']'
+ '[' -n '' ']'
+ MAKE_EXT4FS_CMD='make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist'
+ echo make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist
make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist
+ make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist
[COLOR="Red"]can't set android permissions - built without android support[/COLOR]
make_ext4fs [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]
[ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]
[ -L <label> ] [ -f ] [ -a <android mountpoint> ]
[ -S file_contexts ]
[ -z | -s ] [ -t ] [ -w ] [ -c ] [ -J ]
<filename> [<directory>]
+ '[' 1 -ne 0 ']'
+ exit 4
make: *** [out/target/product/msm8625/persist.img] Error 4
Any solution or help ???
arunmcops said:
I am getting this error ..
Code:
:/home/arun/qrd/development/scripts'
in mkuserimg.sh PATH=/usr/lib/jvm/java-6-sun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/arun/qrd/out/host/linux-x86/bin:/home/arun/qrd/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin:/home/arun/qrd/prebuilts/gcc/linux-x86/x86/i686-android-linux-4.4.3/bin:/home/arun/qrd/development/emulator/qtools:/home/arun/qrd/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin:/home/arun/qrd/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:/home/arun/qrd/development/scripts
+ ENABLE_SPARSE_IMAGE=
+ '[' -s = -s ']'
+ ENABLE_SPARSE_IMAGE=-s
+ shift
+ '[' 5 -ne 4 -a 5 -ne 5 -a 5 -ne 6 ']'
+ SRC_DIR=out/target/product/msm8625/persist
+ '[' '!' -d out/target/product/msm8625/persist ']'
+ OUTPUT_FILE=out/target/product/msm8625/persist.img
+ EXT_VARIANT=ext4
+ MOUNT_POINT=persist
+ SIZE=10485760
+ FC=
+ case $EXT_VARIANT in
+ '[' -z persist ']'
+ '[' -z 10485760 ']'
+ '[' -n '' ']'
+ MAKE_EXT4FS_CMD='make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist'
+ echo make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist
make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist
+ make_ext4fs -s -l 10485760 -a persist out/target/product/msm8625/persist.img out/target/product/msm8625/persist
[COLOR="Red"]can't set android permissions - built without android support[/COLOR]
make_ext4fs [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]
[ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]
[ -L <label> ] [ -f ] [ -a <android mountpoint> ]
[ -S file_contexts ]
[ -z | -s ] [ -t ] [ -w ] [ -c ] [ -J ]
<filename> [<directory>]
+ '[' 1 -ne 0 ']'
+ exit 4
make: *** [out/target/product/msm8625/persist.img] Error 4
Any solution or help ???
Click to expand...
Click to collapse
Give more information about the compilation and the place from where you downloaded the sources(I assume Code Aurora)
Are you sure it's MSM7627A?
Because I see a lot of MSM8625 IN your log
Sent from my GT-I9082 using Tapatalk 2

[Q] Android 4.2 building error

Code:
+ ENABLE_SPARSE_IMAGE=
+ '[' -s = -s ']'
+ ENABLE_SPARSE_IMAGE=-s
+ shift
+ '[' 5 -ne 4 -a 5 -ne 5 -a 5 -ne 6 ']'
+ SRC_DIR=/home/coderz/liquid/out/target/product/glacier/data
+ '[' '!' -d /home/coderz/liquid/out/target/product/glacier/data ']'
+ OUTPUT_FILE=/home/coderz/liquid/out/target/product/glacier/userdata.img
+ EXT_VARIANT=ext4
+ MOUNT_POINT=data
+ SIZE=1232072704
+ FC=
+ case $EXT_VARIANT in
+ '[' -z data ']'
+ '[' -z 1232072704 ']'
+ '[' -n '' ']'
+ MAKE_EXT4FS_CMD='make_ext4fs -s -l 1232072704 -a data /home/coderz/liquid/out/target/product/glacier/userdata.img /home/coderz/liquid/out/target/product/glacier/data'
+ echo make_ext4fs -s -l 1232072704 -a data /home/coderz/liquid/out/target/product/glacier/userdata.img /home/coderz/liquid/out/target/product/glacier/data
make_ext4fs -s -l 1232072704 -a data /home/coderz/liquid/out/target/product/glacier/userdata.img /home/coderz/liquid/out/target/product/glacier/data
+ make_ext4fs -s -l 1232072704 -a data /home/coderz/liquid/out/target/product/glacier/userdata.img /home/coderz/liquid/out/target/product/glacier/data
Creating filesystem with parameters:
Size: 1232072704
Block size: 4096
Blocks per group: 32768
Inodes per group: 7520
Inode size: 256
Journal blocks: 4699
Label:
Blocks: 300799
Block groups: 10
Reserved block group size: 79
Created filesystem with 10/75200 inodes and 9907/300799 blocks
+ '[' 0 -ne 0 ']'
Running: simg2img /home/coderz/liquid/out/target/product/glacier/userdata.img /home/coderz/liquid/out/target/product/glacier/unsparse_userdata.img
Running: e2fsck -f -n /home/coderz/liquid/out/target/product/glacier/unsparse_userdata.img
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found. Create? no
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/home/coderz/liquid/out/target/product/glacier/unsparse_userdata.img: ********** WARNING: Filesystem still has errors **********
/home/coderz/liquid/out/target/product/glacier/unsparse_userdata.img: 10/75200 files (0.0% non-contiguous), 9907/300799 blocks
error: failed to build /home/coderz/liquid/out/target/product/glacier/userdata.img from /home/coderz/liquid/out/target/product/glacier/data
make: *** [/home/coderz/liquid/out/target/product/glacier/userdata.img] Error 1
make: *** Deleting file `/home/coderz/liquid/out/target/product/glacier/userdata.img'
make: *** Waiting for unfinished jobs....
ProGuard, version 4.4
Reading program jar [/home/coderz/liquid/out/target/common/obj/APPS/ApplicationsProvider_intermediates/classes.jar]
Reading library jar [/home/coderz/liquid/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
CHK include/linux/version.h
make[1]: Leaving directory `/home/coderz/liquid/kernel/htc/glacier'
Reading library jar [/home/coderz/liquid/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/coderz/liquid/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
Reading library jar [/home/coderz/liquid/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Reading library jar [/home/coderz/liquid/out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes.jar]
Preparing output jar [/home/coderz/liquid/out/target/common/obj/APPS/ApplicationsProvider_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/coderz/liquid/out/target/common/obj/APPS/ApplicationsProvider_intermediates/classes.jar]
i have 157 gig free on hard drive
in /build/tools/releasetools/build_image.py
build_command = []
fs_type = prop_dict.get("fs_type", "")
run_fsck = False
if fs_type.startswith("ext"):
build_command = ["mkuserimg.sh"]
if "extfs_sparse_flag" in prop_dict:
build_command.append(prop_dict["extfs_sparse_flag"])
run_fsck = True
set
Code:
run_Fsck = False
Nothing will 100% bugs free
I'm android lover, and I do use my cell phone a lot. I have JB updated but still some minor bugs are there, but then I realized that nothing will be 100% bugs free in future also.

problem building aosp from source

hi friends i have this next problem...i compile aosp from source but the compilation stops and no created the zip...create the appp...kernel...I leave here the lines
Install: out/target/product/mako/system/app/Gallery2.apk
Install: out/target/product/mako/system/app/Settings.apk
build/tools/generate-notice-files.py out/target/product/mako/obj/NOTICE.txt out/target/product/mako/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" out/target/product/mako/obj/NOTICE_FILES/src
Combining NOTICE files into HTML
Combining NOTICE files into text
Installed file list: out/target/product/mako/installed-files.txt
Target system fs image: out/target/product/mako/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkuserimg.sh -s out/target/product/mako/system out/target/product/mako/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 880803840 out/target/product/mako/root/file_contexts
+ echo 'in mkuserimg.sh PATH=out/host/linux-x86/bin/:/usr/lib/jvm/java-6-oracle/bin:/home/david/aosp/out/host/linux-x86/bin:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin:/home/david/aosp/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.7/bin:/home/david/aosp/development/emulator/qtools:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin:/home/david/aosp/development/scripts:/home/david/aosp/prebuilts/devtools/tools:/home/david/bin:/home/david/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-6-oracle/bin:/usr/lib/jvm/java-6-oracle/db/bin:/usr/lib/jvm/java-6-oracle/jre/bin:/home/david/android/sdk:/home/david/android/sdk/platform-tools:/home/david/android/sdk/tools:/home/david/bin'
in mkuserimg.sh PATH=out/host/linux-x86/bin/:/usr/lib/jvm/java-6-oracle/bin:/home/david/aosp/out/host/linux-x86/bin:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin:/home/david/aosp/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.7/bin:/home/david/aosp/development/emulator/qtools:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin:/home/david/aosp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin:/home/david/aosp/development/scripts:/home/david/aosp/prebuilts/devtools/tools:/home/david/bin:/home/david/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-6-oracle/bin:/usr/lib/jvm/java-6-oracle/db/bin:/usr/lib/jvm/java-6-oracle/jre/bin:/home/david/android/sdk:/home/david/android/sdk/platform-tools:/home/david/android/sdk/tools:/home/david/bin
+ ENABLE_SPARSE_IMAGE=
+ '[' -s = -s ']'
+ ENABLE_SPARSE_IMAGE=-s
+ shift
+ '[' 6 -ne 5 -a 6 -ne 6 ']'
+ SRC_DIR=out/target/product/mako/system
+ '[' '!' -d out/target/product/mako/system ']'
+ OUTPUT_FILE=out/target/product/mako/obj/PACKAGING/systemimage_intermediates/system.img
+ EXT_VARIANT=ext4
+ MOUNT_POINT=system
+ SIZE=880803840
+ FC=out/target/product/mako/root/file_contexts
+ case $EXT_VARIANT in
+ '[' -z system ']'
+ '[' -z 880803840 ']'
+ '[' -n out/target/product/mako/root/file_contexts ']'
+ FCOPT='-S out/target/product/mako/root/file_contexts'
+ MAKE_EXT4FS_CMD='make_ext4fs -s -S out/target/product/mako/root/file_contexts -l 880803840 -a system out/target/product/mako/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/mako/system'
+ echo make_ext4fs -s -S out/target/product/mako/root/file_contexts -l 880803840 -a system out/target/product/mako/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/mako/system
make_ext4fs -s -S out/target/product/mako/root/file_contexts -l 880803840 -a system out/target/product/mako/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/mako/system
+ make_ext4fs -s -S out/target/product/mako/root/file_contexts -l 880803840 -a system out/target/product/mako/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/mako/system
Creating filesystem with parameters:
Size: 880803840
Block size: 4096
Blocks per group: 32768
Inodes per group: 7680
Inode size: 256
Journal blocks: 3360
Label:
Blocks: 215040
Block groups: 7
Reserved block group size: 55
Created filesystem with 1113/53760 inodes and 55146/215040 blocks
+ '[' 0 -ne 0 ']'
Install system fs image: out/target/product/mako/system.img
out/target/product/mako/system.img+out/target/product/mako/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=899137536 blocksize=135168 total=213824688 reserve=9191424
[email protected]:~/aosp$
if you try to continue the compilation get this
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE mako
make:Nothing to be done for «droid».

[Error] Installing Ubuntu in Android (urgent help needed)

Can anyone help me solve this issue?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the boot script i am using
PHP:
###########################################
# Linux boot script V9 for Android #
# Built by Zachary Powell (zacthespack) #
# and Martin Møller (Tuxling) #
# Thanks to: #
# Johan Vromans #
# Marshall Levin #
# and to everyone at XDA! #
# Updated to work on Lenovo Tablets and #
# with ext4 .img files by Robherc #
# Feel free to edit/use this script as you#
# like but credit Linuxonandroid.org #
###########################################
# $ver: V9 #
###########################################
###########################################
# This is a function we use to stop the #
# script in case of errors #
###########################################
error_exit() {
echo "Error: $1"
exit 1
}
###########################################
# Set up variables #
###########################################
if [ -f /data/data/com.zpwebsites.linuxonandroid/files/busybox ]; then
export bbox=/data/data/com.zpwebsites.linuxonandroid/files/busybox
elif [ -f /data/data/com.zpwebsites.linuxonandroid.opensource/files/busybox ]; then
export bbox=/data/data/com.zpwebsites.linuxonandroid.opensource/files/busybox
else
export bbox=/system/xbin/busybox
fi
export usermounts=android # Base folder all user mounts are done in, should be moved to app later
export imgfile=$(dirname $0)/ubuntu.img # Default image file, another can be set by using an argument
export bin=/system/bin
export mnt=/data/local/mnt
export USER=root
if [[ ! -d $mnt ]]; then mkdir $mnt; fi
export PATH=$bin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH
export TERM=linux
export HOME=/root
export SdMounted=no
###########################################
# Handle arguments if present #
###########################################
if [ $# -ne 0 ]; then
if [ -f $1 ]; then # Is full path present?
imgfile=$1
elif [ -f $(dirname $0)/$1 ]; then # Is only a filename present?
imgfile=$(dirname $0)/$1
else
error_exit "Image file not found!($1)"
fi
fi
###########################################
# If a md5 file is found we check it here #
###########################################
if [ -f $imgfile.md5 ]; then
echo "MD5 file found, use to check .img file? (y/n)"
read answer
if [ $answer == y ]; then
echo -n "Validating image checksum... "
$bbox md5sum -c -s $imgfile.md5
if [ $? -ne 0 ];then
echo "FAILED!"
error_exit "Checksum failed! The image is corrupted!"
else
echo "OK"
rm $imgfile.md5
fi
fi
fi
################################
# Find and read config file #
# or use defaults if not found #
################################
use_swap=no
cfgfile=$imgfile.config # Default config file if not specified
if [ -f $imgfile.config ]; then
source $imgfile.config
fi
###########################################
# Set Swap up if wanted #
# #
###########################################
if [ $use_swap == yes ]; then
if [ -f $imgfile.swap ]; then
echo "Swap file found, using file"
echo "Turning on swap (if it errors here you do not have swap support)"
swapon $imgfile.swap
else
echo "Creating Swap file"
dd if=/dev/zero of=$imgfile.swap bs=1048576 count=1024
mkswap $imgfile.swap
echo "Turning on swap (if it errors here you do not have swap support)"
swapon $imgfile.swap
fi
fi
###########################################
# Set up loop device and mount image #
###########################################
echo -n "Checking loop device... "
if [ -b /dev/block/loop255 ]; then
echo "FOUND"
else
echo "MISSING"
# Loop device not found so we create it and verify it was actually created
echo -n "Creating loop device... "
$bbox mknod /dev/block/loop255 b 7 255
if [ -b /dev/block/loop255 ]; then
echo "OK"
else
echo "FAILED"
error_exit "Unable to create loop device!"
fi
fi
$bbox losetup /dev/block/loop255 $imgfile
if [ $? -ne 0 ];then error_exit "Unable to attach image to loop device! (Image = $imgfile)"; fi
$bbox mount -t auto /dev/block/loop255 $mnt
if [ $? -ne 0 ];then error_exit "Unable to mount the loop device!"; fi
###########################################
# Mount all required partitions #
###########################################
$bbox mount -o bind /dev $mnt/dev
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/dev!"; fi
$bbox mount -t devpts devpts $mnt/dev/pts
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/dev/pts!"; fi
$bbox mount -t proc proc $mnt/proc
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/proc!"; fi
$bbox mount -t sysfs sysfs $mnt/sys
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/sys!"; fi
$bbox mount -o bind /sdcard $mnt/sdcard
if [ $? -ne 0 ];then error_exit "Unable to bind $mnt/sdcard!"; fi
if [[ ! -d $mnt/root/cfg ]]; then mkdir $mnt/root/cfg; fi
$bbox mount -o bind $(dirname $imgfile) $mnt/root/cfg
###########################################
# Checks if you have a external sdcard #
# and mounts it if you do #
###########################################
if [ -d /sdcard/external_sd ]; then
$bbox mount -o bind /sdcard/external_sd $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
elif [ -d /Removable/MicroSD ]; then
$bbox mount -o bind /Removable/MicroSD $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
elif [ -d /storage/sdcard1 ]; then
$bbox mount -o bind /storage/sdcard1 $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
elif [ -d /storage/extSdCard ]; then
$bbox mount -o bind /storage/extSdCard $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
# This last elif statemet will mount internal memory to /external_sd
# within the chroot environment on some devices.
# You may wish to comment it out if this behavior affects you
elif [ -d /storage ]; then
$bbox mount -o bind /storage $mnt/external_sd
if [ $? == 0 ];then SdMounted="Yes"; fi
# This is the end of the statement to comment out
fi
###########################################
# Mount all user defined mounts if any #
###########################################
if [ -f $imgfile.mounts ]; then
olddir=$(pwd)
echo "Mounting user mounts"
cd $mnt
if [[ ! -d $mnt/$usermounts ]]; then $bbox mkdir -p $usermounts; fi
echo "# Script to unmount user defined mounts, do not delete or edit!" > $imgfile.shutdown
echo "cd $mnt/$usermounts" > $imgfile.shutdown
cd $mnt/$usermounts
for entry in $(cat "$imgfile.mounts"); do
ANDROID=${entry%;*}
LINUX=${entry#*;}
if [[ -d $ANDROID ]]; then
echo -n "Mounting $ANDROID to $usermounts/$LINUX... "
if [[ ! -d $mnt/$usermounts/$LINUX ]]; then $bbox mkdir -p $LINUX; fi
$bbox mount -o bind $ANDROID $mnt/$usermounts/$LINUX &> /dev/null
if [ $? -ne 0 ];then
echo FAIL
if [[ -d $mnt/$usermounts/$LINUX ]]; then $bbox rmdir -p $LINUX; fi
else
echo OK
echo "$bbox umount $mnt/$usermounts/$LINUX" >> $imgfile.shutdown
echo "$bbox rmdir -p $LINUX" >> $imgfile.shutdown
fi
else
echo "Android folder not found: $ANDROID"
fi
done
echo "cd $mnt" >> $imgfile.shutdown
echo "$bbox rmdir -p $usermounts" >> $imgfile.shutdown
cd $olddir
else
echo "No user defined mount points"
fi
###########################################
# Sets up network forwarding #
###########################################
$bbox sysctl -w net.ipv4.ip_forward=1
if [ $? -ne 0 ];then error_exit "Unable to forward network!"; fi
# If NOT $mnt/root/DONOTDELETE.txt exists we setup hosts and resolv.conf now
if [ ! -f $mnt/root/DONOTDELETE.txt ]; then
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
if [ $? -ne 0 ];then error_exit "Unable to write resolv.conf file!"; fi
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "127.0.0.1 localhost" > $mnt/etc/hosts
if [ $? -ne 0 ];then error_exit "Unable to write hosts file!"; fi
fi
###########################################
# Chroot into ubuntu #
###########################################
$bbox chroot $mnt /root/init.sh $(basename $imgfile)
###########################################
# Shut down ubuntu #
###########################################
echo "Shutting down Linux ARM"
#for pid in `lsof | grep $mnt | sed -e's/ / /g' | cut -d' ' -f2`; do kill -9 $pid >/dev/null 2>&1; done
for pid in `$bbox lsof | $bbox grep $mnt | $bbox sed -e's/ / /g' | $bbox cut -d' ' -f2`; do $bbox kill -9 $pid >/dev/null 2>&1; done
sleep 5
###########################################
# Unmount all user defined mounts if any #
###########################################
if [ -f $imgfile.shutdown ]; then
echo "Unmounting user defined mounts"
sh $imgfile.shutdown
rm $imgfile.shutdown
fi
$bbox umount $mnt/root/cfg
$bbox umount $mnt/sdcard
if [ $SdMounted == "Yes" ];then $bbox umount $mnt/external_sd; fi
$bbox umount $mnt/dev/pts
$bbox umount $mnt/dev
$bbox umount $mnt/proc
$bbox umount $mnt/sys
$bbox umount $mnt
$bbox losetup -d /dev/block/loop255 &> /dev/null

Categories

Resources