yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] xaueious:
Edit: wasn't even aware of the ROM kitchen before this.

Untested! I don't plan to provide support for these ports!

The reason I am publishing is from my recent trials of compiling my own kernel for new radio 32A Magic. I have learned a lot about what sanpei's kernel consists of and the similarities between our device and the GSM Hero. In particular, the only difference between our ROMs seems to be mainly just the kernel. Everything else is almost identical. As such I want the community to try to use a tested NR kernel, sanpei's 2.6.32.9, and apply it to some different ROMs and report back with results.

We don't need multiple threads of the same kernel on different ROMs. So I'm trying to consolidate some information here.

I can test it on my cousins phone probably this weekend as well. Hoping for some preliminary results till then.

sanpei2.6.32.9_villain_port

This is a repack of sanpei's kernel repacked via ordinary boot.img method, with init.hero.rc copied to init.sapphire.rc

Flash this after you flash Villain ROM:

http://www.villainrom.co.uk/viewtopic.php?f=44&t=680#p11789

2.1 Sense UI ROM

sanpei2.6.32.9_anykernel.zip

This is a repack of sanpei's kernel repacked via Koush Anykernel

The idea is that you can flash most ROMs from old radio using this port with some caveats.

READ THIS BEFORE YOU FLASH

You cannot use this port if:

1) You are NOT on a 6.35 series radio. This rules out any 32Bs or myTouch 1.2

2) the ROM uses squashfs anywhere (open up the update.zip of the ROM and look at /system/modules/lib and /system/

3) modules have special directory structure under /system/modules/lib (such as Cyanongenmod, which has modules under 2.6.xx.x-cyanogenmod instead of just 2.6.xx.x)

4) you use an ext4 apps2sd partition (it will simply not recognize it)

Explanations:

If the ROM uses squashfs, this kernel does not support it and you will need to fix those problems yourself.

There may be other issues involved when you use this kernel. It is recommended that you stick to the one that came with the ROM.

This rules out any Cyanogenmod because of the use of squashfs.

If missing init.sapphire.rc, copy the Hero one (if flashing a Hero ROM) using:

adb shell cp init.hero.rc init.sapphire.rc

Refer to the ROM Bible for reference:

http://xdaforums.com/showthread.php?t=682243

Any new or old ROMs that already use new radio

This is just the kernel carz12 posted repacked:

http://xdaforums.com/showthread.php?t=689652

Credits:

cyanogen for everything

Koush anykernel

sanpei for his version of AOSP kernel with integrated new radio support

And a lot more I might be missing
[myTouch 3G, Magic Android Development] GuestK00288:
FYI and FWIW a few weeks back there were a lot of 6.35 roms that were cooked and posted in this forum. They were all using the 2.6.32.9 kernel that Sanpei ported. That is, the boot.img-kernel was the same for all. The ramdisk was changed as you have done and the two were re-packed into the boot.img.

I have successfully applied this approach for maybe 3 or 4 different 1.6 roms and maybe 10 different 2.1 roms.

dsixda's ROM Kitchen makes executing these steps a piece of cake

http://xdaforums.com/showthread.php?t=633246

Then you just replace the wlan.ko module and GPS lib file for wifi and GPS compatibility.

You're probably aware of these details but I thought they might help others.
[myTouch 3G, Magic Android Development] pellen:
Tried to flash VillainROM 6.1, but during the flash it aborts saying "Failure at line 2: assert getprop("ro.product.device") == "hero"

How do I solve this?
[myTouch 3G, Magic Android Development] crisvillani:
Must have hero recovery not patched recovery by cursor
[myTouch 3G, Magic Android Development] pellen:
Ahh...thougt cursors tweaked recovery didn't differ that much. *change recovery*
[myTouch 3G, Magic Android Development] GuestK00288:
I am pretty sure the update script can also be modified. The assert statement can be removed and the rom should load fine on the Hero, Cursor and Amon Ra recoveries.
[myTouch 3G, Magic Android Development] pellen:
Ok, so now I've flashed VillainROM 6.1 with the sanpei2.6.32.9_villain_port and I can't say it's working especially well :p

First of all it doesn't ask me to enter the SIM card PIN when i boot, so the mobile connection is dead. Wifi and bluetooth is dead too. The camera flicker, and then fades to black, taking a pic resulted in reboot.
[myTouch 3G, Magic Android Development] xaueious:
I completely missed that post actually :P. Plus it's now closed.

But I wanted to see specifically how well Hero ROMs translate over to Magic ROMs because of what I've been reading about the similar kernels. The thing is that while I know to copy over init.sapphire.rc to resolve some conflicts, I'm not sure what else is involved in porting a ROM right now to get it to work.

I'm new to porting ROMs.

Maybe mods ought to close this one then?

With Eris ports you will be missing SIM card features.

So with 2.6.32.9 bluetooth and wifi break? I was actually expecting bluetooth to work. What works?

I guess I'll do some reading again. But I haven't seen that information posted regarding how to resolve some of the issues of porting ROMs.

I was looking to figure out some of the incompatibility of the kernel I was compiling so I thought this might help

If the Hero ROMs worked well enough I had the idea of modifying the AnyKernel script to add cpio to recovery by updating busybox so that ROMs can be unpacked, modified and repacked all in recovery. It means unpacking the ramdisk gunzip, modifying it and repacking it, essentially adding one script to AnyKernel. But I guess they don't work that well so :P
[myTouch 3G, Magic Android Development] GuestK00288:
A lot of the issues when porting are not related to the kernel but to the modules and lib files.

Try testing and hacking through some issues. For example, replace the wlan.ko file in the /system/lib/modules folder with one from a similar rom that is working on 32a same radio version. If you're porting Hero, then pull the wlan.ko from one of Capy's roms.

To get camera working, you'll need to replace the camera related libs in the in the /system/lib/ folder with ones from a similar rom that is working on 32a and so on.

Porting involves, at a minimum, replacing the boot.img-ramdisk and the files for stuff that is not compatible with the 32a hardware, radio version, etc.

Once you figure out these basics by experimenting with swapping out stuff with working pieces from a 32a compatible rom on the same radio version, you can then get into making updates to the files in the boot.img-ramdisk yourself, the update-script, the build.prop files, the init files in /system/etc/init.d, etc.

I think it's a good thread. Maybe some of the guys who have been porting roms will add their comments. I may be wrong but I don't there is a how to guide for porting.
[myTouch 3G, Magic Android Development] carz12:
anykernel is useful for a direct kernel port like cm5 to EABI1 on same rom scenarios, nice piece of coding by koush though, way many files to change, an update package would work on roms made for your device(proper assert) but most need the update script modified and at least wlan.ko changed.
[myTouch 3G, Magic Android Development] jgcaap:
testing now :) Flashing

how long does it take to boot?
[myTouch 3G, Magic Android Development] jgcaap:
Working:

USB

Music app (Sound ok)

Gallery 3D OK takes a while to work

Not Working:

Camara

Wifi

Bluetooth

GSM connection

Issues:

Very very long and slow boot alot of patient is required.

Slow Menu Scrolling

Freezes some times (have to take battery)

Reboots alone sometimes
[Touch2 General] Stabata:
hey guys and most likley gals.

i have a problem thats bugging me, i changed my background to a personal picture but when i scroll across my tabs to (for example) my email it shows the default background, i want it to show the same personal background no matter what tab im in.

i know its probably something really stupid that i havent done but i just cant figure it out

would really appreciatte some help on this

thanks
[Touch2 General] zvoner5:
This has been asked and answered a couple of times here on the forum. You have to use m2dc(manilla 2d customizer) to set up a default background throughout manilla(touchflo). Changing the wallpaper only changes the background on the home tab and on the start menu. So set it as a wallpaper and also as a background in m2dc(which can be easily found here on xda).
[Touch2 General] Stabata:
thanks for your reply.

stupidly about a minute after i posted i found a thread on the first page of the Touch2 themes and apps section.

sorry for my n00bishness. :)
[Nexus One Q&A, Help & Troubleshooting] ilanB:
Hi,

Just updated to FroYo mainly for the tether option. It works great and I can just surf while the phone is in my pocket / bag.

what I miss is a faster way to activate it.

I didn't see an option to have shortcut to the home screen (via - shortcuts - settings) and I can't find a widget that will allow it.

Any ideas?

Thanks

Ilan
[Nexus One Q&A, Help & Troubleshooting] nak#57:
I too would like to know this
[Nexus One Q&A, Help & Troubleshooting] jmdsdf:
Here's something close, it's not exactly what you want (it's a program that just opens Menu | Settings | Wireless | Tethering & Portable hotspot and then exits).

It took more time to for me to write this post (and figure out how to insert a link!) than for me to code it:

jmdsdf.yi.org/share/TetherSettings.apk
[Nexus One Q&A, Help & Troubleshooting] bluehaze:
Any chance you can make the "t" in tether that shows on the icon label a capital "T"? Sorry i'm a bit OCD so it kind of drives me crazy but I really appreciate the quick access to the tether settings comes in quite handy!

Thanks
[Nexus One Q&A, Help & Troubleshooting] evilkorn:
You could achieve the same thing with better/any cut, sans the exit at the end.
[Nexus One Q&A, Help & Troubleshooting] worker1:
works great. I want to learn how to do that.
[Nexus One Q&A, Help & Troubleshooting] ilanB:
Wow great that was exactly what I was looking for.

Thanks, I wish I could program as easely as I'm posting questions :-) because I'm very good in aking :-P

Ilany

-------------------------------------

Sent via the XDA Tapatalk App
[Nexus One Q&A, Help & Troubleshooting] jmdsdf:
Here's the code:

public class tethersettings extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.main);

// load tether setting dialog

Intent intent = new Intent();

intent.setAction(Intent.ACTION_MAIN);

ComponentName com = new ComponentName("com.android.settings", "com.android.settings.TetherSettings");

intent.setComponent(com);

startActivity(intent);

// exit

finish();

// kill process

android.os.Process.killProcess(android.os.Process.myPid());

}

}
[Nexus One Q&A, Help & Troubleshooting] jmdsdf:
Updated with capitalization:

jmdsdf.yi.org/share/TetherSettings.apk

Three other apps with a similar idea (for changing APNs, data settings and wifi settings):

jmdsdf.yi.org/share/ApnSettings.apk

jmdsdf.yi.org/share/DataSettings.apk

jmdsdf.yi.org/share/WifiSettings.apk
[Nexus One Q&A, Help & Troubleshooting] britoso:
Now that we have the activity name, cant we just create a shortcut with anycut?
[Nexus One Q&A, Help & Troubleshooting] pikipirs:
Yes, using AnyCut, the Tethering settings activity is the 7th "Settings" activity in the list that AnyCut produces when creating a new shortcut.

Or you can use an app that I've quickly put together for this purpose Someone's already posted a similar one, but since I've done it too, I might as well share it too. :) The icon's title is "Internet Sharing" and it has that green waves icon from android-wifi-tether app.
[Nexus One Q&A, Help & Troubleshooting] danimar1:
Hello jmdsdf, do you know if something similar can be done but to access directly Applications Management? You know, the screen where you can move apps to SD, force stop them and so on. I'm fed up of going to settings just to end an application. I've found that Advanced Task Manager doesn't kill tasks properly in Froyo, at least for me.

Sorry for the off-topic, didn't want to open a new thread just because of this.
[Nexus One Q&A, Help & Troubleshooting] pikipirs:
Every activity (basically every screen on the system) can be shortcut this way. For the "Manage applications" screen, substitute "com.android.settings.TetherSettings" with "com.android.settings.ManageApplications".
[Nexus One Q&A, Help & Troubleshooting] danimar1:
Thanks pikipirs!
[Nexus One Q&A, Help & Troubleshooting] britoso:
Perfect, thanks.
[Nexus One Q&A, Help & Troubleshooting] brenopoubel:
I'm still waiting for a widget that can i turn on and off directly from homescreen.
[Nexus One Q&A, Help & Troubleshooting] nephroid:
Thanks for your help. I really wanted this! :)
[Nexus One Q&A, Help & Troubleshooting] worker1:
I just made this icon for tethering shortcuts
[Nexus One Q&A, Help & Troubleshooting] antikryst:
works great. would be perfect if you could create a better icon that looks like the one froyo uses to show that tether is active.
[Nexus One Q&A, Help & Troubleshooting] danimar1:
If you have the Android SDK installed search for a file named android.jar, open it with winrar and go to res/drawable/drawable-hdpi and look for

stat_sys_tether_general.png

stat_sys_tether_usb.png

stat_sys_tether_wifi.png

Problem is these are the icons that appear in the notification bar, so they are quite small to use as an app icon, but a little bit of photoshop and you would be good.

PS: all credit goes to http://androiddrawableexplorer.appspot.com/
[Nexus One Q&A, Help & Troubleshooting] antikryst:
not a developer... dont have access to the SDK. why not put this on the app market? its great!

im already having my brother who is a graphic designer create an elegant stock looking icon for this one.

will keep everyone posted.
[Nexus One Q&A, Help & Troubleshooting] antikryst:
http://rapidshare.com/files/404632047/wifi_tether_icons.zip.html

uploaded the icons. but rapidshare says it can olnly be downloaded 10 times. if it expires let me know.

uploaded also in picasa

http://lh6.ggpht.com/_wFEzN8353_s/TC7X41CESPI/AAAAAAAAAFk/DoXt3lqFYHY/s800/72x72icon.png

http://lh3.ggpht.com/_wFEzN8353_s/TC7X6T7HTfI/AAAAAAAAAFo/qOVEAN9kcuY/s800/72x72iconRED.png

red version included... just in case someone can do a widget with an on/off state like the apndroid one. had this created to look close to stock icons. i just cant take widgets on my home screen that look out of place when grouped with normal icon shortcuts lol.

***EDIT***

sent the same icon to a developer and he was quick to use it.

its called "wifi hotspot settings" by stephen mcbride and its available on the app market :)
[Nexus One Q&A, Help & Troubleshooting] joeyweaver:
This is great! I've been looking for this in the market since the first Froyo leak.

There is also a widget in the market now. I just wish it used these icons instead of looking like the standard power control bar. Can someone whip that up?
[Nexus One Q&A, Help & Troubleshooting] antikryst:
see my update... theres an app that uses these icons now :)

its called "wifi hotspot settings" by stephen mcbride and its available on the app market
[Nexus One Q&A, Help & Troubleshooting] joeyweaver:
Yeah, that is only the one that is a link to the setting. There is an actual widget now! I just wish the widget used your icons.
[Nexus One Q&A, Help & Troubleshooting] antikryst:
oh that. yeah i didnt like how it looked so im just using stephen mcbride's shortcut. he mentioned that he will look into creating a widget though.
[Nexus One Q&A, Help & Troubleshooting] wni:
Could I have the source code of any hotspot setting/toggle WIDGET (not shortcut)? Thanks...
[Off-topic] Maikeu Locatelli:
For who want to begin in microcontrolers, here is a site in portuguese,

pic is the easiest, then i write for pic, but arm is a stop over.

http://mecatronicaparainiciantes.blogspot.com/
[Android Software/Hacking General [Developers Only]] tschwenke:
My wife and I are swtiching to Android devices (EVO me, Hero or Moment for her), I wanted to setup the sync as follows for the calendar. I am not to worried about the email as she can just do POP for now.

We both use Outlook on our computers setup like this:

She is just connecting to POP mail

Mine is my company mail (via the DAMO LotusNotes Connect)

Both view shared google calendar in outlook

I don't have a clue how to setup the sync, what I would like is:

I would have to sync my work calendar via wire (HTC Sync) or LN Traveler for OTA (they already added me to the server)

I could sync the Google shared calendar OTA

She could sync the Google calendar OTA

The part I want to make sure of is I was trying this with my windows mobile phone and I could wire sync my work calendar and see google calendar in outlook. But as soon as I added to sync to the Google Calendar OTA via ActiveSync, it pushed all my work appointments up to the google calendar. I wanted to keep the google calendar just the family stuff (you know running the kids around)...

Thanks for any and all help, It was pretty easy when it was just me, adding her to the mix will make things better in the long run, just have to figure out how to do it!
[Android Software/Hacking General [Developers Only]] Steven__:
I've got a Hero which can sync with Google and with my office calendar/email which runs on MS Exchange. The phone successfully keeps them entirely separate. I can change one or the other, sync OTA, and the each calendar continues to contain only the appointments it's meant to. I realise you aren't going to be using MS Exchange, but if Sense (HTC's customised version of Android) knows how to keep Google and Exchange calendars separate, it should be able to do the same for anything else. Furthermore, it knew how to have a separate 'Outlook' calendar when I tried syncing via USB and ActiveSync. I didn't experiment much with that as I stopped using it as soon as I got OTA syncing to work with the Exchange server, but it considering that it recognised it as a separate calendar in its list, it should still do what you want.

Another option for you may be to completely swap away from Outlook and use Thunderbird. That knows how to sync to Google calendars and address book, but I don't know if your DAMO LotusNotes Connect system will work with it. Both these features are done with plugins, so it's possible that there's also a plugin for your work's system. Thunderbird also handles IMAP messaging better than Outlook; at least, better than Outlook 2003 did. I mention IMAP because your wife will have to stop using POP if she wants to be able to read her emails both on her computer and on her phone - POP isn't designed to have multiple computers accessing the same email account. It wants to download emails off the server and delete the remote copy; you can make it just download them, but I don't think it would then know to mark them as read or unread.
[Android Software/Hacking General [Developers Only]] tschwenke:
Thanks, sounds like I will have to do some playing.. We are using Outlook 2010 and it is the best update for some time. I have my kids and mother-in-law on Thunderbird, just not us.

You can setup Pop to leave messages for X days unless deleted, this is how I have been running for my one pop account, it works fine but yes you get some dups, not a big deal.

I have thought for some time about making my linux server my mail server as well, heck, I think I could link that to whatever accounts I desire then have it do the push mail, that would be an interesting setup... :)

Again, thanks, sounds like we have some playing but it should work fine.
[Android Software/Hacking General [Developers Only]] 17-apg:
I have just pruchased a nexus one and getting it next week. I am wondering will it automatically sync my contacts and mail from outlook 2010 or do I need some sort of additional software on my win 7 PC to do this?

Thanks in advance...
[Desire General] tommo123:
ideally one that can read cbr archives?
[Desire General] ZigmaDK:
Daily strips is nice.. Has a huge selection of different strips available.
[Desire General] tommo123:
ta mate, found this as well. using now - only 1 cbr archive so far though. this could be handy at work and for hols :)

androlib.com/android.application.net-androidcomics-acv-wnx.aspx
[Desire General] le3ky:
was gonna suggest this, very nice app. Have a look at manga browser too, it pulls manga from online so u don't need to keep an archive on your sdcard
[Hero CDMA General] chapaj:
Like the title says, does damageless' sprintupdate2.zip have apps2sd enabled? I flashed it and all my apps appear to be installing on the device memory. What am I missing here? I wiped everything before flashing and partitioned my SD card.
[Hero CDMA General] Kcarpenter:
I think sprintupdate2.zip was strictly the sprint update + root + busybox - some bloatware.

I wouldn't think he enabled apps2sd on it.
[Hero CDMA General] chapaj:
Okay, follow up question: what's the best method for enabling apps2sd on Hero 2.1?
[Hero CDMA General] Kcarpenter:
Well, most roms have it built in to the boot up scripts....

You would have to pull that script from one of the roms and put it on yours.

Then you would have to have your SDcard setup with an EXT2/3 partition. This can be done from recovery.
[Hero CDMA General] Konikub:
Bust open Damage 2.08.1 and grab his Boot.img and his a2sd script in /system/bin.....then put them in the ROM you are using.
[Hero CDMA General] chapaj:
I've got the partitions ready to go. I just don't know how to pull the script. Does anyone have a guide on how to do this?
[Hero CDMA General] chapaj:
Okay, I've added those the sprintupdate2.zip that I'm using. I can then flash that over my existing ROM without wiping?
[Hero CDMA General] Kcarpenter:
Shouldn't hurt.
[Hero CDMA General] chapaj:
That didn't work. I get:

E:Wrong digest:

boot.img

E:Verification failed

Installation aborted.
[Hero CDMA General] Kcarpenter:
Did you resign the zip after you modified it?

use fresh kitchen or avabox
[Hero CDMA General] chapaj:
I had no idea i had to do that. I'm researching how to do that now. I don't suppose anyone could do it and throw up here as an attachment?
[Hero CDMA General] Kcarpenter:
Post it up.
[Hero CDMA General] tkirton:
The first SprintUpdate that Damage released, I put the A2SD add-ons in it. If anyone wants me to do it again, let me know and I'll go do it.

EDIT: That was the SprintUpdate2 that I put the add-ons to. http://www.darktremor.info/files/2.1/sprintstock-21-a2sd-signed.zip
[Hero CDMA General] sdotcarlisle:
I dl'd tkirktons darktremor and followed steps in his discussion thread posted above and worked perfectly. Thanks tkirkton!
[Hero CDMA General] Jjday7:
Quick question. Can the New OC kernel be added to the damageless sprint leaked rom?
[Desire Android Development] vanja:
I thought it'd be a good idea to have a sticky with a link to HTC apps like pdf viewer, quickoffice, etc... as I am sure I am not the only one that needs them.

Also, what about dependencies? For PDF Viewer, what other files are required? It runs fine, but when it crashes right before opening the pdf file....

For Accounts & Settings to be able to open, Flickr and Stocks are required. Otherwise, it crashes.
[Desire Android Development] vanja:
OK,

PDFViewer.apk needs /system/lib/libpdfreader.so
[Desire Android Development] Kali-:
but why u cant use Adobe Reader ?
[Desire Android Development] vanja:
[OFFTOPIC] No search + slower.

Believe me, I tried pretty much every pdf reader out there. RepliGo reader isn't bad, but it's not free. [/OFFTOPIC]
[Desire Android Development] ourfear:
i want to know the dependencies for HTC Notes widgets
[Desire Android Development] ahmgsk:
general section pleaseeeee
[Desire Android Development] DocRambone:
Good topic, i been looking for what is needed for getting asop mms.apk running on desire. Any one have some idea?