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

After SuperCharger 2D graphics went from 115 to 254, total score to 645. SuperCharger makes a big difference on Prestigio PMP3084BA 3.0.4, plus you can use PowerShift_Scripts to switch between settings. You should give it a try and see what it does for your rom. :D You will need to use busybox_v1.19.4-wraithdu-installer_script before running SuperCharger, don't be like me. :o

stevemp
[Miscellaneous Android Development] zeppelinrox:
Hey glad you got it going :D
[Miscellaneous Android Development] stevemp:
init.d

Thanks, that what I was looking for, still learning how to cook a better rom.:)

stevemp
[Miscellaneous Android Development] DaremoS:
Great, Stevemp!!! I would be great if you share with us the rom you use for testing.

:D:D:D:D:D
[Miscellaneous Android Development] surfer63:
Not exactly. The main issue is that your need to search&replace "awk" with "/system/bin/busybox awk"

and

"sed" with "/system/bin/busybox sed", or to whatever path your busybox resides in.

As I'm too lazy (or too conservative) to install another busybox I simply modified the supercharger script.

zeppelinrox' script could possibly be enhanced with something like

if [ -f "/system/bin/busybox" ]; then
BB="/system/bin/busybox"
else if [ -f "/system/xbin/busybox" ]; then
BB="/system/xbin/busybox"
else if ...
fi

And later down in the script something like

$BB awk ....

(But maybe I should post that in his thread ;))
[Miscellaneous Android Development] heart_crafter:
should

chmod --reference <reference-file> <target-file>

work from android shell ?

i need to figure out a command to copy one files' permissions to another...

can anyone guide me to the right directions ? :)
[Miscellaneous Android Development] stevemp:
busybox

If statements are not supported by some busyboxes, ran into that problem also.:eek:

On my rom the only busybox was in /system/bin without any links, so the script did not work at all.

stevemp
[Miscellaneous Android Development] surfer63:
Forgot that one: That's the reason I use the case/esac statement in the scripts.
[Miscellaneous Android Development] stevemp:
You can use stat in a script if your busybox supports it.

stat -c %a gets file permissions.

stat -c %u gets owner.

permission=$( stat -c %a filename )

owner=$( stat -c %u filename )

Maybe that helps.

stevemp

---------- Post added at 03:50 PM ---------- Previous post was at 03:35 PM ----------

Soon as I finish making it.:)

stevemp
[Miscellaneous Android Development] heart_crafter:
sounds gooood :P

very nice :D
[Miscellaneous Android Development] stevemp:
Preview

Removed for bug fixes, thanks to all who tested.:)

stevemp
[Miscellaneous Android Development] heart_crafter:
cant wait to look at the preview...

ill flash it after i release the rom im about to finish also...

dont worry its eclair hehe :D

Sent from doubleshot.
[Miscellaneous Android Development] DaremoS:
OMG!!! ... what do you have in your tablet heart???

---------- Post added at 07:23 AM ---------- Previous post was at 07:21 AM ----------

Loading it in my 8.4" tablet!!!
[Miscellaneous Android Development] JDfense:
heart_crafter is in his own world, called eclair or did he mean the android OS?;)
[Miscellaneous Android Development] heart_crafter:
as you guys know :P i'm also a bit new to this android world :P

i was trying to cook a rom from scratch :P

it's the original next3 rom

system r/w - totally customizable

full gmail/mail sync support

installs apps from sd card on first boot...

imports wifi settings from sd card

imports bootanimation from sdcard

custom launcherpro settings

widgetsoid for statusbar options

original video/music player

solitare/jewels/squibble

rootexplorer/esfileexplorer

browser/operamini

realcalc/automemorymanager

aldiko/playbook/adobereader

wifiadb

Next3 firmware

i think ill call this Next3-Rockchip_Eclair-Almost_Bloated

im open for suggestions lol

not done yet, hoping ill finish before monday :D
[Miscellaneous Android Development] stevemp:
New Roms

Looking forward to something new. :D

This rom has been a big learning experience. Busybox took a long time to understand, now I know why so many scripts did not run on my roms, no links or few applets in them. Make sure the one you want to use is first in PATH, or you might link to wrong one. :p I did all the mods on my tablet this time, so ended up copying system to sdcard and unpacking in Linux to create a cramfs. Change to the root of sdcard, tar cvf SystemBackup.tar /system/*, keeps all owner and file permissions intact. You can backup data also, tar cvf DataBackup.tar /data/*, might be able to restore system and data using tar, something to try later. :)

stevemp
[Miscellaneous Android Development] heart_crafter:
good to know :D
[Miscellaneous Android Development] heart_crafter:
i feel like i should post this somewhere else... but anywayz :D

what's the cleanest way to do this:

owner=$(busybox stat -c %u "/data/data/com.estrongs.android.pop.cupcake")

owner=${owner#1}

owner=${owner#0}

owner=${owner#0}

owner=app_${owner#0}

result:

owner=app_37

goal is to take 10037 and get last 2 or 3 digits without 0's in the begning :P

i tried awk but i probably don't know the correct syntax...
[Miscellaneous Android Development] surfer63:
I used tar only inside the cramfs file system as cramfs is alread Compressed RAM FileSystem using zlib.

You could also use tar cvzf SystemBackup.tar.gz /system/* to backup to your uncompressed fs on your SDcard to create a gnuzipped compressed tar archive,

and to unpack tar xvzf SystemBackup.tar.gz

Note that both the extension .tar.gz and .tgz are valid.

Bzip2 packs generally slightly better but is much slower (tar cvjf SystemBackup.tar.bz2 ... and tar xvjf SystemBackup.tar.bz2.

---------- Post added at 07:47 PM ---------- Previous post was at 06:59 PM ----------

Use

busybox stat -c %u "/data/data/com.estrongs.android.pop.cupcake" > /data/owner
lastdigits=$(busybox awk '{ print substr( $0, length($0) - 1, length($0) ) }' /data/owner)

or

busybox stat -c %u "/data/data/com.estrongs.android.pop.cupcake" > /data/owner
lastdigits=$(busybox sed 's/^.*\(..\)$/\1/' /data/owner)

Now variable $lastdigits contains the last two digits from the string in file /data/owner. Don't forget to delete the file for the sake of "clean scripting"

And for the 1.000.000 $ question: Why the .... do you want the last 2 digits? :D
[Miscellaneous Android Development] heart_crafter:
i was trying to set permissions to a file dynamically...

install /data/data/com.estrongs.android.pop.cupcake

then get owner from /data/data/com.estrongs.android.pop.cupcake

then copy a custom made file to /data/data/com.estrongs.android.pop.cupcake/shared_prefs/preference.xml

then set the owner of /data/data/com.estrongs.android.pop.cupcake/shared_prefs/preference.xml same as /data/data/com.estrongs.android.pop.cupcake

i cant seem to use the 10037 as to set the owner of the file... so i had to use app_37...

i hope you got it lol
[Miscellaneous Android Development] DaremoS:
Just a couple of corrections:

1. To do the recovery it's needed MyBackup Pro (paid version) as it will recover a set created by other device.

2. The content has to be copied to the sdcard in directory /sdcard/external_sd. pdf and url can go in /sdcard

Still testing!
[Miscellaneous Android Development] zeppelinrox:
owner=$(busybox stat -c %u "/data/data/com.estrongs.android.pop.cupcake")

owner=app_${owner##*0}

Deletes everything up to and including the last 0
[Miscellaneous Android Development] heart_crafter:
what would happen if we have 10030 in the variable?

Sent from doubleshot.
[Miscellaneous Android Development] zeppelinrox:
Ah... hehe... then that's not good...

Say, if there is ALWAYS a 00 in the middle... owner=app_${owner##*00}
[Miscellaneous Android Development] DaremoS:
At this stage it would be nice a simple explanation of V6SuperCharger.

For instance:

There is some new values in *.rc and also in build.prop. Why both?

What will do the script? (BTW it's not working for me... I have busybox 1.19 in /bin & /xbin)

Maybe zeppelinrox can give me a brief explanation :rolleyes:
[Miscellaneous Android Development] stevemp:
busybox

Busybox needs to be updated, script explains what it's doing as it runs.:)

/system/xbin/busybox --install -s /system/xbin

That will create links to busybox so SuperCharger will run.

stevemp
[Miscellaneous Android Development] JDfense:
Adobe reader issue in froyo rk2818

I found out that the last version of adobe reader 10.11 don't work with Prestigio froyo, darwin froyo and hvdwolf froyo(archos froyo?)

Adobe reader 9.02 and 10.02 are working with this froyo roms, but they have not the useful bookmark function inside.

I have the suspicion, that it is a problem with the rockship files, which are all for eclair.

edit: failure description

When you open a pdf, the reader 10.11 crashes every time after ca. 30 sec. without any message.

Here comes the challange for the codemakers.;)

Has someone an idea how to fix the adobe problem?

Of course I could use another pdf reader, but I like the adobe reader. Maybe there is a solution out there...
[Miscellaneous Android Development] heart_crafter:
lol funny latest ver of adobe reader works finee on eclair...

but not froyo? :D

i gota finsh my rom so i can look into these other things to... :p

Sent from doubleshot.
[Miscellaneous Android Development] stevemp:
froyo

Eclair was made by Rockchip for rk2818 tablets, Froyo was compiled by companies for their tablets (not that good a job :() Eclair works the best as far as everything working. Maybe you can fix froyo. :) Hurry up, I wan't to try your Eclair. :D

stevemp
[Miscellaneous Android Development] heart_crafter:
i just sat down on my machine... lets see if i finish it today...

it's alot of debugging you know... plus i m not perfect at scripting yet :D
[Miscellaneous Android Development] JDfense:
Hey,

Set it to warp 13, Captain.

If the scripting is weak, order another next3.

JDfense

http://www.youtube.com/watch?v=VYKxAIvgUhc&feature=relmfu

http://www.youtube.com/watch?v=pL-VFPWACDg&feature=relmfu
[Miscellaneous Android Development] heart_crafter:
almost monday ! :( im still not done lol...

trying to figure out sqlite3
[Miscellaneous Android Development] heart_crafter:
ok i think im done :P that was long 10 hrs :D

i just gota put a initbootlogo :P pack it up and write small instructable :P

this rom will be a reference to all scripting i'll need(lol i dont think so)

i really need to clean it up but i think ill do it later :D

ill upload it in my morning... after about 7-9 hrs :D

ciao :D
[Miscellaneous Android Development] heart_crafter:
20120515_Rockingchip_v0.5e.img - 108 MB (UPDATED!)

v0.5.e is out

App List:

... Removed all apps... add them as you like... put apps in sdcard /backups/apps before flashing...

+Prestigo Kernel

+New Lock screen

Everything works as far as I know at the movement.

It's still a "work in progress" :D

*Figure out how to add apps in superuser db correctly.

*Progress bar while processing all the scripts ? :D

*Fix Market

*And more :D

Tips:

I prefer flashing original kernel made for your tablet.

Gesture up on dock icons to get to similar app!

Add a widget on home screen "Widgetsoid Switcher (5*1)

* Go to Profiles, hit LauncherDefaults, hit Load

* Go to advance and check "Notification" box

* Go to advance and check "Widget Invisible" box

* Hit apply!

Guys let me know if any of the scrips help you... or should anything can be better. :D

Links:

20120407_Rockingchip_v0.3e.rar - 237.9 MB - Rapidshare

20120407_Rockingchip_v0.3e.rar - 237.9 MB - Dropbox Mirror2

20120407_Rockingchip_v0.3e.rar - 237.9 MB - Uploading Mirror3

20120423_Rockingchip_v0.4e.img - 99.8 MB - Uploading

20120515_Rockingchip_v0.5e - Dropbox - on v0.4e restore point app perfectly... on v0.5e it does not.

IMG size = 108 MB (113,920,004 bytes)

Small SDCard file size = 27.0 MB (28,372,166 bytes) - MAKE SURE YOU AT LEAST PUT THIS ON SDCARD :D

Some more apps - SDCard file size = 141 MB (148,439,519 bytes)

See PDFfor step by step instructions(with illustation)

If for some reason your device get stuck on boot screen:

+Rotate the device to landscape for 1 sec... then rotate it back to Potrait ;)

It's a nice trick i figured lol this happens when some wheresome permissions are not correct. - Launcher Pro issue lol - fixed with a work arround

More Info:

Linux version 2.6.25 (wxniu@mid) (gcc version 4.4.0 (GCC) ) #35 Thu Nov 25 10:31:34 CST 2010 rockchip 281x version release v1.08(Archos)

Thanks
[Miscellaneous Android Development] JDfense:
first thanks for your work. I will test your eclair soon and I take it in the collection.
[Miscellaneous Android Development] heart_crafter:
:D feels better when someone appreciate :D
[Miscellaneous Android Development] stevemp:
!!!Great Rom!!!

Great rom for Next3, everything works, no crashes yet, sleeps without SOD.:D

All the apps you need plus it's fast. :D

stevemp
[Miscellaneous Android Development] heart_crafter:
:D yeh thats the best thing... no sods ... long battery life...

i just forgot 2 more apps lol

xda apk

and pulse apk :p

u might get a reboot when u login into dropbox app but after reboot it works fine...

let me know if anything is missing :D

TIP: Gesture up on dock icons to get to similar app! on v0.3e

Sent from doubleshot.
[Miscellaneous Android Development] MajstorSpeedy:
Wazzzup?

Hi all!

Nice to see you guys still busy...

I haven't looked for a while in these threads (Next3/Gen/PMP3084..) and imagine my surprise when i saw "Eclair" again.... :)

Anyhow, you guys are doing great work, keep it up!

If I find some time to spare maybe I'll look into rk28xx again.

Big greets out to JD, Daremos and steve...

PS: Any news from Donald?

C ya!
[Miscellaneous Android Development] JDfense:
Hi MajstorSpeedy,

nice to see you again.

Yes eclair is once again in the business. Haven't time to test it so far .

Since november I haven't heard any word from Donald. He disappeared from one day to another without leaving a message.

Your Acer is sill alive,I see. No more bricking devices?;):D
[Miscellaneous Android Development] heart_crafter:
u gota test it...JD... i added calendar support just for you :p

Sent from doubleshot.
[Miscellaneous Android Development] JDfense:
heart-crafter,

I test it for shure today.:-)
[Miscellaneous Android Development] heart_crafter:
send me the link to your froyo... i wana see why reader doesnt work well :P
[Miscellaneous Android Development] JDfense:
@heart-crafter,

it is in all froyo the same. Adobe reader 10.11 does not work stable. Crashes without message after 30 seconds with an open book.

When I'm later back on my pc, upload my last darwin froyo. in the meantime you can use the nerd edition from the collection - always the same issue
[Miscellaneous Android Development] heart_crafter:
oh i forgot you dont have Next3...

make sure you change the kernel :P
[Miscellaneous Android Development] JDfense:
Next 3 kernel is okay, when you have a manuel TScalibration inside.

Edit:

Okay, for shure I took in odys kernel.

---cool xda bootlogo, bad next 3 bootanimation(you left something to do for me... :-)

---whistle:eek:...6minutes before bricking my device...I'm patient:D...

---for this booting we better built in an extra battery pack or I let my power supply do the job...

---still whistling...this rom is not for noobs, time for watching a video like this http://www.youtube.com/watch?v=JmvCpR45LKA

---6 mins are over...freezing?... waiting another few minutes...

---after ca.10min I see the car... so lets check into eclairs world...

--- third boot, now I got a boot loop in the bootanimation... no it was not a loop, playing around on menu boot ends booting...

---now market open for successful downloads, download acalendar fine and googlesync works complete. market is incomlete - you get no adobe reader by example, is that the reason, why you give some apps extra on the sdcard?

---youtube app plays only music, youtube player does the trick instead, but very slow and I think you can forget hd video, not important for me

---video and audio works fast and stable so far, the quality could be better with mobo or Daroon player(when it works with eclaire) in video, I think.

---why haven't you use the more comfortable zeam launcher ?

--- No adobe reader 10.11 installation possible

---no volume buttons in the dock

--- booting hangs every time in the bootanimation, with a long pressing on the home button, I get into the home screen?

Resume:

Fast and stable, not for noobs, very responding screen like darwin froyo.

Market is incomplete eclaire like.No update from market. Google sync works fine.

Fastest eclair I have seen so far, but it has a few limitations.

Don't be angry, but if I'm honest, I would say: It looks like a very good nearly final eclair.
[Miscellaneous Android Development] heart_crafter:
i tried to keep next3 intact :P my bad...

thanks :D i like the logo to :D

ya wait is looong :D lol but it is worth it... since it installs everything for you... im trying to make some kinda progressbar at the moment for that...

after 10 min u see the carrr?:P did the device rebooted or not?

hmm bootanimation got stuck on third boot ?
[Miscellaneous Android Development] MajstorSpeedy:
Well, I was really cautious with Acer so I haven't bricked it

YET

.

It's really cool to see ICS in action... But, i'll try to dig out my kernel sources for pmp3084 and maybe try to do something with it (maybe a new GB build)...

I'm not so sure about recovery on these babies... I have some test recs from Donald if they could help...

C ya!
[Miscellaneous Android Development] JDfense:
DaremoS gingerbread works fine, accept of two things.

1.needs too much battery, it does not really sleep deep enough, I think

2.needs very much memory, supercharger helps, but froyo is still faster

Here I see a challange for you, if you like...built the fastest gingerbread with a low battery consumption.;)

Yes I like ICS on my hannspad too, Honeycomb is only the half step.

ICS is really fast and responsible.
[Miscellaneous Android Development] JDfense:
What does it install for me? Maybe I made a failure while installation. Should all apps in the sdcard directory installed after first long boot? Then I have wrong start directory in the root of the sdcard Is /sdcard/backups/apps... right or do you mean /backups/apps?
[Miscellaneous Android Development] heart_crafter:
yea lol go thru the instructions again... make sure usb is plugged out right when u see recovery saying formatting...

copy the backups folder on sdcard... /sdcard/backups...

u can add any apps in /sdcard/backups/apps folder...

it should install any app u want for u lol

Sent from doubleshot.
[Miscellaneous Android Development] heart_crafter:
thanks for this big of a review :D i only wish that installation would of worked... before your review :( :P

one of the reasons i gave the apps for sdcard because our roms can not exceed 120mb

2nd reason was so you can add/remove any apps in /sdcard/backups/apps and on first boot it will do all the installations for you...

bootanimation is getting stuck because its trying to run some scripts that were not suppose to run on 2nd boot... this happned because first boot did not finish completely.

market - i used that same market to download adobe reader that is provided in the zip file...

what do you mean dock? volume keys are mapped to hardware keys... are the key mapping different on Genesis and Next 3? maybe ill have to include button remapper also :D

hopefully ill try to make something that'll be easier for nobs :D
[Miscellaneous Android Development] JDfense:
Okay, I try it again, this time I have not much waiting time., but I saw first the sea wallpaper and then the car wallpaper. Booting time was not more than 3 minutes?

There was no automatic reboot after first boot.

Edit:

Interesting - while the second boot, it reboots automatic again. See what happens...

... aah more fun "application auto manager memory is not responding" and after that some apps are forced to close...

Now I have 32 apps on screen...seems to be the whole backups folder.

Next boot I got the same auto manager break down and some apps forced to close.

Lets flash again.:D Maybe I find this time the point for the usb plug - listen to windows ding dong.:p
[Miscellaneous Android Development] stevemp:
Next3

I copied the folder to the sdcard before flashing, everything worked for me. A lot of the apps I used on Froyo/Gingerbread don't work but that is normal. Eclair never showed many apps in Market for me, maybe they don't exist. Devs make apps for newer Android versions, not old ones. Battery use is fantastic, let it on since yesterday on half charge and still running, Gingerbread can't do that. Too many things not working on Froyo for me, it's Eclair or Gingerbread from now on. :D

stevemp

Welcome back MajstorSpeedy, heard you were the brickmaker. :D
[Miscellaneous Android Development] JDfense:
Now we have an eclair renaissance. The chief codeplayer likes no more froyo and I'm alone with froyo. Hopefully I got this eclair rom installed sooner or later.

Right now the rom does not boot after flashing when I use Rkandroidtool, with the RKbatchupgrade it works. Maybe I stumble in the eclair club...

...or I go back to froyo alone and lost.:eek:

heart_crafter eclair don't like odys genesis:D

...or after first (6-10 minutes) there is a wonder. The rom starts automatic again...and...application auto manager crashes again, but I could give him superuser as requested. Maybe next boot is... better... only the docs app is forced to close. Interesting apps inside.
[Miscellaneous Android Development] NickEFuze:
Steveemp,

A couple of quick questions:

1) What does not work in Froyo for you?

2) Why do you use a build.prop from a Samsung rather than from the Next3 stock Eclair?

On a side note:

In sdcard.zip\backups\apps there are two seemingly identical adobe reader apks

Still trying to learn.

Thank you for your hard work and support for this small community.

NickEFuze
[Miscellaneous Android Development] heart_crafter:
memory manager does ask you to force close or wait when it does not have su permissions... (i did said this in the instructions :( )

good to know that finally it rebooted automatically :D

Google Docs worked fine for me :( :P i even created a doc and synced it with my google account

yea i think that's all the apps (i) need :D minus 2 or 3 i forgot :D
[Miscellaneous Android Development] heart_crafter:
i assume 2nd question is for me :P

using different device name (ro.build.fingerprint) in build prop make market thinks you are using a supported device... also this way market knows what kinda hardware you have and what apps to show... (i think lol)

you only need one adobe reader apk :P i must have packed 2 by mistake since i'm using 2 different machines to build em :P
[Miscellaneous Android Development] heart_crafter:
i have been learning alot... just so i have an understanding that what needs to be fixed in gb :P

good to know that everything worked for you in first shot :D
[Miscellaneous Android Development] stevemp:
1. Not working is Adobe Reader, crashes, Aldiko and Mobo Player scan the internal nand instead of external sdcard plus if I use Froyo for long periods of time it reboots.

2. crespo? It's the fingerprint used to identify the tablet in Android Market, determines which apps show up. Crespo is Android 2.3 (Gingerbread), if you use Next3 you will see eclair apps.

Hope that helps explain things, you helped me understand screen calibration. If you wish to test roms that are different from ours rename TSCalibration.apk to *.bak and add line> echo "407 2032 3466 3485 454 428 3808 426 3825 2113" > /sys/bus/spi/drivers/xpt2046_ts/touchcheck to init.sh

stevemp