Samsung Behold 2 :: Flashing Galaxy Kernel ?
May 19, 2010
what would happen if i flashed the galaxy kernel on my behold 2? or any other kernel for that matter... i am sort of new to this but i know alot of things too. so is this possible?
View 3 Replies
Feb 15, 2010
I decided to split this off to a new thread, and hope some coders will join in and start compiling a kernel. We could then merge this with the galaxy asop effort.
Here's a bit more technical information.
Galaxy
The galaxy flash files are just yaffs images and a zimage (and of course AMSS) all tarred up. The tar format needs to be oldgnu for odin to accept it.
There's no protection at all. Thats because the glaxy is released completly security unlocked (simlocks are different, not the same thing). You can flash any image you like.
AMSS - arm ELF binary for baseband
kernel - zimage
system - standard yaffs image
recovery - standard recovery format
tar - oldgnu style standard tar file
The Galaxy also has a mtd device driver which means you can read/write its partitions with dd.
/dev/mtd
Behold 2
The behold has the same image format, yaffs, zimage and AMSS. See below for specific differences per image:
AMSS - arm ELF binary for baseband
The behold 2 also contains a partitions file. This is most likely for the AMSS, and allows the layout of the baseband to change. I'm not sure if the galaxy supports the same, but probably does.
Its safe to say you should NOT try to flash an AMSS from galaxy to the behold or vice versa.
Since the radios have the same functionality, and we don't know how to recompile and AMSS, you should never flash any new AMSS with a custom rom. Only flash AMSS with official updates.
> kernel - zimage
Just like the Galaxy this is a standard zimage. There's nothing special about it and you can modify it however you want. BUT in order for it to flash the tar file needs a special header (see tar below)
Since we can change the kernel, upgrades to newer OS versions is now possible.
> System - standard yaffs image
It appears the system image format on the behold2 is DIFFERENT to that on the galaxy. If you flash a galaxy system file onto the behold 2 you will most likely end up with a brick.
I suspect the behold 2 file has the flash address embedded inside it. Flashing the galaxy system file writes to a bad address killing the bootloader. When i say BRICK i really mean BRICK. No life in the phone at all, it wont even charge. so DONT DO IT!
In order to write a custom system to the behold 2, we will need to untar or unyaffs the modified system from the sdcard on first boot. This can easily be accomodated in the init.rc of you're modified zimage.
> Recovery - standard recovery format (protected?)
The recovery image format seems to be the same - standard android format with a ramdisk, kernel etc. However flashing it using odin doesnt work. There is some sort of protection which is preventing the image being flashed. I havnt looked thoroughly at this and someone really should. I suspect either it is signed (unlikely since the other images dont seem to be protected), or there is a write address embedded in the file, like the system file.
It would be nice to be able to flash a custom recovery, or even boot from a ramdisk, but I think this wont be simple.
> tar - oldgnu style standard tar file (with header)
Both the galaxy and behold2 have a header at the top of tar. The galaxy will flash regardless of if this header is intact or not. The behold 2 however MUST have this header intact for it to flash anything.
It seems this header contains the size, and write address of the zimage. Its possible the addresses of other images like the recovery are embedded in this too. We should look more closely at this header, especially between firmware versions to see what changes. In the mean time to replace the zimage, just hexedit your new image over the existing 'kernel' file in the tar. Remember you need to keep the size the same, so pad with zero's or just leave the remainder of the old kernel in the extra space.
Progress?
The sources that samsung provided are missing patches. This means you can't compile the behold kernel simply.
Also because the partitions are different, and the memory layout is different (compare msm/board-init files) a standard galaxy kernel will not boot.
Making the changes to get it to boot are not that dificult. It would be nice if someone who actually has a behold 2 and linux knowledge could have a look at this. It takes far to long for me to do this remotly, and frankly I just dont have that much time.
All you need to do is:
- compile the galaxy kernel (test your environment)
- replace board-init in the galaxy source with that from behold2 sources
- turn on linux console
Now boot and check if the galaxy kernel is able to see device's for each partition on the behold. If not you'll need to copy the disk/flash driver from the behold 2 sources.
Once you are able to get that far, you can merge the changes into the i7500 asop project and add a kernel switch for the behold 2. Now all galaxy 2.x progress will be directly transferable to the behold2.
You will need to make a change to the init.rc to mount the drives and unyaffs the modified system.img the first time it boots. Again a simple change.
Forgot to mention HOW to flash a kernel.
1) Take the stock behold 2 PDA tar file.
2) Use jzip (must be jzip on windows, winzip etc wont work) to remove ALL files except the kernel.
3) Extract the kernel file for reference (leave it in the tar too)
3) Download HexWorkshop or similar Hex utility.
4) Use Hex Workshop compare function to compare 'kernel' and the tar. It will highlight the kernel in the tar file
5) Open new kernel in Hexworkshop. Select all and Copy
6) Highlight the same number of bytes in the tar file and paste over the original kernel
7) Flash with Odin (JUST this tar) as PDA, and of course selecting the behold ops file.
View 44 Replies
View Related
Apr 19, 2010
Any thoughts to when we might see overclocking? How much over clocking can this phone safely have? I know it has to do with a custom kernel but what is the holds back of making it custom?
View 2 Replies
View Related
Apr 30, 2010
I was having a bunch of problems the other day and I had to re-ODIN the phone like.. 4 times and now its just randomly rebooting itself.. Should I ODIN AGAIN? I'm using the 1.6 factory.. and I'm afraid I'm going to have to keep just re loading it over and over..
View 2 Replies
View Related
Jul 19, 2010
I have never flashed a phone before. I followed instructions for ODIN. I installed the ADB drivers as indicated. (I had them installed on my windows 7 laptop previously for use with PDA net.) I shut down my phone then enter recovery mode. I then plug my phone into the computer and it never shows up as connected. I have tried this on my new IBM Thinkpad R500 (windows 7 32 bit) and on an older IBM laptop running Windows XP. I have used these same computers and phone connection before when I added MP3's to the phone.
When I let the phone boot up normally, both computers then recognize it and I can transfer files and such. I have uninstalled and reinstalled the ADB drivers multiple times, when the phone boots up normally I can use PDANet just fine so I doubt it is the connection. Is there something special I need to change in the phone settings before I shut it down and enter recovery mode? It seems like the phone isn't loading something as it boots into recovery mode. That it loads when I let it boot normally.
View 6 Replies
View Related
Jul 30, 2010
I encountered "zero memory" issue if I flash custom ROM over another with "onepackage" and factory reset doesn't help. Now I found a fix of this issue, and this should be done if you want to flash custom ROM over another.
Download and flash BH-MAN Warheads ROM http://www.4shared.com/file/nFe93F45/BH_MAN_WarHeads.html
Make sure you put in the components correctly. After md5 check has completed, you can flash and take a little break. Once you're in the standby screen on the phone, you can turn it off and reset the Odin and select the ROM and .ops file along with the ROM.
View 1 Replies
View Related
Apr 30, 2010
First of all, salute to BH_MAN for offering so much joy to BHII users.
My questions is how to back up my apps. Everytime I flash a new ROM, all my installed apps and settings are wiped away. If there a way to back them up and restore them after flashing?
View 2 Replies
View Related
Mar 15, 2010
First off I want to thank these Dev. for there hard work.
Kam187, Mastermind278, droiddev, mobileband, My420Time, rkhalil2009, Nu11u5
Don't extract the file(s) from the tar that you download, the file that you download is what you need. Load Into the PDA setting in ODIN Flasher!
View 49 Replies
View Related
Nov 20, 2013
I have samsung galaxy pocket duos gt s5302..I have rooted it and flashed CWM recovery then I tried to flash custom compact kernel made by Deadly. After I flashed through CWM my phone got hard bricked It wont turn on What should I do?
View 6 Replies
View Related
May 15, 2010
Now "Flashing Take5 For Complete Morons". Here's what I wrote after succeeding with Take5:You do NOT need root access to flash Take5 or 1.6 stock. Odin does it all. So here's some more detail about how I finally got it done (thanks to everyone helping):
1. Download http://www.junefabrics.com/bin2/SamsungUsbBehold.zip and unzip the files, then run the "Setup.exe" file. Your phone does NOT need to be connected to the computer to install this driver.
2. Download Odin at http://www.4shared.com/file/nFe93F45/BH_MAN_WarHeads.html. This file includes other files but you need ONLY the "Odin Multi Downloader v4.03.exe" file (there may be another download location for it). So unzip this folder and put Odin somewhere on your PC so it's handy. Don't need to open it yet, though.
3. Download Take5 from http://www.4shared.com/file/h6HvytYX/BH_MAN_Take5.html. Unzip this folder that contains two files: "Behold2_partition.ops" and "BH_MAN_Take5.tar.md5".
4. Open "Odin Multi Downloader v4.03.exe" and then:
a. Click the "OPS" button and select the "Behold2_partition.ops" file
b. Click the "PDA" button and select the "BH_MAN_Take5.tar.md5" file (you may get a message saying "Image Image Type" but you can ignore it)
5. While your phone is still not connected to the computer, turn the phone off. Then you need to get into DOWNLOAD MODE. To do this, hold down (in order, and you KEEP HOLDING THEM) Volume Down, Center D-Pad Button (the round one), and then End Call. Remember: KEEP HOLDING THEM ALL DOWN THE ENTIRE TIME. The phone will turn on, and should say that it's in Download Mode (psz clarified this). It will take several seconds. Don't let go of any of the three buttons until you see "download mode".
6. Now that the phone is in download mode, connect it to the computer's USB port. When I did this, Windows asked me if I wanted to install drivers, so I said yes and let it do it's thing.
7. In the Message box in the bottom-left corner of Odin, it will say something about your phone being connected. Now you click the Start button in Odin. Wait maybe a few minutes and your phone will reboot and turn on with Take5 running.
8. Unplug phone from USB and enjoy.
View 18 Replies
View Related
Oct 4, 2010
So I've had my Behold 2 for about 2 months now, and I've tried several different ROMs, but all of them have this same problem, apps always disappear after a reboot. Things such as google maps, navigation, places, springpad, dropbox, astrid tasks, handcent sms, even the android market sometimes is completely gone, not even in the apps list from settings. It only shows a white box with the green android, and when opened, it just says app not installed. If I reboot/pull battery some of the apps mix n' match for which ones to appear and not. After one reboot, dropbox will be gone, while on another springpad will be gone but dropbox is back.
So it's never the same. I'm currently using BHMAN's latest take5 ROM, and I've tried 1.6 no twiz, microhaxo's OTA 1.6 tweaked as well as bearsfan's all having similar results. Now when I first flashed a custom ROM, I used the unlockr's guide, and followed the rooting instructions there. Could it be that the rooted ROMs are interfering somehow with the already rooted phone? Is it possible to unroot the phone and flash back to stock 1.5 or 1.6? Then I would try flashing to one the latest ROMs.
View 5 Replies
View Related
Nov 18, 2010
I got my galaxy s today... quickly tried some stuff, and i pretty much like it so far. But i do have some questions about unrooting and flashing.
1. Its currently branded and its eclair 2.1, should i flash an official generic froyo, or some custom rom like doc froyo 7.6.2?
2. If i were to root my phone, would i need to unroot it before flashing new rom? If so how would i do it (is factory reset enough or not)?
3. Which lagfix should i use after updating to froyo, that would be pretty easy to use and not cause data corruption or something like that?
View 4 Replies
View Related
Oct 1, 2011
II would like to flash my Samsung Galaxy 3 (right now Froyo) to use it with Kyrillos' ROM v7.5 under Mac OS Lion.
The only program capable of that I found (in this forum) is the Wineskin'ed version of Odin (v3 1.85). But that does not detect my phone in download mode and also has other buttons than the version Kyrillos speaks of in his manual (there you are asked to "select ops", while the Mac version of Odin only lets you select "PIT"s or chose a .tar-file for one of "BOOTLOADER", "PDA", "PHONE" and so on).
So, three questions:
1. How can I get that version of Odin to recognize my phone?
2. What do I have to select in that version of Odin after solving question 1?
3. Otherwise, are there alternatives to use (except a Windows computer or a virtual machine running Windows)?
View 1 Replies
View Related
Aug 20, 2010
I'm an Android developer who is working with the upcoming Samsung P1000 tablet. I have to say that I haven't worked with Samsung Android devices so far. This is a developer/Engineer sample but I have real rough time to get a contact person at Samsung to help me solve this in a fast way, so I'm asking to the community :-)
The thing is I was trying my application while developing and every certain time I found the phone memory almost full (I think the tablet is saving all of its logs in a very verbose way in /data/logs where I haven't permission to access, and also it hasn't a micro sd inserted). The first time this happened I just did a factory reset from the OS itself.
The second time has been today and the phone was so full of data it didn't start at all. I was viewing the logs with adb logcat and Android was unable to start. He was trying and trying again (like in a loop) but only the Android logo was shown. I found the lack of memory to be the reason for this:
W/BatteryStats( 2949): Error writing battery statistics
W/BatteryStats( 2949): java.io.IOException: No space left on device
W/BatteryStats( 2949): at org.apache.harmony.luni.platform.OSFileSystem.writ eImpl(Native Method)
W/BatteryStats( 2949): at org.apache.harmony.luni.platform.OSFileSystem.writ e(OSFileSystem.java:129)
W/BatteryStats( 2949): at java.io.FileOutputStream.write(FileOutputStream.ja va:297)
W/BatteryStats( 2949): at java.io.FileOutputStream.write(FileOutputStream.ja va:253)
W/BatteryStats( 2949): at com.android.internal.os.BatteryStatsImpl.writeLock ed(BatteryStatsImpl.java:3080)
W/BatteryStats( 2949): at com.android.server.am.ActivityManagerService.<init >(ActivityManagerService.java:1430)
W/BatteryStats( 2949): at com.android.server.am.ActivityManagerService.<init >(ActivityManagerService.java:129)
W/BatteryStats( 2949): at com.android.server.am.ActivityManagerService$AThre ad.run(ActivityManagerService.java:1338)
The tablet can't write anything on the system, so it fails at booting and tries again, and again...
I did a factory reset via ADB with adb reboot recovery. Then the phone shows the recovery menu but no matter what option I choose (reboot, factory reset, update.zip or wipe cache) because the device doesn't seem to be doing anything but keeping the screen in black. If I turn off the device then it goes again to the recovery menu.
So I was stuck with the Android logo screen, and now I'm stuck in the recovery screen.
I thought flashing the phone would help so I turn it on in upload mode pressing the 2 volume buttons together (Power reset or unknown upload mode it says). This way the phone is recognized by Odin Multidownloader. I just grab a leaked firmware for this upcoming tablet from this Web The rar file only contains a SS_DL.dll and a OXA.tar. The tar contains some files: modem.bin, zImage, param.lfs, cache.rfs, dbdata.rfs and factory.rfs.
I've never used Odin nor flashed an android samsung phone so probably I'm doing something wrong. I tried to load the tar as the phone image it gives me an error, I also tried to load it as a single package but also failed.
So at this point I'd be most than grateful if anyone can share his ideas on this almost bricked tablet :-P
Edit: That "upload mode" was a fault of me, probably volume down was released while booting. I have the device in download mode but Odin keep me saying check image files, Any idea??
View 3 Replies
View Related
Oct 5, 2010
I recently rooted my Evo using UnRevoked 3.2 and flashed Fresh 3.3 on it. I'm generally happy with the results, the upgrade seemed to fix some problems with random reboots and screen locks I was having on stock (I'm thinking that moving a lot of apps to SD may have helped, as I seemed to be always low on memory).
In any case, I do think the phone is a bit "laggy" after the update. I downloaded FPS2D and checked my FPS, seem to average right around 50fps with std dev of 9. It seems like many people are getting much better screen performance using the custom netarchy 4.1.9 kernel. I'd like to give that a try but I have a couple of basic questions...
1. I will do a nandroid backup and Titanium before I flash, but I noticed that restoring apps last time was a drag...I use FolderOrganizer and it's a pain to get them all set up the way I had them. Does flashing the kernel wipe your phone clean? How much app/Sense restoring would I have to do assuming all goes well? I'm assuming that flashing the kernel has little to no effect on installed apps or Sense screen layouts...he cried hopefully...
2. I'm assuming here that Fresh 3.3 is compatible with netarchy 4.1.9, correct? Also, I saw an indication that netarchy 5.0 may be around the corner...is it better to wait? Or is reflashing a kernel that easy so there's no reason to wait?
3. It looks like an overclocking app is included in the netarchy kernel? Is it necessary to tweak the profiles, and if so what are the recommended tweaks for best performance? I have some experience with this coming from an overclocked Palm Pre, but I care a lot more about my Evo...I don't want to hurt it!
4. Battery performance is less of a concern than screen performance for me...I have chargers everywhere. Still, I'd like to get the best battery performance I can. I believe there may be "rogue" services on my phone that are eating up the battery (for example, I use Exchange ActiveSync and I turned it off recently because sync problems were causing it to stay on in the background). What's a good way (or app) to identify rogue apps/services and kill them?
View 18 Replies
View Related
Mar 29, 2010
Has anyone tried using GDE with the 1.6 Roms? I have and it seems the widgets I place on the home screen do not function properly. They become unresponsive and do not update. I like the ability to change the number of home screens and I like the app dock and conversation widgets built into GDE, they work fine. Other widgets don't ie., facebook, battery left, pandora and etc.
View 31 Replies
View Related
Jun 9, 2010
I have got a few questions about my Galaxy. More infomation about my version below.
Firmware version: 1.5
Model number: Galaxy
Build number: 76XXCSDCBALUM6375
Kernel Version: 2.6.27 hyunchul0221.jung@SE-S402 #1
Base band version: I7500DFII3
Quote:
View 1 Replies
View Related
Oct 9, 2012
On my Samsung galaxy s3 I have 2 flashing arrows under my wifi bar.. I went to Samsungs chat and the first time I was told that it was because I was transfering data but I wasn't. She then told me to do a soft reset so it did and it still continued. Then I went back on because the first person told me it would eat up my data if I didn't break the transfer. The second lady said that all that means is that it's showing that it's connected to my router and is normal and won't use my data..
View 5 Replies
View Related
Oct 10, 2013
Can Compile the kernel for s5302 from ICS code...And Make an ICS rom for it?
View 2 Replies
View Related
Feb 25, 2013
Is there any modded kernel forthis device...searched a lot but couldn't find one...
View 2 Replies
View Related
Jul 5, 2010
jsut getting kinda nervous here, installed drivers for my phone, has stock 1.5, and followed the directions in the 1.6 stock rom download. im flashing with odin atm and its at like 30 min, and my phone is still downloading, is this normal?
View 2 Replies
View Related
Nov 27, 2010
I have a rooted Droid Incredible, running stock 2.2 and Hydra's 1.15 ghz kernel. I found a ROM called "Light Speed," and I'm wondering if I should try it out. Here's the link: [ROM] Light Speed - Droid Forum - Verizon Droid & the Motorola Droid Forum I'm thinking of the sense version. Do you think it will work? Also, it says it features KingxKernel #6. Is this a stable kernel? How many ghz will it go to? Any other tips before I flash? (Ex. wipe, backup)
View 3 Replies
View Related
Sep 6, 2010
Decided to try Snap's 7.5 kernel. Did a full wipe and flash with cm6 but lost wifi. Tried nandroiding back and still no wifi. So, wifi is broken. How do I fix it?
View 2 Replies
View Related
Apr 9, 2013
Can i install kernel after flashing my new rom?.I mean i flashed my rom and can i now update my kernel without flashing rom again.
View 1 Replies
View Related
Jun 16, 2013
I hear that some kernals are better than others and I assumed they change when you change your ROM but I'm not sure. I feel like I would have better battery life with a better kernel.
View 1 Replies
View Related
Nov 15, 2012
I did a research regarding Flashing Kernels and Roms and currently i have installed Cyanogen 9.1 for my device.
1.Will I be able to update my phone and bring back to old ICS firmware via SUS once i brick my phone(I have already unlocked the bootloader via fastboot method)?
2.Evrytime when i flash the Rom(say CM9) i used to flash kernal(boot.img) for the respective rom.Is this necessary all the time? Will i able to flash a GB rom on ICS kernal(I am afraid to give it a test)?
3.Regarding CM9.1 which i have installed ryt now,I am satisfied with the performance,but i want a stable ROM wud make me happy with a better battery life unlike CM9.1. Any GB/ICS ROM which wud have a stable performance with descent battery life.
4.After using GB for a long time,i was very much addicted with the Phone pad kinda keyboard,but when ICS came into picture everything vanished,Smartkeyboard Pro is no gud,Touchpal is conjusted,i want the exact GB keyboard in ICS.
Phone: Xperia Ray
Bootloacker:Unlocked
ROM: GB Stock Rom
View 1 Replies
View Related
Sep 20, 2010
Please help, I tried to change from the Galaxy rom to the new 1.6 Take 5 tweak since I was sick of having no vibration. And now after I flashed it, it went to the Samsung bootup screen and now is black and cant be powered on. However my computer still detects it, please can somebody help salvage my phone.
View 3 Replies
View Related
Apr 23, 2010
How can I get myfaves working on galaxy r8?
Sent from my Behold II using Tapatalk
View 2 Replies
View Related
Jul 1, 2010
I have the samsung behold 2 and i want to install the galaxy rom on my phone. can someone please give me a step by step tutorial on how to do this..
View 1 Replies
View Related
Mar 2, 2014
I have Samsung Galaxy S GT-S7562 After rooting and flashing KyleOpen custom rom, the mobile worked just fine but there's no network while calling or receiving a call.. I went to maintenance service and they told me that it needs New main motherboard or something
View 9 Replies
View Related