[Q] mksdcard error. - Android Software Development

Hey,
I'm trying to create an SD card image using mksdcard for my emulator.
When I attempt to create one I get something about a bus error and abortion of the proccess.
How do I get it to work.
Thanks,
BTW;
I'm on a Mac.
Using Eclipse environment.

Related

need help porting to android?

ext2fs_check_if_mount: No such file or directory while determining whether /dev/block/loop2:is mountmounted.
dev/block/mcblok0p3 is mounted.
e2fsck:No such device or address while trying to open /dev/block/mcblk0pw/
possibly non-existant or swap device?
Mount:mounting /dev/block/mcblk0p3 on/data failed:
continued:::
Failed
Failed to mount /data
/bin/ah:can't access tty; job control turned/
followed instructions on
http://code.google.com/p/vogue-android/wiki/HowToInstall,
written by DZO (creds to him). yet it still won't work. erased all files at least 3 times, and still doesnt work.
hello?
uhh, is there any data.gz?
because im wondering if i should put it on.

Debian working niceley on Desire.

Debian for Desire.
If you are able to try this on another android device, please do as I will be very interested in the results.
Download
http://www.multiupload.com/79TSI1AAF9
You will need.
-Root access.
-Busybox (included in most custom roms)
-1.4gig free on SDCARD
-VNC Client (ie. AndroidVNC)
-Terminal Emulator (ie. ConnectBot)
-7zip
Instructions
-Extract the file deSIREbian.7z on your PC using 7zip.
-Copy the contents (debian.img and deboot) to root directory of SDCARD.
-On your phone in terminal emulator type
su
sh /sdcard/deboot
Click to expand...
Click to collapse
You should get a blank screen showing "localhost:/#" after a couple of seconds.
-On your phone in your VNC client log in using these details
Password - password
Port - 5901
Click to expand...
Click to collapse
Nickname and Address are not needed, call it what you want though.
Changing the colour to 24bit and enabling local mouse pointer and full screen bit map are not neccesary but reccomended.
-Thats it.
Notes.
-You can log in via ssh, (gives a much better terminal, ie works properly with aptitude). Use [email protected] and password "toor"
-The version of Debian is Armel Lenny, installed using debootstrap.
-It is just the base package with LXDE on top, you only get a desktop, a file browser, an internet browser, and a pic viewer.
-If you want more packages there's tonnes of room on the image. eg apt-get install openoffice.org or apt-get install abiword or apt-get install any flipping thing u want
-You can access the SDCARD from Debian at "root/sdcard" (read-write)
-You can access Debian filesystem from Android (When Debian is running) at "sdcard/debian" (read only)
-debian.img is mounted at "sdcard/debian" using "dev/block/loop5"
-So far the only rom i have come accross that this dont work with is one of the cyanogen nightlies from last week. apart from that, working on opendesire, cyanogen, defrost, leedroid, official 2.2 with busybox...
Issues.
Debian cannot be shut down. You need to reboot the phone to do this. (You can kill the VNC server with "vncserver -kill :1" there is an icon on the festoons to do this.)
Update log.
deSIREbain.
-First release.
deSIREbain2
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
Hey,
thank you for your work, i will test it so far and will tell you the results
got this error:
Code:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /sdcard/debian/root/sdcard failed: No such file or di
rectory
net.ipv4.ip_forward = 1
chroot: can't change root directory to /sdcard/debian: No such file or directory
#
If you have the same problems try out
su
mkdir /sdcard/debian
losetup /dev/block/loop3 /sdcard/debian.img
mount -t ext2 /dev/block/loop3 /sdcard/debian
ls /sdcard/debian
thx to mercianary for help
greetings
I found this guide quite helpful at getting a bootstrapped Debian setup running.
http://www.saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
blackstoneuser5 said:
I found this guide quite helpful at getting a bootstrapped Debian setup running.
www . saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
Click to expand...
Click to collapse
I used parts of this for reference too. Its a great guide, explains things really well.
i've just updated this. link is in the first post.
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
debian for desire--help please
hi
I spent much time for searching debian or ubuntu for desire, but nothin worked
know i found this and i have download everything and start to install over the terminal
but the " sh /sdcard/deboot" is not workin to
there's only this answer:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
[: not found
losetup: not found
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
busybox: not found
sysctl: not found
chroot: not found
may somebody help me?
i really want to have it on the desire
thanks
It looks like you had not installed busybox
Which ROM do you use ?
oh i'm sorry
i'm a newbie and don't really know what a rom is
but i had problems with busybox and there was a somebody who said i can get the app titanium and let it install the busybox
could you please show me a tut how to install busybox
maybe a german tut
thanks
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Rosi1337 said:
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Click to expand...
Click to collapse
dont know why that happened.. works on mine. syntax looks ok to me.
try with this one (attatched), it's the same but without the bit that's not working for you.
what rom are you using, i shall try to replicate the error so I can try to fix properly.
thepuechen said:
could you please show me a tut how to install busybox
maybe a german tut
thanks
Click to expand...
Click to collapse
There should be a guide on installing busybox somewhere if you want to search for it, i know i remember seeing one a while ago.
Too be honest, your better off just flashing a rom that includes busybox, it would be MUCH easier.
have a look here and see what takes your fancy, I would recomend defrost, because it is stable and easy to overclock.
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
please paste at that time log
jacobtc said:
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
Click to expand...
Click to collapse
Please paste at that time log.
Maybe vnc server does not running.
tknv said:
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Click to expand...
Click to collapse
You should understand that this is not a really booted native linux. Instead you are working in a chroot environment. So there is no kernel running that can get parameters. Only the the stock kernel of your DeFroST. Also there is no FrameBuffer as the graphic hardware ist not accessible. Instead this approach uses a vnc-server to which you can connect via a local viewer.
The advantage of this approach is clear:
- run almost any linux package available in the debian repository
- use your phone as before with the nice android
The disadvantage:
- no graphic output, so no 3D-games (which are rare under linux on the arm platform ;-)
- you can crash your android by eating up to much ram (not such a problem - it restarts on its own and if not you just have to reboot)
Thread is dead?
It seems this thread is dead. The problems many users seem to have come from a dirty setup. The image is broken in many terms:
- wrong file permissions on important binaries, like su
- wrong file permissions on many device files under /dev, so the ttys are only accessible by root
- wrong permissions on other places so there are always errors when installing additonal software (e.g. with the man pages)
- wrong setup that uses the root user for the desktop - instead an unprivileged user should be used
- missing packages for timezones and locales so the time is only right, if you are in a UTC region and console programs having trouble displaying anything else then plain english
I can not recommend using this setup image. It is better to use one of the instructions available online to get a clean setup.
Su doesn't work because your allready root.
Getting anything but root to work would be a real pain.
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Just thought I'd add my 2 cents.
I tried this on a MIUI rom and the scripy didnt do anything - ie i ran it using:
"# sh /sdcard/deboot"
.....and all it said was:
"#"
I entered all the lines in the shell script but the last one said it failed to launch VLC and no commands registered property (not even ls)
So i tried it on Defrost 5.1, and the script still didn't work.
But when i entered everything manually, it did work. Not too sure about the green theme though.
But thanks alot! Saves me spending a few hours trying to coax a working debootstrap out of my computer.
Thanks!
Josh.
mercianary said:
Su doesn't work because your allready root.
Click to expand...
Click to collapse
Nope. Actually su works only for root. It's missing the setuid root flag like all other binaries that should have it set.
mercianary said:
Getting anything but root to work would be a real pain.
Click to expand...
Click to collapse
Nope. I am always working as a normal, unprivileged user in my chroot. You just have to be in the proper groups. No need to work as root. Android works also with an unprivileged user.
mercianary said:
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
Click to expand...
Click to collapse
This is what I do not understand. There is no need that it is broken, as mine works without any errors. So I think something went wrong in creating yours. For sure a chroot is no running OS but you can server almost any service with it and run anything you want (if your ram does not get exhausted ;-).
mercianary said:
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Click to expand...
Click to collapse
Yes. Everyone with a good rom should have a2sd+ (aka the old a2sd) which saves more space than the froyo one and leaves your loop devices for you.
jo

Making/editing system.ext2 in Windows 7

I am wanting to change and get my own build working... based on enomther for the Nexus One.
Currently I do not have dual boot setup (had to format pc). Is there anyway I can just edit a current system.ext2 file that I already have in windows or would I need to generate a new one in a linux based system.
Basically I want to know if I can take an update.zip file for the N1 and replace everything in the system.ext2 file with everything in the update.zip file.
Pretty sure you need linux to mod the ext2
have you tried using a VM to install linux into?
mastajest said:
Pretty sure you need linux to mod the ext2
have you tried using a VM to install linux into?
Click to expand...
Click to collapse
yea, I had it running on my PC before I had to wipe it. I just havent gotten it running again. Been so busy with work and school.
I am off for a few days, so that will give me something to do.
Suggested solution
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Just download a disc image from here...
http://www.livecdlist.com/
Burn it to a CD and boot from that. No need for dual boot.
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. 2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
can you edit system.ext2?
i install 1&2,and i can mount system.ext2,but i can't modify anything.
sorry for my bad english!
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
simple & work in win7
thanks bro
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
you can also simply rename the system.ext2 file to system.ext2.img, will work too
idogxx said:
can you edit system.ext2?
i install 1&2,and i can mount system.ext2,but i can't modify anything.
sorry for my bad english!
Click to expand...
Click to collapse
I was not able to write anything to mounted ext2

{HOW TO} Native Debian on A500 and building your own rootfs

{INTRO TIME!!}
Alright, so I've been following threads on native Ubuntu and other Linux on Iconia A500, and they all seem to be aimed at experienced developers and veteran Linux users. Although I'm new to XDA, I've been using Linux for a while.
This thread is aimed at new Linux users and those who need a command-by-command tutorial on building a rootfs and getting Linux up and running on their Iconias.
Everything is working besides GPS, bluetooth, and sound. I'll try to find a solution after I get to 10 posts.
***DO THIS AT YOUR OWN RISK***
OK, so here goes...
1) Make sure you have a multi boot boot loader on your tab. I use skrilax_cz ICS v6. If you don't have a boot loader, read this: http://forum.xda-developers.com/showthread.php?t=1619913
2) Flash the recovery Linux kernel from this thread: http://forum.xda-developers.com/showthread.php?t=1158260 and while you're at it, also download that xorg.conf, we'll use that later.
3) That kernel can only boot from mmc1p2, so you'll need to partition your SD card. Start by loading Ubuntu or a similar Linux distro on a computer and use GParted. Make a small general storage partition in FAT32, make a large EXT4 partition (this is where you will store Linux and boot it) and optionally, you can create a 1-2GB Swap partition.
4) Now here's where the real work starts.................................
4i) install qemu ARM stuff on your Linux machine. For Ubuntu - sudo apt-get install qemu-user-static
4ii) plug in your flash drive and locate the /dev point of the ext4 partition. For Ubuntu, use Disk Utility and it will be something like /dev/sdx2.
4iii) unmount partition 2. open a terminal, enter sudo mount -o /dev/sdx2 /mnt/Linux
4iv) run sudo qemu-debootstrap --arch armel sid /mnt/Linux
5) now your base system is installed. chroot into it using sudo chroot /mnt/Linux /bin/bash
6) install your wifi drivers apt-get install broadcom-sta-common broadcom-sta-source firmware-b43-installer firmware-b43legacy-installer b43-fwcutter then download this http://www.mediafire.com/?ycq1ro22vrwks6z extract it and copy it to your sd card /lib/firmware
7) install your favorite window manager. I use XFCE4 - apt-get install xfce4
8)set root password - passwd root
9) type the password you would like to use for root. nothing shows up onscreen while you do this, but WORRY NOT. type exit to leave the chroot environment.
10) unmount SD card
11) pop into tablet, turn on while holding volume down (in portrait mode)
12) enjoy.
░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░
░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░
░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█░░
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█░
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█░
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█░░
░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█░░░
░░░░█░░░░▀▀▄░█░░░█░█▀██████░█░░
░░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█░░
░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░▒░░░█░
░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░░░░█░
░░░░░░░░░░░░░░▀▄▄▄▄▄░░░░░░░░█░░
Problem, Mobile OS's??
thanks for the step by step i managed to create a based system but i cannot install anything in it it says unable to locate package all the time what to do and thanks again
Sent from my LG-MS695 using Tapatalk 2
el.quechon said:
thanks for the step by step i managed to create a based system but i cannot install anything in it it says unable to locate package all the time what to do and thanks again
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
Look around for a debian sources.list and just copy and paste that into your /etc/apt on your SD card. then log back in and use apt-get update. after that, it should load.
Kevin Roscom said:
Look around for a debian sources.list and just copy and paste that into your /etc/apt on your SD card. then log back in and use apt-get update. after that, it should load.
Click to expand...
Click to collapse
got the sources.list to update but every timei try to install something i get this E: Unable to correct problems, you have held broken packages. it saysim missing a ot of dependencies for wharever thingi try to install and im getting dpkg error one all the time
el.quechon said:
got the sources.list to update but every timei try to install something i get this E: Unable to correct problems, you have held broken packages. it saysim missing a ot of dependencies for wharever thingi try to install and im getting dpkg error one all the time
Click to expand...
Click to collapse
Try
Code:
apt-get -f install
blackthund3r said:
Try
Code:
apt-get -f install
Click to expand...
Click to collapse
didnt work can upload your roofts for me
i recievethis error all the time for any app
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up resolvconf (1.63ubuntu14) ...
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
start: Job failed to start
invoke-rc.d: initscript resolvconf, action "start" failed.
dpkg: error processing resolvconf (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
resolvconf
E: Sub-process /usr/bin/dpkg returned an
I try installing the wireless drivers and i got it to download the only problem is dpkg they cannot be install
Sent from my LG-MS695 using Tapatalk 2
Run dpkg --configure -a and try it again. If it doesn't fix it, please post the output. Also try copying the qemu ARM translator into /use/bin on the SD card. I'll have to post my image when I get home since I'm on vacation ATM.
Sent from my SGH-T959 using xda app-developers app
Kevin Roscom said:
Run dpkg --configure -a and try it again. If it doesn't fix it, please post the output. Also try copying the qemu ARM translator into /use/bin on the SD card. I'll have to post my image when I get home since I'm on vacation ATM.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
where do i get the qemu arm translator i couldnt find it thanks
Run sudo apt-get install qemu-kvm-extras-static and you should find it in /usr/bin/qemu-arm-static
It also sounds like the package "resolvconf" is incomplete. Try reformatting your SD card and reinstall your distro. Then install try to install something small. I'll upload and link my rootfs as soon as I get home.
Sent from my SGH-T959 using xda app-developers app
Hoping for bluetooth!
Thanks for this tutorial! How hard do you think it would be to implement Bluetooth? I have a Bluetooth keyboard I would really like to use with this.
Kevin Roscom said:
Run sudo apt-get install qemu-kvm-extras-static and you should find it in /usr/bin/qemu-arm-static
It also sounds like the package "resolvconf" is incomplete. Try reformatting your SD card and reinstall your distro. Then install try to install something small. I'll upload and link my rootfs as soon as I get home.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
Thanks again for the tutorial but ill wait for you to upload your roofts having a hard time installing something in chroot environment
Sent from my LG-MS695 using Tapatalk 2
I've heard Bluetooth is included in the broadcom drivers, but it has to be accessed in a weird way. Since I don't use it, I haven't messed around with Bluetooth settings. You should try installing a Bluetooth manager (like bluez) and post what happens. It may work! My real focus as of now however is sound.
Sent from my SGH-T959 using xda app-developers app
Kevin Roscom said:
I've heard Bluetooth is included in the broadcom drivers, but it has to be accessed in a weird way. Since I don't use it, I haven't messed around with Bluetooth settings. You should try installing a Bluetooth manager (like bluez) and post what happens. It may work! My real focus as of now however is sound.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
did you try the fix in native ubuntu tread in page 36 for sound and whenare you gonna upload your roofts a i wanna try that
Do you mean the command to fix sound permissions? Yeah, I tried it. I think I'll reinstall the tegra package though and then run it again. And I'll probably upload it to Google or Mediafire on Saturday. I'll rebuild it and give you guys a clean install and then update my OP.
Sent from my SGH-T959 using xda app-developers app
Kevin Roscom said:
Do you mean the command to fix sound permissions? Yeah, I tried it. I think I'll reinstall the tegra package though and then run it again. And I'll probably upload it to Google or Mediafire on Saturday. I'll rebuild it and give you guys a clean install and then update my OP.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
ok man cool ill be looking forward forthose rootfs
I'll upload both a tarball and a compressed img. Sometimes the tars don't unzip correctly and I wanna make it fail safe.
Sent from my SGH-T959 using xda app-developers app
How's some pictures for now? I can't wait until I'm back at my desk so you guys can have a look at this rootfs. If anyone gets sound to work, let me know how.
Sent from my SGH-T959 using xda app-developers app
Man why i cannot create the file system successfully i would like to try different desktops environments
Sent from my LG-MS695 using Tapatalk 2
In your defence, Linux can be tricky sometimes. Hopefully I can build this tar all without complication. What desktop environment would you like me to include?
Sent from my SGH-T959 using xda app-developers app

how to DEODEX?

I have tried to deodex using xUltimate, but deodex fails (I have managed to get the odex files from the phone).
What is to be used for deodexing, and how to setup the environment? (there seems to be a problem with Java libs, as far as I can understand the error - Using Windows 7, latest Java)
okty2k said:
I have tried to deodex using xUltimate, but deodex fails (I have managed to get the odex files from the phone).
What is to be used for deodexing, and how to setup the environment? (there seems to be a problem with Java libs, as far as I can understand the error - Using Windows 7, latest Java)
Click to expand...
Click to collapse
http://bit.ly/S1oMMX
LeJolly said:
http://bit.ly/S1oMMX
Click to expand...
Click to collapse
Nice one, I appreciate the effort.
However, maybe you can show where is explained the solution for this:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ValidationException: Class Lcom/android/internal/app/ActionBarImpl; has the interface Landroid/app/ActionBar; as its superclass
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:834)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:683)
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:104)
at org.jf.baksmali.main.main(main.java:293)
Error while loading class Lcom/android/internal/app/ActionBarImpl; from file .\origi_frame\framework.zip
Error while loading ClassPath class Lcom/android/internal/app/ActionBarImpl;
okty2k said:
Nice one, I appreciate the effort.
However, maybe you can show where is explained the solution for this:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ValidationException: Class Lcom/android/internal/app/ActionBarImpl; has the interface Landroid/app/ActionBar; as its superclass
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:834)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:683)
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:104)
at org.jf.baksmali.main.main(main.java:293)
Error while loading class Lcom/android/internal/app/ActionBarImpl; from file .\origi_frame\framework.zip
Error while loading ClassPath class Lcom/android/internal/app/ActionBarImpl;
Click to expand...
Click to collapse
Sorry, your explanation was so short and your question was how to deodex, so I chose to be a smart ass Maybe you could try another tool from the link that I gave and see if it's the problem of the tool or actually the libraries?
It's OK, no offence taken.
Well, I tried several tools, to be honest, all have some kind of errors (some I don't see, but as the script fails, I assume it's the same problem).
You gave me some ideas and I further dig. It seems that xUltimate does not setup the right way BOOTCLASSPATH. it seems that I have to do a lot of manual work to set up the environment. I will try it one of these days....
However, to go back to the initial question (rephrase it):
Devs that are creating ROM's for I9505, what tools are you using to deodex the stock ROM? Or you just create the whole environment manually and use your own created scripts and tools?

Categories

Resources