Skip to content

Instantly share code, notes, and snippets.

View beerbong's full-sized avatar

Yamil Ghazi Kantelinen beerbong

View GitHub Profile
frameworks/base/core/res/res/values/public.xml:2031: error: Symbol 'config_forceDisableHardwareKeyboard' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/symbols.xml:1896: error: Symbol 'config_deviceDockBatteryHandlerClass' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/symbols.xml:1894: error: Symbol 'config_deviceHandlersLib' declared with <java-symbol> not defined
D/PARANOID( 2240): Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1000c000 cmp=com.android.settings/.Settings }
D/PARANOID( 2240): FLAG_ACTIVITY_TASK_ON_HOME
D/PARANOID( 2240): FLAG_ACTIVITY_CLEAR_TASK
D/PARANOID( 2240): FLAG_ACTIVITY_NEW_TASK
D/PARANOID( 2240): Intent { act=android.net.wifi.PICK_WIFI_NETWORK flg=0x108ca000 cmp=com.android.settings/.wifi.WifiPickerActivity bnds=[0,551][98,649] }
D/PARANOID( 2240): FLAG_FLOATING_WINDOW
D/PARANOID( 2240): FLAG_ACTIVITY_CLEAR_TASK
D/PARANOID( 2240): FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
D/PARANOID( 2240): FLAG_ACTIVITY_NEW_TASK
D/PARANOID( 2240): FLAG_ACTIVITY_NO_USER_ACTION
# Copy kernel files
if [ -f "$ANDROID_BUILD_TOP/vendor/pa/prebuilt/kernel/$TARGET_PRODUCT/boot.img" ]; then
printf "Copying kernel files for $TARGET_PRODUCT..."
echo
cp -r $ANDROID_BUILD_TOP/vendor/pa/prebuilt/kernel/$TARGET_PRODUCT/boot.img $REPACK/ota/
cp -r $ANDROID_BUILD_TOP/vendor/pa/prebuilt/kernel/$TARGET_PRODUCT/system/lib/modules/* $REPACK/ota/system/lib/modules/
fi
Hecho:
- settings: no creo que se necesite mucho más
- clases para checkear si hay updates de rom y gapps (por ahora apuntan a goo)
- downloadhelper puede esperar los 10 segundos cuando se conecta a goo
Falta:
- notificaciones1: romupdater y gappsupdater tienen que llamar a notificationshelper para crear las notificaciones
- notificaciones2: crear notificaciones de nuevo paquete encontrado y escuchar cuando se clickea
- notificaciones3: escuchar cuando acaba la notificacion de descarga (o cuando se clicka) para añadir el zip a una lista de flasheo
- ui: añadir botones de descarga cuando se encuentran updates (rom, delta y gapps)
{
"device":"mako",
"updates":[
{
"name":"pa_mako-3.65-20130708.zip",
"version":"700036520130708",
"size":"158.1 MiB",
"url":"http://download.paranoidandroid.co/pa_mako-3.65-20130708.zip",
"md5":"asdjhaksfasdfasdf",
"delta":{
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES += $(call all-java-files-under, src)
LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v4
LOCAL_PACKAGE_NAME := ParanoidOTA
- i want to backup my rom before installing the update (or clear caches or data)
go to settings (tick expert mode) -> options and select the options you want, you’ll be prompted with that options everytime you download an update
- i get the error message “error checking for rom updates”
your device is not supported or is not published in paranoidandroid.co
- i changed my recovery and now i get an error when flashing the update
go to settings (tick expert mode) -> select recovery and choose the type of recovery you have (twrp or cwm)
- i have cwm recovery and i get this error “Error processing ROM Manager script. Please verify that you are performing the backup, restore, or ROM installation from ROM Manager v4.4.0.0 or higher.”
07-27 19:03:54.707 E/AndroidRuntime(27280): Caused by: java.lang.IllegalArgumentException: width and height must be > 0
07-27 19:03:54.707 E/AndroidRuntime(27280): at android.graphics.Bitmap.createBitmap(Bitmap.java:689)
07-27 19:03:54.707 E/AndroidRuntime(27280): at android.graphics.Bitmap.createBitmap(Bitmap.java:668)
07-27 19:03:54.707 E/AndroidRuntime(27280): at android.graphics.Bitmap.createBitmap(Bitmap.java:601)
07-27 19:03:54.707 E/AndroidRuntime(27280): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:481)
07-27 19:03:54.707 E/AndroidRuntime(27280): at com.android.systemui.statusbar.BaseStatusBar.createRoundIcon(BaseStatusBar.java:1471)
07-27 19:03:54.707 E/AndroidRuntime(27280): at com.android.systemui.statusbar.BaseStatusBar.addNotificationViews(BaseStatusBar.java:1512)
07-27 19:03:54.707 E/AndroidRuntime(27280): at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:936)
07-27 19:03:54.707 E/AndroidRuntime(27280): at com.android.systemui.status
E/AndroidRuntime( 896): java.lang.NullPointerException
E/AndroidRuntime( 896): at com.android.systemui.statusbar.tablet.TabletTicker.add(TabletTicker.java:110)
E/AndroidRuntime( 896): at com.android.systemui.statusbar.tablet.TabletStatusBar.tick(TabletStatusBar.java:1148)
E/AndroidRuntime( 896): at com.android.systemui.statusbar.tablet.TabletStatusBar.addNotification(TabletStatusBar.java:1032)
E/AndroidRuntime( 896): at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:269)
E/AndroidRuntime( 896): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 896): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 896): at android.app.ActivityThread.main(ActivityThread.java:5151)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Method.java:525)
E/JniUtils( 2097): java.lang.UnsatisfiedLinkError: Couldn't load jni_latinimegoogle from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/system/app/LatinImeGoogle.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]: findLibrary returned null
E/JniUtils( 2097): at java.lang.Runtime.loadLibrary(Runtime.java:355)
E/JniUtils( 2097): at java.lang.System.loadLibrary(System.java:525)
E/JniUtils( 2097): at com.android.inputmethod.latin.JniUtils.<clinit>(JniUtils.java:28)
E/JniUtils( 2097): at com.android.inputmethod.latin.BinaryDictionary.<clinit>(BinaryDictionary.java:87)
E/JniUtils( 2097): at com.android.inputmethod.latin.ExpandableBinaryDictionary.loadBinaryDictionary(ExpandableBinaryDictionary.java:287)
E/JniUtils( 2097): at com.android.inputmethod.latin.ExpandableBinaryDictionary.syncReloadDictionaryInternal(ExpandableBinaryDictionary.java:415)
E/JniUtils( 2097): at com.android.inputmethod.latin.ExpandableBinaryDictionary.access$500(ExpandableBinaryDictionary.java:47)
E/JniUtils( 2097