yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] heart_crafter:
oh that's sad... if owner.tmp is not made permissions on the adw will be bad... and it can act really weird... for some reason it did not made the owner file and ownership on adw data is fine...

i see a customize? folder also there lol :D

mine rebooted (crashed i guess) also... but never booted up lol it was like a shutdown not a reboot...

how does it reboot? is it in the calibration code?

grr... so script did not ran perfectly :D

i installed swype... it works fine :D

edit:

try changing sh /system/bin/getown "/data/data/$AppName"

to /system/bin/sh /system/bin/getown "/data/data/$AppName"

looking into "customize?" lol - edit2: maybe because getown is not with unix terminators :D (most probably)

any idea why adding scripts to init.d does not work? or they run before all the installations?

this line in your script means /system/bin/pm install $i >> $logfile 2>&1 &

start the installation send output to logfile... and resume to next line...

then sleeps for 20 seconds...

i think you should remove the & at the end of this line... so it does not resume the code until app is completely installed.

'&' is use full but not for us since we know what apps works or dont. we would need '&' only for apps that dont work :D ( i hope u got this :D )
[Miscellaneous Android Development] stevemp:
???

I removed two lines from getown and it restored but then when rebooted it writes over the new settings. The logcat showed where it was setting permissions so I just don't know???:confused:

mkdir -p /system/usr/customize

rm -f /system/usr/customize/owner.tmp

Anyhow, new image to test TSCalibration. Left in some of the apps I use plus stripped out live wallpapers and a few other things. Release candidate 3. Remove the sdcard when flashing and it's much faster, spends a lot of cpu time scanning.

PMP3074B > http://www.mediafire.com/?cxop5dz916pccx0

Next3 > http://www.mediafire.com/?c69tbotyac39myc

stevemp
[Miscellaneous Android Development] heart_crafter:
you should put the whole script in

if [ ! -e "/system/usr/customize/logs/first_boot_completed" ];then
code...
fi

so it'll runs only on first boot...

something is weird on line 92 in install.sh

... move the sqlite tweaks below cd /... looks like they are in a loop where apps are getting installed :P

flashing now...

edit:

oh u removed the script :( :P i guess we can play with that at the end... when everything else is perfect :D
[Miscellaneous Android Development] drtweak:
Can't seem to find your post >.<

And i figured as much.

And yea lol I didn't know that it required flash and why flash wasn't supported but now i know lol thanks
[Miscellaneous Android Development] heart_crafter:
in first post(OP) there's a link to rockingchip eclair...

also you can find the swype app in one of my last posts...
[Miscellaneous Android Development] heart_crafter:
Steve,

in loopy script... shouldn't USER_LAUNCHER="org.adwfreak.launcher"

be USER_LAUNCHER="com.android.launcher" ?

i think to get package name of any apk file either do adb 'pm list packages' or use the folder name from /data/data
[Miscellaneous Android Development] X-Factor Solutions:
Round 3?

Any chance you can release a Next2/Voltaire version so I can test it too???

---------- Post added at 03:41 PM ---------- Previous post was at 03:36 PM ----------

I do have some info to report but I want to work thru a few more things so I can be as thorough as possible...
[Miscellaneous Android Development] heart_crafter:
Alright :D

Here's a surprise for ya! :D

Put it in boot.img :D and recovery if you like...

and bootanimation resized... so it runs smoother :D
[Miscellaneous Android Development] migrocard:
I have just turned off tablet after 2 hours test on my PMP3074B and impression is that I cannot believe how fast all this runs on hardware like this (except boot time - takes about 5 min).

1. Problem with calibration is still there - maybe is slightly better than in prev version - but still left-bottom part of screen makes chaos.

2. Rotating sensor is not working at all - or doing all wrong - when I hold tablet vertically it shows horizontal picture, sometimes totally flips it, etc.

3. Seems to me that screen resistence is higher - have feeling it reacts much worse on pressing it normally - needs higher pressure. (maybe I am too subjective as screen on this tablet is really really bad itself, but still I think Jdfense's Froyo is acting better regarding touch screen)

4. Speed - it runs really pretty good for hardware I have - even with all animations, transitions, effects.

General impression is great, even with some problems above I would still rather use it than Prestigio ROM I had and after correcting all these will be really perfect.
[Miscellaneous Android Development] JDfense:
I think you need no TScalibration for stevemp cm7 and it doesn't work as he mentioned.

For my odys genesis it works fine with the bq kernel version.

Which kernel do you have in the rom, stevemp uploaded for you.

Steve, I have changed in the original 3074 kernel, misc and recovery in my froyo. This should work with the cm7 too and the calibration should be fine after that.

What you need to adjust is the acclerometer.

You need this values,

accelerometer.flip_xy=1

accelerometer.invert_x=1

accelerometer.invert_y=0

accelerometer.invert_z=0

accelerometer.hwrotation=1

or

accelerometer.flip_xy=0

accelerometer.invert_x=1

accelerometer.invert_y=0

accelerometer.invert_z=0

accelerometer.hwrotation=1

in the built.prop of the system.img.

If the cm7 would not be responsive with your stock rom kernel, then we can finally check the bq voltaire kernel.
[Miscellaneous Android Development] stevemp:
???

OK, I am confused.:confused: You added those settings to Froyo? That is fun_ based code, only works in Gingerbread. TSCalibration is working in Release candidate 3. I think it is related to the launcher settings, will build a new image with zeam launcher today and see if that helps. Maybe too many apps for rk2808, less memory than rk2818.

Test for PMP3074B, Next2 > http://www.mediafire.com/?qb98yfjpi24zk1m

Might work on all 7 inch tablets, let me know please.

stevemp
[Miscellaneous Android Development] migrocard:
Hello, I am just downloading it and will let you know about it shortly. In last version screen calibration problem was present - was acting totally the same as in first version you uploaded. Anyway I will send you how it is working now.

Update Ok, installed & tested

1. Booting speed problem - SOLVED - this is fastest booting ROM ever seen on my tablet (PMP3074B)

2. Sensor rotation - SOLVED - works perfectly

3. Calibration - PROBLEM - again - see image to see what is happening (when pressing screen - white spot on image - it reflects in area where arrow leads - NOTE: this is only happening in left-bottom part of screen)

If I notice something else I will note you. Thanks again!
[Miscellaneous Android Development] heart_crafter:
ADW Launcher modified code...

http://xdaforums.com/showpost.php?p=26816322&postcount=1324
[Miscellaneous Android Development] JDfense:
Stevemp you got me wrong.

Fun_ code does not work in froyo, but I have assumed the possible variations of fun code .

My darwin froyo work with stock kernel of the 3074. In this case one of those two variations of accelerometer settings in gingerbread should do the trick with stock kernel.
[Miscellaneous Android Development] JDfense:
Which kernel is in the rom? Next3?
[Miscellaneous Android Development] stevemp:
kernel

PMP3074B, 7" screen. Misunderstood your answer before about rotation.:o Found out why Darwin is so fast.:D It's in the default settings.

Darwin SettingsProvider.apk

res/values

bools.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="def_dim_screen">true</bool>
<bool name="def_airplane_mode_on">false</bool>
<bool name="def_auto_time">true</bool>
<bool name="def_accelerometer_rotation">true</bool>
<bool name="def_screen_brightness_automatic_mode">false</bool>
<bool name="def_haptic_feedback">true</bool>
<bool name="def_bluetooth_on">false</bool>
<bool name="def_install_non_market_apps">false</bool>
<bool name="assisted_gps_enabled">true</bool>
<bool name="def_usb_mass_storage_enabled">true</bool>
<bool name="def_wifi_on">false</bool>
<bool name="def_networks_available_notification_on">true</bool>
<bool name="def_backup_enabled">false</bool>
<bool name="def_notification_pulse">true</bool>
<bool name="def_mount_play_notification_snd">true</bool>
<bool name="def_mount_ums_autostart">false</bool>
<bool name="def_mount_ums_prompt">true</bool>
<bool name="def_mount_ums_notify_enabled">true</bool>
<bool name="def_notifications_use_ring_volume">true</bool>
<bool name="def_vibrate_in_silent">true</bool>
</resources>

fractions.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
<fraction name="def_window_animation_scale">0.0%</fraction>
<fraction name="def_window_transition_scale">0.0%</fraction>
</resources>

integers.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="def_screen_off_timeout">60000</integer>
<integer name="def_screen_brightness">102</integer>
<integer name="def_network_preference">1</integer>
<integer name="def_power_sounds_enabled">1</integer>
<integer name="def_dock_sounds_enabled">0</integer>
<integer name="def_lockscreen_sounds_enabled">0</integer>
</resources>

Now we can all be like Darwin.:D

stevemp

---------- Post added at 02:24 PM ---------- Previous post was at 02:13 PM ----------

Will build a new one right away, thanks.:D

stevemp
[Miscellaneous Android Development] heart_crafter:
wow u can actually edit all the settings ? :O

nice! :D

i gota get in building from source! :P
[Miscellaneous Android Development] migrocard:
Can't wait. I am sorry I didn't explain properly what was the problem...
[Miscellaneous Android Development] stevemp:
picture

We were talking about adw launcher and default settings. The picture helped me understand what is wrong with TSCalibration, fun_ uses 7 points in his code and rockchip TSCalibration uses 10. Still thinking about what to do with calibration problem, no quick fix.

stevemp
[Miscellaneous Android Development] X-Factor Solutions:
Testing now...
[Miscellaneous Android Development] heart_crafter:
Whoever is having problem... Try flashing the rom again and hit back on calibration... And see if its any better...

Also he can try experimenting with the file which tscalibration writes... (Find the path in the post where I instruted how to reset tscalibration)

Edit:

Steve, do u have to specify screensize or default resolution dpi anywhere when u build the rom? I think Jostey might have a solution for this...

sent from doubleshot.
[Miscellaneous Android Development] stevemp:
fun_ code

I don't understand what fun_ was doing, he modified the TSCalibration code to write out 7 numbers instead of ten. Original code writes out landscape > upper left, upper right, lower right, lower left, center, same for portrait, 10 total.

Added to InputReader.cpp

// XXX hack for Haipad M701/M1001
char propBuf[PROPERTY_VALUE_MAX];
property_get("touch.offset_x", propBuf, "0");
offset_x = atoi(propBuf);
property_get("touch.offset_y", propBuf, "0");
offset_y = atoi(propBuf);

// Pointercal
if (! in.tryGetProperty(String8("touch.pointercal.x1"), out.pointercalX1)) {
out.pointercalX1 = 1.0f;
}
if (! in.tryGetProperty(String8("touch.pointercal.x2"), out.pointercalX2)) {
out.pointercalX2 = 0.0f;
}
if (! in.tryGetProperty(String8("touch.pointercal.x3"), out.pointercalX3)) {
out.pointercalX3 = 0.0f;
}
if (! in.tryGetProperty(String8("touch.pointercal.y1"), out.pointercalY1)) {
out.pointercalY1 = 0.0f;
}
if (! in.tryGetProperty(String8("touch.pointercal.y2"), out.pointercalY2)) {
out.pointercalY2 = 1.0f;
}
if (! in.tryGetProperty(String8("touch.pointercal.y3"), out.pointercalY3)) {
out.pointercalY3 = 0.0f;
}
if (! in.tryGetProperty(String8("touch.pointercal.scale"), out.pointercalScale)) {
out.pointercalScale = 1.0f;
}
out.pointercalX1 /= out.pointercalScale;
out.pointercalX2 /= out.pointercalScale;
out.pointercalX3 /= out.pointercalScale;
out.pointercalY1 /= out.pointercalScale;
out.pointercalY2 /= out.pointercalScale;
out.pointercalY3 /= out.pointercalScale;

Added to InputReader.h

// Pointercal
float pointercalX1;
float pointercalX2;
float pointercalX3;
float pointercalY1;
float pointercalY2;
float pointercalY3;
float pointercalScale;

It writes out 7 numbers.

Changed

final private static String TAG = "TSCalibration";

final private static String POINTERCAL = "/data/misc/tscal/pointercal";

final private static String defaultPointercalValues = "1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1\n";

final private static File FILE = new File(POINTERCAL);

to this

final private static String TAG = "TSCalibration";

final private static String POINTERCAL = "/data/misc/pointercal";

final private static String defaultPointercalValues = "1 0 0 0 1 0 1\n";

final private static File FILE = new File(POINTERCAL);

Maybe you can understand what he is doing.:confused:

edit: just looked and I'm using the sensors.rk28board.so from our board instead of his, maybe he need's different input. Guess next build I'll try using his.

stevemp
[Miscellaneous Android Development] JDfense:
Hey Steve, don't open all boxes. Not that I understand that lines, but I'm Darwin No.1 fan. Only in case someone asks.:p

All values on 10 is good enough for me. I do that with my guitar amplifier when nobody is too close:).

And ask fun_ himself about calibration, don't be afraid. Maybe he helps you. I would ask, but no choice for an answer.

Btw your thanks meter explode, congratulation steve.:cool:

https://www.youtube.com/watch?feature=player_embedded&v=6TtGqQtChxw#! :D
[Miscellaneous Android Development] migrocard:
Stevemp, is there really way to setup screen size (in pixels) and screen resolution?
[Miscellaneous Android Development] stevemp:
pixels

In the build.prop, 160 is standard for tablets.

qemu.sf.lcd_density=160
[Miscellaneous Android Development] migrocard:
And screen size - in 7" case - 800x480 px?
[Miscellaneous Android Development] Dante2070:
Androd MID drivers

Hi,

I just installed the latest Gingerbread (very good, thanks guys) on my 3084b. Windows is asking me for "Android MID" drivers, upon usb cable connection. I haven't been able to find these anywhere (neither google or searching in this thread). The drivers from page one, apparently, are not it.
[Miscellaneous Android Development] stevemp:
screen

Screen size is determined by the kernel and board in the tablet.

stevemp

---------- Post added at 12:50 AM ---------- Previous post was at 12:46 AM ----------

They are in the install tools. > http://www.mediafire.com/?a2wgkzbuogv7fif

If your Windows is 64 bit use the amd64, if 32 bit use the x86.

stevemp

---------- Post added at 12:55 AM ---------- Previous post was at 12:50 AM ----------

Edit the settings, spend two hours building your system.img, bricks.:eek: Edit the settings again, spend two more hours building your system.img, ADW Launcher crashes. :mad:

stevemp
[Miscellaneous Android Development] JDfense:
@stevemp

is it possible, that the 3074 has the same problem with calibration as the hvdwolf froyo rom from 7'' to 8,4'', only visa versa. I remember that you read out the values manual and then we could fix it with an extra line in built.prop or so.

@migrocard

If nothing helps against your calibration problem in gingerbread, try the bq voltaire version. Maybe the voltaire kernel is compatible like darwin kernel with my tablet.

BqVoltaire > http://www.mediafire.com/?be7v5i6c8aceaeo
[Miscellaneous Android Development] nikwayne:
firmware for ARNOVA 84, about status bar
[Miscellaneous Android Development] heart_crafter:
Oh that sucks, 2 hrsss! Will it build faster on a better machine?

What's the specs on ur machine?

sent from doubleshot.
[Miscellaneous Android Development] JDfense:
There is no option to move the status bar in the backround for eclair or froyo. Only gingerbread/cm7 has options for the status bar. Maybe a code maker could do the trick.

Why do you want that very old eclare for your genesis. I've tested that rom in the past.

Small, ugly and not so fast as possible like heart-crafter eclare.

If you want a fast and small froyo, check my Darwin version or for gingerbread try stevemp cm7 with bq Darwin kernel on your genesis
[Miscellaneous Android Development] stevemp:
Same image

Seems as though the kernel is almost the same on the 7 " tablets, they need the same fun settings. :rolleyes:

Time for a Froyo shootout between tweaked PMP3084B and Darwin.:D:D

stevemp

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

On a really fast machine like Cyanogen uses 15 minutes, 1 hour 40 minutes for mine.

It's a amd laptop cpu/gpu built on the same chip. Gave my good desktop to my daughter because of heat/power issues. This one only draws 75 watts, when the power bills hit 400+ during the summer every bit helps. Turned out the problem was the boot image, didn't get signed when I changed the initlogo.rle, windows has done this before. Last time deleted RKCooking and reinstalled it to fix. I don't know if it's the heat, power, motherboard, memory or a driver issue, Linux does the same thing. Two desktops have died in the last four years since moving here and my laptop died when I went to sleep after work one morning without turning on the air conditioner. :( The new ADW Launcher is really fast. :D:D:D

stevemp
[Miscellaneous Android Development] migrocard:
No, absolutelly same problem as with other Gingerbread - runs pretty good, but because of calibration - impossible to use it normally.

Back to Froyo already.
[Miscellaneous Android Development] heart_crafter:
Hmm... That suck, u really need good ventilation :D n me to...

I don't know how much watts mine draws :p I have to keep it on all the time so I can use it as a ftp and remote in anytime... :D

I have ubuntu and win 7 installed... Maybe I should boot my machine un ubuntu more and try to build the source code one atleast :p

No desktop died on me :p hoping they never do... :p

New AWD :D i ll wait for the new build...

U liked the new(modified) initlogo ? :D

sent from doubleshot.
[Miscellaneous Android Development] DaremoS:
I'll suggest to use a new launcher with a different concept than normal launchers: 360 launcher.

More than just a launcher this includes lot of integrated tools. All suggested to download by main application.

It's Chinese, translated to English, but have few lines in such language in extra apps, anyway have the option to be translated by the user. In the net can found an Spanish version.

Some tools are really awesome, like those devoted to clean memory and security, also some to manage apps.

Look for the thread here in XDA. Remember 360 launcher.

Yours trully... Cult the

D

Sent from Master-G G-820c mentally
[Miscellaneous Android Development] stevemp:
New Build

It is a nice logo, I'll use it after fixing boot.img. Yeah, my desktop runs 24/7 also, use it as a file server. ;)

Not the full ADW Launcher mod, thought that was the reason for not booting. Try it and let me know. I have every thing set up to build when you are ready to try. :D

Take your sdcard out on first boot to be safe! Not this rom but the one that crashed messed up mine. Shut down and on second boot the rest of the apps install. I use ID3Fixer to fix my mp3 tags other wise media scanner keeps crashing, could just be my tags are bad, happens on all roms.

8.4" tablets > http://www.mediafire.com/?5238utcgw1uw8tu

7" tablets > http://www.mediafire.com/?bc558bc31642n5t

stevemp

---------- Post added at 01:37 PM ---------- Previous post was at 01:32 PM ----------

Cool today, only mid ninetys. :D Supposed to be high ninetys next week. :eek: My room is on the west side of the house with full sun all afternoon. Keep two fans running but still Hot in Here

stevemp
[Miscellaneous Android Development] migrocard:
Flashed PMP3074B with last stevemp's ROM for 7" tablets - speed great, boot time great, but still cannot use it - still same reason - calibration makes impossible to use on-screen-keyboard - it types wrong letters still.
[Miscellaneous Android Development] DaremoS:
I love stevemp work for RK2818 8" (8" or 8.4" screens) then I use his roms without any fear (you have to trust in somebody), no doubts, no arguing and no further complains!!

That simplify life (feng-shui and rock'n roll philosophy [gosh... what word)).

In the 7" area... Jostey (sorry, pal)
[Miscellaneous Android Development] JDfense:
@Steve

maybe you move next time to Alaska - no more burned motherboards.

You want a shoot. out, but let it be fair. I have no supercharger like improvements in the Darwin rom. Tune both rooms with the same parts, then I'm sure Darwin would be faster, Mr. CM 007:p

Jdfense
[Miscellaneous Android Development] JDfense:
Ahh the sun of south America is rising, DaremoSuperstar. The man behind the gun.:cool:

I'm sure that Steve has now the full motivation to fix his cm7 for 7'';)

I check into your new cm7 version, stevemp.

Edit:

No rotation on desktop?? I have to look in the builtprop, maybe something is missed.
[Miscellaneous Android Development] migrocard:
Really have no luck with cm7 on my tablet...

Did anyone else with any 7" tablet try this? Maybe is problem only with Prestigio PMP3074B...
[Miscellaneous Android Development] JDfense:
Don't try to force it.

Try another gingerbread. Have you tried hvdwolfs cm7 from the link I sended you?
[Miscellaneous Android Development] migrocard:
Yes, right away after you sent it - same problem...
[Miscellaneous Android Development] Dante2070:
drivers and screen

There are no drivers in the install tools. I also tried "drivers" from page one, no success.

I am using "DaremoS Gingerbread Third Edition V1.2 by stevemp and JDfense", on a Prestigio 3084b. My screen is randomly turning on, after being turned of. This problem seems to have occurred not only to me. Is there a fix?

EDIT: USB toggle (turn on/off usb in statusbar) has stopped working for some reason. Was working fine yesterday. I installed a few apps from market, but I doubt that could be the reason for it to stop working.
[Miscellaneous Android Development] stevemp:
Here they are, no cure for the flashing that I know of. That rom has a problem with the usb, best to use the new one. Next3 kernel but works fine on PMP3084B.

Rom > http://www.mediafire.com/?5238utcgw1uw8tu

Driver > http://marketing.prestigio.com/$Customer_Support/Drivers/Tablet_PC/PMP3084B/tools v1.23.rar

---------- Post added at 08:10 PM ---------- Previous post was at 08:01 PM ----------

Turn it on in settings, I don't like the screen rotating so it's off by default. This is my personal settings with the apps I use, If you have mp3s use ID3Fixer to fix the android data base, otherwise it will be slow. Fastest rom I ever use thanks to heart_crafter ADW Launcher settings.

---------- Post added at 08:47 PM ---------- Previous post was at 08:10 PM ----------

I will make you a rom that TSCalibration is working in, if that does not work ???

stevemp
[Miscellaneous Android Development] Dante2070:
new rom

Still don't have the "Android MID" driver, the link you provided didn't help.

Flashed new rom. Looks better, seems to be faster and the screen even seems to be more responsive.

Also, still has the same USB toggle problem. Fixed via market app.
[Miscellaneous Android Development] stevemp:
mid

If you can connect the usb, no need for the "Android MID", maybe windows has lost it's mind again.:rolleyes:

stevemp
[Miscellaneous Android Development] Dante2070:
You're right. Thanks for the help.

What is your favorite music player? Songbird? I tried out a few, so far winamp (free) seems to work best for me.
[Miscellaneous Android Development] stevemp:
Jukefox is nice if you don't have too many mp3s, I have almost 400 on my tablet and the icons use too much memory, 179 mb. I turn off the screen anyways too save battery so it's not really important what I use.

stevemp
[Miscellaneous Android Development] Dante2070:
number of mp3 files

Didn't think the number of the mp3's are important, but now you mentioned it, I have 600+ and the tablet doesn't seem to like it. Also tags seem to be a problem.

Winamp is somewhat faster than jukefox.