Android Tablets Forum banner
1 - 10 of 10 Posts

·
Registered
Joined
·
411 Posts
*******************************************************************
Topic closed.

See ONDA KITCHEN http://www.slatedroid.com/topic/41270-onda-kitchen/ instead.

******************************************************************

MAYBE WILL HELP topic How to make custom Firmware http://www.slatedroid.com/topic/38033-how-to-make-custom-firmware/

Can I activate "states" so CPU values can be read? from http://www.slatedroid.com/topic/38906-custom-firmware/page__view__findpost__p__446629

Can I include dutch/poland/... language again? status: done from http://www.slatedroid.com/topic/38906-custom-firmware/page__view__findpost__p__446629

System apps include language packages, which allow to use native language.
To add/remove languages you need add/remove language package from each system apps (or individual).
Most of the manufacturers use multilanguage for main system apps only, other system apps have (eng + one main) translation.

Main system apps in the Onda firmware are:

Font Number Screenshot Document decompiled structure path: res Font Parallel Pattern Number Screenshot

Tools: _Onda_deodex_tools - APK Multitools - Notepad++ - Translator - APK Multitools - _Update-Zip-Packager

Steps:

1. Decompile each system apps you want to translate

2. Open folder res, open in Notepad++ files arrays plurals strings, translate

3. Compile back

Actually, it's impossible to translate all files, so there is a simple method

1. Decompile from old firmware, which have your language each system apps you need

2. Decompile from new firmware each system apps you need

3. In the new firmware add to each res folders in the corresponding app language package

4. Compile back

Hard work, you see

BUT - AND - MOST unpleasant: IF THE MANUFACTURER CHANGE IN THE NEW FIRMWARE COMMANDS, DESCRIPTION, MENU, etc.
your old package does not show them in the new firmware - YOU NEED TO TRANSLATE AND ADD THEM MANUALLY

CONCLUSION: you need to add/translate most important to you system files - Settings and SystemUI

Can I modified (change) the internal memory (internal SD card) to the external memory? from http://www.slatedroid.com/topic/38906-custom-firmware/page__view__findpost__p__447435

org2123, you're absolutely right!
File, which specify where to mount ram/internal sd is vold.fstab.
In the firmware the path is: update.zip (or g12refM1005 for old roms)\system\etc\vold.fstab
--------
Simple method
Download tools: later, need time to make scripts
--------
Explanation: how to make more changes to vold.fstab
-------------------------------
- changing file vold.fstab without changing file init.rc has no sence
- to change init.rc you need to change file boot.img
- to change boot.img you need tool to unpack and repack boot.img
-------------------------------
What are the bonuses from changing init.rc and vold.fstab?

Very interesting:

- dynamically change free memory size
- define different static memory size
- use real external sd, usb flash, hdd as part of memory/sd-card
- change place ram(flash)/sd-card
- etc.
-------------------------------
Understanding vold.fstab

1. Open vold.fstab (with Notepad++) path is: update.zip (or g12refM1005 for old roms)\system\etc\vold.fstab

2. Find lines:

dev_mount sdcard /mnt/sdcard/external_sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0

dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd8/avnftl8 /devices/platform/mtd/mtd8/avnftli

3. Syntax is:

---- for sdcard
"dev_mount" - command; "sdcard" - label for the volume = i.e. mount device "sdcard"

"/mnt/sdcard/external_sdcard" - mount point for "sdcard" = i.e. mount device "sdcard" to point "/sdcard/external_sdcard"

"auto" - mount to the first usable partition

"/devices/platform/AMLOGIC_CARD/card_host/memorycard0" - path#1 to mount

"/devices/platform/aml_sd_mmc.0" - path#2 to mount

---- for flash (ram)
"dev_mount" - command; "flash" - label for the volume = i.e. mount device "flash(ram)"

/mnt/sdcard - mount point for "flash" = i.e. mount device "flash" to point "/sdcard"

-------------------------------
Understanding init.rc

1. Open init.rc on yout tablet (with Text editor) path is: /init.rc

2. Find lines:

export EXTERNAL_STORAGE /mnt/sdcard
export EXTERNAL_STORAGE2 /mnt/sdcard/external_sdcard
export INTERNAL_STORAGE /mnt/sdcard

3. Syntax is:

EXTERNAL_STORAGE - in the explorer you'll see partition "sdcard"

EXTERNAL_STORAGE2 - in the explorer you'll see partition "external_sdcard", which is mounted through "sdcard"

INTERNAL_STORAGE - in the explorer you'll see partition "sdcard"

There is a collision - INTERNAL_STORAGE and EXTERNAL_STORAGE = same partition "sdcard"

PS. Such method to mount external sd-card through internal sd-card is in all chinese ROM, not Onda only

--------------------------------
Make experiment: DO NOT FEAR, IT IS NOT HURT YOUR HARDWARE

1. Change mount points for "flash" and "sdcard", i.e. type:

dev_mount sdcard /mnt/sdcard/external_sdcard auto /devices/virtual/mtd/mtd8/avnftl8 /devices/platform/mtd/mtd8/avnftli

dev_mount flash /mnt/sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0

2. Change mounting for "external_sdcard" to "sdcard2", i.e. type:

dev_mount sdcard /mnt/sdcard2 auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0 /devices/platform/aml_sd_mmc.0

dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd8/avnftl8 /devices/platform/mtd/mtd8/avnftli

Use explorer to see changes, insert/remove sd-card, unmount sd-card in settings

As you see such changes didn't give positive results.
-------------------------------------
BECAUSE your TABLET USE old init.rc
-------------------------------------
How to change init.rc

When you flashed your tablet init.rc placed in recovery and defines all main parameters of your OS and hardware

You can open init.rc with text editor on your tablet (path is /), make changes, but after reboot all changes disappeared, because of in the booting tablet uses init.rc from recovery (old init.rc).

To make permanent changes in init.rc you must to change init.rc in boot.img

--------------------------------------
How unpack/repack boot.img

********************************

How can I start making custom ROMs? from http://www.slatedroid.com/topic/40624-faq-customizing-firmware/page__view__findpost__p__449738

How to deodex stock ROM? status: done from http://www.slatedroid.com/topic/37485-how-to-deodexzipalign-stock-rom/page__view__findpost__p__410661

Download _Onda_deodex_tools http://www.mediafire.com/?e70x85dmk929cxx

Unzip, press START, follow instruction

*File framework-res.apk, which is deodexed, does not appear in the folder deodexed-framework. Move it back from folder "framework" manually

How to customize soft button in system panel? status: done from http://www.slatedroid.com/topic/37890-soft-volume-buttons/page__p__416001#entry416001

1. You need deodexed ROM. Use _Onda_deodex_tools http://www.mediafire.com/?e70x85dmk929cxx to make deodexed files in the "app".

2. You need http://apkmultitool.com/. Download APK Multitools http://apkmultitool.com/?q=node/5

3. Decompile with APK Multitools deodexed file SystemUI

4. Find 2 png - add_normal.png (Volume+) and sub_normal.png (Volume-) - path: APK-Multi-Tool\projects\SystemUI.apk\res\drawable-hdpi

Blue Sky Azure Purple Font

5. Replace these 2 files by yours

6. Compile with APK Multitools SystemUI (as system apk)

7. Use this manual to make signed zip http://www.slatedroid.com/topic/38033-how-to-make-custom-firmware/

8. Replace in your firmware original zip by new

9. Flash new firmware

PS. Big theming comunity is here http://forum.xda-developers.com/forumdisplay.php?f=527 You can find there ready icons
 

Attachments

·
Banned
Joined
·
43 Posts
Where I can find compatible drivers for Ainol products and driver source code. What programming language I need to know? I have learn reversing apk. Changing code.

I have learnt c++ if that helps?

Sent from Galaxy Note II using Tapa talk 2
 

·
Registered
Joined
·
411 Posts
Discussion Starter · #4 ·
Where I can find compatible drivers for Ainol products and driver source code. What programming language I need to know? I have learn reversing apk. Changing code.

I have learnt c++ if that helps?

Sent from Galaxy Note II using Tapa talk 2
All about Ainol here http://www.slatedroid.com/forum/341-ainol-amlogic-cpu-devices/

What programming language I need to know? - for driver or reversing apk?

Learning c++ - it's good idea.
 

·
Banned
Joined
·
43 Posts
For both. Thanks for help. Also how can I make my ROM work with default recovery instead of cwm.

Sent from Galaxy Note II using Tapa talk 2
 

·
Registered
Joined
·
411 Posts
Discussion Starter · #6 ·
For both. Thanks for help. Also how can I make my ROM work with default recovery instead of cwm.

Sent from Galaxy Note II using Tapa talk 2
What do you mean - "my ROM" - which one do you have?
 

·
Registered
Joined
·
411 Posts
Discussion Starter · #8 ·
My ROM here stands for custom ROM made me.

Sent from Galaxy Note II using Tapa talk 2
I can't help with custom ROMs, sorry

Have deal with Onda stock/custom ROMs only
 
1 - 10 of 10 Posts
Top