Samsung Behold 2 :: Flashing Kernel And Security ?

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.

Samsung Behold 2 :: flashing kernel and security ?


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 View Related

Samsung Behold 2 :: Overclocking And Custom Kernel?

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

Samsung Behold 2 :: Random Reboots After Flashing

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

Samsung Behold 2 :: Flashing - Recovery Mode

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

Samsung Behold 2 :: Zero Memory After Flashing Custom ROM

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

Samsung Behold 2 : Backup APP / Restore Them After Flashing?

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

Samsung Behold 2 :: Custom Kernel - ODIN Ready 1.5

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

General :: Samsung GT S5302 Hard Bricked After Flashing Custom Compact Kernel

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

Samsung Behold 2 :: Need Flashing Warheads For Complete Morons

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

Samsung Behold 2 :: Flashing ROMs - Applications Always Disappear After Reboot

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

HTC EVO 4G :: Flashing New Kernel Over Fresh 3.3

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

Samsung Behold 2 :: Flashing Stock 1.5 To Stock 1.6

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

HTC Incredible :: ROM Flashing - Stable Kernel?

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

HTC EVO 4G :: WIFI Lost After Flashing Kernel

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

General :: Kernel Installation After Flashing New ROM?

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

General :: When Flashing A New ROM Does It Change Kernel Also

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

General :: Xperia Ray - Flashing Kernel

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

HTC Incredible :: Flashing Custom Kernel Using ROM Manager?

Jul 2, 2010

So I was under the impression that you could use ROM manager or ClockWork mod to install a custom kernel that I had downloaded to my SDcard. I downloaded a low-volt, overclock kernel and I have discovered that I don't quite know to flash it to my phone.

View 3 Replies View Related

Motorola Droid :: Backup ROM Before Flashing A New Kernel?

Jun 25, 2010

Do most people always backup the ROM, w/ ROM manager before installing new kernels?

Also is there a way to set the number of backups you keep w/ ROM manager?

View 12 Replies View Related

General :: How To Remove Kernel From Phone Without Flashing

Feb 15, 2012

I got a rooted phone. how do i remove a kernel from my phone without flashing another rom?

View 9 Replies View Related

General :: Flashing Custom Kernel After ROM Update?

Oct 23, 2012

So I've been looking into flashing custom kernels, and I can't seem to find an answer to this question. Basically, I'm wondering if the kernel remains after installing a new nightly, or do I have to reflash the kernel every time the ROM updates?

View 1 Replies View Related

General :: SGS2 (GT-I9100) Recovery After Flashing Kernel?

Feb 25, 2012

When I got my phone at the end of last year I rooted it using a Chain-Fire kernel - v 4.2, I think. After flashing, it worked perfectly, since when I have flashed the old bootloader to get my USB Jig working to remove the yellow triangle and flashed a patch again to allow the USB Jig to reset the binary counter.

I have very much wanted to install and get the new Sky Go application working.

What I had to do was flash the Stock kernel for my Stock Rom - I have never messed with my Rom - it is Gingerbread 2.3.4 in a CPW phone here in the UK.

Doing the flash and installing Voodoo OTA (to temporarily hide my root) has been enormously successful

Now then to my query....

The original Chain-Fire mod v 4.2 installed CWM.

After of course cancelling the "hide root" function to show my phone as rooted once more, I went to do a backup, using CWM but it refuses to work. It says my kernel needs v 5.0. Obviously the Stock Rom I flashed to get Sky Go working has thrown CWM some what.

I have downloaded Rom Manager from the Market but this seems not to work either - it starts to work (reboots) but then halts with the following messages: -

E : failed to verify whole-file signature

E : signature verification failed
Installation aborted

What I would like is some way of installing a backup previously made before flashing the Stock kernal and also to make a fresh backup now.

View 3 Replies View Related

General :: Unlock I9001 By Flashing Firmware / Kernel

Sep 15, 2012

is it possible to unlock samsung galaxy s plus (i9001) by installing any of the moded firmwares/kernels?

View 1 Replies View Related

General :: How To Unlock Bootloader Before Flashing Kernel For Sony Xperia

Feb 15, 2012

[Q] IS IT NECESSARY TO UNLOCK BOOTLOADER BEFORE FLASHING KERNEL FOR SONY XPERIA... and also need a latest flashtool tutorial link..

View 1 Replies View Related

General :: How To Enter Sim Unlock Network Code After Flashing To Custom Kernel / ROM

Jan 2, 2014

I have an xperia X8 with some naa kernel and xperiadroidx 6.1.The thing is that with this custom kernel and ROM when i put a SIM from another network carrier, the question asking for the SIM-unlock code input is not showing up. (this appeared before when phone was in stock state).Is it possible to do it without re-flashing to stock?

...or i have to put back the phone to stock? What is the easiest/safest/best way to do this? using the restore option in "PC companion" SE app? Is it only needed to put the stock kernel and ROM, or Do i also need to re-lock the bootloader?

I don't need the whole explanation, just a little guidance, just a few tips to know what to do, then i can google/search myself for the specifics on how to actually do it.

View 1 Replies View Related

Samsung Moment :: Joeys Kernel And Get Stock Kernel Back

Jun 11, 2010

where I have got right now on my phone, which is:

1. I updated to stock 2.1 using the sprint update tool.
2. I followed the video tutorial to root the phone
3. then i used joey's page (http://www.joeyconway.com/sdx/custom/index.php) to install the his kernel (joeykrim-SDX-kernel v2.0.4 (includes root)).

I have done nothing else to the phone but this and removing a couple of bloatware apps (i checked the list of permitted deletions before i removed anything.) I have not installed a new recovery..at least i dont think that I did as part of one of the other operations I performed (as an aside, i am not really sure what the custom recovery is or what it is used for, so i didnt install it...i guess i need to read up more...)

So that is where I am..but i have a couple of questions.

1) i am now having issues with my wifi connection - the signal reception is very spotty in areas where i should have atleast 2 bars of reception, and the wifi often cuts out completely....Is there any know corellation between joey's kernel and this wifi issue? I have searched the forums and have found nothing that answers this.

2) Is there an easy way to get back to the stock kernel? I have read that i can get back to stock everything by using the sprint download center where I did my original 2.1 update. But is there a way to get back to just the stock kernel without wiping the phone?

View 1 Replies View Related

Samsung Behold 2 :: Latest Samsung Behold II Marketing Effort

Mar 18, 2010

I take no responsibility for wasting your time or making you stupider.

View 13 Replies View Related

Samsung Behold 2 :: Free Internet Through Tmobile T-zone Works On Behold 2

Jan 21, 2010

Alright whats up people I was recently searching through and through for a way to get mobile internet without paying that ridiculous android price so as I was searching I stumbled across a regular behold forum at Samsung Behold Forum - New Proxy (TMobileX (Free Internet!)) - UPDATE: Analysis 01.07.10 -> 1500 Users because someone said free internet for it and I gave it a run to see if it would work with our behold 2 and surely enough it does.

Instructions on how to use proxy:
Open up the (default) browser on your Samsung Behold.
Type in the following address into the : tmo-x.co.cc/tmobilex/
Type in the address you want to visit in the form on the page and select whether or not you want to use my HTML trick (free; allows you to see sites in full HTML not 'WAP-stripped').

View 8 Replies View Related

Samsung Behold 2 :: Tutorial - Working Terminal Emulator/Behold 2

Jan 13, 2010

After many attempts to try and use the terminal emulator that is already preloaded onto the behold 2 , and many failures..After trying out different Terminal Em.'s and always having my phone lag because they wernt made for it...i have finally found a way to get terminal emulator working with no lag or no slow down in performance... First you must have root,of course, Next, Use an app called root explorer or something similar and goto the folder /system/app/ and find the two files Term.apk and Term.odex, and MOVE them to your sd card from your phone,you want them gone from your system/app folder After that simply goto the market and search for Terminal Emulator , re-download and there you have it, Working term. em. on the behold 2.Peace Ladz.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved