[ROM] Archos - Android ICS 4.0.4 | Firmware 4.0.26 | Root version ! - Gen9 Android Development

Hi to evryone !
The last Archos update for 80/101 Gen9 ( 21/Nov/2012 ) : Android 4.0.4 Firmware 4.0.26 with Root access !
This Rom is based on unmodified Android system , Archos Firmware 4.0.26 !
This Rom can be installed only if you have already enabled SDE on your tablet .
Change log :
Media libraries: fix crash during indexing caused by music that has metadata year that evaluates to 0
Media libraries: add notification indicating scanning is in process
Display: better detect screen resolution on HDMI output for some DVI monitors
Settings: display correct application size in the Settings->Applications->Running apps
Video: fix playback for some VOB files
Audio: fix sound glitches on various applications that are constantly changing sample rate
Hard drive based products: restore fast boot on hard drive based devices
Hard drive based products: fix loss of hard drive or 3G USB port after suspend happening sometimes
& also ...
increase data I/O
enabled init.d* to run scripts
Download :
please download from here all necessary files :
archos.ext4.update
zImage
initramfs.cpio.lzo
4.0.26_root.zip
Installation :
connect USB cable ;
unzip 4.0.26_root.zip into 4.0.26_root directory
put archos.ext4.update from ( 4.0.26_root) in your device, or > adb push archos.ext4.update /mnt/storage
go to recovery SDE and Remove android kernel if you have already installed any official firmware !
go to Flash kernel & Initramfs and copy here zImage and initramfs.cpio.lzo from ( 4.0.26_root)
Ok ! ... & wait to boot !
Now you have rooted the last Archos Firmware 4.0.26 !
regards,
Surdu Petru

***reserved***

Great job surdru !

Can anyone confirm if it works this release ?
Thanks !

my archos wasn't the same without surdu!
I will not install because i'm now with your slim and fast rom i'm waiting for the 4.0.26 too.
But your stock rooted rom is always a good choice. Good work. :good:
Choice for exelence, slim and fast or stock rom by surdu! my vote

confirmation
surdu_petru said:
Can anyone confirm if it works this release ?
Thanks !
Click to expand...
Click to collapse
Works fine, thanks Surdu!!! :highfive:
Error log you might be interested in.
Code:
19:18:53.904 Error uim-sysfs 619 uim: Inside main
19:18:53.905 Error uim-sysfs 619 uim:ST built into the kernel ?
19:18:53.906 Error uim-sysfs 619 uim:FM driver module un-available...
19:18:53.906 Error uim-sysfs 619 uim:FM driver built into the kernel ?
19:18:53.906 Error uim-sysfs 619 uim:GPS driver module un-available...
19:18:53.906 Error uim-sysfs 619 uim:GPS driver built into the kernel ?
19:18:53.906 Error uim-sysfs 619 uim:FM V4L2 driver module un-available...
19:18:53.906 Error uim-sysfs 619 uim:FM V4L2 driver built into the kernel ?
19:18:53.907 Error uim-sysfs 619 uim:found bluetooth rfkill entry @ 1
19:18:53.907 Error uim-sysfs 619
19:18:53.907 Error uim-sysfs 619 uim:changed permissions for /sys/class/rfkill/rfkill1/state(0)
19:18:53.907 Error uim-sysfs 619
19:18:53.907 Error uim-sysfs 619 uim:install already set
19:18:53.907 Error uim-sysfs 619 uim: Inside st_uart_config
19:18:53.908 Error uim-sysfs 619 uim:install set to 1
19:18:53.908 Error uim-sysfs 619 uim: Inside set_baud_rate
19:18:53.908 Error uim-sysfs 619 uim: set_baud_rate() done
19:18:53.908 Error uim-sysfs 619 uim: Setting speed to 3000000
19:18:53.908 Error uim-sysfs 619 uim: Inside read_command_complete
19:18:53.908 Error uim-sysfs 619 uim: Command complete started
19:18:53.909 Error uim-sysfs 619 uim: Inside read_hci_event
19:18:53.909 Error uim-sysfs 619 uim: read_hci_event
19:18:54.099 Error uim-sysfs 619 uim: Command complete done
19:18:54.099 Error uim-sysfs 619 uim: Speed changed to 3000000
19:18:54.099 Error uim-sysfs 619 uim: Inside set_custom_baud_rate
19:18:54.100 Error uim-sysfs 619 uim: Changing baud rate to 3000000, flow control to 1
19:18:54.100 Error uim-sysfs 619 uim: set_custom_baud_rate() done
19:18:54.100 Error uim-sysfs 619 uim: Installed N_TI_WL Line displine
19:18:54.101 Error powerd 615 err: open(/sys/devices/platform/jm20329/timeout): (2) - No such file or directory
19:18:54.102 Error uim-sysfs 619 uim: Inside st_uart_config
19:18:54.102 Error uim-sysfs 619 uim: Un-Installed N_TI_WL Line displine
19:18:54.102 Error uim-sysfs 619 uim:cleanup
19:18:54.109 Error CameraHal 629 num_cameras = 1
19:18:54.112 Error PhonePolicy 627 Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
19:18:54.118 Error BatteryService 715 batteryPresentPath not found
19:18:54.119 Error BatteryService 715 batteryTechnologyPath not found
19:18:54.137 Error BluetoothGattClient.cpp 715 initNative Registering obecjt path at /com/ti/bluetooth/gatt/client
19:18:54.138 Error AudioPlayer 629 TimeInterpolator calling set_state() should actually change a state.
19:18:54.138 Error AudioPlayer 629 TimeInterpolator this state should not be reachable.
19:18:54.139 Error EventHub 715 could not get driver version for /dev/input/mice, Not a typewriter
19:18:54.140 Error AudioPlayer 629 TimeInterpolator calling set_state() should actually change a state.
19:18:54.140 Error AudioPlayer 629 TimeInterpolator this state should not be reachable.
19:18:54.142 Error CommandListener 623 Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directory
19:18:54.142 Error WifiStateMachine 715 Failed to disable IPv6: java.lang.IllegalStateException: Unable to communicate to native daemon for disabling ipv6
19:18:54.143 Error MobileDataStateTracker 715 default: Ignoring feature request because could not acquire PhoneService
19:18:54.143 Error MobileDataStateTracker 715 default: Could not enable APN type "default"
19:18:54.146 Error GadgetObserver 715 Kernel module not found
19:18:54.170 Error NAVD 981 SERVER_NAVC((null)):navcTime_init: gpsweek=1715,gpsmsec = 346500000, GPSSec = 1037578500 ([email protected]/mcp/NaviLink/NAVC/navc_time.c)
19:18:54.179 Error SystemServer 715 Couldn't restore overscanandroid.provider.Settings$SettingNotFoundException: overscan
19:18:54.188 Error NotificationService 715 Ignoring notification with icon==0: Notification(contentView=null vibrate=null,sound=null,defaults=0x0,flags=0x62)
19:18:54.227 Error WifiWatchdogStateMachine 715 Connected --> WifiInfo object null!
19:18:54.227 Error ConnectivityService 715 no dns provided for WIFI - using 8.8.8.8
19:18:54.227 Error ConnectivityService 715 exception setting default dns interface: java.lang.IllegalStateException: Error communicating with native daemon to set dns for interface
19:18:54.234 Error AudioPlayer 629 TimeInterpolator calling set_state() should actually change a state.
19:18:54.234 Error AudioPlayer 629 TimeInterpolator this state should not be reachable.
19:18:54.236 Error AudioPlayer 629 TimeInterpolator calling set_state() should actually change a state.
19:18:54.236 Error AudioPlayer 629 TimeInterpolator this state should not be reachable.
19:18:54.239 Error AudioPlayer 629 TimeInterpolator calling set_state() should actually change a state.
19:18:54.239 Error AudioPlayer 629 TimeInterpolator this state should not be reachable.
19:18:54.242 Error AudioPlayer 629 TimeInterpolator calling set_state() should actually change a state.
19:18:54.242 Error AudioPlayer 629 TimeInterpolator this state should not be reachable.
19:18:54.245 Error AudioPlayer 629 TimeInterpolator calling set_state() should actually change a state.
19:18:54.245 Error AudioPlayer 629 TimeInterpolator this state should not be reachable.
19:18:54.248 Error ExternalAccountType 1235 Unsupported attribute readOnly
19:18:54.248 Error DefaultVoicemailNotifier 1235 No voicemails to notify about: clear the notification.
19:18:54.332 Error dalvikvm 2122 Could not find class 'android.app.Notification$BigTextStyle', referenced from method com.android.calendar.alerts.AlertReceiver.makeExpandingNotification
19:18:54.506 Error OMXCodec 629 set buffer size variable to : 84319
19:18:54.550 Error MtpServer 938 Device = A80S Icon = /system/usr/share/mtp/DevIcon.A80S.fil

Hi Surdu
This release loads O.K. a quick test seems O.K. Will give it a good run tomorrow.
Best regards

This Rom seems to be a little bit snappier under the fingers than the xxx.25
Hope that the hdd suspend error is gone.
THX
i9100 - Resurrection Rom
i9300 - Omega Rom
Archos 101 Turbo (G9/250gb)

Maybe I should give it a try .

Hi!
Thank you for confirmation! ...was not tested before

Perhaps it sound like a stupid question, but were can i find those logs?

surdu_petru said:
Hi!
Thank you for confirmation! ...was not tested before
Click to expand...
Click to collapse
It works on my G9 Hdd version. Merci Petru.
Amadeus01 said:
Perhaps it sound like a stupid question, but were can i find those logs?
Click to expand...
Click to collapse
AlogCat?

DragosP2010 said:
It works on my G9 Hdd version. Merci Petru.
AlogCat?
Click to expand...
Click to collapse
Thank you , Dragos for your HDD confirmation !
Good luck ! :good:

Working on my 80 Turbo 16Gb. Can report that GPS is working correctly in this version (I couldnt get a fix on .25 without wifi/maps hassle). The only problem I can see is that it is reporting an update is available. Also when I open settings/About tablet then press system updates instead of asking if I want to check for updates it instead pops up the task tray menu (i.e the clock/wifi status/notification menu which is normally on the bottom right of the screen all the time). I found if I then click on the an update is available icon from the task tray and say no thanks to downloading the update then everything is back to normal and the settings/about tablet/system updates button works as it should. Odd. Other than that GPS locks are fine without needing to do any WIFI connection and loading of Google maps to get a fix. Battery drain doesnt seem to be an issue and there doesnt seem to be any memory leaks in this version in fact I see a bit more free memory than in .25 I also note that many programs now dont auto start which is also saving me memory. I havent tried the HDMI port yet, will do that later. I can also report that USB mounting to a PC seems to be speedy and working correctly (this has always been a problem for me on ICS). One other issue which I saw with the last ROM too is that even when sat next to a WIFI router my signal can vary between 2 bars to full this is even with the disable powersave option clicked. Google music is working correctly and I can play PC generated playlists and MP3's no problem.
So with there still being WIFI signal issues Archos still havent sorted out all our bugs but as the old British Rail advert used to say "we're getting there"

good work
surdu_petru said:
Hi!
Thank you for confirmation! ...was not tested before
Click to expand...
Click to collapse
not tested ? respect ! :good:
hell, but it works with my 101 g9
thanks

4carlos said:
not tested ? respect ! :good:
hell, but it works with my 101 g9
thanks
Click to expand...
Click to collapse
Hi !
Yes, was not tested....because, my tablet is currently being repaired !

Till now all is fine.
Root is working, soundbugs are gone.
1.5GHz 1GB 8GB
Gesendet von meinem ARCHOS 101G9 mit Tapatalk 2

Al seems fine except Google + keeps crashing
I don't bother cause i don't use it, but perhaps somebody else does.
Archos 80/9G 1Ghz/512Mb/8Gb

I have stutters if i play movie or view dreambox through WIFI..

works like a dream..... :victory:
Thx surdu
G9 101 Turbo 16GB

Related

Error 41 while building CyanogenMod

I've had no issues building cm7 in the past but now I keep getting the same error. I've spent the last two day googling and haven't had any luck I've checked java points the the right place, set ANDROID_JAVA_HOME=$JAVA_HOME and even deleted the entire repo and re-synced still nothing. Any ideas
Code:
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target Java: CMParts (out/target/common/obj/APPS/CMParts_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:99: cannot find symbol
symbol : variable VIBRATE_IN_CALL
location: class android.provider.Settings.System
Settings.System.VIBRATE_IN_CALL, 1) != 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:150: cannot find symbol
symbol : variable VIBRATE_IN_CALL
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.VIBRATE_IN_CALL,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:80: cannot find symbol
symbol : variable EXPANDED_HIDE_SCROLLBAR
location: class android.provider.Settings.System
Settings.System.EXPANDED_HIDE_SCROLLBAR, 0) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:109: cannot find symbol
symbol : variable EXPANDED_HIDE_SCROLLBAR
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.EXPANDED_HIDE_SCROLLBAR,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:62: cannot find symbol
symbol : variable STATUS_BAR_COMPACT_CARRIER
location: class android.provider.Settings.System
Settings.System.STATUS_BAR_COMPACT_CARRIER, 0) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:82: cannot find symbol
symbol : variable STATUS_BAR_COMPACT_CARRIER
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_COMPACT_CARRIER,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:120: cannot find symbol
symbol : variable widget_max_buttons
location: class com.cyanogenmod.cmparts.R.string
Toast.makeText(this, R.string.widget_max_buttons, Toast.LENGTH_LONG).show();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
7 errors
make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
Try "make clean" before building. I had different errors while building CM7 earlier and i read this somewhere. It worked for me.
Thank you but that did not solve still got the same errors
Sent from my Droid using Tapatalk
jbirdvegas said:
Thank you but that did not solve still got the same errors
Sent from my Droid using Tapatalk
Click to expand...
Click to collapse
Hey Bro, try sending a PM to Kadalban... he'll sort it very fast.
SOLUTION
wisefreakz said:
Hey Bro, try sending a PM to Kadalban... he'll sort it very fast.
Click to expand...
Click to collapse
First thanks, but I tried and was returned invalid username?
Anyway I found the problem. The recent bump to 2.3.4 caused lots of symbol not found errors during the build. You can hack those out by slowly removing .java files but that causes instability. I noticed a comment cyanogen had posted on one of the frameworks_base_core commits. Long story short had to merge, up to date, frameworks and my vendor tree. New features = New code. I'm smacking myself now for not realizing this sooner.
Cool... hope to see your rom out soon.
Good luck
Sent from my Milestone using XDA Premium App
I keep getting the following error
When trying to build the ROM.
The sync went smoothly and now I am trying to build and get this error:
"
...
SecuritySettings.java:421: cannot find symbol
symbol : variable AuthentecHelper
location: class com.android.settings.SecuritySettings
case AuthentecHelper.eAM_STATUS_USER_CANCELED:
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
42 errors
make: *** [out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
"
Been searching for a couple of hours for the solution but no luck.
Any1 has an idea?

[Q]CM9 compilate error OMX...

Hi,
I am building my new CM9 rom for Shakira but on linux mint 14 I have a big problem with this error :
http://pastebin.com/kpprcWcA
I used MiniCM surouces
pastebin not open :S
frameworks/base/media/libstagefright/OMXCodec.cpp:2546: warning: enumeral mismatch in conditional expression: '<anonymous enum>' vs 'OMX_COLOR_FORMATTYPE'
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android:MXCodec:nEvent(OMX_EVENTTYPE, OMX_U32, OMX_U32)':
frameworks/base/media/libstagefright/OMXCodec.cpp:3333: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android:MXCodec:nCmdComplete(OMX_COMMANDTYPE, OMX_U32)':
frameworks/base/media/libstagefright/OMXCodec.cpp:3513: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'bool android:MXCodec::flushPortAsync(OMX_U32)':
frameworks/base/media/libstagefright/OMXCodec.cpp:3828: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android:MXCodec::drainInputBuffers()':
frameworks/base/media/libstagefright/OMXCodec.cpp:3963: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In function 'const char* android::colorFormatString(OMX_COLOR_FORMATTYPE)':
frameworks/base/media/libstagefright/OMXCodec.cpp:5427: warning: comparison between 'enum OMX_COLOR_FORMATTYPE' and 'enum OMX_QCOM_COLOR_FORMATTYPE'
make: *** [out/target/product/shakira/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected] ~/cm9 $
This is error code
I had a similar problem except that I did not want to load at all
"frameworks / base / media / libstagefright / OMXCodec.cpp: In member function 'bool android :: eek: MXCodec :: flushPortAsync (OMX_U32)'"
and stopped and also used to use Linux, so we tried it on ubuntu and there was no problem with you more, but this is different ...
can do it on ubuntu like me
I do not want to install a new system ...
Everything can be solved without re installation - I know this from experience!
Does anyone else have any other ideas?
Have a look here Soniakos
Try using make -j1
Ubuntu rullez i know it
Yeah Thanks !
I build CM9
surouces for my CM9 is posted on my team github
github.com/MimiTeam
Hey cool,
What solved the error?
Not working yet !
I thinked working but I see this error now :/
Soniakos said:
frameworks/base/media/libstagefright/OMXCodec.cpp:2546: warning: enumeral mismatch in conditional expression: '<anonymous enum>' vs 'OMX_COLOR_FORMATTYPE'
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android:MXCodec:nEvent(OMX_EVENTTYPE, OMX_U32, OMX_U32)':
frameworks/base/media/libstagefright/OMXCodec.cpp:3333: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android:MXCodec:nCmdComplete(OMX_COMMANDTYPE, OMX_U32)':
frameworks/base/media/libstagefright/OMXCodec.cpp:3513: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'bool android:MXCodec::flushPortAsync(OMX_U32)':
frameworks/base/media/libstagefright/OMXCodec.cpp:3828: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android:MXCodec::drainInputBuffers()':
frameworks/base/media/libstagefright/OMXCodec.cpp:3963: warning: comparison between signed and unsigned integer expressions
frameworks/base/media/libstagefright/OMXCodec.cpp: In function 'const char* android::colorFormatString(OMX_COLOR_FORMATTYPE)':
frameworks/base/media/libstagefright/OMXCodec.cpp:5427: warning: comparison between 'enum OMX_COLOR_FORMATTYPE' and 'enum OMX_QCOM_COLOR_FORMATTYPE'
make: *** [out/target/product/shakira/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected] ~/cm9 $
This is error code
Click to expand...
Click to collapse
No this is not error... This is only warning....
The real error here:
Code:
target thumb C++: libstagefright <= frameworks/base/media/libstagefright/SurfaceMediaSource.cpp
frameworks/base/media/libstagefright/OMXCodec.cpp:2351:2: error: #endif without #if
and here:
Code:
frameworks/base/media/libstagefright/OMXCodec.cpp:2340: error: 'kRequiresStoreMetaDataBeforeIdle' was not declared in this scope
I hope how this help If not, I will see your repos, but first try to fix you..
Ok but now I installed Ubuntu 10.04 (On this I created my first rom Ice Elite CM9) on this Ubuntu I haven't errors...
And now I have some next problems but now with libusbx :/
I installed Ubuntu and I want to install flashtool... but I have a error with libusb, but I installed in termianl is :
[email protected]:/home/zodex/ft# ./FlashTool
Running as root.
JAVA_HOME not set. Using default value : ./x10flasher_lib/linjre64
Libusb not found. Minimum libusb version is 1.0.14
It can be downloaded on http://www.libusbx.org
Can you help me now ?
Soniakos said:
Ok but now I installed Ubuntu 10.04 (On this I created my first rom Ice Elite CM9) on this Ubuntu I haven't errors...
And now I have some next problems but now with libusbx :/
I installed Ubuntu and I want to install flashtool... but I have a error with libusb, but I installed in termianl is :
[email protected]:/home/zodex/ft# ./FlashTool
Running as root.
JAVA_HOME not set. Using default value : ./x10flasher_lib/linjre64
Libusb not found. Minimum libusb version is 1.0.14
It can be downloaded on http://www.libusbx.org
Can you help me now ?
Click to expand...
Click to collapse
http://www.libusbx.org
Visit the site, download the source, then build lubusbx
install it then restart pc...
I installed this :/
But error is :/
And I have next error :
[email protected]:~/cm9$ repo init -u git://github.com/zodex/android.git -b ics
fatal: git 1.7.2 or later required
OMG ! Why errors ?
Soniakos said:
I installed this :/
But error is :/
And I have next error :
[email protected]:~/cm9$ repo init -u git://github.com/zodex/android.git -b ics
fatal: git 1.7.2 or later required
OMG ! Why errors ?
Click to expand...
Click to collapse
needed newer version of git...
sudo apt-get install git-core
if says how the latest version installed:
https://launchpad.net/~git-core/+archive/candidate
install 1.8 from here
I have error !
Bro help me please...
make: *** [out/target/product/shakira/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1
make: *** Waiting for unfinished jobs....
This is not like me ...
Can u help me ?
In frameworks/base/media/libstagefright/OMXCodec.cpp find this: (Line 2337-2351)
Code:
#if !defined(QCOM_LEGACY_OMX) && !defined(STE_HARDWARE)
if ((mFlags & kStoreMetaDataInVideoBuffers)
#else
if (!(mQuirks & kRequiresStoreMetaDataBeforeIdle)
&& (mFlags & kStoreMetaDataInVideoBuffers)
#endif
&& portIndex == kPortIndexInput) {
LOGW("Trying to enable metadata mode on encoder");
err = mOMX->storeMetaDataInBuffers(mNode, kPortIndexInput, OMX_TRUE);
if (err != OK) {
LOGE("Storing meta data in video buffers is not supported");
return err;
}
}
#endif
Then replace with this:
Code:
#ifndef QCOM_LEGACY_OMX if ((mFlags & kStoreMetaDataInVideoBuffers)
&& portIndex == kPortIndexInput) {
LOGW("Trying to enable metadata mode on encoder");
err = mOMX->storeMetaDataInBuffers(mNode, kPortIndexInput, OMX_TRUE);
if (err != OK) {
LOGE("Storing meta data in video buffers is not supported");
return err;
}
}
#endif
Very Thanks bro !
Sorry bro's but I have new problem :/
in console :
running: java -Xmx512m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpNRP2MT out/target/product/shakira/cm_shakira-ota-eng.zodex.zip
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2798)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:111)
at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:178)
at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:135)
at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:289)
at com.android.signapk.SignApk.copyFiles(SignApk.java:422)
at com.android.signapk.SignApk.main(SignApk.java:490)
ERROR: signapk.jar failed: return code 1
make: *** [out/target/product/shakira/cm_shakira-ota-eng.zodex.zip] Error 1
I know... This is java problem but I can't fix it :/
Can you help me ?
You can get OOM errors if you don't have a big enough swap partition when compiling.
Use 6GB swap on a build machine..
Your error may be from something else, i'm just pointing out another possible cause..

[KERNEL] [WIP] Custom Kernel Project

Intro
I wanted to make a thread to document kernel development activities that we're doing. So far, this Ouya forum has been a great place to view what it takes to start developing for a new device!
First of all, alsutton over on GitHub posted the kernel source. It can be found here https://github.com/ouya/ouya_1_1-kernel.
XDA University has some great articles to get started:
http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
Things noticed about the stock kernel so far:
-it's cpu governor seems to be permanently set to "performance" (1600Mhz all the time). There might be a way to override this, but in the voltage control app, I wasn't able to change anything (frequency or governor)
Wish List:
-Access to set more governors (could help the Ouya's fan stay off during menu surfing)
-Overclocking (we have a fan...let's break 2Ghz because we need moar hertz. Might help speed up some emulators)
Need more info:
-If we ever overlock, we need a way to view temperature to make sure we're not frying our Ouyas. Just a guess, but it's probably a file we can read from in /dev or /proc
-Just a blind guess after reading the XDA University article on adding overclocking, but SOURCE/arch/arm/mach-tegra/tegra3_clocks.c might be a place to look. It seems to have clock frequency tables. Other devs that have made tegra 3 kernels might know the appropriate files to edit
boot.img details
As an FYI,
for most android devices, the kernel resides in it's own partition on the device. When flashing a new kernel, a new boot.img is flashed to the partition. The boot.img file includes a header, the kernel image (pre-compiled), and the ramdisk. On boot, the kernel takes control and uses the ramdisk files to get things started. The rest of the partitions (including system, data, cache) are mounted and the Android OS is booted (from system).
Here's one way to take a boot.img and dissect it in order to view the ramdisk contents.
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
Here's another way as well (thanks, professorpoptarts)
http://forum.xda-developers.com/showthread.php?t=1890912
May I suggest not to try to overclock past known safe values of 1.9ghz?
As for the kernel....it is not set to be at 1.6ghz all the time... its set differently and actually stays and floats at 1ghz until utilization kicks in at to 1.6ghz
You wont be able to change any of these values until you compile your own kernel with the correct voltage/clock settings in place.
-----edit------
To add to that in respects to the 1-1.6ghz range it actually only utilizes those 2 cpu states ( from what I've recorded )
HTCdemon said:
May I suggest not to try to overclock past known safe values of 1.9ghz?
As for the kernel....it is not set to be at 1.6ghz all the time... its set differently and actually stays and floats at 1ghz until utilization kicks in at to 1.6ghz
You wont be able to change any of these values until you compile your own kernel with the correct voltage/clock settings in place.
-----edit------
To add to that in respects to the 1-1.6ghz range it actually only utilizes those 2 cpu states ( from what I've recorded )
Click to expand...
Click to collapse
What are you using to record? I have been using "system panel".
Sent from my SCH-I535 using xda premium
just fyi, I was looking at the init.rc for the 264 OTA, just in case a rom gets flashed that didn't remove this we could always disable the recovery flash at the boot level.
service flash_recovery /system/etc/install-recovery.sh
class main
oneshot
for any other aspiring kernel devs out there:
https://github.com/invisiblek/AnyKernel/tree/ouya
(fyi: this is on the branch named ouya of that repo, make your you add: -b ouya to your git clone or you'll get the branch for a different device)
just throw your zImage in kernel/ and your modules in modules/
make sure when you compile your kernel, you add -fno-pic to your KBUILD_CFLAGS_MODULE in Makefile in the root of your kernel source
otherwise it wont load the modules
wewt!
Just curious.....is anyone else having issues compiling the latest commit?
I reverted back to the previous commit but it still breaks.
Build machine hasnt changed.
Code:
drivers/dma/timb_dma.c: In function 'td_tx_status':
drivers/dma/timb_dma.c:521: error: 'last_complete' undeclared (first use in this function)
drivers/dma/timb_dma.c:521: error: (Each undeclared identifier is reported only once
drivers/dma/timb_dma.c:521: error: for each function it appears in.)
drivers/dma/timb_dma.c:521: error: 'last_used' undeclared (first use in this function)
drivers/dma/timb_dma.c:513: warning: unused variable 'td_chan'
make[2]: *** [drivers/dma/timb_dma.o] Error 1
make[1]: *** [drivers/dma] Error 2
make: *** [drivers] Error 2
HTCdemon said:
Just curious.....is anyone else having issues compiling the latest commit?
I reverted back to the previous commit but it still breaks.
Build machine hasnt changed.
Code:
drivers/dma/timb_dma.c: In function 'td_tx_status':
drivers/dma/timb_dma.c:521: error: 'last_complete' undeclared (first use in this function)
drivers/dma/timb_dma.c:521: error: (Each undeclared identifier is reported only once
drivers/dma/timb_dma.c:521: error: for each function it appears in.)
drivers/dma/timb_dma.c:521: error: 'last_used' undeclared (first use in this function)
drivers/dma/timb_dma.c:513: warning: unused variable 'td_chan'
make[2]: *** [drivers/dma/timb_dma.o] Error 1
make[1]: *** [drivers/dma] Error 2
make: *** [drivers] Error 2
Click to expand...
Click to collapse
Fine here
Now if I just had a working Ouya....we could make some cool stuff =P
Back with a new problem...
Code:
06-29 18:41:21.260: D/WifiService(322): setWifiEnabled: true pid=584, uid=10018
06-29 18:41:21.270: E/WifiHW(107): Failed to open wlan fw path param (No such file or directory)
06-29 18:41:21.270: E/SoftapController(107): Softap fwReload - failed: -1
06-29 18:41:21.270: E/WifiStateMachine(322): Failed to reload STA firmware java.lang.IllegalStateException: command '9 softap fwreload wlan0 STA' failed with '400 9 Softap operation failed (No such file or directory)'
06-29 18:41:21.270: W/CommandListener(107): Failed to retrieve HW addr for wlan0 (No such device)
06-29 18:41:21.270: D/CommandListener(107): Setting iface cfg
06-29 18:41:21.270: E/WifiStateMachine(322): Unable to change interface settings: java.lang.IllegalStateException: command '11 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 11 Failed to set address (No such device)'
06-29 18:41:21.280: V/WifiSetupActivity(584): Setting content visible: true
06-29 18:41:21.280: E/wpa_supplicant(986): nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
06-29 18:41:21.280: E/wpa_supplicant(986): Failed to initialize driver 'nl80211'
06-29 18:41:21.280: E/wpa_supplicant(986): wlan0: Unsupported driver 'nl80211'
06-29 18:41:21.370: E/WifiStateMachine(322): Failed to start supplicant!
Anyone else having issues with this?
edit:
Looks like it's not loading any modules at all... I had no problems previously with older kernels till 328....anyone know what im missing?
My main issue here, and something I'd like to see done.
The Ouya seems to get hot sometimes during long durations of gameplay, could we put together a method on getting the fan boosting cool air through the device once it gets hot? Or would that be something hardware related as the Ouya can't say; "I'm hot, pour some water on me"?
If this was useful to you, I can only ask of a favor!
Check out my YouTube channel!
http://WWW.YouTube.com/user/TheDarkRosary
Subscribe if you will!
HTCdemon said:
Back with a new problem...
Code:
06-29 18:41:21.260: D/WifiService(322): setWifiEnabled: true pid=584, uid=10018
06-29 18:41:21.270: E/WifiHW(107): Failed to open wlan fw path param (No such file or directory)
06-29 18:41:21.270: E/SoftapController(107): Softap fwReload - failed: -1
06-29 18:41:21.270: E/WifiStateMachine(322): Failed to reload STA firmware java.lang.IllegalStateException: command '9 softap fwreload wlan0 STA' failed with '400 9 Softap operation failed (No such file or directory)'
06-29 18:41:21.270: W/CommandListener(107): Failed to retrieve HW addr for wlan0 (No such device)
06-29 18:41:21.270: D/CommandListener(107): Setting iface cfg
06-29 18:41:21.270: E/WifiStateMachine(322): Unable to change interface settings: java.lang.IllegalStateException: command '11 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 11 Failed to set address (No such device)'
06-29 18:41:21.280: V/WifiSetupActivity(584): Setting content visible: true
06-29 18:41:21.280: E/wpa_supplicant(986): nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
06-29 18:41:21.280: E/wpa_supplicant(986): Failed to initialize driver 'nl80211'
06-29 18:41:21.280: E/wpa_supplicant(986): wlan0: Unsupported driver 'nl80211'
06-29 18:41:21.370: E/WifiStateMachine(322): Failed to start supplicant!
Anyone else having issues with this?
edit:
Looks like it's not loading any modules at all... I had no problems previously with older kernels till 328....anyone know what im missing?
Click to expand...
Click to collapse
Im getting the exact same problems on a stock OUYA bougth today
lsmod on the adb shell shows the following :
[email protected]:/ $ lsmod
lsmod
cfg80211 179175 0 - Live 0x00000000
inv_mpu_ak8975 3937 0 - Live 0x00000000
inv_mpu_kxtf9 6865 0 - Live 0x00000000
mpu3050 36222 2 inv_mpu_ak8975,inv_mpu_kxtf9, Live 0x00000000
Click to expand...
Click to collapse
I wish i had an Ouya.... i would be all over this
Ouya-XD said:
My main issue here, and something I'd like to see done.
The Ouya seems to get hot sometimes during long durations of gameplay, could we put together a method on getting the fan boosting cool air through the device once it gets hot? Or would that be something hardware related as the Ouya can't say; "I'm hot, pour some water on me"?
If this was useful to you, I can only ask of a favor!
Check out my YouTube channel!
http://WWW.YouTube.com/user/TheDarkRosary
Subscribe if you will!
Click to expand...
Click to collapse
sure through some code already published there are multiple ways to impliment thermal throttling
although that could impact game play
im sure there are also ways to open the unit and have it trigger a fan
im sure you also could make custom heatsink for the unit for those hardcore Overclockers
you wanna look in
tegra3_clocks.c
tegra3_dvfs.c
tegra3_thermal.c
tegra3_throttle.c
cpu-tegra3.c
and a few others
you can improve the GPU clocks and add governors easily as well as change between slab/slub/slob/slqb
this would be something really fun to play with ill try to save up for an ouya
Is this project still active? I would love to contribute in any way possible to an overclocked kernel, but I have never done any kernel development before.
BUS DR1V3R said:
Is this project still active? I would love to contribute in any way possible to an overclocked kernel, but I have never done any kernel development before.
Click to expand...
Click to collapse
I'm waiting till I can afford an ouya then I can code up some stuff
Sent from my SCH-R970 using xda premium
mybook4 said:
Things noticed about the stock kernel so far:
-it's cpu governor seems to be permanently set to "performance" (1600Mhz all the time). There might be a way to override this, but in the voltage control app, I wasn't able to change anything (frequency or governor)
Click to expand...
Click to collapse
Just for reference, I have two Ouya's. One came clocked (retail version) at 1.6, the other came (Kickstarter) clocked at 1.7.

Continuous spamming of logcat while device is sleeping

So I just noticed via Android Studio monitor while testing an app under development during device sleep, that it is continuously and at a good rate*, spamming the logcat log with:
10-21 15:59:43.543 239-239/? E/ccci_fsd(1): Failed to read from FS device (-1) !! errno = 4
I've felt that the battery use during sleep since buying it hasn't been all that great. Perhaps that's why with it continually spending the cpu on this.
This is with the latest official OS version for the Blu R1 with Amazon ads.
*Counted 16 lines in 5 seconds
Search turned up nothing. Device appears to work fine.
Factory reset does nothing as suspected. However, currently it looks to only show up when on battery power (I use wifi ADB and found this problem with device in discharge state during sleep) - it should show with a logcat reader app I suspect.
Eg (discharge)
10-21 14:20:38.236 854-919/? E/native: do suspend true
10-21 14:20:39.448 238-238/? E/ccci_fsd(1): Failed to read from FS device (-1) !! errno = 4
10-21 14:20:39.691 238-238/? E/ccci_fsd(1): Failed to read from FS device (-1) !! errno = 4
10-21 14:20:39.932 238-238/? E/ccci_fsd(1): Failed to read from FS device (-1) !! errno = 4
...
Eg (charge)
10-21 14:21:41.685 854-919/? E/native: do suspend true
10-21 14:23:29.666 1781-1871/? E/MPlugin: Unsupported class:
Anyone have any thoughts?
Nevermind, mystery solved. Found out airplane mode with wifi enabled fixes it.
Looks like it could be from not having a sim card.
Thread closed at the request of the OP.

Wi-fi and BT Failing to Start after Rooting Issues - No solutions worked till date!

Hi All,
Need some help in getting my wifi and bluetooth back to normal. It's over a month now and all my attempts have failed! I would really appreciate some ideas here. Thank you, and sorry for long thread.
Phone info:
Samsung galaxy S6 SM-G920T (T-Mobile), firmware version: NRD90M.G920TUVS6FRC1, stock OS with root and TWRP recovery
Situation:
Bluetooth does not turn ON at all
Wifi takes a long time to turn ON, and only way to turn it ON is from settings (quick access tile does not work)
Wifi does not remember any password
All other functions work correctly, and the phone is now lightning fast after factory reset
Details and Steps Taken:
Rooted my phone a month ago, and started changing config. Took OS and app backup only, but no EFS/other partition backup.
Turned OFF "Allow OEM Unlock" - don't ask why
This (I believe) resulted in WIFI not remembering passwords, so after reviewing potential solutions, I changed "Secure.Storage" value in build.prop to "0"
Took backup of WPA_supplicant.conf and deleted the file
Problem was not resolved, and I had to restart the phone
Restart resulted in FRP lock - to resolve this I re-installed the OS from stock firmware from Sammobile; Yet - no luck on wifi and bluetooth, error still persisted
I reviewed the system log and found tons of errors (listed below). Based on errors, I tried:
Copying libbluetooth_jni.so library file to '/system/lib' and '/system/vendor/lib' folders
Changing 'semGetAllowBluetoothMode' value to "True" - this reduced some errors (refer below)
Validating file / folder permissions for the /efs partition - they seem to be appropriate, but I cannot confirm since there is no reference
I have also tried using SmartSwitch - but it doesn't recognize phone in download mode. It backups the apps, etc. though
Also wiped the system partition once using TWRP, and re-imaged. Yet no luck.
My hunch currently for these errors is:
The /efs permissions became incorrect or partition became corrupt due to some configuration I performed
The system lost its encryption key when the "OEM unlock" was disabled, and thus cannot read any files from the /system and /efs partition (the device was NOT encrypted, but I am thinking /efs is always encrypted by system - correct me if I am wrong)
System log snippets:
Bluetooth Related Log:
Bluetooth GATT service:
Code:
BtGatt.GattService: [GSIM LOG]: gsimLogHandler: null, msg: MESSAGE_LOAD_PREF
Bluetooth Adapter Service:
Code:
BluetoothAdapterService: onProfileServiceStateChanged() serviceName=com.android.bluetooth.gatt.GattService, state=12, Message sending
semGetAllowBluetoothMode:
Resolved this error by updating the value to "True" in build.prop. Was this the right fix, or is it supposed to get value = 2.
Code:
DevicePolicyManagerService: semGetAllowBluetoothMode - value retunrs : 2
Wifi error log:
Code:
WifiHW : ##################### set firmware type 0 #####################
WifiHW : ==========[WIFI] SEMCO MODULE ===========
WifiHW : TEMP_FAILURE_RETRY complete
NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 208 Softap operation succeeded
WifiMonitor: killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
WifiHW : supplicant_name : p2p_supplicant
WifiHW : Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
WifiWatchdogStateMachine: Unhandled message { when=0 what=135173 arg1=2 target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState
WifiMonitor: startMonitoring(wlan0) failed!
WifiStateMachine: Failed to setup control channel, restart supplicant
WifiHAL : wifi_event_loop: Read after POLL returned 4, error no = 0
WifiHAL : wifi_cleanup: Read after POLL returned 4, error no = 2
WifiHAL : Event processing terminated
NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 219 Softap operation succeeded
NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 229 Softap operation succeeded
NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 240 Softap operation succeeded
NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 248 Softap operation succeeded
WifiHAL : wifi_event_loop: Read after POLL returned 4, error no = 11
NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 200 256 Softap operation succeeded
WifiStateMachine: Failed 6 times to start supplicant, unload driver
WifiStateMachine: sendErrorBroadcast code:10
WifiController: WifiControllerWifi turn on failed

Categories

Resources