[DEV] CyanogenMod 10 marvel-ALPHA - HTC Wildfire S

{
"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"
}
Preamble
This is the development thread for HTC Wildfire S and msm7227 devices. If you have questions about the code of the ROM and want to discuss changes and stuff we have developed feel free to ask here.
I've been working on a CM9 port for the HTC Wildfire S since January 2012 and started with CM10 in August 2012. After 5 month of work this I've released the first ALPHA of CM9. Getting CM10 was esier. Neither CM10 is stable yet nor the HTC Wildfire S (Marvel) port is complete. Most of the features are working but it still needs bugfixing and polishing. We would like to improve the code and get as much as possible upstream if they accept it. There will never be an official CM10 release as ARMv6 is not supported.
I have to thank alquez who ported CM7 for the HTC Wildfire S. His work was a good starting point for CM9 and then CM10. Also thanks to Tobias Droste who was working with me on this ROM. Tobias we finally made it!
I also have to thank WinSuk and s0be working on CM9 and CM10 for the Liberty. We worked together with those guys to get CM9 and CM10 going. We will continue our collaboration in future.
Reporting Bugs
If you want to report bugs please read THIS HOWTO first. Please try to provide logs if you see errors (logcat and dmesg). If you don't know how to do that check google or ask people here to help you. Don't contact me directly.
Enabling logcat Logging
adb shell dmesg
How to use strace?
All bug reports should go to the bugtracker.
If you think you find a bug take a look at the bugtracker first. Check if it already has been reported.
Sources
You can find the source here: http://git.cryptomilk.org/
If you are a developer working on a msm7227 and want to collaborate, contact me directly.

When it will be released as an alpha?
I think, it must have a good version number

I know now the reason why there are random force closes. After I open apps they will run as background process. And if I reach the (boarder) (only 140mb ram free) the apps start to crash. The kernel thinks that it is better to force close the apps before going into an to high usage of ram.
I tried to run an auto ram manager but without luck.
Now I try the option in the Developer Settings to allow just three background processes.
Not sure why but I think its a kernel bug.
Gesendet von meinem HTC Wildfire S A510e mit Tapatalk

any idea how to fix this compile error?
Code:
target thumb C++: camera.marvel <= device/htc/marvel/libcamera/cameraHal.cpp
target StaticLib: libaudiopolicy_legacy (out/target/product/marvel/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/libaudiopolicy_legacy.a)
target thumb C++: gps.marvel <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_xtra.cpp
target thumb C++: gps.marvel <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_ni.cpp
device/htc/marvel/libcamera/cameraHal.cpp:40:27: error: ui/OverlayHtc.h: No such file or directory
target thumb C++: gps.marvel <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_log.cpp
target thumb C++: gps.marvel <= hardware/qcom/gps/loc_api/libloc_api/loc_eng_cfg.cpp
target thumb C: gps.marvel <= hardware/qcom/gps/loc_api/libloc_api/gps.c
target thumb C: libpower <= hardware/libhardware_legacy/power/power.c
target thumb C: librpc <= hardware/msm7k/librpc/xdr.c
target thumb C: librpc <= hardware/msm7k/librpc/rpc.c
device/htc/marvel/libcamera/cameraHal.cpp: In function 'int camera_set_preview_window(camera_device*, preview_stream_ops*)':
device/htc/marvel/libcamera/cameraHal.cpp:693: error: invalid use of incomplete type 'struct android::Overlay'
device/htc/marvel/libcamera/CameraHardwareInterface.h:29: error: forward declaration of 'struct android::Overlay'
target thumb C: librpc <= hardware/msm7k/librpc/svc.c
target thumb C: librpc <= hardware/msm7k/librpc/clnt.c
make: *** [out/target/product/marvel/obj/SHARED_LIBRARIES/camera.marvel_intermediates/cameraHal.o] Error 1
make: *** Waiting for unfinished jobs....
target StaticLib: libc_nomalloc (out/target/product/marvel/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)

I'm not a dev' but I can try to hepl, I'm a student in C and when I get this error : "error: forward declaration of 'struct android::Overlay" it's that I haven't or wrong write the struct...

eoghan2t7 said:
any idea how to fix this compile error?
Click to expand...
Click to collapse
Droste just added the NoOpOverlay to our codebase.

modpunk said:
Droste just added the NoOpOverlay to our codebase.
Click to expand...
Click to collapse
Lovely thanks
Sent from my Wildfire S using Tapatalk 2

modpunk said:
Droste just added the NoOpOverlay to our codebase.
Click to expand...
Click to collapse
I know i'm not a dev and probably shouldn't even ask, but I googled noop overlay and found only one post on it in the entire interwebz. And all it said was that someone had written one and it didn't speed up server speeds. So might someone have the time to explain what it is and what it does?

It is a UI overlay which does nothing. See the marvel device source code ...

If you're not a developer but know how to use a shell and want to help, I will open "Tasks" in the bugtracker. These are things which need to be investigated. You can help me and work on those tasks.
https://code.google.com/p/cm9-wildfire-s/issues/list?can=2&q=label:Type-Task
I will add new ones from time to time.

Although a complete noob in developing, i'm willing to help as well, if instructed how to do it so, after installing the rom (from your other thread), i tried to help with the "battery current" task.
However, no matter which frequency i try, the command always returns the result 0.
I know i'm typing it correct (and works) since, if plugged, returns value 805. However, unplugged, the result is always 0.

Thanks for the info, good to know. I thought it would show the value it uses. Looks like it is the charging value...

i tried to get kernel and partial wakelocks to catch what stops deepsleep. didnt used phone 22 min after unplugged from charge.
So these are statistics:
Kernel Wakelocks: (in 22 min)
21m8s : msm_serial_hs_dma
11sec : powermanagerservice
10sec : radio-interface
Partial Wakelocks :
10sec : ActivityManager-Launch
7min : audioout_1
process:
ksmd : 10 sec
alarms:
com.android.phone : wakes up 8 times
com.google.android.gsf: wakes up 4 times
android : wakes up 2 times
and others:
no data connection : 22 min
no or unknown signal : 22 min
awake : 22 min

@Modpunk
Good work, one question: how did you fix the webrtc compile errors and how did you allow both the chrome web engine and the other Javascript one to run together?
Sent from my HTC Wildfire S A510e using xda premium

benjamingwynn said:
@Modpunk
Good work, one question: how did you fix the webrtc compile errors and how did you allow both the chrome web engine and the other Javascript one to run together?
Sent from my HTC Wildfire S A510e using xda premium
Click to expand...
Click to collapse
Cm fixed the webrtc errors and the chrome and v8 engine are added to the boardconfig.mk so they both compile
Sent from my Wildfire S using Tapatalk 2

I think the webrtc patch is still in the patches directory.

baddboyy said:
i tried to get kernel and partial wakelocks to catch what stops deepsleep. didnt used phone 22 min after unplugged from charge.
So these are statistics:
Kernel Wakelocks: (in 22 min)
21m8s : msm_serial_hs_dma
11sec : powermanagerservice
10sec : radio-interface
Partial Wakelocks :
10sec : ActivityManager-Launch
7min : audioout_1
process:
ksmd : 10 sec
alarms:
com.android.phone : wakes up 8 times
com.google.android.gsf: wakes up 4 times
android : wakes up 2 times
and others:
no data connection : 22 min
no or unknown signal : 22 min
awake : 22 min
Click to expand...
Click to collapse
I've fixed some problems were rild couldn't access some kernel interfaces but it is still strange. It looks like some information from rild is wrong.
What you see in "others". Something thinks we are always without a signal and search for it, which is wrong.

@baddboyy
If you want to help. Fully charge your phone. Turn radio on and wifi off. Shut down the phone and remove the charger.
Then turn it back on, unlock the sim and don't touch it for 30 min. Then check BetterBatteryStats and tell me what you see.

I've fixed deep sleep. The 'msm_serial_hs_dma' kernel wakelock was the culprit. Our platform doesn't support quick switch-on/off of Bluetooth Module which can be disabled with an overlay.

i think that fix deserves a compile! thanks modpunk once again

Related

[APP][18/06/2012]Thoravukk Control [RELEASED] for Thoravukk Kernel

{
"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"
}
HI, I am new member of team-blockbuster.
I am developing an android application for thoravukk kernel made by pinpong.
Lets start with screenshots:
Reboot options for rebooting device in 3 modes.
Cpu- Change governors, Change IO schedulers, Change min-max Frequencies
Gpu- Change Frequencies and voltages
Misc- Change charging voltages( Charger,Misc,USB )
Set level for Vibrator from 0-6
Set gamma level, Set LED timeout
Ntfs mount option for sdcards and hdd
Save as boot settings option
Still many to come in next versions.
Changelog beta v2
Script generation failed error fixed .
New icon added
Changed LED min- max timeouts
Changelog beta v3
New screen added - lulzactive settings
Added BLN toggle button
Added Touch screen sensitivity
Added Fuel gauge reset
Changelog beta v4
New Screen Cpu voltages added
New Screen Cpu States added
Script now have lulzactive commands
Reset fuel gauge yes buttons fixed
Orientation is fixed to portrait now until beta finish
New screen added- screen & soft key
Blinking effect control added
Changelog Final Version
Minor bugs fixed
Script fixed , hope now works properly
***Please uninstall old app before installing new one***
To download application use the link below
DOWNLOAD
Great Thanks to-
All of them which are there in credits section of pinpong thread
---Team Blockbuster---
fuss132 for supporting me
pan cit for excellent graphics,icons in application and thread
and
pinpong for all information needed to build this app
For more information related to my development visit my page
For information related to kernel,apps,roms and more .. visit our homepage
FAQ:-
Q.The application is crashed ( Force close) , what should I do ?
A. Give me logcat using adb logcat or aLogcat application
Q.Can I use this application with some different kernel ?
A. No. ( currently it only supports thoravukk)
Q.If anyone getting script generation failed error ?
A. Consider giving me logcat
There is no blink toggle and blink on/off interval features in application, they will be added in next release ^^
Just give me feedback about the app after using it
Welcome
Can't wait for this wonderful application
Sent from my GT-I9100 using Tapatalk 2
im the one who are using this great kernel..keep up good work...
I use it too !!! Great job at the team !!!
But i have too look more seriously, it seems that settings arn't saved after reboot ... i retest it !
EDIT : it's probably script related ... i take a look at this. It doesn't work at all after reboot
Tom_2b said:
I use it too !!! Great job at the team !!!
But i have too look more seriously, it seems that settings arn't saved after reboot ... i retest it !
EDIT : it's probably script related ... i take a look at this. It doesn't work at all after reboot
Click to expand...
Click to collapse
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
rohitiskul said:
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
Click to expand...
Click to collapse
Maybe he got wrong permissions for folder "init.d"? Was installing kernel 2.45 and i had to set permissions to 775 (rwxrwxr-x). On v2.43 I only needed 755 to set up thoravukk init.d script.
Gesendet von meinem GT-I9100
rohitiskul said:
Btw application is still in beta version, I ll look at it. is there any file named "thoravukk" in /system/etc/init.d folder ?
Click to expand...
Click to collapse
Yes the script is correctly written, the init.d folder works, the VC's script is loaded but when i try with the thoravukk it isn't
Envoyé depuis mon GT-I9100 avec Tapatalk
Script creation failed...
Set permissions for init.d to 775 and 755 but still same issue.
Using kernel v2.45...
Gesendet von meinem GT-I9100 mit Tapatalk
Tom_2b said:
Yes the script is correctly written, the init.d folder works, the VC's script is loaded but when i try with the thoravukk it isn't
Envoyé depuis mon GT-I9100 avec Tapatalk
Click to expand...
Click to collapse
I tested the script on my galaxy sl i9003, the script works fine on my phone.
my init.d permissions are rwxr-xr-x and script with rwxrwxrwx permission.
Even pinpong also said me its working fine on his galaxt s II i9100. So just check permissions of init.d folder.
Ok thanks i ll take a look
Envoyé depuis mon GT-I9100 avec Tapatalk
OK .. If anyone facing script generation failed problem , pls send me logcat.
Also, report me about .. how much cpu screen lags while changing the values of min,max,scheduler,governor ?
rohitiskul said:
OK .. If anyone facing script generation failed problem , pls send me logcat.
Also, report me about .. how much cpu screen lags while changing the values of min,max,scheduler,governor ?
Click to expand...
Click to collapse
OK, seems App doesn't mount /system/etc/init.d as R/W but keeps it as R/O only:
I/System (13356): at com.stericson.RootTools.b.run(Unknown Source)
W/System.err(13356): java.io.FileNotFoundException: /system/etc/init.d/thoravukk: open failed: EROFS (Read-only file system)
(Changed CPU from 100 -1200Mhz)
EDIT: manually mounted R/W (using root explorer) and script is created
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
rohitiskul said:
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
Click to expand...
Click to collapse
no swiping seems still smooth for me, neither within swiping the values nor in swiping the menues
rohitiskul said:
Thanks, for checking the script logcat.
And can u tell me when u changed cpu values do you feel stuttering while swiping value gallery ?
Click to expand...
Click to collapse
You could use a simple Runtime for executing the command "su", and then "busybox mount -o rw,remount /system", then no more EROFS. This is how my apps does it. Also FileWriter class doesn't work over /system files, at least not on some times. You better use runtime for "busybox echo "+string+" > /system/somewhere"
fine kernel , fine apk fine team
Charge Power
Hi. I love this app in Combination of the Kernel!
I used the Kernel V 2.45 and all works fine.
Now i have a question about the App.
in the App i can change the charge power by usb, misc and Charger.
I change it by +50mA on every Port but i seems no effect or just a little bit.
has someone experience of it? Can i only crash my Battery or my Handy also if i reach to much?
Can i raise it? I think the carger gives me the max of it or?
The max of my Charger is 1 Amp. I think USB 2.0 max Power is 500mA.
And what means the Misc Option?
Is it possible to add an option to have backlight for keylights to be always on?

[EC09][KERNEL] [email protected]!!!!! <3 ciscogee

DISCLAIMER: DO NOT FLASH UNLESS YOU KNOW HOW TO UNDO!
Special THANKS TO:
XDA [nuff said]
adrynalyne [for all his dev on the continuum and fascinate (OC Porting)
imnuts [for all his dev work involving our device + private kernel lessons]
trailblazer101 [for all his mods that make this device worth keeping around ]
txwolf1980 [for all the help and conversations provided ]
(will update tonight after work.)
So yeah this one finally boots stock EC09 ROMS.
I just booted and wanted to share asap. [I have not ddms or logcat yet since this is the first boot]
What it does NOT do yet (That I know So Far):
Not officially rooted
No network
end list
You can see that it has been compiled on my laptop by going into terminal emulator or adb shell
$ su (if not rooted in terminal emu)
#cat /proc/version
it will out put the version and what machine it was compiled on. ([email protected])
root= I had to log in as root on my VM ubuntu
ubuntu=the VM name
so yeah hopefully i can remember what i did at 3am to reproduce another with further modifications.
{
"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"
}
so now that it boots it can be patched
To UN-KERNEL
So you seen the kernel boot, now what?
Flash in CWM:
Stock EC09 Kernel: Here
I believe it to be fully stock, unrooted? It was packed in ODIN.tar from txwolf1980's D) thread HERE.
or
Imnuts' EC07 Repacked Customized Kernels: Here
I am unaware of a rooted unsecure EC09 Kernel around, a one would pull there current ROOTED EC09 KERNEL from their current rom, we could have that available.
TO HELP DEBUG:
taken from: http://code.google.com/p/tegraowners-ics-rom/wiki/How_to_get_logs
Code:
How to get logcat
The Android logging system provides a mechanism for collecting and viewing system debug output. Logs from various applications and portions of the system are collected in a series of circular buffers, which then can be viewed and filtered by the logcat command. You can use logcat from an ADB shell to view the log messages.
To get logcat on your device you need to do:
Open terminal app
Enter "su" to get root privileges
Enter "logcat -f /sdcard/logcat.txt". This will start logcat output to file /sdcard/logcat.txt
Stop logcat by "ctrl+c" or just close terminal emulator app
If you use some logcat reader app(for example CatLog), then it should have "save log" option.
To save logcat with adb shell you need to run "adb logcat > /path/where/save/logcat.txt" from command line on your pc.
How to get kernel log
Kernel log shows what happens with kernel since tablet power on.
To get kernel log on your device you need to do:
Open terminal app
Enter "su" to get root privileges
Enter "dmesg > /sdcard/dmesg.txt" to save current log. Or run "cat /proc/kmsg > /sdcard/kmsg.txt" to start kernel log output to file.
If you are using "cat /proc/kmsg" you need to stop it by "ctrl+c" or close terminal app.
To save kernel log with adb shell you need to run "adb shell dmesg > /path/where/save/dmesg.txt" from command line on your pc.
How to get last_kmsg log
If your tablet rebooted unexpectedly, you need to save last_kmsg log. It will contain kernel log just before reboot and may show what caused reboot.
To get last_kmsg log on your device you need to do:
Open terminal app
Enter "su" to get root privileges
Enter "cat /proc/last_kmsg > /sdcard/last_kmsg.txt" to save current log.
Close terminal app.
To save last_kmsg log with adb shell you need to run "adb shell cat /proc/last_kmsg > /path/where/save/last_kmsg.txt" from command line on your pc.
HOW TO POST THEM IN THREAD:
Please either CnP SNIPPETS in post WITH *.txt attached or link to
or
link to pastebin
PLEASE DO NOT CnP txt file in post, it makes thread drag out and its easier to FIND lines in a txt file than viewing the thread.
thank you!
Change log:
10.4.12
+ Debugging Instrustions
10.01.12
+ change log
updated un-kernel instructions
+ Debugging Instructions
09.30.12
+ Alpha released
So what does this kernel fo and how do you go about flashing it?
Sent from my SCH-I400 using xda app-developers app
Jaggar345 said:
So what does this kernel fo and how do you go about flashing it?
Sent from my SCH-I400 using xda app-developers app
Click to expand...
Click to collapse
oh yea. ..
This kernel so far does everything stock except network lol.
Wifi works
Right now its just proof it can be compiled from sources.
Big accomplishment in my opinion
Also if anyone can beta ect...
And a simple cwm flash installs it
I will odin and all in future release.
Sent from my SPH-M580BST using Tapatalk 2
Good job man! And just when you were about to give up
trailblazer101 said:
Good job man! And just when you were about to give up
Click to expand...
Click to collapse
It must have been my setup cause I had to reformat laptop and just started over.
I've been catching on... last night spent until 530am porting i500 OC! (Didn't boot lol, it was for gb ed01 ) but I gotta take a break and get back to school work this week.
You know any c?
Sent from my SPH-M580BST using Tapatalk 2
I am taking Computer Science right now in college, and we are learning the basics of C++ So, that isn't helping me with the Continuum in any way right now, haha.. And I have no real background with building kernels/builds from source, however I do have a knack for following directions, and for debugging...
Continuum
As my Continuum is just an MP3 player and Angry Birds machine I will flash anything.
hey logan, its been awhile, my kernel and theme work might will be limited this quarter with my class schedule and life... so any help debugging would be appreciated.
for any one whose continuum is there extra device i would love it if you helped also. this help would include more or less googling the warnings, errors, or suspensions in the kernel boot up.
Now i see where i forced an extra netfiller module in the config and hoping that will solve network failure, but again it was outta pure luck that one compiled and booted, i didnt log my build or make notes on what i included in config. so i wont be starting completely over.
i have since though changed a round 2000 lines of code to port fascinates OC ability to 1.7ghz and it looks to have booted yet there is more to be edited to actually be able to OC. Also half way through i seen i was porting there GB code, so our 2.6.32 kernel maybe cant see it? I already pulled adrynanalyns froyo kernel source for the 1.4ghz overclock but have not jumped into since the lake port took about 5 hours.
Im just torn between perfecting froyo or tackling GB+.
the dev ive been in talks with about patching the kernel up says that i can try to compile a kernel from I500 GB sources that boots or work out the warnings in my froyo kernel and update the the linux sources to boot GB+.
"ANDHOW!?" - Buckwheat (little rascals)
ps.
Spoiler
Code:
anyone point me in the direction of the forum tags when posting? ie spoiler button and scrollable textbox. please no links to the noob video lol.
still looking for button
thanks.
http://www.tauniverse.com/forum/misc.php?do=bbcode
Holy crap! Amazing job dude! I'm definitely willing to go back to stock to beta this kernel. I personally don't care about mobile data anyway. Can calls still be made or is it a complete no network? As far as Froyo/GB it may be beneficial to perfect the Froyo kernel if all thats needed later is to merge the GB source. I too am a Computer Science student though we havent touched programming yet and all I really have to look forward to is an Introduction to Java course next semester. Let me know if I can help, I, like TB, am great at following directions and I have 2 very capable computers at your disposal.
-Justin
As of right now its network is unavailable. I haven't tried reflashing modems (may need to start with dl17 and patch up. I haven't been back on comiling a dif config yet. Just been getting lost in c land comparing sources for hopefully mods/ports.
Sent from my SPH-M580BST using Tapatalk 2
Ok so, I flashed your kernel and let it run for about an hour with a couple problems. Unfortunately I didn't grab the logcat at the time sorry..
1. Voodoo sound crashed at start up but loaded fine after that. On a second reboot Voodoo started just fine.
2. Cannot update SU
3. WiFi works fine but no network (as already stated)
4. Battery level dropped from approx 70% to 15% immediately after flashing.
5. Nandroid backup didnt work.
I tried flashing the EC03 radio only over the kernel with no joy. Still no network. If you have the EC09 radio/modem I'd be happy to give it a try.
Otherwise everything else seemed to work with no problems. I did see a VERY brief screen flash during reboot but couldn't reproduce it.
Hope this helps, sorry about no logcat.
-Justin
Awesome thanks ill look into those. Yeah I have all the modems. Ill post em later today. I'm home sick as hell so I didn't even go to classes.
My biggest problem is reproducing a clean build with a working config lol (not really lol)
Battery level will return. I had this kernel on for a couple days before reverting back.
I believe I forced the build for all the platforms.
This kernel is just a stepping stone to port i500 roms AND kernels.
Thanks to the dozen of continuumers out there!
Sent from my SPH-M580BST using Tapatalk 2
Actually Added DEBUG instructions for logcat and kernel msgs
What is your plan for the ticker if you intend to use i500 roms and kernels?
jaizero said:
What is your plan for the ticker if you intend to use i500 roms and kernels?
Click to expand...
Click to collapse
my plan right now is to try and build the atlas (i500) display modules with our screen dimensions MINUS the ticker, this is the only way i see to gb+ kernel and roms from i500.
also i will try and build the garnett (i400) video drivers taking out the ticker to see if the drivers are device dependent and plus there are sooo many lines of C that are confusing but im picking through it
I ALSO have to try and figure what i did right to compile a bootable kernel again, SUPER . I dont see me reverting back to build a froyo unless i see no way possible to build i500 sources with our device drivers
Well, forward is a good direction. Let me know if you need anything, like I said I have 2 very capable computers if you need compilers.
-Justin
peep this...
Code:
WARNING: modpost: Found 11 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gzip
AS arch/arm/boot/compressed/piggy.gzip.o
CC arch/arm/boot/compressed/misc.o
In file included from arch/arm/plat-samsung/include/plat/uncompress.h:30,
from arch/arm/mach-s5pv210/include/mach/uncompress.h:17,
from arch/arm/boot/compressed/misc.c:38:
arch/arm/plat-samsung/include/plat/regs-serial.h:281: warning: 'struct uart_port' declared inside parameter list
arch/arm/plat-samsung/include/plat/regs-serial.h:281: warning: its scope is only this definition or declaration, which is probably not what you want
CC arch/arm/boot/compressed/decompress.o
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
[B] Kernel: arch/arm/boot/zImage is ready[/B]
Building modules, stage 2.
MODPOST 8 modules
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 8 modules
crypto/ansi_cprng.ko
drivers/misc/vibetonz/vibrator.ko
drivers/misc/param/param.ko
drivers/scsi/scsi_wait_scan.ko
drivers/net/wireless/bcm4329/dhd.ko
drivers/onedram/dpram/dpram_atlas.ko
drivers/onedram/dpram_recovery/dpram_recovery.ko
net/sched/cls_flow.ko
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 11 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
[B]Kernel: arch/arm/boot/Image is ready[/B]
GZIP arch/arm/boot/compressed/piggy.gzip
AS arch/arm/boot/compressed/piggy.gzip.o
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 8 modules
---------------------------------------------------------------
BUILD OUTPUT
---------------------------------------------------------------
[B]9da434e08855259ceea4fbaf4c33f89d zImage
9da434e08855259ceea4fbaf4c33f89d recovery.bin
19ee4edb285ef88839412448a2a2de78 sch-i500-kernel.zip
36671bc7d1dd751e3f70257b1c3f7a57 sch-i500-recovery.zip
3569651ce124ed2b5d18074db5a69ed1 sch-i500-kernel.tar.md5
22a1d2760cb5473a37f729f9f68615a8 sch-i500-recovery.tar.md5[/B]
[email protected]:/home/ciscogee/Downloads/[B]dmriley-sch-i500-gingerbread[/B]-15f22ec#
so the build.sh that was provided in sources would of build GB platform but i only have froyo sources atm.
i will need to repo them but that takes hours lol.
now does anyone have any ideas on how to flash a GB rom from fascinate on the continuum, i got a recovery that was built with kernel and an update zip, i replaced binaries to flash in cwm, i did flash kernel but of course it will not boot cause i dont have rom, i am curently downloading EH03 full package tar to repack with the new kernel, but i wont be able to do that till fiance is done with that laptop . im scared to flash the recovery since in not sure if a dif update.zip is needed, or if it is needed at all.
i think im fawkked!
so i flashed in cwm gb kernel, no boot.
BUT
it did change device name in adb to some random one.
and i couldnt logcat cause busybox is built in platform so yeah (repoing now)
then while i was waiting i downloaded a odin tar of EH03 (i500 GB Full ota) and tar balled it back up with my zImage. (but forgot to delete recovery)
NOW
i can only get DOWNLOAD MODE,
pwr doesnt seem to do anything unless vol- is held for DL mode.
any suggestions?

[ROM][Cm7.2] << | |Wp-ReMix| | >> [26/02/2013]

{
"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 ROM has been Built with a sole Objective of Developing a Smooth Rom with Very Sleek and Smooth Windows Phone Interface..!
Also I've Designed each Element of ROM to bring the Essence of Windows Phone UI, as well as Smooth and completely Lag-free UI Experience!
​
Full ROM Specifications & Features:
Visual Elements
New Phone Dialer
Custom made Boot Animation
New UI transition which have been Optimization for Smooth animations
Windows Styled Unique Settings
Heavily Modded Windows phone Theme
Heavily Modded Notification with Date bar,Settings Shortcut Icon,Carrier Label on Bottom Handle
New Clear Font
PERFORMANCE
Seeder Entropy Applied internally through new "Haveged" Engine.
Improvised Power saving tweaks.
SD read-ahead speed Increased.
Single core CPU optimization.
Media stage-fright tweaks for faster video streaming.
Graphics enhancement tweaks & GPU rendering implemented globally [GPU Libs Ported from P-500].
Deleted many unwanted system apps.
MEDIA
Wp7 Ringtones , Notification Tones.
Beats and various other Lib Files combined to Obtain Crisp and Clear Audio.
Custom changes in Original Audio LIBS for Volume Boost(Optimized Levels , so no Distortion at Highest Volume).
Mega Beats Audio Implemented along with some Custom changes to Ace Libs.
JPEG Image optimization implemented.
Video stream rate increased & optimized
The resultant audio is THE Best you have ever heard in any Phone... Ear Splitting BASS without loss of Clarity.
Also Output has been Amplified 5X Times than the Default Audio....!!!!!!
Screenshots
Click Here​
CREDITS​
ItachiSama for Cm7.2 .
D3hum4niz3d for Mega Bass Beats.
72ls1 for Theme components.
idcrisis for Seeder entropy .
Ryuinferno for original Init.d enabler apk extracted & edited by ReaperXL2
ReaperXL2 for Various tweaks & scripts modded & edited for SGA
ReaperXL2 for Various Build.prop tweaks & additional instructions
Aniket[The"A"Factor] (That's me!) for making Concept of this Rom , All the Layouts , BootAnimation , Theming and Bringing this ROM to you...!
​
TESTER​
Bogdan WP - It was only possible due to his Enthusiastic Testing and Feedbacks that I've been able to make this Rom for Gio. [I don't have this device].
​
Steps for Installation​
Download [Gio]Wp-ReMix.zip
Re-Boot into Recovery .
Do Factory-Reset(format cache,format data,wipe Ext),also Wipe Dalvik Cache.
Repeat the Step 3 again.
Install Zip [Gio]Wp-ReMix.zip from Sd-Card.
Re-Boot.
It will take 2-3 mintues for the Rom to Start Initially.
Re-Boot again .
Done !
​
DOWNLOADS​
Wp-ReMix [26/02/2013] - [Here]
Tiles Collection - [Here]
[TilesCollection : Massive collection of Tiles of all common apps for Windows Style Launcher which has been included in Rom.]
​
I don't Expect any Donation ... But you can Appreciate my work by giving me a Thanks and Positive Comments...!
Constitutive Criticism are Always Welcomed!
This will Encourage me to do more Awesome Roms and Support them !
NOTE:
This Rom is Originally based on a Rom which was primarily Build for Ace.
As I don't have this device [Galaxy Gio] I couldn't implement all the Features that I've implemented for Ace .
Also this Rom doesn't have any Memory Expansion Scripts by Default , so you guys can experiment and Share your experience with others ...
This Rom has been severely Tested and went through number of Iterations before Release (10+ Builds [and almost 50 Updates] have been made for Gio before this Final Build) for Total System Stability and also a PERFECT Batteryerformance Ratio .
So if you are using other Performance Scripts [I would personally suggest don't use any Performance Script ] or Memory Expansion scripts then please don't Blame the Rom or Expect me to solve that issue [As I don't have this Device].
ENJOY The ROM...!!!!!
I recommend people to flash this rom. Beautiful nice WP interface , with great speed and battery life.
The Persian language supports ?
Re: [ROM][Cm7.2] << | |Wp-ReMix| | >> [26/02/2013]
windows phone ui?
gonna test it...
keep the good work bro
Sent from my GT-S5660 using XDA Premium App
After installing the wipes will not؟
USB does not work.
The phone does not recognize sd
Nice rom, lightweight, fast, simple, waiting to see the battery life improvements, I've just flashed it xD.
monaliza142003 said:
USB does not work.
The phone does not recognize sd
Click to expand...
Click to collapse
My phone recognize it but I can connect to computer only by mounting sdcard from recovery mode.
Oh, and please consider to add an email app next release. Thanks
Edit: I also noticed that when battery control is running and I unlock the screen data network is starting.
Purpose usb tethering
melch123 said:
Nice rom, lightweight, fast, simple, waiting to see the battery life improvements, I've just flashed it xD.
My phone recognize it but I can connect to computer only by mounting sdcard from recovery mode.
Oh, and please consider to add an email app next release. Thanks
Edit: I also noticed that when battery control is running and I unlock the screen data network is starting.
Click to expand...
Click to collapse
Finally someone that helps providing logcats. :allelujah:
As you can see here:
Code:
E/Vold ( 182): Unable to open ums lunfile /sys/devices/platform/usb_mass_storage/gadget/lun (No such file or directory)
D/Vold ( 182): Opened lunfile /sys/devices/platform/usb_mass_storage/lun0/file
D/Vold ( 182): Wrote /dev/block/vold/179:0
D/Vold ( 182): Volume sdcard state changing 1 (Idle-Unmounted) -> 7 (Shared-Unmounted)
UMS should work.
As you can see, the system tries to open a non-existing lunfile (needed for UMS).
So, provide logcats with this command:
Code:
(adb) logcat | grep -i ums > filethatyoucallasyouwish.log
adb is needed only if you use a computer, if you use terminal emulator on the phone you can ignore it.
Suggestion for save file:
If you're on the phone, save it as
Code:
/sdcard/[I]callmeasyouwant[/I].log
So you'll have it placed in the root of your sdcard
If you use your computer, just write the file name
It will be saved in the folder where you opened your terminal.
Waiting logcats.
P.S. won't work immediatly, I've an exam tomorrow
ItachiSama said:
Finally someone that helps providing logcats. :allelujah:
As you can see here:
Code:
E/Vold ( 182): Unable to open ums lunfile /sys/devices/platform/usb_mass_storage/gadget/lun (No such file or directory)
D/Vold ( 182): Opened lunfile /sys/devices/platform/usb_mass_storage/lun0/file
D/Vold ( 182): Wrote /dev/block/vold/179:0
D/Vold ( 182): Volume sdcard state changing 1 (Idle-Unmounted) -> 7 (Shared-Unmounted)
UMS should work.
As you can see, the system tries to open a non-existing lunfile (needed for UMS).
So, provide logcats with this command:
Code:
(adb) logcat | grep -i ums > filethatyoucallasyouwish.log
adb is needed only if you use a computer, if you use terminal emulator on the phone you can ignore it.
Suggestion for save file:
If you're on the phone, save it as
Code:
/sdcard/[I]callmeasyouwant[/I].log
So you'll have it placed in the root of your sdcard
If you use your computer, just write the file name
It will be saved in the folder where you opened your terminal.
Waiting logcats.
P.S. won't work immediatly, I've an exam tomorrow
Click to expand...
Click to collapse
Good luck with you exam bro
ItachiSama said:
Waiting logcats.
P.S. won't work immediatly, I've an exam tomorrow
Click to expand...
Click to collapse
The phone is reacting normally when I connect the usb cable but the partition doesn't appear on pc.
ItachiSama said:
logcat | grep -i ums > filethatyoucallasyouwish.log
Click to expand...
Click to collapse
cannot create file: read-only file system
output error: Broken pipe
Re: [ROM][Cm7.2] << | |Wp-ReMix| | >> [26/02/2013]
melch123 said:
The phone is reacting normally when I connect the usb cable but the partition doesn't appear on pc.
cannot create file: read-only file system
output error: Broken pipe
Click to expand...
Click to collapse
U can use CWM to mount usb storage. which is in mounts and storage menu.
Sent from my GT-5660 using xda app-developers app
I have just installed this rom and the usb it's working on me, until now everything it's ok But totally different from the android.
Thank you !
to pitty the Adrenaline_Engine Script doesnt work on it
The RAM is so small on this ROM... I use only Viber, Facebook App. and Facebook Messenger and they don't leave almost any RAM....
Bug/Issues
Ok. Having some bugs!
-Data keeps reactivating everytime i deactivate it
-Luminosity keeps a 10% level no matter what i do. I set to 100% and at the next screen unlock gets back to 10% (or smnth)
-Screen not rotating.
Please let me know what should i do!
Btw, great rom! Nicely done!
man i'm a big fan of your rom and if you could port your gaming rom and base it on latest cm7.2 it will be awesome thanks
Edit:in the first banner it look like that this rom is the gamers edition is that true ?
looking good. will try this one very soon...

[DEV][WIP] Sense 5 Port For HTC ONE V(msm7x30) [29.08.13]

Hi,
I started working on Sense 5 porting for htc one v devices
I hope we can run Sense 5 on our devices.
= LATEST STATUS =
Kernel Status (Developer : @gilbert32 & @simonsimons34 )
ION Memory Management Available
Graphics Working
Wifi Module is Not Working...
Probably Kernel Related All things working...
Thank you so much @gilbert32 and @simonsimons34 ..
Rom Status (Developer @doga.ozkaraca)
Booting : Yes
Screen/Display: Yes
Audio/Sound : NO
Wi-Fi : NO (It should work with new wifi module)
GPS : NO
Bluetooth : NO
Camera : NO
FM Radio : NO
RIL(Call&SMS&Data) : Yes(Everything Working..)
Flash : Yes
External Storage : Yes
Internal Storage(It's almost stock rom , You can use internal too ) : Yes
Vibrate Function : Yes
{
"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"
}
The donation button is always open for you guys at your own will. But due to the fact I spent endless hours and sleepless nights on this project, I'm asking for donations, even if it is only $1. You can always help a fellow out by buying me a cup of coffee . This'll keep me motivated ... If not then i won't mind
Donators(Thanks so much)
@mr_nooby
ALPHA'S COMING SOON. I WILL OPEN THREAD ON ANDROID DEVELOPMENT FORUM
HTC ONE V STILL ALIVE LOL
It doesn't boot.I'm trying fix hw problems.
Adb Logcat : WORKING.So we can find bugs and fix them
ION : Semi-working
Boot animation : Still Some Problems
Button Lights : YEAH
ROM BOOTED : %99.9 YES
Sound : No
display : Still Some Problems
Kernel : Edited init.rc in hellboy kernel(for sense 5 requirements).. i will post special kernel dont use with other kernels.
Anybody can help me I need port libs Kernel is bit working Now but needs too many changes fixes its alpha Kernel almost working we are trying to find lib problems display doesnt work but other all things should be working right now
EDIT(19.07.2013) : I started porting ion kernel.but it's too hard.without ion kernel ,nothing works
EDIT(29.08.2013) : We have half ion kernel now. Thank you @gilbert32 He is working on ion kernel.Some ion things working
EDIT(04.09.2013) : Probably We have %99 Working Kernel ROM BOOTED EXCEPT SCREEN TRYING TO FIX SCREEN PROBLEMS
Here is SVN Checkout.(I will post newest sources soon.But,all sources buggy.Until open a thread in one v android development forum)
Sources out-dated i need time for all i will push all files to svn again when i finish rom
https://code.google.com/p/sense5-for-htconev-primou/
EVERYTHING ALMOST WORKING BECAUSE OF @gilbert32 THANK YOU SO MUCH LETS TEST AND FIND GRAPHICS PROBLEM
---------------For Users-----------
Maybe next month i need beta testers if you can test , write down
---------------For Developers-------
Probably we need port ION Memory management to kernel.but i dont know @gilbert32 started porting(actually not port this is new memory management) ion kernel
Important thing. Htc One V' system partition isnt big enough for sense 5 system files. so probably i will copy apps into data/systemapps folder and symlink in update-script <- Thats old way i found a way for fitting all system files
One V Data Partition : 1 GB
One V System Partition : 817 MB
Here is Hov Partition List :
Credits--------
@doga.ozkaraca(Me, porting Sense 5 Rom to Primo u/c)
@szezso* ( He is Unimaginable He is helping too much I cannot do that port without szezso )
@simonsimons34
@gilbert32 (He build first ion kernel that ion kernel will run sense 5 on our devices but its buggy and half-working kernel will be better soon.its still alpha )
----------------BETA TESTER LIST----------------
@martijn99
@ryanlow134
@MameTozhio
Pawan
and More i will add all other names soon
@doga.ozkaraca You might need some things from One SV, it's somewhat similar to One V in some aspects from what I know. I can also help test once you get a booting ROM.
MameTozhio said:
@doga.ozkaraca You might need some things from One SV, it's somewhat similar to One V in some aspects from what I know. I can also help test once you get a booting ROM.
Click to expand...
Click to collapse
Yeah im trying I downloaded desire 600's system dump a while ago. it's completely hdpi .and similar ..i will use desire 600 and one sv as base but still i need ion kernel @simonsimons34 maybe simon can help me
oh youre porting for gsm? bummer
Dafuq whenever someone makes anything for gsm someone from cdma curses it....
Lol
Sent from my One V using Tapatalk 4 Beta
ive just been praying for sense 5 forever
somekid15 said:
ive just been praying for sense 5 forever
Click to expand...
Click to collapse
When it gets released (If ever) I could try to port it to CDMA.
aashukmehta said:
Dafuq whenever someone makes anything for gsm someone from cdma curses it....
Lol
Sent from my One V using Tapatalk 4 Beta
Click to expand...
Click to collapse
Its also been the other way around. So I think their in their right.
Sent from my Galaxy Nexus using xda premium
word
If i have a cdma device , i can do this for both of one v.but maybe i can do some blind development after releasing for gsm version
Sent from my GT-I9500(one v trying run sense 5 lol) using xda app-developers app
doga.ozkaraca said:
If i have a cdma device , i can do this for both of one v.but maybe i can do some blind development after releasing for gsm version
Sent from my GT-I9500(one v trying run sense 5 lol) using xda app-developers app
Click to expand...
Click to collapse
Upload your latest logcat
aazzam16661 said:
Upload your latest logcat
Click to expand...
Click to collapse
You know i little bit fixed EGL and GL graphics hardware but , there is still unknown error.
logcat.txt below. :highfive::good:
I'm up for testing doga, sorry been invisible for a while now :3 post on my G+ wall to let me know~
i want to test it also, because its so awesome!
Sent from my One V using xda premium
martijn99 said:
i want to test it also, because its so awesome!
Sent from my One V using xda premium
Click to expand...
Click to collapse
+1
doga.ozkaraca said:
Yeah im trying I downloaded desire 600's system dump a while ago. it's completely hdpi .and similar ..i will use desire 600 and one sv as base but still i need ion kernel @simonsimons34 maybe simon can help me
Click to expand...
Click to collapse
His code fire x builds are ion, maybe you could use it as a base to port to?
russellvone said:
His code fire x builds are ion, maybe you could use it as a base to port to?
Click to expand...
Click to collapse
Yes if i had primoc, i will start with this.but i have primou.so i must start with primo gsm.after developing for primou.it will be more easy because, when you try run on primoc it will work on too. :good::highfive:
and while im porting rom somebody should port ion to primou.because without ion sense 5 wont run. i talked with @eoghan2t7 and @S.a.M.e.R_d and samerd's team working on kernel..eoghan said he will look for that.if somebody finish, we will get sense 5
doga.ozkaraca said:
Yes if i had primoc, i will start with this.but i have primou.so i must start with primo gsm.after developing for primou.it will be more easy because, when you try run on primoc it will work on too. :good::highfive:
and while im porting rom somebody should port ion to primou.because without ion sense 5 wont run. i talked with @eoghan2t7 and @S.a.M.e.R_d and samerd's team working on kernel..eoghan said he will look for that.if somebody finish, we will get sense 5
Click to expand...
Click to collapse
There's a codefirex ion build for primou as well. Not sure if that works though, you'll have to check that yourself.
Sent from my Galaxy Nexus using xda premium
ION
New LOGCAT :
EGL-Display Hardware Problem almost fixed.I need ion kernel to continue now.
D/libEGL ( 1680): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 1680): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 1680): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 1680): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build:
AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
I/Adreno200-EGL( 1680): Build Date: 07/31/12 Tue
I/Adreno200-EGL( 1680): Local Branch:
I/Adreno200-EGL( 1680): Remote Branch: quic/master
I/Adreno200-EGL( 1680): Local Patches: NONE
I/Adreno200-EGL( 1680): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036
+ NOTHING
E/Trace ( 1680): error opening trace file: No such file or directory (2)
E/memalloc( 1488): open_device: Failed to open ion device - No such file or dire
ctory
W/memalloc( 1488): Falling back to system heap
E/memalloc( 1488): open_device: Failed to open ion device - No such file or dire
ctory
E/gralloc ( 1488): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 1488): alloc(480, 800, 2, 00000b03, 0 ...) failed -2 (
No such file or directory)
E/SurfaceFlinger( 1488): GraphicBufferAlloc::createGraphicBuffer(w=480, h=800) f
ailed (No such file or directory), handle=0x0
E/BufferQueue( 1488): [<pid_1680>] dequeueBuffer: SurfaceComposer::createGraphic
Buffer failed
W/Adreno200-EGLSUB( 1680): <DequeueBuffer:420>: dequeue native buffer fail: No s
uch file or directory
E/memalloc( 1488): open_device: Failed to open ion device - No such file or dire
ctory
W/memalloc( 1488): Falling back to system heap
E/memalloc( 1488): open_device: Failed to open ion device - No such file or dire
ctory
E/gralloc ( 1488): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 1488): alloc(480, 800, 2, 00000b03, 0 ...) failed -2 (
No such file or directory)
E/SurfaceFlinger( 1488): GraphicBufferAlloc::createGraphicBuffer(w=480, h=800) f
ailed (No such file or directory), handle=0x0
E/BufferQueue( 1488): [<pid_1680>] dequeueBuffer: SurfaceComposer::createGraphic
Buffer failed
W/Adreno200-EGLSUB( 1680): <DequeueBuffer:420>: dequeue native buffer fail: No s
uch file or directory
E/memalloc( 1488): open_device: Failed to open ion device - No such file or dire
ctory
W/memalloc( 1488): Falling back to system heap
E/memalloc( 1488): open_device: Failed to open ion device - No such file or dire
ctory
Click to expand...
Click to collapse
lars1216 said:
There's a codefirex ion build for primou as well. Not sure if that works though, you'll have to check that yourself.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
i checked and there is a problem.Codefirex ion build's primoc kernel is ion and primou kernel is different.but maybe i can try flash for testing.maybe some ion things contains. because ion roms needs some ion things.

[Guide] Build Your Own [UNOFFICIAL][9] LineageOS4Microg 16.0 (by Bernie_nix)

In the spirit of open-source, if there's one ROM that deserves to be "home-brewed" in addition to AOSP and Lineage, it's LineageOS4Microg. This guide will explain how to do so using Docker. LineageOS and Microg are explained below followed by the guide.
{
"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"
}
Code:
/*
* I'm not responsible for bricked devices, damage, loss of Google services, you getting fired because the alarm app failed, etc. Do this at your own risk.
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications.
* Your warranty may/will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
About LineageOS4MicroG & LineageOS
LineageOS unofficial fork with built-in microG gapps implementation.
Full Play Services compatibility [Well-almost...YMMV]
Our ROM has built-in microG free-as-in-freedom re-implementation of Google's proprietary Android user space apps and libraries. This enables you to use every Google service you need without keeping another closed-source binary blob in your Android system.
Native F-Droid support
LineageOS for microG comes with F-Droid already installed. You can use it to access plenty of FOSS applications or even a Play Store bridge repository like Playmaker or GPlayWeb.
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
Learn more at:
LineageOS: https://lineageos.org/
LineageOS4MicroG: https://lineage.microg.org/​
Click to expand...
Click to collapse
Rom Built by Bernie_nix​Known issues:
USB-C headphones work for music, watching videos, etc. They don't work in the phone app...yet. (working on this)
Some users report VOIP calls don't work properly. YMMV. Skype, Whatsapp, Nextcloud Talk, working great for me.
Automatic updates not yet implemented but will be in a future build.
You tell me.
Building Requirements
1. A fast PC or VPS account such as Google Compute Engine. Minimum PC recommended requirements are Intel i5 or equivalent, 4 cores 8 threads minimum (more cores and better CPU recommended), 16GB ram, SSD and 300GB free drive space minimum, fast internet connection (you will download over 30GB of sources).
2. Ubuntu 18.04 is supported here. If you use Windows or another version of Linux, let others know of your tweaks and workarounds.
3. Patience and time. Downloading sources, setting up and building a rom will take hours if not days (depending on your PC hardware and internet speed).
Environment Setup & Build​1. Install Docker on Ubuntu (run each command once in terminal)
Code:
sudo apt-get update
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
2. Test that docker is running (run command in terminal)
Code:
docker run hello-world
You should see something like this, "docker run hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world ca4f61b1923c: Pull complete Digest: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7 Status: Downloaded newer image for hello-world:latest Hello from Docker! This message shows that your installation appears to be working correctly. ..."
3. Pull lineageos4microg docker onto your pc (run command in terminal)
Code:
docker pull lineageos4microg/docker-lineage-cicd
4. After pull is complete, create the following directories in your home/YOURUSERNAME directory
lineageos4microg
lineageos4microg/src
lineageos4microg/ccache
lineageos4microg/local_manifests
lineageos4microg/keys
lineageos4microg/logs
lineageos4microg/zips
So it might look something like this: home/JoeAndroid/lineageos4microg
5. Copy the 4 attached xml files (bottom of this post) to your local_manifests folder
These are: ocean.xml, include_proprietary.xml, proprietary.xml, and custom_packages.xml
6. In terminal, cd into the lineage4microg folder, and copy and paste the following commands all at once after changing YOURUSERNAME to your username in ubuntu. For an explanation of options, see the link at bottom of post. This code will download sources, sync your repos with newest updates and start your build. This step could take hours. It is downloading sources, syncing repos and building your rom!
Code:
sudo docker run \
-e "BRANCH_NAME=lineage-16.0" \
-e "DEVICE_LIST=ocean" \
-e "SIGN_BUILDS=true" \
-e "SIGNATURE_SPOOFING=restricted" \
-e "WITH_SU=true" \
-e "CUSTOM_PACKAGES=GmsCore GsfProxy FakeStore MozillaNlpBackend NominatimNlpBackend com.google.android.maps.jar FDroid FDroidPrivilegedExtension " \
-e "INCLUDE_PROPRIETARY=false" \
-v "/home/YOURUSERNAME/lineageos4microg/lineage:/srv/src" \
-v "/home/YOURUSERNAME/lineageos4microg/zips:/srv/zips" \
-v "/home/YOURUSERNAME/lineageos4microg/logs:/srv/logs" \
-v "/home/YOURUSERNAME/lineageos4microg/cache:/srv/ccache" \
-v "/home/YOURUSERNAME/lineageos4microg/keys:/srv/keys" \
-v "/home/YOURUSERNAME/lineageos4microg/manifests:/srv/local_manifests" \
lineageos4microg/docker-lineage-cicd
7. Your build should be in the zips folder when complete! Flash in twrp/ofox.
8. If your build fails, check the log in lineageos4microg/logs/ocean folder. If you receive the following error, "Can not locate config makefile for product "lineage_ocean"" you will need to copy the 4 xmls from lineageos4microg/local_manifests to lineageos4microg/manifests.​
References and links:
https://phoenixnap.com/kb/how-to-install-docker-on-ubuntu-18-04
https://github.com/lineageos4microg/docker-lineage-cicd
Telegram group for additional ROMS, files and support: https://t.me/mG7Power
Thanks to Dark98, Electimon, Barry and many others for initial help and repos when building this rom.
Reserved #1
Reserved #2
Thanks, been wanting to try to build this.
I tried am running this on ubuntu 18.04 vm, followed all the instructions.
after I type in the docker commands get this after a few minutes:
sed:can't read build/core/version_defaults.mk:no such file or directory
can't detect the android version.
Any suggestions?
skalnas said:
Thanks, been wanting to try to build this.
I tried am running this on ubuntu 18.04 vm, followed all the instructions.
after I type in the docker commands get this after a few minutes:
sed:can't read build/core/version_defaults.mk:no such file or directory
can't detect the android version.
Any suggestions?
Click to expand...
Click to collapse
Can you take a picture of the screenshot including how you typed in the commands? Need a bit more info
I just pasted the code changing username screenshot attached
skalnas said:
I just pasted the code changing username screenshot attached
Click to expand...
Click to collapse
I wonder if it's related to "steve" in your build commands but your username is Steven on the VM?
Bernie_nix said:
I wonder if it's related to "steve" in your build commands but your username is Steven on the VM?
Click to expand...
Click to collapse
I did rerun the script with the username steven and it appeared to be working.
went to bed and when i woke up I was excited to see it said build completed. however i could not
find the zip file in the zips folder. looking at the logs error: Can not locate config makefile for product "lineage_ocean".
I saw in the op to move the 4 xml files to manifests dir, however I had gotten permission denied when trying to
copy to the manifests dir. i deleted the dir, recreated the dir and moved the files.
I am going to try building again.
skalnas said:
I did rerun the script with the username steven and it appeared to be working.
went to bed and when i woke up I was excited to see it said build completed. however i could not
find the zip file in the zips folder. looking at the logs error: Can not locate config makefile for product "lineage_ocean".
I saw in the op to move the 4 xml files to manifests dir, however I had gotten permission denied when trying to
copy to the manifests dir. i deleted the dir, recreated the dir and moved the files.
I am going to try building again.
Click to expand...
Click to collapse
You need to sudo cp -R (drag 4 files to terminal here) /YOURUSERNAME/lineageos4microg/manifests. Then re run script
Bernie_nix said:
You need to sudo cp -R (drag 4 files to terminal here) /YOURUSERNAME/lineageos4microg/manifests. Then re run script
Click to expand...
Click to collapse
Thanks for the assistance, I am new to linux, hence the vm. My PC is amd fx8350 chip 8 core, 16 gb ram on win10 pro 64 bit on
PNY 480 gb ssd drive.
Just a few questions: The vm i set up to build this I set at 150gb. Prior to syncing the repos and running
the build script again i had about 135 gb free. It's been on starting build for ocean lineage-16.0 branch
for about 5 hours.
Should it have completed or thrown an error by now?
Also, lineageos4microg folder states it's using 57gb, I now have 32 gb free space 5 hours into build.
Not sure if I should keep waiting to see if build completes?
I have attached the log which i think is for the build in progress.
Thanks again
skalnas said:
Thanks for the assistance, I am new to linux, hence the vm. My PC is amd fx8350 chip 8 core, 16 gb ram on win10 pro 64 bit on
PNY 480 gb ssd drive.
Just a few questions: The vm i set up to build this I set at 150gb. Prior to syncing the repos and running
the build script again i had about 135 gb free. It's been on starting build for ocean lineage-16.0 branch
for about 5 hours.
Should it have completed or thrown an error by now?
Also, lineageos4microg folder states it's using 57gb, I now have 32 gb free space 5 hours into build.
Not sure if I should keep waiting to see if build completes?
I have attached the log which i think is for the build in progress.
Thanks again
Click to expand...
Click to collapse
Not recommended to run in a VM as it will take considerably longer to build but if you have the time (hours, days). As far as hard drive space, 150gb is cutting it very close. Better to have 250gb minimum. Don't know if you'll have enough. As far as your log and actual build, it's building! Congrats. If you scroll down to the bottom of your log, you'll see it's at 23%.
Bernie_nix said:
Not recommended to run in a VM as it will take considerably longer to build but if you have the time (hours, days). As far as hard drive space, 150gb is cutting it very close. Better to have 250gb minimum. Don't know if you'll have enough. As far as your log and actual build, it's building! Congrats. If you scroll down to the bottom of your log, you'll see it's at 23%.
Click to expand...
Click to collapse
Yes, as I feared i did run out space, but at least I know it was building. I may try to install ubuntu in a dual boot.
Thanks
skalnas said:
Yes, as I feared i did run out space, but at least I know it was building. I may try to install ubuntu in a dual boot.
Thanks
Click to expand...
Click to collapse
Awww... Well I had that happen before. Even if you have an old platter hdd (not ssd) as long as it's got the GBs of space it will take a little longer to build but for these purposes will do just fine. I use both SSD and hdds to build.
Got my dual boot set up. First tried Ubuntu but it kept locking up, went with Linux mint. Got a 250 GB partition, going to give it another go tommorow.
View attachment 4980819well, after switching from VM to dual boot, I gave it another go, and i got a msg in linux mint that i ran out of space about 3 1/2 hrs into build. I had set up 250gb partition as you suggested. I did 30gb root, 220 GB home,4 GB swap.
Can you take a look at the logs, i'm not clear looking at logs how much of build completed.
There was the zip file about 604 mb in the zips folder, which I could open(along with an sha and md5 files, which i dont know anything about.) I'm thinking possibly the build completed despite the warning in linux about running of free space.
I shrank the /root partition in gparted to 20gb and tried to extend the extra 10gb to home, but i couldn't.
Is it possible to specify 25gb ccache in the docker script somehow so that instead of the 50 it seems to allocate, maybe that will solve the space issue?
Thanks again, looks like progress.
Freed up some more space for build, now when trying to sync repos i get this msg Missing "vendor/lineage", aborting.
suggestions?
skalnas said:
Freed up some more space for build, now when trying to sync repos i get this msg Missing "vendor/lineage", aborting.
suggestions?
Click to expand...
Click to collapse
I looked at the last lines in your log... it looks like it built. Did you check your zips folder?
boot.img already exists, no need to overwrite...
dtbo.img already exists, no need to overwrite...
system.img already exists, no need to overwrite...
vendor.img already exists, no need to overwrite...
Total of 704512 4096-byte output blocks in 23 input chunks.
Total of 147456 4096-byte output blocks in 13 input chunks.
done.
Click to expand...
Click to collapse
Where is "Missing "vendor/lineage", aborting." appearing?
Bernie_nix said:
I looked at the last lines in your log... it looks like it built. Did you check your zips folder?
Where is "Missing "vendor/lineage", aborting." appearing?
Click to expand...
Click to collapse
Thanks, yes there was a zip there, wasnt sure if it was safe to flash, with the error space ran out ,but figured build did complete, as the zip wasnt corrupted.
As far as repo error:
"OSError: [Errno 17] File exists: '/srv/src/LINEAGE_16_0/device/generic/mini-emulator-arm64/.git.tmp'
error: Cannot checkout bernie-nix/android_device_motorola_sdm632-common-1: ManifestInvalidRevisionError: revision lineage-16.0 in bernie-nix/android_device_motorola_sdm632-common-1 not found
error: in `sync -c --force-sync`: revision lineage-16.0 in bernie-nix/android_device_motorola_sdm632-common-1 not found.
I did switch to the ocean.xml listed in your other thread posted by dark98 and the repo did sync., but I didn't proceed with the build.
Thanks again for all your help, think i will try to dirty flash my succesful build over yours, unless i should clean flash.
skalnas said:
Thanks, yes there was a zip there, wasnt sure if it was safe to flash, with the error space ran out ,but figured build did complete, as the zip wasnt corrupted.
As far as repo error:
"OSError: [Errno 17] File exists: '/srv/src/LINEAGE_16_0/device/generic/mini-emulator-arm64/.git.tmp'
error: Cannot checkout bernie-nix/android_device_motorola_sdm632-common-1: ManifestInvalidRevisionError: revision lineage-16.0 in bernie-nix/android_device_motorola_sdm632-common-1 not found
error: in `sync -c --force-sync`: revision lineage-16.0 in bernie-nix/android_device_motorola_sdm632-common-1 not found.
I did switch to the ocean.xml listed in your other thread posted by dark98 and the repo did sync., but I didn't proceed with the build.
Thanks again for all your help, think i will try to dirty flash my succesful build over yours, unless i should clean flash.
Click to expand...
Click to collapse
Yes, use the other xml if you want. They should both be about the same...you might even get updated sources, you might not...but it should build. I looked at the error above. The only suggestion I would make in your current xml if you want to continue using it is to remove revision="lineage-16.0" on the bernie-nix/android_device_motorola_sdm632-common-1 entry. As far as the zip that completed, how big is it?
Bernie_nix said:
Yes, use the other xml if you want. They should both be about the same...you might even get updated sources, you might not...but it should build. I looked at the error above. The only suggestion I would make in your current xml if you want to continue using it is to remove revision="lineage-16.0" on the bernie-nix/android_device_motorola_sdm632-common-1 entry. As far as the zip that completed, how big is it?
Click to expand...
Click to collapse
The zip was 604mb, i did successfully flash it, thanks again for your help and guide building my first rom!
so the xml file should be edited to:
<project name="bernie-nix/android_device_motorola_sdm632-common-1" path="device/motorola/sdm632-common" remote="github"/>
?
btw, i don't see your repos on github anymore.

Categories

Resources