[Solved] DEODEXED xUltimate-v2.3.3 JAVA Error ! - Samsung Galaxy R i9103

i doing DEODEXED My STOCK ROOTED ROM DDKH4 With xUltimate 2.3.3
But The Step 3rd Giving Me error above
Code:
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
'java' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
when installed jdk-6u29-windows-x64,jdk-7u2-windows-x64
then what is the problem ...............
BMY TEST RESULTS ARE ABOVE (xUltimate-v2.3.3)
Code:
-Windows x86-
*************************
* adb = PASS! *
* *
* odex = PASS! *
* *
* zip = PASS! *
* *
* busybox = PASS! *
* *
* java = FAIL! *
* *
* temp = PASS! *
* *
* deodex = SKIP! *
* *
* redex = SKIP! *
*************************
-Done Testing-
Press any key to continue . . .
sorry for my bad english

solved

Congrats. Keep going

dh33r4j said:
Congrats. Keep going
Click to expand...
Click to collapse
Thanks but again i get new error so can u help me some

If you are getting that error, it means that eitherJava is not installed, or is not in your path.
If Java is not installed, go to java.com to install the most recent version of the JRE.
If you're sure you have already installed Java ensure the Java executable is in your system's path. You can do this by first finding the directory it is installed in. For example, mine is installed in C:\Program Files\Java\jre6. The executables are located in the bin directory.
In order to set your path (Assuming Windows Vista), go to Start -> Control Panel -> System, then click on the 'Advanced System Settings' link on the left, then the 'Environment Variables' button. In the lower section (Labeled 'System Variables'), scroll through and find the item labeled 'Path' and double click it. In the field labeled 'Variable value' go to the end and add a semicolon (, and then the path your installation of Java is located. Using the example I gave above, I would have added ;C:\Program Files\Java\jre6\bin to the end of the line.
The procedure for 64-bit Windows Vista or Windows 7 is the same, except the text you will add to the Path variable is ";C:\Program Files (x86)\Java\jre6\bin". Notice there is still a semi-colon at the beginning of the line.
Once you have done this, you will need to close and reopen the command prompt if it is already open, and you should be able to run java without getting this error message.

help
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
'java' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
how did you solved this problem????
please help i have installed jdk-7u2-windows-x64

me too
abhinav quietly brilliant said:
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
'java' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
how did you solved this problem????
please help i have installed jdk-7u2-windows-x64
Click to expand...
Click to collapse
I have the same problem. I executed java -version from the xUltimate directory and got java version 1.7.0_05, so I know there is no problem actually executing java, but for some reason the xUltimate can't find java.

skeptonomicon said:
I have the same problem. I executed java -version from the xUltimate directory and got java version 1.7.0_05, so I know there is no problem actually executing java, but for some reason the xUltimate can't find java.
Click to expand...
Click to collapse
You got to able to run java -version from any directory, not just the xUltimate dir. If that's not happening and if java is already installed you need to add path to the jre/jdk bin folder in the system path environment variable. Please have a look at the posts above, I think someone already explained in detail.
Sent from my GT-I9103 using xda app-developers app

Figured it out
parajsinghal said:
You got to able to run java -version from any directory, not just the xUltimate dir. If that's not happening and if java is already installed you need to add path to the jre/jdk bin folder in the system path environment variable. Please have a look at the posts above, I think someone already explained in detail.
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
Thanks for trying to help. I had already verified, and I reverified, that I can execute java from every directory. Your post did get me thinking, so I checked the path variable and determined that it was running the java.exe in the C:/windows/system32 directory. I also had a directory C:\Program Files\Java\jdk1.7.0_07\bin with java in it.
The problem I was seeing is caused some MS shenanigans with how they map the disk drives. The java.exe is not really located in the Windows/system32 folder but it does appear to be when using file explorer. They have some kind of redirection that maps the java from the program files/java/jdk1.7.0_07/bin directory into the windows\system32 directory, only this works for some programs and not for others. For instance I can see Windows/system32/java.exe in File explorer, and can see and execute it from the command line, but winMerge can't see it. I am guessing that xUltimate also can't see it.
Bottom line here is that if you have the missing java problem, it is not enough to be able to execute java from the command line, you need to make sure your path links to the executable in the java directory. Hope this helps anyone else coming across this problem

in my case...
how to solve thise...?
-Windows x86-
*************************
* adb = PASS! *
* *
* odex = PASS! *
* *
* zip = PASS! *
* *
* busybox = PASS! *
* *
* java = PASS! *
* *
* temp = PASS! *
* *
* deodex = FAIL! *
* *
* redex = SKIP! *
*************************
-Done Testing-[/CODE]
Press any key to continue . . .

deleted

Related

stuck on QTEK screen

I had WM6 on the device.
I have downgraded my S200 to serges AKU 3.3.13.
I got the massage that it was succesfull. I hold the camera button + com button + soft reset.
now my device hangs on QTEK screen
with following data:
IPL 2.10.0001
SPL 2.10.0001
GSM 02.61.21
OS 3.0.0.0
i have tried several ties to hard reset.
device does not get connected with actiev synch anymore, so i am stuck.
please advise.
reflash it with a qtek rom and then try arsegs again!
sorry for the newbie question, but how can i reflash it if i don't get a connection anymore?
can i use:
RUU_Prophet_215738_2157127_023021_QTEK_FRE_Ship_NoVendorID
for this?
please help
yes ... right version! but its a french rom.
if it works i wil have to learn french
yes it works, so now i should be able to load the aserge 3.3 on the device.
yes ... try it!
i have tried it but it did not work again.
after i run update_rom.bat, i get:
***********************************************************************
* *
* HTC Prophet Upgrade to AKU 3.3.12 ASerg Edition (for G3 and G4 Chips) *
* *
* Total process may take about 15-30 minutes depending on CPU speed. *
* *
***********************************************************************
Press any key to continue . . .
Start Time: 23:39:40,29
Initializing.The system cannot execute the specified program.
..The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
*
Clearing the existing Extension ROMThe system cannot execute the specified progr
am.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
*
Copying the new Extension ROMThe system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
.The system cannot execute the specified program.
*
Writing the new AKU 3.3.12 OS ROM.The system cannot execute the specified progra
m.
.*
Copying C:\backup laptop\S200\FTP XDA\Uploads\Prophet\Prophet-roms\ASERG\AKU3.3.
13.ASERG-us\itsutils.dll to WCE:\windows\Itsutils.dll
3 partitions, 2 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 62 10 01 01 0f 00 04 70 1a 02 06 d5
CopyFileToTFFS(OS.nb:0, 0, 03900000)
after this nothing happens anymore.
oh i see ...
i have a idear!
copy all files in a dir like "c:\update" ... possible dir name are to long or the " " make problem!? use a shorter pfad without " ".
ok i wil try that and let you know thank you very much.

[HOW-TO] Manually deodex your phone.

I AM NOT RESPONSIBLE FOR WHATEVER HAPPENS TO YOUR PHONE!
You must be rooted!
This is a guide on manually deodexing, you phone. (Duh!)
The reason I am making this tutorial is because I could not get my theme to work with Teenfaces deodexed nandroid. You may want to follows this if you have the same problem as me, or if you just want to take a shot at doing it.
What you'll need:
A Windows based machine
xUltimate v2.2
Patience
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
9. Put the phone in PC mode
10. Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Your phone should now be deodexed!
You may notice an increase in speed, and you now have the ability to edit certain files with greater effects. (i.e. services.jar)
Credits:
Rainabba and Mike919: For initially working with me to get a white clock, and later deodex.
toxman: For testing, and being a huge risk taker.
teenfaces: For letting me use his services.jar
And especially Xeudoxus: For letting me a guinea pig, for xUltimate, and answering my questions. And also for the making the xUltimate tool. It defiantly makes thing easier.
what is deodexing?
Was searching through the forum for a definition but no luck
geoxda said:
what is deodexing?
Was searching through the forum for a definition but no luck
Click to expand...
Click to collapse
it allows us to customize system files so we can theme.
http://www.droidforums.net/forum/dro...-deodexed.html
I get file not found on option 3. Fresh SBF 2.1, only thing is i am rooted... Any Ideas on this?
thank you message too short filler
Don't think you need to do this on 2.1 as you can put in a modified services.jar and it updates the system clock to different colors (usually white).
inzandity said:
Don't think you need to do this on 2.1 as you can put in a modified services.jar and it updates the system clock to different colors (usually white).
Click to expand...
Click to collapse
I want to deodex the phone as suggested by the OP, not just the clock.
Tested and does NOT work with Droid 2 2.2. Phone locks up at "cp /sdcard/done_app/* /system/app"
This must be done one 2.2. I Never ;put of a warning because I assumed the majority of people have already switched.
Can the code above be done on terminal emulator on the droid x
I got to step 4 (which is pressing 3 to start deodexing) and I got this message on the third element:
Starting Bluetooth.odex
*****************************************
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Ljavax/obex/ServerRequestHandler;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:93)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/bluetooth/opp/BluetoothOppObexServerSession; from file .\origi_app\Bluetooth.odex
Error while loading ClassPath class Lcom/android/bluetooth/opp/BluetoothOppObexServerSession;
* *
*****************************************
Restarting Bluetooth.odex
*****************************************
* ERROR! Trying something different! *
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Lcom/htc/app/HtcAlertActivity;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.java:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:100)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/bluetooth/opp/BluetoothOppBtEnableActivity; from file .\origi_app\Bluetooth.odex
Error while loading ClassPath class Lcom/android/bluetooth/opp/BluetoothOppBtEnableActivity;
Press any key to continue . . .
*****************************************
MAJOR ERROR!! WITH DEODEXING! Bluetooth.odex
*****************************************
********DELETING INCORRECT FILES*********
please exit out of window "***Deodexing ADB Window, DO NOT EXIT!***"
Press any key to continue . . .
My DInc. is rooted and running 2.2: 3.21.605.1
Do I need to be in recovery with system mounted to make this work?
Does this only work on the Droid X?
Xxq TZ pxX said:
I got to step 4 (which is pressing 3 to start deodexing) and I got this message on the third element:
Starting Bluetooth.odex
*****************************************
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Ljavax/obex/ServerRequestHandler;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:93)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/bluetooth/opp/BluetoothOppObexServerSession; from file .\origi_app\Bluetooth.odex
Error while loading ClassPath class Lcom/android/bluetooth/opp/BluetoothOppObexServerSession;
* *
*****************************************
Restarting Bluetooth.odex
*****************************************
* ERROR! Trying something different! *
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Lcom/htc/app/HtcAlertActivity;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.java:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:100)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/bluetooth/opp/BluetoothOppBtEnableActivity; from file .\origi_app\Bluetooth.odex
Error while loading ClassPath class Lcom/android/bluetooth/opp/BluetoothOppBtEnableActivity;
Press any key to continue . . .
*****************************************
MAJOR ERROR!! WITH DEODEXING! Bluetooth.odex
*****************************************
********DELETING INCORRECT FILES*********
please exit out of window "***Deodexing ADB Window, DO NOT EXIT!***"
Press any key to continue . . .
My DInc. is rooted and running 2.2: 3.21.605.1
Do I need to be in recovery with system mounted to make this work?
Does this only work on the Droid X?
Click to expand...
Click to collapse
Lol, sorry to be rude. But this is in teh Droid X section. I'm sure the Dinc has some way of being deodexed.
Hi I'm a noob when it comes to droid x and theming can you run the code from terminal emulator on the droid x or do you need a laptop to do it thanks
bigdade said:
Hi I'm a noob when it comes to droid x and theming can you run the code from terminal emulator on the droid x or do you need a laptop to do it thanks
Click to expand...
Click to collapse
What do you mean the code?
If you mean what is in the code tags. No. If be you mean the numbered directions no. you need a computer.
I meant what is in the code box with the commands su and such
Whew!! Finally got this done, after 4 .sbf flashes?! BUT how can I be sure??
When I ran "mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system" at the end of the process I got "Device or Resource Busy", is that ok or am I going to have trouble?
urufu_shinjiro said:
When I ran "mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system" at the end of the process I got "Device or Resource Busy", is that ok or am I going to have trouble?
Click to expand...
Click to collapse
I had this as well. All that part does is re-mount the system partition as RO (Read Only). This is done when you reboot as well. So if you rebooted at the end of the process, it was taken care of.
i cant get past option 3 , keeps sayin file not not , i look in the folders and all of the files were put in there
i have a rooted Droid X running 2.2 with some bloatware removed. am i a candidate for this?
also how's the success/failure rate with this method?

Penetration Testing Using Android

I ran across this link to a penetration testing tool (well, actually a debian 'chroot') for Android called DebDroid:
http://www.pentestit.com/2011/02/18/debdroid-run-network-sniffing-debian-system-android/
The text on the site reads:
Debroid helps you run a Debian system with a lot of utilities that help you sniff packets. In addition to various other tools and libraries, it contains tools such as:
* openssh
* libpcap
* libpcap-dev
* ettercap
* wireshark
* carwhisperer
* btscan
* NMAP
* ntbscan
These come pre-installed with the Debian image. To install, simply download the image from the links provided and follow these steps:
1. Unzip the .zip and .7z files and copy all the contents to /sdcard/debian/
2. Run your preferred terminal emulator and run bash with su.
3. Install debroid with – sh ./sdcard/debian/debian.sh
4. Boot into debian with the following command – debroid and voila!
----------------
Has anyone tried this or other Android penetration testing tools? Please share your thoughts.
I just realized DebDroid is mentioned in another thread:
http://forum.xda-developers.com/showthread.php?t=950083
mail_e60 said:
I ran across this link to a penetration testing tool (well, actually a debian 'chroot') for Android called DebDroid:
http://www.pentestit.com/2011/02/18/debdroid-run-network-sniffing-debian-system-android/
The text on the site reads:
Debroid helps you run a Debian system with a lot of utilities that help you sniff packets. In addition to various other tools and libraries, it contains tools such as:
* openssh
* libpcap
* libpcap-dev
* ettercap
* wireshark
* carwhisperer
* btscan
* NMAP
* ntbscan
These come pre-installed with the Debian image. To install, simply download the image from the links provided and follow these steps:
1. Unzip the .zip and .7z files and copy all the contents to /sdcard/debian/
2. Run your preferred terminal emulator and run bash with su.
3. Install debroid with – sh ./sdcard/debian/debian.sh
4. Boot into debian with the following command – debroid and voila!
----------------
Has anyone tried this or other Android penetration testing tools? Please share your thoughts.
Click to expand...
Click to collapse

Deodex xUltimate Error Please Help

i always got this error while deodexing
Starting Email.odex
*****************************************
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find sup
erclass Ljava/awt/Component;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPa
th.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.j
ava:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:105)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lgnu/activation/viewers/ImageViewer; from file .\origi
_app\Email.odex
Error while loading ClassPath class Lgnu/activation/viewers/ImageViewer;
Press any key to continue . . .
Did this ever get solved?
Try THis
Hi there , Recently I tried to dedoex using XUltimate my JB ROM. Got the same issue .. Solved Via these methods ..hope they work for you,, if the do.. do inform
Download JAVA SDK ( JDK) not JRE! http://www.oracle.com/technetwork/java/javase/downloads/index.html
Right-click on ‘My Computer’ (or Computer for Vista) and choose ‘Properties’.
Navigate to the ‘Advanced’ tab (or for Vista/7/8, click 'Advanced System Settings’ on the left, then find the ‘Advanced’ tab)
Click ‘Environment Variables’
Under System Variables, find 'Path' and click Edit...
DO NOT ERASE OR REPLACE THE CONTENTS OF THIS. YOU ARE SIMPLY GOING TO ADD TO IT.
At the very end of the text field, add a semicolon [ ; ] and add the location of java.exe.
On my Windows 64-bit system this is in “c:\program files\java\jdk1.7.0_06\bin” . For others it might be "c:\program
files\java\jre7\bin". I seem to have java.exe in both locations but only the first one worked in xUltimate.
Then ‘Okay’ that to save the addition and come out of ‘Properties’
Next Download XUltimate 2.4.2 ( This only work with JB until where i have tried) (http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip)
Copy it C:\
Replace the smali and baksmali file from the jar folder with those given below
Disable your antivirus
Run the Main.exe as Admin
Start from scratch .. It should work

[HD+ only][Beta] U-Boot v2014.07 + Graphical boot menu

Hello everyone!
Here's a little gift for you.
This is a port of a recent U-Boot (currently v2014.07) for the BN Ovation.
YouTube video: http://youtu.be/LN2bcjdnWnQ
Thanks to bauwks, fattire, Barnes & Noble (although their code is horrible), Wolfgang Denk and the U-Boot contributors, and everyone else that helped with cracking the Nook's bootloader.
Playing with bootloaders can be dangerous. Although I tested this software, I can't guarantee that it won't harm your device.​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this software
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Why?:
I got bored, so I started working on a Debian port for the HD+. I then realized that I'll need to change the boot params to make things work without ugly hacks. I looked around, and all I could find was the same bootloader with hacks for menus and different boot params. So, I thought I'd do a fresh and (hopefully) clean port of the latest U-Boot, and enable boot scripts, so that we can use one bootloader for all the ROMs and kernels.
Do you guys think this would be accepted upstream? No point in doing that without replacing the first U-Boot, I think.
What works:
My board's revision (PVT according to original U-Boot, EVT1B according to kernel. Novatek panel.)
Console over USB (usbtty)
Console over LCD (vga)
Display
Booting from SD
Booting from eMMC
Boot scripting (SD, eMMC)
You tell me
What doesn't work (only in bootloader):
Display backlight control
Gas Gauge (battery meter)
Charging control
You tell me
Sources:
From my GitHub: https://github.com/Ar2000jp/u-boot.git
Based on (upstream): http://git.denx.de/u-boot.git
BN sources: http://www.barnesandnoble.com/u/Terms-of-Service-NOOK-HD-HD-Plus/379003804
Binaries:
Attached to this post.
Copy the file named "uImage" to your SD card's boot partition. To create an SD card with the required boot partition and files, follow the procedure for creating an external recovery SD card. Check out this thread for more information: https://forum.xda-developers.com/showthread.php?t=2600572
To do:
Lots of testing
You tell me
How to compile:
I used Code Sourcery's arm-2014.05-28-arm-none-eabi-i686-pc-linux-gnu release.
Code:
ARCH="arm" CROSS_COMPILE="/opt/codesourcery/arm-2014.05/bin/arm-none-eabi-" make distclean
ARCH="arm" CROSS_COMPILE="/opt/codesourcery/arm-2014.05/bin/arm-none-eabi-" make omap4_ovation_eng_config
ARCH="arm" CROSS_COMPILE="/opt/codesourcery/arm-2014.05/bin/arm-none-eabi-" make -j3 u-boot.bin
ARCH="arm" CROSS_COMPILE="/opt/codesourcery/arm-2014.05/bin/arm-none-eabi-" make clean
gzip --best -vk u-boot.bin
mkimage -A arm -O linux -T kernel -C gzip -a 0x88000000 -e 0x88000000 -n "2nd Bootloader" -d u-boot.bin.gz uImage
For the Engineering build (more command line features), use:
Code:
make omap4_ovation_eng_config
And for the normal build, use:
Code:
make omap4_ovation_config
Changelog:
See GitHub commit log.
Boot scripting
By using U-Boot's boot scripts and boot menu support, we can unify the bootloaders to one bootloader, but use different boot scripts.
Boot scripts can execute any U-Boot commands automatically on boot, which means we can change bootargs, and use whatever other features we want easily.
The current version of this U-Boot port looks for a U-Boot script (boot.scr) on the SD card's first partition (mmc 0:1, which must be fat), and if it doesn't find one, it'll look for one on the bootdata partition (mmc 1:6) on the eMMC.
Please be aware that some U-Boot commands can permanently brick your device.
Please only use trusted boot scripts.​
To make a boot script, use:
Code:
mkimage -A arm -O u-boot -T script -C none -n "Boot Script" -d bootscript.txt boot.scr
Graphical boot menu:
Using the scripting capabilities in U-Boot, I was able to make a graphical boot menu. ROMs can be easily added to the menu by adding a few lines to the script.
I have a favor to ask of developers: please keep the script clean. Let's try to make a standard form for it.
I think the script is simple and self-describing. Adding a new ROM only needs a line for boot arguments, a line for the boot command, and a BMP image for the ROMs entry in a folder with the entry's name on the SD card's boot partition.
To keep the display clean (no artifacts/leftovers), please use graphics with the same dimensions as the entry files in the provided attachment.
BMPs must be in a format supported by U-Boot. I use 24-bit uncompressed BMPs, and then I gzip them.
Code:
gzip --best -k entry.bmp
Attached is the script I wrote, with some (crude) graphics, and support for booting eMMC CM11 and recovery.
To use the script, copy the contents of the "SD Files" folder to the boot partition on your SD card.
Testing, better graphics, scripts, and feedback is most welcome.

Categories

Resources