NOTAS

█████████████████████ █████████████████████ ██████████████
█████████████████████ ██████████████ █████████████████████
██████████████ ███████████████████████████ ███████████████

32 comentarios en “NOTAS

  1. https://community.freescale.com/thread/328985
    Tsung-Fang Tu

    Boot animation rotate 90 degree before APP start.

    We are working on a customized board based on i.MX6 Sololite EVK with Android JB 4.3 BSP. The system default orientation is portrait and the Boot animation is only a jpg file with below configuration in the desc.txt

    480 800 24

    p 0 72 part0

    This device is designed for a customized APP which is landscape oriented and will auto-start after system booting. The boot animation works fine as expecting but it always immediately rotate 90 degree after the normal 3 seconds (72 / 24 = 3) and then stay on screen for a while(say, 0.5 sec.) just before APP start. To fix or prevent it, we have tried to apply below possible solutions, but none works:

    1. Change system default orientation by override in BoardConfig.mk:

    PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=120

    PRODUCT_PROPERTY_OVERRIDES += sys.devicy.type=tablet

    PRODUCT_CHARACTERISTICS := tablet

    2. Change system default orientation by either :

    setprop «ro.sf.hwrotation 90” in init.rc or

    echo «ro.sf.hwrotation 90” in /myandroid/build/tools/buildinfo.sh

    3. Change the default orientation for all system APP by adding below into /myandroid/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java

    mRotation = Surface.ROTATION_90;

    rotation = Surface.ROTATION_90;

    4. Change the frame orientation in /myandroid/frameworks/native/services/surgaceflinger/DisplayDevice.cpp

    – frame = Rect(w, h);

    + frame = Rect(h, w);

    5. Change the default orientation of Android launcher2.apk:

    in AndroidManifest.xml:

    – android:screenOrientation=»nosensor»>

    + android:screenOrientation=»landscape»>

    In above methods no matter the system or launcher2 app is successfully rotated, «Boot animation rotate 90 degree before APP start» is always there. We think there might be a possibility to replace the launcher2.apk by ours, but we don’t know how to do it, and think this method still won’t work due to the rotated launcher2.apk as above 5th method also got the same (w/o our APK installed).

    We are more than happy to try every possibility, please kindly provide solutions or comments. Thanks!

    -tftu

  2. http://www.htcmania.com/showthread.php?t=366370&page=2

    accelerometer.flip_xy=1
    accelerometer.invert_x=1
    accelerometer.invert_y=1
    accelerometer.invert_z=1

    these can be set from shell e.g. setprop accelerometer.flip_xy 1. after setprop, auto-rotate off->on to reflect properties. once you get correct settings, add necessary lines into /system/build.prop. in most cases, one of followings will work:

    accelerometer.flip_xy=1
    accelerometer.invert_x=1

    or

    accelerometer.invert_x=1

  3. APKS

    DISPLAY ORIENTATOR. APK
    Ultimate Rotation Control apk

    LCD Density Modder Pro apk
    dpi changer apk

    Resolution Changer Pro apk
    NOmone resolution changer apk

    ScreenInfo APK

    Touch sensitivity calibration APK
    TouchRecalibrate.apk

  4. Respaldar firmware Rockhip RK

    Tomado de
    http://ublaze.ru/forum/topic1369-10.html

    por Yumar
    http://ublaze.ru/forum/member11130.html

    Резервное копирование (бэкап/backup) – это необходимость, особенно в том случае, если вы не планируете тратиться на аварийное восстановление устройства. Иными словами, резервное копирование – это ваш лучший друг при эксперементах или штатных поломках.
    Для работы с внутренней памятью устройства, нам понадобится набор специальных, низкоуровневых утилит, скачать этот набор можно по ссылке: ROM Dumper Tool (для чтения) и ROM Flash Tool 137 (для записи)

    ROM Dumper Tool – используется только для чтения, это связано как я понял, с тем, что у него не верно работает функция записи.
    ROM Flash Tool 137 – используем для записи (в старой версии функция записи работает верно)

    Перед началом, давайте немного забежим вперед и рассмотрим структуру внутренней памяти (Flash ROM / NAND) устройства.

    Изображение

    Рис – структура файловой системы U8T

    Попытаемся расшифровать данные на картинке:

    BootLoader – здесь находится микропрограмма (загрузчик), которая первая запускается на вашем устройстве, считывает свою конфигурацию и на основе ее запускает или операционную систему или рекавери или некий другой сервисный режим. Аналоги на настольных ОС – MBR в Windows и Grub с LILO на Linux. Мы можем его ТОЛЬКО записывать и не можем считать. 😦
    parameter – не указан на рисунке, содержит в себе информацию о разделах, находится в самом начале.
    misc – это спец-зона, которая говорит системе восстановления, что делать при загрузке.
    kernel – ядро linux.
    boot – рагрузочная область ядра.
    recovery – это типа boot, только это система восстановления сюда как раз и ставится CWM (ClockWorkMod).
    backup – видемо какой-то раздел резервного копирования (не уверен).
    cache- судя по всему это кэш таких прог как Google Play.
    userdata- это раздел данных пользователя (все настройки, пароли и т.д. тут). системный сброс как раз таки чистит эту область.
    kpanic – спец-зона для ядра.
    metadata – это новый раздел, для kitkat (android 4.4) используется для шифрования (не указан на рисунке)
    system – раздел системы андроид – тут всё.
    user – тут лежат остальные данные пользователя (установленные приложения и т.д.). при сбросе этот раздел тоже чистится.

    Бэкап системы
    Copia de Sistema

    1. Conecte tablet a puerto USB 2.0 XP
    2. Ejecute ROM_Dumper_Tool.exe

    Instale Los Drivers si no la hecho ya.
    Reconecte el dispositivo
    Ponga la tablet en Flash Mode: (Presione Switch)

    Планшет погаснет – троготь его не надо. Вы должны увидеть следующую надпись:
    Изображение
    3. Процедура считывания данных.
    Открываем вкладку Advanced Function, находим кнопку ExportImage и поля Start, Count.

    Изображение
    Именно с помощью этих 2х полей и кнопки можно считать весь ФЛЕШ таблетки.
    В результате нам надо считать следующие области flash-памяти: parameter, misc.img, boot.img, kernel.img, recovery.img, system.img.
    Для того чтобы начать, прочитаем стартовую область (parameter), где находится вся инфа про разделы. Вводим Start=0, Count=2 и жмем ExportImage.
    Обратите внимание, что все экспорты сохраняются в один и тот же файл, это Output\ExportImage.img. И после КАЖДОГО экспорта данных, файл надо переименовывать.
    Переименовываем файл ExportImage.img в parameter. Чистим из него все личшнее и в конце последней строки – оставлем первод на новую строку (Enter). Должно получиться примено следующее:

    FIRMWARE_VER:4.4.2
    MACHINE_MODEL:U8T
    MACHINE_ID:007
    MANUFACTURER:RK30SDK
    MAGIC: 0x5041524B
    ATAG: 0x60000800
    MACHINE: 3066
    CHECK_MASK: 0x80
    KERNEL_IMG: 0x60408000
    #RECOVER_KEY: 1,1,0,20,0
    CMDLINE:board.ap_mdm=12 board.ap_has_alsa=0 board.ap_multi_card=0 board.ap_data_only=1 console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00006000@0x00004000(kernel),0x00006000@0x0000A000(boot),0x00010000@0x00010000(recovery),0x00020000@0x00020000(backup),0x00040000@0x00040000(cache),0x00400000@0x00080000(userdata),0x00002000@0x00480000(kpanic),0x00140000@0x00482000(system),-@0x005C2000(user)
    ….. – тут пустая строка!

    Видим адреса наших разделов, перечисленных через запятую, пример:
    0x00006000@0x0000A000(boot)
    Адресацию читаем следующим образом:
    count(размер)@start(адрес)
    Т.е. для того, чтобы нам считать раздел boot, нужно установить значения Start=0x0000A000, Count=0x00006000 и нажать на кнопку ExportImage. Так и поступим. Поле того, как считывание завершено, переименовываем файл Output\ExportImage.img в Output\boot.img.
    Аналогичным образом, считайте все остальные разделы. В итоге у вас должно получиться:
    parameter
    misc.img
    boot.img
    kernel.img
    recovery.img
    system.img
    Поздравляем, Вы сделали бэкап своей таблетки Изображение
    После проделанных телодвижений планшет у меня загрузился с 3го раза – это нормально.

    Восстановление системы
    Как описано выше, для восстановления (записи) бэкапа используем утилиту ROM Flash Tool 137.
    1. Почему-то сама программа ROM Flash Tool 137 у меня не захотела переводить устройство в Flash Mode, по этому переводим устройство в Flash Mode как описано в п.2 выше.
    2. Запускаем Flasher_tool\ROM_Flash_Tool_137.exe
    3. Здесь, указываем пути на восстанавливаемые дампы + адреса разделов. Устанавливаем галочки напртових тех, которые готовы к записи.
    В скриншете ниже, я записываю только recovery, считанный выше при бэкапе, файлик я положил рядом с программой, чтоб не путаться.
    5. Жмем Flash ROM

    6. Готово.

    Вопросы и ответы
    Если что-то полшно не так – не забываем за дирочку «reset».

    http://translate.googleusercontent.com/translate_c?depth=1&hl=es&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&tl=en&u=http://ublaze.ru/forum/topic1369-10.html&usg=ALkJrhjSYyAejC_-KwPxsQSBBGtxLAnh0g

  5. ATM7029 Volume sift buttons
    Reboot recovery

    build.prop

    ro.settings.config.hdmi=off
    ro.systemui.volumekey=disable —
    ro.systemui.capture=enable
    ro.launcher.config.cling=enable
    ro.launcher.hideAPP=disable
    ro.launcher.hideactivity=disable
    ro.launcher.allapp.landX=10
    ro.launcher.allapp.landY=6
    ro.launcher.allapp.portX=5
    ro.launcher.allapp.portY=8
    ro.launcher.workspace.landX=8
    ro.launcher.workspace.landY=7
    ro.launcher.workspace.portX=8
    ro.launcher.workspace.portY=7
    launcher.force_enable_rotation=true
    ro.product.usbdevice.VID=10d6
    ro.product.usbdevice.PID=fffe
    ro.product.mtpdevice.PID=4e41
    ro.product.ptpdevice.PID=4e43
    ro.shutmenu.recovery=disable —
    ro.shutmenu.planemode=disable
    ro.shutmenu.restart=enable

    https://github.com/bnmguy/ATC-ATM7029/blob/master/rec/recovery/recover.img-ramdisk/default.prop

  6. Tablet WM8850 – No carga, bateria muerta. No hay salida de voltaje hacia la bateria.
    Placa FOR-FUN F7 v1.1

    Tablet no usada durante casi un año.
    Se puso en corto la bateria y se cargo durante 30 seg directamente a 5V 1200mA
    Bateria recupera la carga, mas no la retiene, Reemplazo de bateria.

    en la Placa
    Se desolda bateria, no hay salida de voltaje hacia a la bateria (cae a a tierra).
    Se revisan voltajes d IC EMC5040 no los hay.
    Se revisan componentes aledaños, no se encuentra falla o corto en alguno.
    Se repasan soldaduras.
    Se presiona boton POWER durante 60 seg.
    Se vuelven aprobar voltajes en EMC5040 se obtine los 5 volt de entrada y salida (pata 1 y 10)
    Voltaje en la salida a bateria 4.3 V

    Haz clic para acceder a EMC5040.pdf

    http://monitor.espec.ws/section34/topic225490.html
    http://moveontechnology.com/hugoenchina-foros/index.php?topic=279.0

  7. Rk batch tool no reconoce dispositivo

    Con RKBatchTool cerrado

    Abrir el fichero “config.ini” de flasheo RKBatchTool.

    Cambiar:

    LOGFLAG=TRUE
    #SUPPORTLOWUSB=TRUE时,扫描支持full speed usb设备,默认只支持high speed usb设备
    SUPPORTLOWUSB=
    FULLSPEEDUSB=TRUE

    A TRUE:

    LOGFLAG=TRUE
    #SUPPORTLOWUSB=TRUE时,扫描支持full speed usb设备,默认只支持high speed usb设备
    SUPPORTLOWUSB=TRUE
    FULLSPEEDUSB=TRUE

    Guardas y el .ini y abres nuevamente la tool

    +–
    Recuerda desactivar la depuracion
    Recuerda Presionar el boton para entrar en «modo flash»

  8. Huawei MediaPad 7 Lites7-931w
    Rockchip

    HARD RESET

    (vol+)+(vol-) + (Power)
    hasta que vibre
    soltar (vol+) y (Power) pero dejar presionado (vol-)
    aparecerá el android con unos engranes,
    seguir presionan hasta que aparece
    una barra de estado
    y en unos segundos mas sale OK
    con letras verdes ahora ya puedes
    soltar la tecla

    Video

    —-
    «Rockchip wipe all» usando misc.img y Rkandroidtool.

  9. http://www.techknow.me/forum/index.php?topic=264.msg945#msg945

    How to resize system partition
    http://www.lemaker.org/thread-8347-1-1.html

    Locate the following section:

    [partition]
    name =data
    size =2097152

    Actually, this one is where android will write most of his data, and the most important one to increase.. I tried to set the new value to:

    size= 4194304 (Which mean 2 GB)

    Locate the following section:

    [partition]
    name =system
    size =1048576

    This is the size of the system partition, which is read only, I resized it to 1GB for testing but it’s only needed to increase that if you plan to add additionnal data in system, by copying additionnal files in DragonFace\fsop\system :

    size= 2097152

    http://www.ondaforum.com/topic/1817-howto-update-060215-build-your-own-rom-with-dragonface-more-options/

  10. http://blog.peku33.net/unpacking-q8h-allwiner-a20-a23-img-firmware/

    Copy & Past

    There are basically two ways of modifying Allwiner A20 / A23 firmware:

    Using DragonFace – chinese program created to easily modify some basic aspects of firmware. It loads .img file and allows to add new apps, modify init file and system configuration script. It does not provide explorer-like interface. But unfortunately all ROMs modified (or even saved without modifications) were stuck on Android logo while booting.
    http://forum.xda-developers.com/showthread.php?t=1753473 – imgRePacker. This tool did what I expected at first from DragonFace. It unpacked whole image to separate files / partitions. After that, I was able to find files I wanted to modify, and then, using the same tool – pack them into .img file. I had to use \skip while unpacking. I successfully flashed my tablet with image modified with this tool.

    Now a few words about img content.

    All tools used in this article are availible in A23 SDK (http://dl.linux-sunxi.org/SDK/A23-v1.0/unpacked/A23/)

    image.cfg is created directly by by imgRePacker to store information about files in image.
    sys_partition.fex is text file containing partition information for the device. It is translated using update_mbr or script (this is program name) to:
    dlinfo.fex – file used by PhoenixUSB, containing information about partitions and data sources for them (which file to copy where)
    sunxi_mbr.fex – file which is used as NAND Master Boot Record
    sys_config.fex is a common text configuration file for allwiner devices. It is converted to binary form (config.fex) by fex2bin availible in official linux-sunxi repository on github
    boot0_nand_.bin, boot0_sdcard_.bin, fes1_.bin, u-boot_.bin are stored in SDK in tools/pack/chip//bin/. They are ‚updated’ with new config using update_filename tool (also in SDK)
    boot.fex, bootloader.fex, env.fex, recovery.fex and system.fex are android partitions. Their checksums are created using FileAddSum tool. Both files and checksums are present in target image. Their names are listed in sys_partition.fex, therefore they are copied to target fs to appropriate partitions.
    Diskfs.fex is also present in partition table, but no checksum is availible. Whole file contains of 512 bytes of zeros.
    cardscript.fex, cardtool.fex, split_xxxx.fex, usbtool.fex are blobs (cardscript is text) availible in SDK. Both cardtool and usbtool seems to be win32 dlls. split_xxxx.fex remains unknown.
    aultls32.fex and aultools.fex are unknown blobs.

    If you have any information about unknown files – please do contact me.

    Returning to the topic of camera drivers.

    To modify camera driver a had to do two things:

    Modify loaded drivers in /init.sun8i.rc
    Modify sys_config (aka sysconfig1.lhs or script.bin)

    I combined method 1 and 2 and found that after modifying sys_config following file are being altered:

    bootloader.fex – only difference was this string
    config.fex (this is script.bin) – only difference was this string
    u-boot.fex – this string + some bytes in first 128 bytes
    sys_config.fex – this basicly is the config file

  11. Windows no pudo completar la instalación. Reinicie

    IIf fail Regedit.
    «setup.exe»=dword:00000003
    «oobeldr.exe»=dword:00000003
    «SetupFinalTasks»=dword:00000003

    Shift+F10

    Try


    SHUTDOWN /O /R /T 2

    x:\>chkdsk /f /v /r /b /offlinescanandfix c:


    rstrui.exe


    sfc /scannow

    make usb bootable (w8 or w10)

    DISM /Online /Cleanup-Image /RestoreHealth /source:wim:X:\sources\install.wim:1 /limitaccess

    sfc /scannow

    Restore /Refresh /Repair If partition restore exist

    Diskpart
    list volume
    exit

    reagentc /enable
    reagentc /info
    reagentc /boottore
    SHUTDOWN /O /R /T 2

    Bye.

Deja un comentario