yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] JDfense:
@DaremoSupercharger

I like gingerbread, but you have to keep the rom as small as you can. Our tablets haven't enough memory for gingerbread.

Froyo roms could be bigger and without loosing speed.
[Miscellaneous Android Development] surfer63:
UPDATE: Read the last lines of the script carefully. If your busybox is in /system/bin and your su is in /system/xbin (or vice versa), you might run into problems as the the symlink script will create a su to busybox without the correct 06775 permissions!!

Hi guys,

Short moment back to this thread. I needed to add symlinks to busybox also on my new tablet, but some symlinks are already pointing to toolbox, some commands inside busybox are also already stand-alone binaries inside /system/bin (or /system/xbin; whatever relevant for you) and I did not want to overwrite these existing symlinks and neither the stand-alone binaries.

(My A7HTv2 had exactly the same setup, but I was not so clever at that time as I'm now :D, so I made them by hand)

This time I wrote a script that only adds symlinks if they don't exist yet.

#!/system/bin/sh

for i in $(busybox --list)
do
# if you don't want anything echoed to screen use second line
# if you want it echoed to screen, use first line
ls /system/bin/$i
#ls /system/bin/$i 2>&1
# as not all android shell interpreters support if [ syntax ] we need to use case/esac
case "$?" in
0)
# no error, so either symlink or separate binary already exists; do nothing
;;
*)
# Everything except 0 is an error; symlink or separate binary doesn't exist yet
ln -s busybox /system/bin/$i
esac
done

# My busybox is in /system/bin, but my su is in /system/xbin
# Now remove the su in /system/bin as it doesn't have the correct 06775 permissions
# Your system may differ or simply have busybox in /system/xbin and su
# in /system/bin. If both are in the same folder you don't have a problem
# as then it is an existing binary or link.
# This last line removes the symlink. Update for your config or simply
# disaable the line
rm /system/bin/su

Change /system/bin for /system/xbin or any path relevant for your busybox.

Now run your script from a terminal on your tablet or from Gscript(Lite) on your tablet.

Another option might be to install busybox on your linux working box, go on your linux box inside your rom build folder for system/bin, and execute the above script on your linux box.

This way your rom comes pre-packed with all symbolic links. One drawback: The linux busybox versions are normally complete busybox versions compared to the smaller busyboxes in android. This might result in symlinks not available in your android busybox.

I myself am going to use it as a boot script. It runs within 1-2 seconds, so no problem to run it on every boot. You could also use a check parameter to only run it on first boot after flash.

@zeppelinrox: If you still follow this thread you could also use it in the beginning of your supercharger script to prevent ugly errors from missing symlinks.
[Miscellaneous Android Development] DaremoS:
Why?:eek: ... I know your new tablet isn't a RK2818 :)

My new tablet isn't a RK2818 either ... now my old tablets will be devoted fully to RK2818 cook and investigations... :D

My new tablet is an AMlogic 8726-M3 1Ghz... I've just root it! ... and nothing else :p

For US$ 160. I'm really happy with it.

:D
[Miscellaneous Android Development] surfer63:
hi, I just updated the other post. It worked fine until I needed to use su in a terminal. Then it went wrong. The su on my tablet is not in /system/bin so busybox created a symlink there without the 06775 permissions.

The script is now OK.
[Miscellaneous Android Development] JDfense:
Why do you take a 7'' tablet and what is special with this tablet type?

Instead I would take an ainol novo 7 elf, when I would like 7 inch screen.
[Miscellaneous Android Development] JDfense:
New JDfense's Darwin froyo

JDfense's Darwin froyo for genesis, next3 and pmp3084b

>>>2012.03.24 /

JDFenseFroyoNo4

--- Nerd Edition 2.0

Details update:

+small and fast froyo, add apps as you like over the market

+Adobe reader won't work, but I recommend ebookdroid as pdf-reader from the market (thanks to stevemp for this very useful hint)

+market 2.36 black edition

+full gsync support (mail, calendar and contacts)

+zeam launcher

+file expert (do not update or you loose root explorer option, but you can uninstall update )

-known market issue: after first market start, you see maybe no apps.

Solution:

1.delete data from GoogleServiceFramework, then stop app,

2.delete cache and data from market, then stop app,

3.finally reboot and market will work, if not do once it again.

update info:

-ebookdroid does not work from system/app directory of the rom :confused:.

There would be a forced app installation script needed in the rom. I decide to keep it small and easy.

So everbody has the choice to install or not eboobdroid from the market. FBreader is still inside the rom.

JDFense
[Miscellaneous Android Development] stevemp:
zeppelinrox checks for version at beginning of his script as some busyboxs don't support if statements. I wrote that before finding that all my links in xbin were to busybox in sbin, should have gone back and edited what I wrote. :o zeppelinox script doen't work on froyo because it needs an init.rc and we have init.rk28board.rc.

Make sure you only have busybox in xbin /system/xbin/busybox --install -s /system/xbin

stevemp
[Miscellaneous Android Development] heart_crafter:
kool... any idea how to permenantly fix this market issue ? :S :( :P

on my cutom eclair.. i also have an issue... on first start of market i get "app not downlosd successfully"... i just reboot and it works...

maybe someone can give a clue to fix it :P
[Miscellaneous Android Development] heart_crafter:
i thought zeppelinox said you need init.***.rc that is same as init.rk28board.rc
[Miscellaneous Android Development] JDfense:
Don't know an solution for that market issue, without updating. It is an very old problem with newer market in older android. When you let the market update, like hvdwolf did in his rom, then you will get a full functional market after update to google play. There is one question left: would google play work with eclare too?
[Miscellaneous Android Development] stevemp:
He thought we had an init.rc that started init.***.rc. 99supercharger is written to /etc/init.d but his script never makes it that far, tried at least a dozen times before giving up. I used the values from surfer36's last rom (7htv2_froyo.21) and they are really good.

stevemp
[Miscellaneous Android Development] heart_crafter:
i wont even try :D cuz google play(new markets) installs so many bakground processes.. that can cause battery drain...
[Miscellaneous Android Development] heart_crafter:
hmm ...

one day ill take a look at these supercharger scripts :D
[Miscellaneous Android Development] stevemp:
Maybe you can write one for rk2818 tablets. :D

stevemp
[Miscellaneous Android Development] DaremoS:
That's is due the prices in my country. This tablet Xvideo Q07 was really a bargain. Here in Chile Ainol Novo 7 elf can be found by twice the price.

ah!! more important:... ¡it was approved by my wife in a brief moment of weakness! :o

This is the tablet (spanish)

Characteristics are similar to Ainol Novo 7 Elf except that camera is better in this case (3MP). The provider will bring Android 4.0 soon!

I have 8 days more to keep it or return it without any explanation.

My idea was to take a Master-G RK2918 but is less machine that the one I get. After being dealing with a tablet slower result with this is awesome... and cheap!. BTW it comes with a SD of 8GB.
[Miscellaneous Android Development] stevemp:
New Tablet

Since we are talking about new tablets:D What do you know about Arnova 8 G2 Tablet? $148.95 USD, free shipping and no tax for me. http://www.bhphotovideo.com/c/product/813018-REG/Archos_501834_4GB_8_Arnova_8.html

stevemp
[Miscellaneous Android Development] heart_crafter:
come on! :D dont make me look at new tablets lol... i want a new one too lol
[Miscellaneous Android Development] heart_crafter:
hmm :rolleyes:
[Miscellaneous Android Development] DaremoS:
Beside all we know in our tablets, in next generation tablet it has been added other standard features:

- Camera, useful for Skype.

- OTG port, which allows you to connect external devices like a keyboard, a mouse but more important: a big pendrive (16 or 32gb) or even an external HDD. With OTG in my Master-G I have been capable of connect my two tablets.

- HDMI output, to display in a TV set you movies from tablet.

- Bluetooth to connect with a cell phone.

- Flash Player and PDF reader. Present in Arnova.

- 3G To have Internet mobile. (although more expensive).

I don't see this in Archos Arnova. All this is present in my new tablet (except 3G), also some of his in my 7" bq verne (Master-G). Anyway Texas Instrument processor in Arnove is a very reliable one.

Other important feature is GPU Graphic Processor Unit. No info in Arnove. Present in my Xvision and Ainol called Mali 400.

No idea of sound processor yet in any mentioned tablet.

Finally I just don't like anymore 8" screen IMHO 7" are perfect.

Thank you very much and God Save The Queen
[Miscellaneous Android Development] stevemp:
Thanks for the info, my vision is bad so I like the bigger screens. I already have 7" and my eyes strain to read books with it. G2 has 8 inches capacitive screen, Rockchip 2918 CPU 1G, 512 MB RAM, Android 2.3, 4 GB Storage but I am unsure about Arnova quality. But for 148 USD. :rolleyes:
[Miscellaneous Android Development] zeppelinrox:
It dosn't even need any rc to work.

All it needs is build.prop or local.prop and the 99SuperCharger script to run on boot.

The edits to /init.rc or to ANY init.XXX.rc under/system (any other rc and yes that includes your init.rk28board.rc) are just for baking into roms and are are actually LEAST likely to stick - because the *.prop and init.d boot script would override the init.XXX.rc settings anyway.

Also, it doesn't care where busybox is.

The only thing that matters is that the busybox that is in effect has the appropriate applets.

Yep!

Yeah but I thought you actually had it working....

Anyway, it was first developed on froyo :p
[Miscellaneous Android Development] stevemp:
Confused yet?;) There are over twenty different rk2818 boards and I work on maybe ten different roms.

Works fine on gingerbead, got it to work on PMP3084BA (Froyo) which started out without /system/etc/init.d and had two different versions of busybox. :( Those are the two roms which I use and SuperCharger works on them. The rest of them I just gave up and sent them back to the archives for now, maybe if bored with life I work on them again. :D Thank you for all your help and comments.

stevemp
[Miscellaneous Android Development] zeppelinrox:
Ok so it's not froyo... it's a messed up busybox configuration is all
[Miscellaneous Android Development] heart_crafter:
just fyi we dont have have /[root] write access in our roms...

we only have writable /system not root
[Miscellaneous Android Development] zeppelinrox:
Yeah I'm not sure if it's so different really... anything that's edited in the root doesn't stick because it all gets refreshed on boot... /init.rc for example gets extracted from the boot image along with the other files that are in root.

So V6 only touches stuff in /system and /data ;)
[Miscellaneous Android Development] stevemp:
Both our boot and system are a cramfs (compressed) that get rewritten at boot. What we use is a technique like a Linux Live CD, load a module (aufs.ko) to join the system with a writable partition that is mounted under /data/sysrw/system. Very strange setup, so if you umount system and mount it rw, who knows what is really happening. :eek: I think the best way to make system rw is to mount it on a tmp directory and copy it to an ext3 partition but loading a module is simple, so that's the way we do it. Our kernel image is like the boot image in other systems, our boot image can be edited just like the system image. It's all confusing to me as I've been using linux for over fifteen years.

stevemp
[Miscellaneous Android Development] heart_crafter:
Finally Uploaded...!!! 5:05AM :D

20120325_Next3-Rockchip_Eclair-Almost_Bloated_v0.2.img.rar - 158 MB (UPDATED!)

Lets flash this! :D and check out the progress bar and all the scripts and instructions pdf!!! :D
[Miscellaneous Android Development] JDfense:
updated in the collection 11.50 AM central european summertime:D
[Miscellaneous Android Development] heart_crafter:
thanka...

all scripts works good now...

and if u dont use the sdcard everything will still work...

check out stepby step instructions included in the package

Sent from doubleshot.
[Miscellaneous Android Development] JDfense:
I would not take an arnova g2. They have the weak rk2918 board inside.

I'm looking for a rk2918 with 1GB DDR3 RAM, n-draft wlan, 9,7 inch screen(ebook format 4:3) and hdmi out.

by example easypad 970 and soon new cheapo prestigio pmp 5097c will be released at the end of april for 199€
[Miscellaneous Android Development] JDfense:
Time for heart_crafter, time for eclare.

You have the same bootanimation in the rom as I have in darwin - only smaller.

Nice status bar...it's almost done...suspense pure...ahh second boot with a change from red to green bootanimation, tricky captain. First bootanimation from the rom, second from the sd card.

Now it is done... could I change to the zeam launcher? Don't be angry, I like it to set all my app links in the launcher bar.

Let's see ...I like your keyboard with sound very much, works good with next kernel for me...docs app like the forced close after booting...miss the rebooter app...

...second trial for installation from market works really, maybe you can fix the old no app after first booting issue in froyo, could that be a permission problem?

Gmail and calendar sync are working fine, but where are my contacts?

xda app...good idea... your ebookdroid work, cool weather app, so much apps inside to check.

So fare you got me with your eclare, it is stable and fast. No problem inside until now. I would take out some apps, then the eclare would maybe faster then froyo.

You have done a wonderful eclare!

Respect heart_crafter.
[Miscellaneous Android Development] heart_crafter:
thankx :D

use widgetsoid... and import the launcherdefaults settings... for power options and more

u can modifi whatever u like...

edit:

altough u can set the shortcuts in launcherpro also...

yeah keyboard is kool... u can lower down the volume for just the keyboard also...

we have swype in it also... change the kayboad by longpressing 123 button...

edit2:

did u get wait option with forceclose?

edit3:

looks like after the first download fails... the android changes by it self... and we just restart to fix it..

contacts synced up fine last time i tried...

hit phone shortcut then hit contacts to see ur contacts

edit4:

permission issue... maybe ur rom just need a different fingerprint prop

Sent from doubleshot.
[Miscellaneous Android Development] JDfense:
I will let the rom for some days on my tablet, maybe longer.:p

I found contacts in the launcher, forget it, works fine.:eek:

Only docs produces a forced close at the start.

fingerprint prop? For the market?
[Miscellaneous Android Development] heart_crafter:
in build prop look for fingerprint... then find a working fingerprint from web for foryo... and replace it... see if that helps...

docs app is really heavy... it takes a while to sync ... and it tries to sync on boot... and fails because our rockchip is weak ;) but it works if you hit wait so i dont mind the forceclose

don't forget to check out widgetsoid
[Miscellaneous Android Development] stevemp:
benchmark

Thank you for using dropbox, over 2 Mbits.

I tried changing build.prop fingerprint to gingerbread and market didn't work at all.

Maybe google checks something else also.

When using the same kernel, same values for oom_adj and minfree, and the same tweaks, Gingerbread, Froyo, and Eclair benchmark within a few points of each other.

Not enough to notice when using them, difference is in values you use in init.rk28board.rc or init.rc.

stevemp
[Miscellaneous Android Development] zeppelinrox:
So are you saying modifying /system/build.prop wouldn't work?

If the rom loads /data/local.prop then that would work instead.... use local.prop and the 99SuperCharger boot script
[Miscellaneous Android Development] heart_crafter:
i guess dropbox servers r located in US... that's why its fase here...

anywhere else it can really drop the speed...

thats why i included 3 links...

buildprop... maybe u need to change all strings that include the model and name of the device.. to a working gb prop that works on any similar device...

check out the build prop... dalvik line in eclair... try using that on gb or froyo... see if u get a boost :D

also i did some changes in rc file... for internet speed... and disk read write speed... and end task time :D

hope fully ill start playing with gb soon ;)

ciao!
[Miscellaneous Android Development] heart_crafter:
intresting... i have never tried local.prop :D
[Miscellaneous Android Development] heart_crafter:
If for some reason your device get stuck on boot screen:

+Rotate the device to landscape for 2 sec... then rotate it back to Potrait

+It's a nice trick i figured lol this happens when somewhere some permissions are not correct.

also... youtube works fine on landscape mode...

edit:

just fyi... i disabled debug mode notification... it was annoying lol :D

Edit:

You can use volume or menu keys to wake up the tablet now...
[Miscellaneous Android Development] stevemp:
What I did was copy changes in the build.prop after running SuperCharger, then put the changes in the init.rk28board.rc or init.rc boot.img and reflash the rom. :)

On the roms where I copy system to ext3 partition it works fine, stock rom not at all because it writes system every time it boots. Time for me to buy new tablet to play with, maybe Acros that can dual boot android and linux.:D

stevemp

---------- Post added at 08:52 PM ---------- Previous post was at 08:08 PM ----------

I think it might check vending.apk to see if it matches id in build.prop, left eclair vending.apk in rom.

If you are going to play with gingerbread use DaremoS SuperCharged rom not _fun.

2d benchmarks

_fun gingerbread 67

DaremoS gingerbread 237

JDfense Darwin Froyo 251

Next3 Eclair 235

Maybe JDfense is comparing _fun gingerbread to his froyo. :D

stevemp
[Miscellaneous Android Development] BigSplit:
Thank you so much, that worked
[Miscellaneous Android Development] JDfense:
You can try the puffin browser.
[Miscellaneous Android Development] markosan:
Hey, stevemp,

do all your PMP3084BA-Next3 roms still come with the hardware buttons remapped?
[Miscellaneous Android Development] stevemp:
No, but here is one. removed

stevemp :D
[Miscellaneous Android Development] markosan:
Well, that was fast, thanks a bunch!
[Miscellaneous Android Development] heart_crafter:
All of the one i modified/cooked got an app you can use to modify the harware buttons how ever you like.
[Miscellaneous Android Development] stevemp:
I made a folder under RKCooking where I keep apps, kernels, superuser, su, modified tuttle2.kl, and qwerty.kl files. It makes it easy to cook quickly whatever mods you want. It takes me longer to upload than cook now.:D Still haven't learned how to change default wallpapers though, just end with black background.:(

stevemp
[Miscellaneous Android Development] BigSplit:
Ok one more question, how would I go about re-skinning the buttons(and bar) that are in the status bar of these roms?
[Miscellaneous Android Development] heart_crafter:
default wallpaper is stored in framework-res.apk res/drawable/default-wallpaper.jpg

i never modified buttons or statusbar... they must be in the framework some where...

Sent from doubleshot.
[Miscellaneous Android Development] BigSplit:
I found the images, they are located in SystemUI.apk -> res/drawable/drawable-mdpi. All the images start with ic_statusbar_. I thought that was a seperate App as I had not seen a status bar like that before. But I looked and there the images were with the rest of the images for the status bar and etc.
[Miscellaneous Android Development] heart_crafter:
make sure you are able to repack it and make it work with your rom... before yo do huge modification...

try pushing the apk from adb... then do shell stop ... and shell start... to check the apk without reflashing...

Sent from doubleshot.
[Miscellaneous Android Development] BigSplit:
Whats the best way to do a full backup on these devices?
[Miscellaneous Android Development] heart_crafter:
try titanium backup...

i am also trying figure this out...

i tried copying /data never tried it copying it back...

i wish we could do a nandroid...
[Miscellaneous Android Development] upNsmokeAllDay:
Mybackup root or mybackup pro works fine. TB wouldn't work for me.

Mybackup root is free.

Swyped from my Samsung Galaxy S Captivate running Saurom Projekt Rom using XDA Premium.
[Miscellaneous Android Development] JDfense:
Hmm, why do send this post? And can you explain the commands?
[Miscellaneous Android Development] heart_crafter:
check it again... i added more info...

ijust wanted to share some command i used... and wanted to document them somewhere all together :D for easy apk editing
[Miscellaneous Android Development] JDfense:
@heart_crafter

What do you think about collecting useful commands with explaination for all? I set a link in post #3 to your post 75 http://xdaforums.com/showpost.php?p=21983484&postcount=75

So you can add useful things.:cool:

This could be the beginning of an encyclopedia called hunters & collectors in androids world.:D:D:D
[Miscellaneous Android Development] heart_crafter:
sure ill keep it updating... as i learn more usefull commands...

Sent from doubleshot.
[Miscellaneous Android Development] stevemp:
CyanogenMod 7.2

removed

stevemp
[Miscellaneous Android Development] DaremoS:
What tool did you use to check this?

(sorry if this was said before)
[Miscellaneous Android Development] stevemp:
New DaremoS ROM

DaremoS Gingerbread CyanogenMod

JDfense Boot Animations

stevemp Tweaks

New method of installing apps using package manager thanks to surfer36.

Now you can uninstall and update apps.

Installed apps include Better Terminal Emulator, EBookDroid, ES File Explorer, FBReader, jukefox, Miui File Explorer, Mobo Player, QuickPic, and Script Manager.

Other changes that I forgot about. :rolleyes:

When it first boots go to settings display screen timeout and change to 30 minutes because it needs to stay awake until apps finish installing, or go ahead and use tablet, but for the first 15 minutes it will be very slow.

For Next3> http://www.mediafire.com/?jkmn6s6is3wob9y

stevemp

---------- Post added at 10:48 PM ---------- Previous post was at 10:41 PM ----------

AnTuTu Benchmark> https://play.google.com/store/apps/details?id=com.antutu.ABenchMark

Just uploaded new version of your rom, put comments around tweaks in build.prop so easy to see what I did. Drop apps to be installed in /system/apkdata/apkinstall/ folder, install.sh is in /system/xbin/. This one is very fast, maybe the fastest of them all. :D

stevemp
[Miscellaneous Android Development] heart_crafter:
On my eclair u can update and uninstall apps to...

Don't forget to check out the swype keyboard...

Thanks for telling me bout gb...
[Miscellaneous Android Development] stevemp:
gingerbread

The one I just uploaded is the best to start with, it has init.d set up, busybox_v1.19.4_wraithdu, surfer36 scripts and tweaks, ready for you to add your scripts, tweaks, and boot animations. :D

stevemp