yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] stevemp:
code

No, it is all standard AOSP and CyanogenMod 7.2 compile except for changes to code for it to run on rk2818.

stevemp

---------- Post added at 04:19 PM ---------- Previous post was at 04:16 PM ----------

Looks good, I'll test it next build. Need to change TScalibration code, remove reboot. Right now I'm trying to add soft volume buttons on status bar like in Eclair/Froyo, bigger job than I thought it would be.:eek:

stevemp
[Miscellaneous Android Development] heart_crafter:
i dont think u need soft buttons when you can set volume from hard keys...

all of thes tablets aleast have the page up and page down buttons...

all you need to do is map the keys correctly...

just use this in the qwerty.kl

key 62 ENDCALL WAKE_DROPPED
key 59 MENU WAKE
key 103 VOLUME_DOWN WAKE
key 102 BACK WAKE
key 108 VOLUME_UP WAKE
[Miscellaneous Android Development] DaremoS:
Please change also those red baloons :) remain something I don't like :D
[Miscellaneous Android Development] stevemp:
keys

I think some of them have trackballs instead of keys, changing the key code messed up the trackball, check out the Yarvik settings.

Archos 7 hvt2 is another one without hardware buttons.

key 232 DPAD_CENTER WAKE_DROPPED

key 108 DPAD_DOWN WAKE_DROPPED

key 103 DPAD_UP WAKE_DROPPED

key 102 HOME WAKE

key 105 DPAD_LEFT WAKE_DROPPED

key 106 DPAD_RIGHT WAKE_DROPPED

Plus I don't like my tablet to wake with volume, use it as a mp3 player and change volume with screen off.

stevemp

---------- Post added at 03:08 AM ---------- Previous post was at 02:55 AM ----------

How bout a nice purple one, flashback to the sixties?:D May take icon out of rockchip tablet.:)

stevemp
[Miscellaneous Android Development] Stopglobal:
Noob question :)

hello

i've been reading this thread for a while now and tried to upgrade my pmp3084b with Dare_SpecialEdition.v2.. it looks nice and i guuess it works nice but there is a problem .. and i hope you can tell me the solution .. when i wanna play music it doesnt really work.. it stops and then says it doesnt know the mp3 format ..

i know i'm new and probably somewhere you've mentioned it before and i spent hours to find the answe but just couldnt .. could you please tell me what to do .. thank you
[Miscellaneous Android Development] stevemp:
???

Not sure, did they play before upgrading?

stevemp
[Miscellaneous Android Development] zerspaner:
overclocking odys genesis

Hi,

Is it possible to overcklock the genesis? :confused:

regards
[Miscellaneous Android Development] Stopglobal:
well .. when i had the original software on the tablet it was.. playerpro winamp .. all good .. but then i installed the newest from the prestigo website and then it started .. it was a month ago .. since i keep reading this thread and uploaded first one and now this one and it keeps doing it .. my friend has the same pmp3084 and his player stops all the time with the original software ..

thanks for the help :)
[Miscellaneous Android Development] stevemp:
Try songbird or jukefox from the market, stock music player is not very good. Mobo Player is the best for video, plays more codecs.

Try one of the new gingerbread builds.They are later versions of CyanogenMod. I don't remember what is in the older versions, been a while since using one. http://xdaforums.com/showpost.php?p=21870684&postcount=5

stevemp
[Miscellaneous Android Development] X-Factor Solutions:
I've been playing with the screen settings on my Next2 and still have no luck on resolving the screen orientation issue but I see there is a new buildso I'll see if that helps.

Is there any thought of running a Honeycomb based Rom on these systems?
[Miscellaneous Android Development] X-Factor Solutions:
Do you guys still need Next2/Voltaire test pilots??? If so.... X-Factor is reporting for duty!
[Miscellaneous Android Development] Stopglobal:
became better

and it solved itself .. i think the reson for that the jukefox was collecting details about music it it slowed down the whole tablet .. not jukefox plays fine but no other player does it .. anyway jukefox looks great so i'm happy ..

sorry to bother you
[Miscellaneous Android Development] stevemp:
Honeycomb

No Honeycomb, Google never released the code, said it's not complete or something like that. Feel free to test and report back your findings. That is the way I find out what needs repair. Thanks.

stevemp
[Miscellaneous Android Development] jogai:
http://www.modaco.com/page/news/_/android/ice-cream-sandwich-update-released-for-the-andy-r572

Does this mean ICS can be ported for our tablets? The andypad is based on a RK2918 chip.
[Miscellaneous Android Development] DaremoS:
To solve this issue of orientation I've found an app which do the trick pretty well.

It's called Ultimate Orientation Control. This app have a status that follow position strictly named "forced auto", strangely this status is not available in android settings, as normal setting "auto rotate" behave by letting apps take the control of orientation, so if user have device portrait and app have landscape then screen will turn so, frequently wrong to user desire. Force Auto will show portrait no matter what app default has. Then user can choose what position to use.

That's the way the device have to work, damn it!!! :)

Sent from Master-G G-820c mentally
[Miscellaneous Android Development] stevemp:
screen orientation

What I did on the Next3 was to use a app called AndroSensor https://play.google.com/store/apps/details?id=com.fivasim.androsensor to check what the sensor was doing then changing fun_'s settings. Portrait was landscape and landscape was upside down, so set hwrotation to true and invert landscape.

#

#fun_ screen orientation

accelerometer.hwrotation=1

accelerometer.flip_xy=0

accelerometer.invert_x=1

accelerometer.invert_y=0

accelerometer.invert_z=0

Maybe looking at fun_'s code might help.

namespace {

uint32_t tweak_axes;

}

#define FLIP_XY	(1 << 0)

#define INVERT_X	(1 << 1)

#define INVERT_Y	(1 << 2)

#define INVERT_Z	(1 << 3)

{

sp<SensorEventQueue> queue(reinterpret_cast<SensorEventQueue *>(nativeQueue));

if (queue == 0) return JNI_FALSE;

char propBuf[PROPERTY_VALUE_MAX];

property_get("accelerometer.flip_xy", propBuf, "0");

bool flip_xy = (atoi(propBuf) != 0);

property_get("accelerometer.invert_x", propBuf, "0");

bool invert_x = (atoi(propBuf) != 0);

property_get("accelerometer.invert_y", propBuf, "0");

bool invert_y = (atoi(propBuf) != 0);

property_get("accelerometer.invert_z", propBuf, "0");

bool invert_z = (atoi(propBuf) != 0);

property_get("accelerometer.hwrotation", propBuf, "0");

int hwrotation = (atoi(propBuf) / 90) % 4;

if (hwrotation) {

if (hwrotation % 2) {

bool b = invert_x;

invert_x = invert_y;

invert_y = b;

flip_xy = !flip_xy;

}

if (hwrotation <= 2)

invert_x = !invert_x;

if (hwrotation >= 2)

invert_y = !invert_y;

}

tweak_axes = 0;

if (flip_xy)

tweak_axes |= FLIP_XY;

if (invert_x)

tweak_axes |= INVERT_X;

if (invert_y)

tweak_axes |= INVERT_Y;

if (invert_z)

tweak_axes |= INVERT_Z;

status_t res;

if (delay >= 0) {

res = queue->enableSensor(sensor, delay);

} else {

res = queue->disableSensor(sensor);

}

return res == NO_ERROR ? true : false;

}

if (event.type == ASENSOR_TYPE_ACCELEROMETER) {

if (tweak_axes & FLIP_XY) {

float f = event.acceleration.x;

event.acceleration.x = event.acceleration.y;

event.acceleration.y = f;

}

if (tweak_axes & INVERT_X)

event.acceleration.x = -event.acceleration.x;

if (tweak_axes & INVERT_Y)

event.acceleration.y = -event.acceleration.y;

if (tweak_axes & INVERT_Z)

event.acceleration.z = -event.acceleration.z;

}

stevemp
[Miscellaneous Android Development] SamuEDL:
Cyanogenmod (bq voltaire) modified by nauj666 in forotablets

Thanks to STEVEMP
[Miscellaneous Android Development] DaremoS:
Honeycomb was released by Google and it's installed in the only device that have Honeycomb as OS Huawei MediaPad tablet

If you want the source to compile it for RK2818 here is
[Miscellaneous Android Development] JDfense:
This would be challange - Honeycomb on RK2818.

Is it possible?
[Miscellaneous Android Development] DaremoS:
It's also possible to try one of the best audio player available for Windows now in android. JetAudio, made originally by Cowon.

Give a try to this full featured music player!!!
[Miscellaneous Android Development] stevemp:
No

Sorry DaremoS, JDfense, that is only source code for kernel, bluetooth, and webkit. Source code looks more like this for ICS > https://github.com/android

Honeycomb is in ICS, but not tagged so it can not be compiled as far as I know. If you want the source use git. I already have it.

repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1

repo sync

stevemp

---------- Post added at 06:56 PM ---------- Previous post was at 06:43 PM ----------

The Huawei MediaPad tablet is a dual core processor with capacitive screen. I don't know of resistive screen tablet with Honeycomb or ICS. Drivers might be a problem to get working, haven't tried compiling yet.

My Archos G9 came with Honeycomb, moved to ICS quickly, faster and more stable. Also tried Honeycomb on the Nook Color, slow and buggy.

stevemp
[Miscellaneous Android Development] JDfense:
I will try that one. Jukefox is not bad, but I'm still searching for a better option.
[Miscellaneous Android Development] stevemp:
No Honeycomb Source Code

nauj666 has a really good mod for Voltaire, should work fine on Next3 if you want to test it. The hardest part for me was the screen orientation, portrait was landscape and landscape was upside down. Next2 kernel is different so no idea as what to do. I used AndroSensor to check sensor orientation(accelerometer). In portrait y is the top of the tablet, x is to the right, and z is up. Not sure if this helps.

http://www.forotablets.com/showthre...E-ANDROID-2.3.7-VERSI%D3N-1?p=63632#post63632

---------- Post added at 05:11 AM ---------- Previous post was at 04:44 AM ----------

Most games and video players won't work if you if you force orientation, that is the reason android does not have setting to set rotation.

Problem I was having was screen being upside down in portrait which was really landscape. Took me a couple of weeks to understand sensor in android. It's very hard to understand the math involved. :eek:

Looking at ICS code seems as arm7 optimized code must be rewritten for arm5, too much for me. Maybe someone else will do it that is better at writing code. :)

stevemp
[Miscellaneous Android Development] JDfense:
Nice xyz-system, but I don't understand the z-axis in this system, because our tablets have last time I checked only two dimensions like a tablet.:o

There is no 3D inside or what?

My school math is maybe to weak for understanding.:eek:

PS.: If there is a third dimension, we can build holograms in the background.;)
[Miscellaneous Android Development] migrocard:
What about Prestigio PMP3074B?

Hello. Sorry if going offtopic, just wondering is there any way to use any custom rom for Prestigio PMP3074B? I noticed that JDfense uploaded some ROM file earlier, but files are unavailable, so if anyone can help with reuploading it or with some advice. Thank you all!
[Miscellaneous Android Development] stevemp:
3d

Put it flat on table in portrait, y is going away from you, x is going to the right, z is going up. I have a problem understanding this to start with, took a long time to become clear in my head. The math is way over my head.:eek:

stevemp

---------- Post added at 08:46 AM ---------- Previous post was at 08:37 AM ----------

CyanogenMod 7.2 is here http://xdaforums.com/showpost.php?p=21870684&postcount=5

PMP3084B > http://www.mediafire.com/?qodiivyd97xwe6a link is working. Should work fine on your tablet. Tools to install if you need them. http://www.mediafire.com/?a2wgkzbuogv7fif

The old links may not work, which one are you trying to download?

stevemp
[Miscellaneous Android Development] migrocard:
I found ROM which was posted by JDfense:

Prestigio froyo version 3 with your 3074b

http://xdaforums.com/showpost.php?p=21104420&postcount=1671

but is uploaded on Megaupload and I couldn't find mirror.

I have downloaded CyanogenMod-7.2.0-R1-UNOFFICIAL-KANG-PMP3084B.05.24.2012.zip but do you think is possible to use it as my Prestigio 3074B has 7" screen?

Thank you so much!
[Miscellaneous Android Development] heart_crafter:
i think i'm lost :D

I installed AndroSensor...

Tablet is in portrait mode.

x and y is around 0 on flat surface.

z is around 9.81

x >0 when tilted Left

x <0 when tilted Right

y >0 when tilted Down

y <0 when tilted Up

This looks normal on latest Steve's Cyanogenmod.

I compared this with a phone i have...

Main factor was the default system Orientation.

Since my phones default orientation is portrait, i had keep my phone in portrait mode and then check the results. And they acted same as the tablet.

So while i was typing the above text... i figured i should try something...

I rotated my phone to landscape and tablet to portrait. (remember phone' default orientation is portrait and tablet's landscape)

And the results did not match :D

Both variable x and y are inverted :P (this might be the problem) - lol i have to do more experiments :P

Please let me know what are we trying to accomplish haha

Edit:

x and y changes with rotation, z does not.

is z = angle of the phone?

when z = 0, device is standing in 90 degree

when z = around 9.81, device is facing up.

when z = around -9.81, device is facing down.

Edit2:

muhohahaha http://www.businessinsider.com/we-h...ter-worked-until-we-watched-this-video-2012-5
[Miscellaneous Android Development] stevemp:
Prestigio 3074B

Sorry, I did not notice you had a 3074B, use this one.:o Let me know if it works.:)

Prestigio 3074B > http://www.mediafire.com/?0fjngp69bkhlbnb

stevemp
[Miscellaneous Android Development] migrocard:
Thank you, thank you, good man :D.

I will try it in some hour, and let you know how it ended.

UPDATE: I have successfully flashed it and works perfectly - I think best possible on this hardware.

First boot was very slow - maybe 5 minutes but next (after calibration, etc) was around 3 minutes what is time needed with original Prestigio ROM.

Thank you once more for your effort.
[Miscellaneous Android Development] stevemp:
New Rom

Test of heart_crafter's restore launcher script and new TSCalibration plus apps added to rom. Home button switches between docks. Next3 kernel, should work on Next3, PMP3084B, and Genesis.

http://www.mediafire.com/?zag6rfzv3s2aev1

stevemp
[Miscellaneous Android Development] JDfense:
Okay you are too fast for me, Florida man. Forget my mail, you have built a 3074 from your gingerbread.

If that works, migrogard you could nearly every rom in the thread use, when you first change your stock rom kernel, misc and recovery in.
[Miscellaneous Android Development] JDfense:
@heart-crafter,

yes your are lost in the dimensions, but as stevemp has no idea about the function of the axis, you can explain after your excursion into »accelerometer in action«, what does the z-axis on screen.
[Miscellaneous Android Development] migrocard:
@stevemp

I have been playing with ROM you sent me and only thing I think is not properly working is Calibration - I calibrated it dozen of times and always left/bottom edge of screen is not working properly. Am I doing something wrong or there is something to be done with ROM itself as screen size is 800x480?

@JDfense

Is there way this Prestigio run any Froyo based ROM you built already as would like to try it on tablet.

Thank you both so much as this really gave totally new life to my tablet.
[Miscellaneous Android Development] JDfense:
Okay, I give it trial. I built a froyo with the stock rom kernel inside. Need some time.

update:

Link for a froyo version for Prestigio pmp3074b

http://www.mediafire.com/?9kutb1h12fzrkrw
[Miscellaneous Android Development] stevemp:
Froyo has better calibration than Gingerbread. You have to delete old calibration first before recalibrating.

heart_crafter tip

if you used zeroxlab calibration do as follows:

adb shell rm /data/misc/pointercal

adb shell rm -r /data/misc/idc/

*removes previous calibration data for zeroxlab calibration

adb shell am start -a android.intent.action.MAIN -n org.zeroxlab.util.tscal/.TSCalibration

*do this if for some reason you mess up your calibration and you can't g restart the calibration
[Miscellaneous Android Development] drtweak:
Hey everyone. Finally after following the old thread (Skipped to last page and saw link to new one and updated links to roms (With megaupload down and all).

First off I'd like to thank everyone who has worked on this rom! My GF got a next3 from her grandma a while back and she was having issues so i set it back to factory default, saw that i was 2.1 and was just like... YUCK :eek: So i saw there was a 2.2 out which i still run on my DroidX with Apex 1.4.1 which i still love (Going to get a Razor Max here soon) So i DO have flashing experience but not on a tablet. So i downloaded "DaremoS Gingerbread Third Edition V1.2 by stevemp and JDfense" V1.2RC2 for next3/pmp3084b. Went and downloaded the drivers, and the flash tool and read the instructions. Now here is where i have issues.

I do have Windows 7 x64 (dual booted with w7 32 if needed) But when i turn it off and then press and hold the down button all it does it boot back up again? I know with my droid X i get the recovery console. Is that what i'm looking for (There isn't anything specific or pictures or details of what should happen when you press the down button. Possible fix of instruction unless its just me lol) but I plug it in to the PC and it just boots up like normal and just shows the mass storage device.

Am I doing something wrong or could it be the Next3 or possible the PC?

Info: Nextbook Next3

Current OS: Android 2.1 - Kernel 2.6.25

Build: C2.2.1.ECLAIR.eng.root.20110715.161458

Any help is greatly appreciated!!!
[Miscellaneous Android Development] stevemp:
I understand what they do but the math involved.:eek:

public void onSensorChanged(SensorEvent event)

{

// alpha is calculated as t / (t + dT)

// with t, the low-pass filter's time-constant

// and dT, the event delivery rate

final float alpha = 0.8;

gravity[0] = alpha * gravity[0] + (1 - alpha) * event.values[0];

gravity[1] = alpha * gravity[1] + (1 - alpha) * event.values[1];

gravity[2] = alpha * gravity[2] + (1 - alpha) * event.values[2];

linear_acceleration[0] = event.values[0] - gravity[0];

linear_acceleration[1] = event.values[1] - gravity[1];

linear_acceleration[2] = event.values[2] - gravity[2];

}

There are many pages of code related to sensors.:eek:

Up to you heart_crafter to explain this. :D Maybe forty years ago I could understand, but my math skills have faded over time.:rolleyes:

stevemp

---------- Post added at 05:49 PM ---------- Previous post was at 05:44 PM ----------

Here is a link to instructions and tools you need. http://www.mediafire.com/?a2wgkzbuogv7fif

The new CyanogenMod 7.2 roms have fewer bugs (Gingerbread 2.3.7). http://www.mediafire.com/?zag6rfzv3s2aev1

It takes a long time on first boot, maybe four or five minutes.

stevemp
[Miscellaneous Android Development] drtweak:
Thanks for the better rom, and i have the tools, Like i said when i try to connect it to the PC the way the instructions in the PDF say it boots up to normal mode and runs it as a mass storage device, Not to the point where i manually install the drivers needed unless the flashing occurs when the nextbook is running normally? Again instructions are unclear as to what till happen and what the nextbook should do when pressing the downbutton after powering off
[Miscellaneous Android Development] JDfense:
Thanks stevemp, I think the mathe lesson could be over my head too.

We have to wait on our testpilot for an explanation with more easy words and less mathe symbols.;)
[Miscellaneous Android Development] stevemp:
Drivers

Hold the down button and plug in the usb cable, windows should ask for a driver. Video by hvdwolf explains how to do the rest. http://www.youtube.com/watch?v=NXBlfcAJaaM&feature=related

stevemp
[Miscellaneous Android Development] heart_crafter:
Ill check this out asap... THANX!

sent from doubleshot.
[Miscellaneous Android Development] migrocard:
Thank you for your work - I am just booting 1st time and as soon system is up I will tell you what is going on.

Thanks once more! Vielen dank!

UPDATE: System Working perfectly!!! Is fast as ever and really reacts good - seems very stable also. Just please tell me - I noticed 2 problems - Android Market shows only 2-3 apps and 1 game compatible with device (on previous ROMs there were thousands, and is possible to switch to Google Play?) YouTube reports Connection error although network works normally.

Vielen vielen dank!
[Miscellaneous Android Development] heart_crafter:
Try the instructions I made for rockingchip... If u still can't figure it out...

sent from doubleshot.
[Miscellaneous Android Development] drtweak:
Thanks for the help stevemp!

Came home - pressed down button and plugged it into my laptop and it saw it right away and installed the drivers. Guess my desktop at work didn't like it (custom build quad core AMD) but its booting into the rom that you had suggested. Will let you know what I think and how it goes!

Thanks a lot!
[Miscellaneous Android Development] DaremoS:
Returning to this orientation/rotation matter :)

What this "force auto" do is to follow all the time the orientation the user wants for the device. If the user rotate the device, the screen will rotate the same, as usually does "auto-rotate screen" in settings.

The difference is when an app has as default a different position than the user has the devices, it will not obey, except if the user turn the device.

This can affect a game (I never play games :o)? (question)
[Miscellaneous Android Development] stevemp:
Force Close

I couldn't get it to work, keeps force closing. Ebook reader gives you the option of locking in portrait. Most of the games I play have to be in landscape, same as video player. If video player is in portrait it does not play. With ADW Launcher you can lock it in portrait or landscape in settings. Not sure what I would use it for, my tablet has a case that doubles as a stand, keeps it in landscape on desk.

stevemp
[Miscellaneous Android Development] drtweak:
Program crashing?

Alright so I flashed it successfully and seems to be running pretty got for the slow 600 mhz 256 megs of ram that it has lol. Did have a few questions and problems I'm having.

1) Was going to ask but after going back a few pages till like page 120 was gonna ask about a hard back button but found out if i hold the vol down its a hard back button so that's answered

2) I saw that it doesn't have a swipe keyboard? Is this an easy install or no?

3) Angry birds will start up but once i click on a level it crashes. Same for netflix. It will seem to load then just crash. So far those are the only issues I've seem to have.

EDIT: 4) I have browsed though all the settings as well but for some reason (Espically if i'm using my fingers) when i try to bring down the status bar this mainly happens and on a few other occasions but it will bring up the app draw? I've looked though the settings but maybe i'm over looking something? This is an option i am able to disable or is this a glitch?

Has trouble playing some videos but maybe if they weren't 1080 it would play them lol

But other than that it an awesome rom man! Runs better than the stock and can actually use it as a table (or what little of a table it is) but its a lot more functional than it was.