yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] nomancoolboy:
Actually ,

This is cm10.1.3 with build prop edit !

Funny ,

I am trying to fool myself ..

That i am using android 4.3 ..

..because there will be no actuall difference between 4.2 and 4.3 for our device ..(except one or two little things )
[Optimus One, P500 Original Android Development] Rashed97:
CM 10.2 First Build

It's for P500 so I didn't test. Thanks to [MENTION=5005143]hephappy[/MENTION] /AndroidMeda for getting it to work!

http://jenkins.androidarmv6.org/job...rchive/cm-10.2-20130803-EXPERIMENTAL-p500.zip

Have fun :D
[Optimus One, P500 Original Android Development] marcomarinho:
I will test it. Back in a few minutes to give my feedback :cool:
[Optimus One, P500 Original Android Development] borchaniz:
Downloading...
[Optimus One, P500 Original Android Development] marcomarinho:
And about the Gapps?
[Optimus One, P500 Original Android Development] Rashed97:
Check and see if Focal works.

IDK, haven't made those for 4.3 yet
[Optimus One, P500 Original Android Development] borchaniz:
stuck on cyanogenmod logo then reboots automatically into recovery (I'm using twrp)

I'll reflash (maybe something went wrong when flashing)
[Optimus One, P500 Original Android Development] marcomarinho:
The same happens with me :crying:
[Optimus One, P500 Original Android Development] borchaniz:
Same even after full wipe, mounting system and reflshing :(
[Optimus One, P500 Original Android Development] Rashed97:
OK, I got a P506 build, let me try it
[Optimus One, P500 Original Android Development] borchaniz:
What recovery did you use??
[Optimus One, P500 Original Android Development] marcomarinho:
TWRP
[Optimus One, P500 Original Android Development] borchaniz:
So maybe it's a twrp problem!

Let's wait for rashed's result I think he's using cwm as I think
[Optimus One, P500 Original Android Development] marcomarinho:
I'm trying with CWM.

The problem keeps :crying:
[Optimus One, P500 Original Android Development] Rashed97:
Yeah I use CWM. I'm backing up 4.2 right now.
[Optimus One, P500 Original Android Development] Rashed97:
Doesn't boot here either. Apparently it'snot even booting into Android since I can't get a logcat
[Optimus One, P500 Original Android Development] borchaniz:
I installed gallery from the rom(on cm10.1) and trying to edit a photo gallery fc's
[Optimus One, P500 Original Android Development] marcomarinho:
you need some extract some lib files from cm10.2
[Optimus One, P500 Original Android Development] borchaniz:
Yup I think so
[Optimus One, P500 Original Android Development] gymfreak7855:
*Sniff sniff* I missed you good friend :') it's good to see you back on p500 development :')
[Optimus One, P500 Original Android Development] Rashed97:
Found the problem with booting. We never updating our file system mapping to 4.3 style. Hopefully, I'll have it done tonight.
[Optimus One, P500 Original Android Development] Dovidhalevi:
Of three builds in quick sucsession, the last onen (for P500) successfully trimmed. From 116 to 101 meg. Previous ROMs reduced to 91 meg so may end up kind of short on system space. Expendible stuff is small, such as the dream stuff. maybe a few fonts I would love to see the CMFileManager tagged so that I can install that as a user app--no reason why it shouldn't be!

Anyway, is this last one bootable?
[Optimus One, P500 Original Android Development] Rashed97:
Nope :P

And my tests with the file system failed, although it did boot to fastboot. I think I have to enable SELinux to get it to work.
[Optimus One, P500 Original Android Development] Dovidhalevi:
There is an init.d script that test for selinux and then does some "restorecon" to /data, /cache and /system. I guess this script or exec must be built with an selinux enabled system. Does not look like any change to the file system itself.
[Optimus One, P500 Original Android Development] Dovidhalevi:
Being a glutton for punishment, I tried flashing the trimmed ROM. Yes, it put me back in recovery and my just made backup was at my service.

However, installing the trimmed ROM and my highly trimmed version of the January gapps which does seem to install OK.

Then

adb shell

mount /system

df

I had all of 40 bytes left on it. This would definitely be a nogo if it got to boot correctly.

So the ROM, gapps must be cut further and I already chop down to less than minimum, no browser, calendar (user app from Play!), keyboard, email, exchange, quicksearchbox, and with gallery, apollo, calculator as user-apps. The only gapps are Play (these ROMs need both the system copy and the user update of play/vend- and gms1 apks--fix this, ie. cm9 did not need this, and the space problem is largely solved!), its providers, etc. No talk, talkback, etc. The libvoicesearch.so is on those gapps (but missing on the "stable" ROMs with gapps) but the rest of the voice stuff is all user apps.

/media items can be anywhere on the file-systems and Android will pick them up. What about /fonts--can I have a couple on the ROM and have all the others I want on the sdcard? i.e., how do I install added fonts? Would also get me a few meg and a few meg is all that is needed on /system. I ran ICS for months with all of 3 meg until the whole space discussion started!

The lack of system space was not what stops the boot however. I tried again without adding the gapps.
[Optimus One, P500 Original Android Development] Rashed97:
Anyone wanna volunteer to test out my new partitions? I'm gonna increase /system, /cache, and /recovery for use with 4.3. Of course /data will shrink, but I'll try to pre-install a symlink to an SD partition.
[Optimus One, P500 Original Android Development] marcomarinho:
I can test :highfive:
[Optimus One, P500 Original Android Development] Rashed97:
It might completely brick your device forever though :P

And it's giving me trouble, can't find where the system partition is defined.
[Optimus One, P500 Original Android Development] marcomarinho:
Hum... Forever? :silly:

I think that it's impossible to brick my device forever. There is always an solution (I think):rolleyes:
[Optimus One, P500 Original Android Development] borchaniz:
What sizes will you use??
[Optimus One, P500 Original Android Development] Rashed97:
System 220 or 230

Cache: 128 (might not change cache, might leave it at 64)

Recovery: increase it a MB or 2
[Optimus One, P500 Original Android Development] borchaniz:
I don't believe that 20 mb in /system will solve the problem. And I've got some ideas(I do not know if they are possible): why don't we add /cache to /system or devide it between /system and /data either by repartiotioning or a script(like ext scripts) or justsymlink some things to /sdext and to /cache(safer)

And about adding some space to recovery I believe that this is useless and more dangerous(I mean maybe we will be able to unbrick our device through recovery)

And to avoid bricking our devices I think you should create an unbricking method first of all.

And how will you do the repartitionig??? By a flashable zip or what???
[Optimus One, P500 Original Android Development] marcomarinho:
The LG Optimus GT540 had a strange system partitions. Check out this ROM: http://xdaforums.com/showthread.php?t=1855050
[Optimus One, P500 Original Android Development] borchaniz:
Will we still be able to install old roms after repartioning???
[Optimus One, P500 Original Android Development] Rashed97:
Not so sure I want to repartition anymore, it's a pain in the ass.

I have to do something to recovery because 4.3 is gonna need a new recovery, you can't use the old CWM with 4.3 sadly
[Optimus One, P500 Original Android Development] borchaniz:
I used twrp 2.6.0.0 isn't it enough???
[Optimus One, P500 Original Android Development] Rashed97:
I'm hoping that the old recoveries should still work, I'm rebuilding right now, with some more mounting fixes.
[Optimus One, P500 Original Android Development] borchaniz:
Plz let me know about the result(I have a p500 not p506 so I won't be able to test it)
[Optimus One, P500 Original Android Development] borchaniz:
Anything new to test on the submission test that I can test???
[Optimus One, P500 Original Android Development] Dovidhalevi:
Partitions? Yes, changing that will be a pain in the you know what and more.

Cache (now 64meg) is now viritually unused. To get dalvik-cache back on there insted of data will take more than 128 meg. Rob Peter to Pay Paul, once again? Any way to use both?

System? SInce most newer phones have plenty room, there is a tendency to put everything on system, flashed conveniently from ROM and gapps zips. In reality, nothing that is not needed to get Android up and running belongs on system. This includes file managers, calendar, browsers, emails, contacts, messagers, music players, even play store, even keyboard (except maybe for a simple barebones something to enter my google account info!). I have been symlinking /system/usr/srec forever.

We run out of system space because of being spoiled. Anyway, I keep plenty of system space by dissecting the ROMs, installing as user everything I can (using link2sd or other aid to preserve limited data space). No gapps, except for talk (and I question that!) really need be on system (I got rid of that because of its wakelocks!). Get CMFilemanager on user-space, get rid of need for duplicate Play, gms1 apks, enable messager, contacts as user apps (contacts worked but crashed dialer last time I tried that), figure out how to use fonts from sdcard, a few more small ideas, and 4.3 will fit with room to spare.
[Optimus One, P500 Original Android Development] marcomarinho:
Can you build for p500? I can test it :highfive:
[Optimus One, P500 Original Android Development] Dovidhalevi:
Tried the most recent 5550-1 Gerrit. Still back in recovery.

ALWAYS do a backup first. No harm done :)
[Optimus One, P500 Original Android Development] Rashed97:
IDK what the hell is wrong with it... Screw Androids new fstab system...
[Optimus One, P500 Original Android Development] Dovidhalevi:
Where is the fstab (usually should be on /etc on a normal distro)?

Should be able to edit this text file, test mount, reboot, and get stuff mounted as required. Swap, sd-ext or link2sd's /data/sdext2 could also be placed there, just like in Debian. Of course, this is all in normal gnu Linux.

Results are shown by cat /proc/mounts (etc/mtab is no longer used). In previous ROMs, there were a bunch lvm style mounts for all of /mnt/asec stuff (apps moved to sdcard), etc. I have two (count 'em) sdcard mounts, etc., as well as the normal procfs, sysfs, and several tempfs. Where is all this being called out in current ROMs and what is different in 4.3?
[Optimus One, P500 Original Android Development] Dovidhalevi:
Here is some material I just saw on one of the Android developer mailing lists.

http://source.android.com/devices/tech/storage/index.html

The thread was discussing mounting the sdcard as primary storage (the only fstab I have seen in android vold.fstab). But the bulletin discusses the differences in 4.3, <device>.fstab, so may (or may not) be helpful. As I said, I prefer the normal Linux way of doing things :)
[Optimus One, P500 Original Android Development] marcomarinho:
With me this doesn't work

http://jenkins.androidarmv6.org/job/android-experimental/56/
[Optimus One, P500 Original Android Development] Rashed97:
[MENTION=5005143]hephappy[/MENTION] cleaned some crap I had in the FSTAB file, IDK why the hell I was trying to mount the system as an ext4 partition when it should have been yaffs2. Oops... Running a re-build with his fixes and some SELinux crap now.
[Optimus One, P500 Original Android Development] thehacka1:
Aloha devs! Great work you are doing here. I probavly shouldn't post this but I seriously need help here. I am building cm-10.2 for my device the HTC Wildfire S. Our devices are quite similar I believe. Now I have synced latest sources and setup the build environment. I issue make -j4 bacon. It starts building the rom. After a while I get this error:

Import includes file: /home/thehacka1/building/cyanogenmod/cm-10.2/out/target/product/marvel/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes
make: *** No rule to make target `/home/thehacka1/building/cyanogenmod/cm-10.2/out/target/product/marvel/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/lib_driver_cmd_wext.a', needed by `/home/thehacka1/building/cyanogenmod/cm-10.2/out/target/product/marvel/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant'. Stop.
make: *** Waiting for unfinished jobs....

I have been Google searching and asking others for help for about a week now. Please help me solve this problem. Thank you.

P.S. I am building from androiarmv6 sources. Thanks in Advance. :)
[Optimus One, P500 Original Android Development] marcomarinho:
http://jenkins.androidarmv6.org/job/submission-test/255/ [MENTION=4662457]Rashed97[/MENTION] flashed the new version and the problem keeps. Reboot into recovery :crying:
[Optimus One, P500 Original Android Development] Rashed97:
Your WPA_supplicant setup is messed up. Make sure it's done in the right way.

Don't flash anything from submission test :P Those are crap.
[Optimus One, P500 Original Android Development] marcomarinho:
Eheheh :p

So if I try to flash any submission test won't work? If so I will wait for exprimental builds :highfive:

Regards.:cool:
[Optimus One, P500 Original Android Development] thehacka1:
So do I sync wpa from a different source?
[Optimus One, P500 Original Android Development] Rashed97:
No, check your BoardConfig and make sure that WPA is in there correctly
[Optimus One, P500 Original Android Development] thehacka1:
BoardConfig in external/WPA_supplicant_8? Or Board config in device folder?
[Optimus One, P500 Original Android Development] Rashed97:
In the device folder
[Optimus One, P500 Original Android Development] thehacka1:
I added:

### Wifi related defines
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WLAN_DEVICE := bcm4329
BOARD_WPA_SUPPLICANT_DRIVER := WEXT
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_wext
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/firmware/fw_bcm4329.bin nvram_path=/proc/calibration iface_name=wlan0"
WIFI_DRIVER_MODULE_NAME := "bcm4329"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcm4329.bin"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcm4329_apsta.bin"
#WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcm4329/parameters/firmware_path"
BOARD_WLAN_DEVICE_REV := bcm4329
WIFI_BAND := 802_11_ABG

But I still get the same error. I even tried adding it to the msm7x27-common BoardConfig but it still didn't work.
[Optimus One, P500 Original Android Development] Rashed97:
Delete your out/ folder and start over

And BTW, does anyone want a Focal APK compiled for the P50x? Here: http://www.mediafire.com/download/g1ka0r3dy3acbpb/Focal.apk

I've gotten it down to 10.6 MB, which isn't bad. Careful though, I haven't tested it yet.
[Optimus One, P500 Original Android Development] Dovidhalevi:
Great, downloading. Will play with it today!

EDIT: Works! and thanks. This is a very good camera app. I had one timeout and an FC but cannot reproduce.

Comment: The sidebar icons are all light gray, very hard to read. Was this the design intent or should there have been some colors or a least more grey-scale?

Comment: It is as if the screen is changed to landscape because now the status-bar is on the right side instead of on top (but there is space for it on top!). I have it "hidden" anyway so do not care. Just noting.

----------------------------

Also, what did you do to mod the version of Google Search for our P50x? Would love to mod an up-to-date version, or even better, do this at run time using Xposed!

Overlays handily covers Google's mic icon with a nearly invisible shortcut to voice-search-assistant which makes it work seemlessly. This, too, I would like to see replaced using XPosed.

---------- Post added at 10:51 AM ---------- Previous post was at 10:13 AM ----------

Shed some light on problems mounting system, selinux, permissions, pids blocked shown in kmesg, and the coming problems or root:

Note, this is not the link I read yesterday (which I can no longer find!), but similar:

http://www.androidcentral.com/andro...roms?utm_medium=referral&utm_source=pulsenews

The original also described new mount permissions for system to block uuid=0 executions.

...and how XDA's "chainfire" has already neutralized these anti-root tactics :)
[Optimus One, P500 Original Android Development] Dovidhalevi:
Focal on the lockscreen!

Needs a permission which it receives using Xposed Appsetting module.

Thing not 100% stable yet but not at all bad!
[Optimus One, P500 Original Android Development] Rashed97:
Minus my terrible graphics... Stupid Photoshop image processor script decided not to keep the transparency when I ran it on the XHDPI drawables to shrink them down to MDPI size. Gonna fix it and re-run it now.
[Optimus One, P500 Original Android Development] marcomarinho:
Good :)

And about the problem with CM10.2 when trying to install, do you know how to fix it or didn't find yet?

Thanks:highfive:
[Optimus One, P500 Original Android Development] Rashed97:
Yeah I've got some ideas, but it does install now. Just doesn't boot.
[Optimus One, P500 Original Android Development] thehacka1:
I deleted out folder and tried again. It didn't work.
[Optimus One, P500 Original Android Development] gymfreak7855:
I know this thread is about 4.3, but could there be something potentially wrong with the file system that would be cause the slowness in roms to occur?
[Optimus One, P500 Original Android Development] tonyp:
Obviously. The error isn't (directly) at your end as suggested here, Google deprecated the bcm4329 wext driver support.

You can use my repo where I restored it:

https://github.com/tonyp/android_hardware_broadcom_wlan/tree/cm-10.2
[Optimus One, P500 Original Android Development] gymfreak7855:
Nah, you start off with a nice fast rom, and progressively through time, the phone gets slower and slower and slower. I'm thinking it's being caused by file system errors or maybe the rom isn't removing apps properly. I don't have time to investigate it at the moment so yeah :P
[Optimus One, P500 Original Android Development] Rashed97:
I know how to fix it. Backup, wipe /system, /data, /cache, and /boot, and then restore. It worked for me.

Doesn't make any sense as to why it works, but it does.
[Optimus One, P500 Original Android Development] thehacka1:
Thanks it worked! :D Now I get this though:

Import includes file: /home/thehacka1/building/cyanogenmod/cm-10.2/out/target/product/marvel/obj/SHARED_LIBRARIES/camera.msm7x27_intermediates/import_includes
target thumb C++: libcamera <= device/htc/msm7x27-common/libcamera/QualcommCameraHardware.cpp
In file included from device/htc/msm7x27-common/libcamera/QualcommCameraHardware.h:30:0,
from device/htc/msm7x27-common/libcamera/QualcommCameraHardware.cpp:31:
device/htc/msm7x27-common/libcamera/CameraHardwareInterface.h:23:26: fatal error: gui/ISurface.h: No such file or directory
compilation terminated.
make: *** [/home/thehacka1/building/cyanogenmod/cm-10.2/out/target/product/marvel/obj/SHARED_LIBRARIES/libcamera_intermediates/QualcommCameraHardware.o] Error 1
make: *** Waiting for unfinished jobs....
[Optimus One, P500 Original Android Development] gymfreak7855:
That's what I've been doing, it's just annoying :P
[Optimus One, P500 Original Android Development] jayc137:
Which recovery do you use for it ?
[Optimus One, P500 Original Android Development] Rashed97:
CWM
[Optimus One, P500 Original Android Development] borchaniz:
A successful focal build is up. Testing now....
[Optimus One, P500 Original Android Development] gymfreak7855:
I use CWM too
[Optimus One, P500 Original Android Development] Free.rockstar:
where can i get that?
[Optimus One, P500 Original Android Development] marcomarinho:
http://jenkins.androidarmv6.org/job/focal-builder/
[Optimus One, P500 Original Android Development] Rashed97:
OK, there's a new Focal build up. That should have the MDPI drawables in it which should fix a ton of stuff
[Optimus One, P500 Original Android Development] Dovidhalevi:
Posted on the 4.1.2 thread. Image flicker and program instability still there.
[Optimus One, P500 Original Android Development] ajaihs:
I havnt testd focal yet,but wnt to ask u if focal goes stable on our fone then can I record 640*480 videos..??.since,AFAIK our cm10.1 rom dwfault camera apps cant record tht resolution video...or is tht thing nt relatd to any apps?

Anyway glad to see we hv got anthr choice of camera app...gud job:thumbup:
[Optimus One, P500 Original Android Development] ujilraj:
u can record videos in 640x480 using other cam apps... But the result wud be very jerky videos... I don't know why it is so... If i remember correctly, 640x480 video recorded very smoothly in our old LG stock GB rom's camera...
[Optimus One, P500 Original Android Development] Bytecode:
Glad to see things are going well, Rashed! If you need a hand you can call me out whenever you want ;)
[Optimus One, P500 Original Android Development] Rashed97:
Thanks, I might take you up on that for SELinux ;)
[Optimus One, P500 Original Android Development] ajaihs:
Its recrding 480p evn in hephappy's cm9.2 final bt(nt great quality may b bcz it tries to recrd in 30fps and our stock gb rom camera was designed to record at 24fps AFAIK..);and yeh evryone knows that our gb roms recrd upto 480p...but cant see tht evr in any roms above cm9...i thnk its the OMX hack..but;just wondering if the omx hack wrks great fr cm9 thn y is it nt possible in jb roms...:what:
[Optimus One, P500 Original Android Development] gymfreak7855:
We won't ever have anything more than 480p video recording on our devices and I doubt we'd get any benefit from trying to push higher framerates at 480p.. Our p5**'s just aren't capable of pushing anything more than that. If you want better frame rates or higher resolutions, you should consider purchasing a new device. It's just not possible in my opinion.
[Optimus One, P500 Original Android Development] Rashed97:
I believe Focal can do it. It's just too unstable for our devices to even use...
[Optimus One, P500 Original Android Development] ujilraj:
That's exactly what we are trying to convey... Right now post CM9, every updated p500 build has only 240p native video recording option, while our hardware allows 480p (coz, GB rom does it smoothly)... Why is it not implemented? Just curious...
[Optimus One, P500 Original Android Development] gymfreak7855:
The reason it won't be implemented is because the roms are actually using hacks to get omx workin. It'll never be as smooth as the genuine Qualcomm libs probably.

---------- Post added at 11:58 AM ---------- Previous post was at 11:57 AM ----------

Want me to have a look? I assume the sources are on GITHUB?

---------- Post added at 12:03 PM ---------- Previous post was at 11:58 AM ----------

Also is it possible to get the rom to boot without SELinux? I mean do we really want software developed by the NSA on our phones? :P
[Optimus One, P500 Original Android Development] Rashed97:
Yeah, have fun ;) I don't have time for Focal right now

And its somewhat possible. All the experimental builds boot and none of them have SELinux. And I personally don't mind software developed by the NSA. Only makes the device more secure.
[Optimus One, P500 Original Android Development] gymfreak7855:
Okay boss :P I shall look after school! We just had a crazy earthquake at school man! So crazy! I have strong feelings against the NSA.
[Optimus One, P500 Original Android Development] Kevinjoa:
[MENTION=4662457]Rashed97[/MENTION] maybe you can help us in wildfire s /marvel( fora to buil cm10.2. :) Thanks in advance. Here is thread link: http://xdaforums.com/showthread.php?t=2405644
[Optimus One, P500 Original Android Development] RazGame:
Now 4.3 not running on ARMv6 devices

yeah ?
[Optimus One, P500 Original Android Development] Bytecode:
Rashed, there's no need to exclude SELinux, but of course if it creates too much problems work has got to be done. I'm going to experiment some things on it.