I'm currently trying backporting some stuff (ideally everything) from update 4.0.1 to 3.3. I'm creating this topic to share my experience and ask questions when I find difficulties, and maybe finding someone willing to help
Current status:
Nothing works
I found out that replacing all files under /opt (and touching nothing else) breaks Yifan Lu's custom recovery (eg. after that, only FAT filesystem gets exported over usb), so it becomes quite difficult getting back to a working system. I have to find out what is causing this failure before trying more extensive modifications.
With only those files moved, trying to start framework I get this error:
Code:
110731:053038 cvm[12267]: java.lang.ExceptionInInitializerError
110731:053038 cvm[12267]: at java.lang.Class.runStaticInitializers(Class.
java:1625)
110731:053038 cvm[12267]: at com.amazon.ebook.framework.impl.device.mario
.i.<init>(rdd:163)
110731:053038 cvm[12267]: at com.amazon.ebook.framework.impl.device.mario
.i.aWb(rdd:124)
110731:053038 cvm[12267]: at com.amazon.ebook.framework.impl.Framework.st
art(mfd:494)
110731:053038 cvm[12267]: at com.lab126.linux.arm.AbstractServiceProvider
.RoA(kkb:230)
110731:053038 cvm[12267]: at com.lab126.linux.arm.YoshiServiceProvider.ma
in(reb:124)
110731:053038 cvm[12267]: at sun.misc.CVM.runMain(CVM.java:538)
110731:053038 cvm[12267]: Caused by: java.lang.StringIndexOutOfBoundsException:
String index out of range: 5
110731:053038 cvm[12267]: at java.lang.String.substring(Compiled Method)(
String.java:1676)
110731:053038 cvm[12267]: at com.lab126.linux.arm.jb.Jb(jgb:284)
110731:053038 cvm[12267]: at com.amazon.ebook.framework.impl.b.c.<clinit>
(scd:280)
110731:053038 cvm[12267]: at java.lang.Class.runStaticInitializers(Class.
java:1604)
I'd like some directions on how to find those parts with a java decompiler, to try to understand what's wrong.