yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zico_newbie:
thnks for Siulmagic... :) i succes try it on CM7 Galaxy Mini, btw on CM7, where is buil.prop? i cant see it on boot.img

---------- Post added 22nd October 2011 at 12:12 AM ---------- Previous post was 21st October 2011 at 11:52 PM ----------

btw what different

/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar

socket dnsproxyd stream 0660 root inet

with default setting?
[Android Software/Hacking General [Developers Only]] tdtylert:
I believe its working as pointer because its an sdk which is meant to be used on a computer just like if you were to use a honeycomb sdk on your phone
[Android Software/Hacking General [Developers Only]] loganmc10:
I would love to see more people take interest in this!

I tried for a while to get this to work on my Galaxy S Captivate without success. Most the existing ROM's don't have a boot.img in them, Cyanogenmod does, but I couldn't get any program to unpack the boot.img (including Android Kitchen). Any suggestions?
[Android Software/Hacking General [Developers Only]] siulmagic:
if any of ou get touch screen working, please let me know, i still dont have a working ts ether.
[Android Software/Hacking General [Developers Only]] zico_newbie:
every flashing ROM file must have boot.img if you use Stock ROM, you can find it on CODE.tar :)

, lets unpack it , then lets use DSIXDA kitchen, just try to copy boot.img, data.rfs, recovery.img and system.rfs to original_update folder on DSIXDA Kitchen directory. Then rename system.rfs to system.img , then choose 1 and DSIXDA kitchen will identify boot.img and system.img.

---------- Post added at 07:48 AM ---------- Previous post was at 07:40 AM ----------

btw i try this,

download ICS init.rc then unpack CM7 flashing update zip file with DSIXDA kitchen, then i change init.rc like ICS init.rc then rebuild CM7 ROM again then flashing it and succes, and it have touchscreen,

am i do the correct thing? is it like this or it must work on Android SDK emulator?

CMiiw please :)
[Android Software/Hacking General [Developers Only]] spc_hicks09:
It's an SDK port guys. Most of the stuff isn't even going to work. It's also going to be laggy and you most likely can't get rid of the mouse pointer.
[Android Software/Hacking General [Developers Only]] mazook98:
The first working port of the Honeycomb SDK preview was actually done on the Nook Color ereader.

That port was only in existence because of a single developer, "deeper blue". He is the only one who figured out how to solve the touch-screen issue in the SDK, and get rid of the whole "mouse-pointer" thing, and had the preview running on the Nook even before Google had their whole launch party.

He lives in France, but he still has an active XDA account, though he uses it VERY infrequently. If anyone would have more insight on the issue than that guy, I don't know who it'd be.

Just my 2 cents.

<<Bringing it since 2010>>
[Android Software/Hacking General [Developers Only]] mrinehart93:
Where are you guys getting the source from? The Android SDK?
[Android Software/Hacking General [Developers Only]] spc_hicks09:
Yeah they're porting the SDK source
[Android Software/Hacking General [Developers Only]] MaXmeOliver:
How do I recompile the "boot.img-ramdisk" and "zImage" into boot.img?

And also, could someone point me to where I can download the SDK? Thanks!
[Android Software/Hacking General [Developers Only]] hisham027:
u can get the SDK from here http://developer.android.com/sdk/android-4.0-highlights.html
[Android Software/Hacking General [Developers Only]] MaXmeOliver:
Thanks! But how do I recompile those 2 folders into boot.img?
[Android Software/Hacking General [Developers Only]] Droidzone:
Use the kitchen of course

TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
[Android Software/Hacking General [Developers Only]] swm5126:
You guys should get in touch with the dude thats working on the Nexus One port of the SDK. He appears to have his touch screen working fine...
[Android Software/Hacking General [Developers Only]] SimranSingh:
Tried this, didn't work for my Evo 4G.
[Android Software/Hacking General [Developers Only]] vivekkalady:
which init.rc file do we have to use ??

copy

/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar

this to GB init.rc ??

then why did you upload ICS init.rc ??

which other files are needed ??

lib,system,apps,framework,bin ??

everything firom default gingerbread or from ICS SDK system ??
[Android Software/Hacking General [Developers Only]] Droidzone:
Obviously you need to copy the bootclasspath of the ics ROM to your target device which would contain those addressed files.. Other files to be ported should be found out with trial and error. Run a diff between the posted download link and the sdk zip

TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
[Android Software/Hacking General [Developers Only]] vegiebiscuit:
Any video tutorial? Will be greatly appreciated

I know I am a noob, but can anybody can make a video tutorial, it will be greatly appreciated. I am trying to port ice cream sandwich SDK to Optimus one
[Android Software/Hacking General [Developers Only]] :
Is there a way to do this on devices like Galaxy S which use zImage instead of bootimage?
[Android Software/Hacking General [Developers Only]] equiliym:
i dont seem to be able to boot it on my device since its ARMv6 and i heard sdk img is ARMv7 compatible, is this true..? if i just edit my CM7 boot.img would i be able to make it boot even through its ARMv6? well, AOSP will come in few weeks so i can compile it but was just curious how would it look like on my device..
[Android Software/Hacking General [Developers Only]] siulmagic:
try changing this lines in your build.prop

ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi

to your armv6 equivalent
[Android Software/Hacking General [Developers Only]] equiliym:
lol never thought of that.. will try that tomorrow if job doesnt mess my free time and will post results, thanks for the idea
[Android Software/Hacking General [Developers Only]] Chandelure:
We can't until the source is released, as these file changes are already in our ROMs…

Sent from my LG Optimus One using Forum Runner
[Android Software/Hacking General [Developers Only]] mrinehart93:
A zImage is simply a Linux kernel. A boot.img is a ramdisk+kernel combined into one image file. All you need to do is split a ramdisk from an existing boot.img, then merge the ramdisk and zImage into a boot.img.
[Android Software/Hacking General [Developers Only]] b-eock:
I get an error when running the Dsixda's android kitchen and get an error of of Android header not found at start of boot.img (from MIUI for Captivate) Warning Android not located anywhere in boot.img

Error: kernel offset <page size> is 0

When trying to unpack boot.img

any ideas?
[Android Software/Hacking General [Developers Only]] muzicfreako:
Its happening on all Galaxy S version. The boot.img is different from other phones. Hence, the incompatibility with dsixda's kitchen decompiler...Seems like we're stuck at this point.
[Android Software/Hacking General [Developers Only]] Jsmokey:
There are scripts and tools out there for unpacking galaxy s boot.img's if you put in the time and look for them. They're getting hard to find since there really hasn't been a reason to unpack a galaxy s boot.img in a while but they are out there.

Edit: wouldn't us galaxy s users just need to unpack the zimage, modify init.rc. Then if thats not enough get the boot.img unpack it and repack with the modified zimage?

Just wondering. On a side note I went through all the libs and modules in ics and all the keypad related ones are all qwerty, could maybe replacing these solve the 'pointer' issue? Just a thought I've never ported an sdk before so this is all just a shot in the dark til I can get it to boot on my captivate and start swapping out parts.
[Android Software/Hacking General [Developers Only]] EfoK:
Skimpy Instructions

So I have been trying to run these rather sketchy ideas on ICS.

Is this only meant for fun?

There instructions have wide gaps in between and don't mean much.

I also do not see a build prop anywhere.

Mine don't even boot up
[Android Software/Hacking General [Developers Only]] Jsmokey:
The build.prop is in the system folder once you unpack everything into dsixda's kitchen. It's also in the main directory of the ics system dump.

It's partly for fun but not entirely. If things can be worked out before ics source is released well then we just beat google to the punch and you gain bragging rights.
[Android Software/Hacking General [Developers Only]] Coentje44:
Hope we can make this happen on Galaxy S II + Vibrant!
[Android Software/Hacking General [Developers Only]] b-eock:
Boot.img

I am on MIUI(Uses MTD blocks) Captivate (galaxy S variant)

anyone know the dd code to do a backup of the boot.img?

i typed dd if=/dev/mtd/mtd2/ of=/sdcard/normalboot.img in terminal emulator on the phone, but it was 196.4 megabytes? is that really how big it is?
[Android Software/Hacking General [Developers Only]] seanyuan62:
Any news on how to get rid of the pointer? Thanks
[Android Software/Hacking General [Developers Only]] Jsmokey:
Here ya go. Should be about 2.6mb when done. I think you may have done a full system dump, not sure though. I can give you some good links about boot.img information with the extraction scripts too if you'd like them.

dd if=/dev/mtd/mtd2 of =/sdcard/boot.img bs=4096

Edit: @above post about pointer. Like I said I think it has to do with modules made specifically for the sdk/emulator being left in. If I could get ICS to boot I could test my theory but the only chance I've had to really work on ICS I just keep getting boot loops. :( Guess it's back to the drawing board.
[Android Software/Hacking General [Developers Only]] b-eock:
thanks i have the scripts to do it, just seemed to big and got errors ! i will report back!

edit, didn't work :(
[Android Software/Hacking General [Developers Only]] Jsmokey:
Only other thing I can think of is leave off the part with bs= at the end. This is how everywhere I've looked said to do it. I haven't messed with nandroid back up much, never had a user for, it but it's supposed to make a back up of boot.img if you want to try that.
[Android Software/Hacking General [Developers Only]] Reviewers:
Guide & more just keep's me in a boot loop .
[Android Software/Hacking General [Developers Only]] b-eock:
tried both! no dice... i knew clockwork did a boot image backup, might try that!

edit, didnt work :(
[Android Software/Hacking General [Developers Only]] b-eock:
would you direct me to those scripts so i can try those out instead?
[Android Software/Hacking General [Developers Only]] Jsmokey:
I can but there just scripts for extracting a boot.img once you have one to work from.

On the porting side I worked at modifying my red nebula captivate kernel tonight for ics bootclass path and packed it with ics in dsixda's kitchen flashed, and guess what it boots but I have no picture I think it may have been the module swapping I did or because I had chainfire 3d installed before I flashed.

I know it boots because I had logcat running and it was running through the right system calls all the way through it even connected to wifi and when I pressed hw keys it displayed all the standard messages eg displaying lockscreen etc.. Also it went through the standard boot animation period hw keys lit up once and all the start up functions didn't recycle so it went through a complete boot up.

Big problem is it totally borked things when I reflashed my anteres darkcloud rom project, fc's like crazy and the only thing that would fix it was factory reset.

Edit: I talked with a few people who have ics working and I think I tracked down the problem with no video. I wont have a chance to test anything til tomorrow night, since it requires a factory reset in between flashes I found out reading around the threads that have it working and I really won't have time to go through switching modules around, package, wipe data, flash etc all before work, but I'll post back when I do get some more tests ran.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android Software/Hacking General [Developers Only]] dbaf14:
How abt editing one of the releases of android-x86.org? If its just for play around with it, why not try on computers?

All of their versions runs very smooth on all my computers

So maybe we dont need to take the risk of brick real devices or sth ^_^
[Android Software/Hacking General [Developers Only]] Jsmokey:
Now that I know beezy and others have it almost 100% its not so much for fun. Its to try to beat google to the punch cause as many have said in other threads now who knows if all the release dates go through.

It could easily be the end of november before we see any source and if we can get a decent working sdk port it'll be a breeze porting the source or a nexus dump. Plus its because we can...lol.

Good news I did get a chance to swap some modules around in my update.zip and guess what it has video again and boots all the way but alot of other things are broken still so I need some time tonight or tomorrow to track the problems down before I put anything out.

Sent from my i897 w/Andromeda 3, Suckerpunch kernel, & 1.3Ghz OC using Tegrak.
[Android Software/Hacking General [Developers Only]] T-Macgnolia:
Ok I know to drag the build.prop into a text editor so I can add this to it. But my question is just exactly where do I add it in the line of text? Also what is the exact line of text I need to enter to add it?
[Android Software/Hacking General [Developers Only]] lankyyanky:
tried this on my evo and get an error

assert failed: package_extract_file("boot.img","/tmp/boot.img")

error in /sdcard/(Update name).zip

(status 7)

anyone have any idea what that means?
[Android Software/Hacking General [Developers Only]] twistedumbrella:
Bad syntax in the updater-script
[Android Software/Hacking General [Developers Only]] T-Macgnolia:
I am trying to get one to boot up on the Sensation but my first try on it give me this when I tried to flash it via Clockwork Mod Recovery. The question marks are there cause I don't want to show the name of my .zip file just yet.
[Android Software/Hacking General [Developers Only]] tarends:
Busy on the HTC sensation

Well i have been busy today, with reading up a lot about the changes made to the boot.img and have tried a couple of things. this guide was my starting resource.

At this moment i get the device past the white HTC splash screen but it remains at a black screen after that.

It does install the app's in the system directory as the first time i put it on it stays a lot longer on the splash screen.

It does not respond to any button interaction, and i get no data trough Logcat in ADB.

What i would like to know: Is there any possibility to read the error log made by the kernel or debug it in some way?
[Android Software/Hacking General [Developers Only]] xyqtt:
Tried to adb reboot and then to adb pull proces/last_kmsg ?
[Android Software/Hacking General [Developers Only]] tarends:
Just tried that, and now get the message that the device is not found.. so i think i have to take a look at what has been done again.

Thanks for the help, this far.
[Android Software/Hacking General [Developers Only]] twistedumbrella:
Make sure your base kernel has logging enabled and a running adb and it should spit out something.
[Android Software/Hacking General [Developers Only]] vivekkalady:
can anyone post the updater-script file for this ROM

please Help

status 0 error
[Android Software/Hacking General [Developers Only]] tarends:
Oke, just searched with your information, but i cant seem to find where to set the options to enable logging, but within my init.rc i have loglevel at 3 i know it could be set to 8. but that makes no dif as i can get any info this far.

Within adb i use this command with succes on my working rom

"adb wait-for-device

adb shell cat /proc/kmsg"

So at this moment i dropped the sence kernel i was using and use the CM7 one that seem to work with debugging.

Gonna grab some dinner and then see if i can make any progression tonight.
[Android Software/Hacking General [Developers Only]] vivekkalady:
applied the files but stuck at Boot LOGO (not restarting but stuck)

No adb :(

what to do ??

- exec '/system/bin/sh' failed: No such file or directory (2) -

when trying to do adb shell
[Android Software/Hacking General [Developers Only]] twistedumbrella:
Did you swap the toolbox and busybox for working versions, delete all fake links and make sure the install rebuilt them?
[Android Software/Hacking General [Developers Only]] vivekkalady:
boot image rebuilt them means???

are you using any kitchen to make rom????
[Android Software/Hacking General [Developers Only]] twistedumbrella:
They should be rebuilt in the installer-script. I merged two thoughts.

No, just using the unpack script to edit the boot image. Everything else is done by hand.
[Android Software/Hacking General [Developers Only]] tarends:
This is the error i am having probs with at this moment. It just hangs at this screen if i use logcat while its booting.

The device itself seems to hang on the splash screen and does not reboot. I had errors with the EGL, and most likely still have them but they are not reported anymore.

All i did so far is follow the guide on the main page.

with that it booted someway but had problems getting ADB running so changed kernel, adb was running but missing some libs, so i added them from my original rom. and after that i trailed down what libs hat trouble loading and i replaced them with the ones from my original rom.

So at this moment i am kinda stuck without any serous error and i am wondering if there is any way to tell my phone to start the next thing it has to do.
[Android Software/Hacking General [Developers Only]] jassycliq:
@tarends If you want I can take a look at it, I just started yesterday on the port I was working on but it seems like you're farther ahead. If you want to work together you can tweet me @jassycliq
[Android Software/Hacking General [Developers Only]] tarends:
I have send you a pm
[Android Software/Hacking General [Developers Only]] Mattix724:
I'd love to port the SDK version of ICS to my Zio M6000 but we don't even have gingerbread yet... I've been trying to port Cyanogenmod for a while but have had no luck with building a working kernel and boot image.

Is there any experienced developers out there that could help me out with building a gingerbread kernel that I could use to run ICS?

I think I have all the necessary proprietary files and have a link to the github for the board files for building the kernel but I have no experience and just need a push in the right direction.
[Android Software/Hacking General [Developers Only]] Chandelure:
I may be able too. PM'D.

Sent from my LG Optimus One using Forum Runner
[Android Software/Hacking General [Developers Only]] coco_u8110:
I doubt this will work on a u8110 might give it a go later.
[Android Software/Hacking General [Developers Only]] Jhoopes517:
I keep getting Error 0... =/
[Android Software/Hacking General [Developers Only]] T-Macgnolia:
Ok this is for anyone that is trying to get a port for their device up and going. I made a complete comparison of the init.rc file for ICS that Siulmagic posted a link to in the OP and the init.rc file for GB. I attached the file in zip format below, hope it helps others out. I just request some acknowledgement for it if it helps you out as it took me all night to put together.
[Android Software/Hacking General [Developers Only]] Jwtiyar:
why grabbing boot.img of gingerbread?? dont you want porting ICe Cream to the phone?

thanks.
[Android Software/Hacking General [Developers Only]] Geronimo51:
Zero Shutter Lag

Perhaps this is the best place to post this question, versus a new thread....

At the site (sorry I cant post links yet)

//developer.android.com/sdk/android-4.0-highlights.html#UserFeatures

they claim that ICS is what provides the "Zero Shutter Lag", and suggests this is not native only to the Galaxy Nexus hardware.... Is this true/possible that phones like the GS2 or GS2 Skyrocket etc. will acquire Zero Shutter Lag through the camera app as the above SDK site states?

If this is the wrong place to post let me know...:)

Thanks
[Android Software/Hacking General [Developers Only]] T-Macgnolia:
You want to use a Gingerbread boot.IMG because a ICS boot.IMG has not been released yet at least not one that is suitable to try and use on a device. Every device has as a things that are particular to that device, although all boot.IMG files have pretty much the same frame work. Each device has certain things that or different in the boot.img. When Google releases the Source code we will then be able to start making boot.IMG files for each device.

Yes the zero lag is a feature that is part of the Android 4.0.1 Ice Cream Sandwich operating system. It is not just something that will only be on the Galaxy Nexus. If you go to YouTube you can find the video of the Samsung and Google event that was the release of the Galaxy Nexus and Android 4.0.1 ICS. It is during the presentation of ICS by the first guy that comes on stage for Google, sorry I can not remember his name. Just go to YouTube and do a search for Samsung and Google event.
[Android Software/Hacking General [Developers Only]] Geronimo51:
Thanks, I watched it live and thought thats what they meant. However there have been sites on the internet claiming otherwise. I guess once the source code is released, porting this feature should be as easy as the rest of the features.... correct?
[Android Software/Hacking General [Developers Only]] blunden:
I don't think it will be quite as fast as the Galaxy Nexus but it should still be much faster than it is now since they save the image in the background in ICS.
[Android Software/Hacking General [Developers Only]] threeeye:
Hi all

Will this work with HTC Sensation (NO SENSE) ?

Can someone post a modified and compiled boot.img that works ?
[Android Software/Hacking General [Developers Only]] tarends:
We are working on a port for the htc sensation. But this is not the only change that needs te be changed as drivers are not accepted in ics.
[Android Software/Hacking General [Developers Only]] threeeye:
Any update on the progress ?
[Android Software/Hacking General [Developers Only]] Reviewers:
My touchscreen isn't working , any idea ?
[Android Software/Hacking General [Developers Only]] twistedumbrella:
What ROM are you using? What changes have you made? What kernel did you install?
[Android Software/Hacking General [Developers Only]] :
Could you upload the rom please?
[Desire HD Q&A, Help & Troubleshooting] protomanez:
Okay, so I recently just bought an HTC Desire HD off fleabay and it showed that the device has had random shutdowns.

Considering my interest in a new phone I got it and rooted it with ease thinking that the problem may be easy to fix. I have read about multiple problems with this device's strange shutdowns and have narrowed it down, but I would like an opinion before I do this.

Things that I have noticed with this phone.

Even without the sd card and sim in the phone, it still has random shutdowns.

The Battery drains fast, in about an hour, the phone will start randomly shutting down and losing a LOT of power, yes I have setcpu and script manager to underclock and take care of ram.

Switching the rom and radio had no effect on the shutdowns, all roms shutdown within an hour.

I pretty much think it's the battery, I could use some opinions on this one. Do you think I just bought a bad phone or do I just need a new battery?

+thanks for some decent answers