yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] kuisma:
Great work!

The base supplied to mkbootimg is the address the devices RAM begin. mkbootimg uses this calculating the addresses of the atag area, the kernel image, the ramdisk space, etc. If a manufacturer puts too much goodies into their kernel, it will be too big to fit in the space mkbootimg assigns it by default, hence the need for Samsung here to increase the offset of the ramdisk (as it follows the kernel space).

Again, use my unmkbootimg on your original boot.img. It will list the individual offsets of the kernel, ramfs etc. Then calculate backwards by subtracting the offsets mkbootimg.c uses. In the Samsung case, you'll notice they don't add up - i.e. subtracting the ramdisk offset from the listed ramdisk address does not give you the same base address as if you would subtract the kernel offset from the kernel address of the same image. Hence you can conclude Samsung must have adjusted the offsets, and with how much.

Maybe I should add support in unmkbootimg for this, doing those calculations for you and issue a warning if a non-standard mkbootimg was and must be used. Send me a link where I can get your original boot.img, and I have something to test it with, when and if I'll decide to do this. :)
[Android Software/Hacking General [Developers Only]] ggolemg:
Have you looked at the "Linux on Android!" project: http://xdaforums.com/showthread.php?t=1299962

He, theGanymedes , recompiled libs such as glibc and others to run from within android itself, including apt, Bash, NCurses Library, Readline Library, etc all to run the full versions cross-compiled for android, well arm anyway.

He even was able to utilize the framebuffer directly for enlightenment(17) window manager. No VNC.

With this in mind, I was wondering if it would be possible to blend together that idea and your idea, whereas the android part would just utilize the libs found in the debian part of your project. Eventually merging the two. Prior to the merge it would facilitate smaller ROMs as they would be sharing libs, apps, etc. And the android portion would get access to full blown applications and libs, not to mention apt.

This just seems like the next logical step, at the very least it would allow you to remove the vnc dependency, and draw directly to the FB.

-I take no credit for the "Linux on Android!" project, hell, I take no credit period.
[Android Software/Hacking General [Developers Only]] kuisma:
Been there, done that. ;) I started out compiling libc (uClibc) for Android, but running two different libc in the same root causes a big mess. The directory structures clashes, requiring either a rewrite of the libc moving e.g. /etc to /usr/etc and so, or the use of an overlay file system. And even if solved, the end result is a big mess with files who knows belonging to what, what program uses which environment etc. So when I realised I could jail the Android environment, I immediate saw how this would resolve all conflicts, creating a clean, simple and yet more powerful and usable solution.

The next project will be a GNU/Linux you can run on your non-rooted Android device, aimed to the user who believes this solution is too complicated.
[Android Software/Hacking General [Developers Only]] basha.ram:
Thanks for the pointers.

I've attached stock boot.img and the output of unmkbootimg below.

Kernel size 4905092
Kernel address 0x40408000
Ramdisk size 893395
Ramdisk address 0x41800000
Secondary size 0
Secondary address 0x41300000
Kernel tags address 0x40400100
Flash page size 2048
Board name is ""
Command line "androidboot.hardware=qcom msm_watchdog.appsbark=0 msm_watchdog.enable=1 loglevel=4"
Extracting kernel.gz ...
Extracting initramfs.cpio.gz ...
All done.
---------------
To recompile this image, use:
mkbooting --kernel kernel.gz --ramdisk initramfs.cpio.gz --base 0x40400000 --cmdline 'androidboot.hardware=qcom msm_watchdog.appsbark=0 msm_watchdog.enable=1 loglevel=4' -o new_boot.img

one more question, the output line "To recompile this image, use:...mkbooting --kernel...." is based on vanilla version?
[Android Software/Hacking General [Developers Only]] kuisma:
Yes, unmkbootimg is quite literally the inverse of the vanilla mkbootimg. If a non-standard mkbootimg is used to compile the image, the command line unmkbootimg suggests will only work using this modified mkbootimg. But I'll update unmkbootimg informing the user about this, in the case it detects odd offsets, as well as supplying the new offsets needed to modify mkbootimg.c
[Android Software/Hacking General [Developers Only]] kuisma:
Yes.
[Android Software/Hacking General [Developers Only]] bigsupersquid:
here's a possibly useful link:

building modules for a precompiled kernel

even if they're in cahoots with the CIA, I find Google is my friend when looking for stuff like this.

and, man modprobe specifies how to force module loading in spite of bad vermagic or modversion conflicts. Hope this helps.

by the way, to the OP... nice work. I was looking for something like this.

I am wondering (betting yes, even) if a variant of this would work on an x86 android version for my laptop... I've wanted that for a little while but didn't want to run android standalone on my 'real' hardware, or have to chroot my debian install under androidx86.
[Android Software/Hacking General [Developers Only]] basha.ram:
yeah but modprobe compains "modprobe: can't change directory to ' bla bla': No such file or directory" there must some intelligent way to get rid of vermaigc issue.
[Android Software/Hacking General [Developers Only]] basha.ram:
just out of curiosity I tried unmkbootimg on the S3-I9305 boot.img and here is the output..

BOARD_KERNEL_CMDLINE
BOARD_KERNEL_BASE 10000000
BOARD_PAGE_SIZE 2048

could you please suggest what am I missing to get the complete details such as command line, correct base address and ...
[Android Software/Hacking General [Developers Only]] kuisma:
That can't have been all the output. Actually, that can't been the output from my unmkbootimg at all ...
[Android Software/Hacking General [Developers Only]] basha.ram:
Sorry for my fault, I used customized unmkbootimg which I used for S2_lte. :p

Below is the output after using your exe ::

Kernel size 4787228
Kernel address 0x10008000
Ramdisk size 549044
Ramdisk address 0x11000000
Secondary size 0
Secondary address 0x10f00000
Kernel tags address 0x10000100
Flash page size 2048
Board name is ""
Command line ""
This image is built using standard mkbootimg
Extracting kernel to file zImage ...
Extracting root filesystem to file initramfs.cpio.gz ...
All done.
---------------
To recompile this image, use:
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz -o new_boot.img
---------------

I confrim your exe is working perfect with S3 I9305 LTE with XXBLL5

I have extracted initramfs.cpio.gz from the stock boot and compared with kernel built with default config supplied from samsung, I see there are missing some .ko viz:

Modules after successful kernel compile with m3_00_defconfig

[B]./drivers/net/wireless/bcmdhd/dhd.ko[/B]
[B]./drivers/net/wireless/btlock/btlock.ko
./drivers/scsi/scsi_wait_scan.ko
./arch/arm/mvp/pvtcpkm/pvtcpkm.ko
./arch/arm/mvp/mvpkm/mvpkm.ko
./arch/arm/mvp/commkm/commkm.ko[/B]

Modules from initramfs

lib

│** └── modules
│** ├── [B]btlock.ko[/B]
│** ├── [B]dhd.ko[/B]
│** ├──[COLOR="Red"] [B]exfat_core.ko[/B][/COLOR]
│** ├── [COLOR="Red"][B]exfat_fs.ko[/B][/COLOR]
│** └──[B] scsi_wait_scan.ko
[/B]

Is it because of different config used?

I have used the default config(m3_00_defconfig) as I didnt find config.gz on XXBLL5 version.

Bit tentative situation now, either to flash custom kernel with stock ramdisk or search for a reason on different .ko :confused:

any suggestions please.
[Android Software/Hacking General [Developers Only]] kuisma:
Uhum, what does this have to do with integrating GNU and Android..? I think you'd get better answers asking in some thread about building kernels for the Samsung devices.

This said, if you are building your own kernel, build the kernel modules as well. Don't use modules compiled for a different kernel. But I'm not sure I understood what the question was.
[Android Software/Hacking General [Developers Only]] basha.ram:
hmm.. wrong thread. Sorry.
[Android Software/Hacking General [Developers Only]] mickmattes:
Hi,

I'm trying to use this on my S3 I9300. But I have a little problem or better said a question.

I own two different Micro SD Cards.

The first one is a 32GB Class 6, the second one is a 16GB Class 10.

Well, you suggest taking a 32GB Class 10 Micro SD. Is it possible to use one of my cards and if so, which one should I use?

Thanks for your great work.

mick
[Android Software/Hacking General [Developers Only]] Lei M:
sorry for bumping up... :)

i think this is a great idea.

many devices now have no external sdcard.

it should be possible with internal sd-card ;D

Will that be more difficult?

I would like to do that on Nexus 4 or Oneplus one.

But to say: i only have basic knowledge of linux

best regards,

Larry
[Android Software/Hacking General [Developers Only]] Unrelashade:
Hello, I have a question, why did you choose the modified-for-Android-kernel as top kernel, instead of the standard GNU+Linux kernel? Doesn't that mean the system runs slower because Android is for battery powered devices?
[Android Software/Hacking General [Developers Only]] gouster3:
So, what am i doing wrong when i dont have any file in /android/log/ folder?

I have Xperia XZ (arm64) and phone wont boot after i flashed new boot.img,

it shows sony logo, then charging diode goes red, screen off, again sony logo. It is repeating.

I have used busybox that was in my prevous kernel.

on sdcard i have used Ready made root file system (128MB).

So, maybe Ready made root file system (128MB) is arm only, and i have arm64,

should i use debootstrap and create my own arm64 filesystem, is that Ready made root file system (128MB) my problem?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] jolle-pe:
Hi everybody,

i want to flash a new custom rom on my girlfriends galaxy ace.

She always mentioned, that her phonememory is full.

So i thought, that i can flash a slim and stable custom rom.

So i come to my question:

Which is the most stable and slim custom rom for her device?

Every all-day-using apps should work.

Best regards ;)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] FrankyDoodle:
Use search and brain capabilities that god has given to you!
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Blackstard:
search in Android development ! :cool:
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] karapa31:
Try stocklite. I have used it (v6) for quite some time and seems to suit your needs.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] pranoy407:
All custom roms are good and stable...
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] PhantomPhoenix:
Try Apocalypse, you won't have any other rom
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] melltuga:
I'd say it's StockLite or S'perience.

I don't like the CM-based Roms, since I never had one that came even close to the battery-life of a stock-Rom.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] msahin061:
Try Miracle v4 or Apocalypse based on CM7 (for many features)

or

StockLite based on Samsung firmware (for best battery life);)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Pseudonym:
Myth2 or Apocalypse Final ;)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] PsyGik:
Use any barebone ROM. What exactly are the everyday apps? :confused:
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Cryss:
Since u ask that question [which is the most stable rom?] ... u should not even try because it's obviously u have no experience in flashing roms and i very recommand u to let the phone on stock rom.

Before flash it, be sure that u can fix bugs (if there are any) save data if she needs.

Stay on stock !
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Shaaan:
Man i miss the report button!!

Don't be a noob. Be a newbie..!!

Details here.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] mv03790:
Miracle v4 or Apocalypse
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] drprateekluthra:
Suggestion :- apocalypse or based on it koggly's mokee v3.1!!!!
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Carlos Fortiz:
Maybe you can try apocalypse is great or another one is galaxy SII i tried and run good and faster and this roms dobt have any problem you have camera, WiFi, almost de sd-ext partitoon with S2D work nice
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] trunggaga:
Try Miracle v4!!

If you have problem with full memory, partition your SD card.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] JDMBrooksy:
Only Way is buddy, is rooting the device & use scripts && Link2SD :D, Best way to stay stock and just Learn before going into the deep end.

Also install The CWM Recovery.

OT: (My Favorite So far)

http://xdaforums.com/showthread.php?t=1453165
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] tuandaica225:
With CM7, you should use APOCALYPSE

With a ROM base stock, SII or The Myth very good for you :good:
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Ryuinferno:
Adrenaline rom is also not bad...Been using it for months and never fails me...:D
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] diegonnc:
stock 2.3.6 xwktm , here`s the link http://xdaforums.com/showthread.php?t=1693471
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] SpaceCaker:
Bald eagle rom

Stock stable

And lots of themes and.mods available for.it :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] jolle-pe:
Some news for me? :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Pseudonym:
Nope
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] B A D R I:
Go for MYTH 2 . stock based and it will solve your internal memory problem .

Sent from galaxy ace running S3 beta 3.1 evolution
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] myanmargunner:
which rom is the hot and the stable at current ?

now i used Driod Ace at my galaxy ace .

but i didn't find font style . where was it

regards
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Reynaldo Aguiar:
I think the rom right for you depends on what demand speed and performance, or even style and beauty ....

I'm using CM7.2 Democracy, because until now it's better about speed and battery, and that's what I was looking for ....

rom then depend only on what you want.

:good:
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] B A D R I:
S3 beta 3.1 evolution ultimate version is hot enough and updates coming soon

Sent from galaxy ace running S3 beta 3.1 evolution
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Bassesh:
I think StockLite or S'perience are good selection ;)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Gilmar Mess:
DroidAce is the best :D
[Galaxy Tab Q&A, Help & Troubleshooting] Dwars:
hi

i'm planing to buy one of those...galaxy tab 7 or HTC flyer...

wts ur idea?which one is better?

thanks
[Galaxy Tab Q&A, Help & Troubleshooting] sos_sifou:
i think the htc flyer is a very good device, but the galaxy tab is a complete device, well i mean you get something close to the flyer but with cellphone fonction and 3g, if you dont need them, you can have a verity of choices, from the new google nexus 7 to the second generation of galaxy tab, Toshiba 7 inch, and many more...

but gt P1000 is the ultimate tablette, in my opinion.

If I helped you, please press the thanks button
[Nexus 7 General] straxusii:
I've been following the shipping thread and clearly many people are annoyed at google for assorted reasons.

I won't go into those here, I personally didn't think they had been terrible (not great) until a post I read yesterday.

It now seems Google have informed Play customers that anyone who pre-ordered a 16GB unit after 30th June will now have to wait until 20th July for shipping.

Yet tons of other retailers are now shipping and selling in store the 16GB units.

So basically we have a situation where Google has accepted pre-orders early July and then knowingly shipped 16GB product to other retailers knowing full well they wouldn't be able to cover Play store pre-orders. That is disgusting to my mind.
[Nexus 7 General] CrazyPeter:
I ordered my 16GB on 28 Jun, and haven't heard anything yet....
[Nexus 7 General] haloimplant:
Check out how screwed Canada is getting. Here is when Google is saying that 16GB units ordered in June are shipping:

US: July 19

UK: July 20

Australia: July 19

Canada: July 24-31 (? 1-2 weeks from July 17)

Meanwhile there are 16GB for sale in multiple stores. I am on the edge of just buying one somewhere else and telling them to shove their useless pre-order.
[Nexus 7 General] straxusii:
It's just wrong.

From the start Google should have said Play store preorders will be allowed until say 7th July at which point they stop, they then should have ensured they had enough stock to cover those before sending out to other retailers.

Very obviously if someone pre-orders from Google on the 4th July they should get it sooner or at least the same time as someone else that preorders the same item from another retailer on the 15th July.
[Nexus 7 General] sgt. slaughter:
lets keep the discussion in the official sticky thread...
[AT&T Samsung Galaxy Note I717] liftedzuki:
See others. Getting 7500 with 1.83ghz
[AT&T Samsung Galaxy Note I717] JB calhoun:
Ugh....whats the question??

Edit...btw i get 7656

sent from nitro powered.note clockin 1.83 in a quarter mile!!
[AT&T Samsung Galaxy Note I717] liftedzuki:
My pic didnt work? hmm. Im getting like 7000 at 1.83, FJ rom,

Can you post the detailed score to see where mines slackin? I notice I never hit over 1500 on ram? I seen some hti like 1650.
[AT&T Samsung Galaxy Note I717] liftedzuki:
Work now
[AT&T Samsung Galaxy Note I717] welchertc:
Just stop worrying about benchmarks. They're pointless. They can be skewed by random stuff, so they don't mean much. If your phone is running just as smoothly or smoother, then what does a number matter?
[AT&T Samsung Galaxy Note I717] erick161:
Because benchmarking is god to some...sadly.
[AT&T Samsung Galaxy Note I717] SKyRocKeting727:
Phonedog.com lmao.

-Once you go NOTE, you'd say 4 inches a Joke

NOTE user:

"take a deep breath, make sure to get a good look at it, relax and slowly take it in, the size is overwhelming at first but you will have a happy ending afterwards".

Woman:

:O
[AT&T Samsung Galaxy Note I717] liftedzuki:
I wasnt sure if it was just a wang measuring contest or not..

Benchmark means nothing or just not everything?

I was using it as a base to determine if my rig does well. I'm at 1.83ghz, and rooms super smooth on FJ rom, I'm just a speed whore and want it to be fast as possible. :eek:
[AT&T Samsung Galaxy Note I717] JB calhoun:
Here ya go a lil more detail lol

sent from memosphere remix
[AT&T Samsung Galaxy Note I717] liftedzuki:
ram and I/O is really slacking.. Hmm.
[AT&T Samsung Galaxy Note I717] JB calhoun:
U on fj? And which one

g-note clocked 1.83 in quarter mile!!!
[AT&T Samsung Galaxy Note I717] JB calhoun:
I looked on ur about me and i seen ur on cm9..are u using fjs kernel or hotwir

g-note clocked 1.83 in quarter mile!!!
[AT&T Samsung Galaxy Note I717] liftedzuki:
Was fj ucld6 now cm9 nightly and can't hit past 7000. Fj aosp kernel.

1.83ghz.On both
[AT&T Samsung Galaxy Note I717] welchertc:
Maybe it says something comparing scores between different clock speeds on the same ROM, but even the same ROM on two different phones will give different scores. Comparing benchmarks with other people is definitely a pissing match.
[AT&T Samsung Galaxy Note I717] JB calhoun:
No its not a pissing match..it shows how the same phone can srill be very dif mine scores r very consistant so if his r low made i can help figure out y if u think its a pissing match put ur stick up:cool:

g-note clocked 1.83 in quarter mile!!!
[AT&T Samsung Galaxy Note I717] JB calhoun:
Change ur kernel and see if u get higher i seen somewhere fj said his first kernel release would not show much better scores on benchmark..not sure about the 2nd i always use hotwires

g-note clocked 1.83 in quarter mile!!!
[AT&T Samsung Galaxy Note I717] liftedzuki:
I benchmarked mine at 7504 yesterday.

:D

Thanks, I been cleaning up the apps alot n what not.
[Galaxy S III Accessories] jmhpwdr:
My buddy and I bought several different cases to compare. We both agree that the Otterbox Commuter case is our favorite so far for it's solid feel, and the Seidio Active holster fits it, screen facing in, like they were made for each other. I ordered my holster as soon as I tried his with my Otterbox. Great coverage for throwing in a work bag and going. Take care all.
[Galaxy S III Accessories] tpdtopcop:
How bout some pics
[Galaxy S III Accessories] jmhpwdr:
I'll post some pics first thing in the morning... Taking the pictures of my friend's case and holster tonight at work.
[Galaxy S III Accessories] tpdtopcop:
Were did you get the defender case from?
[Galaxy S III Accessories] jmhpwdr:
Well, I can't post links yet for the photos (I have to have 10 posts before I can post links), and I have to wait five minutes between posts (also as a newbie)...so I can't even speed up the process. Sorry, I did take the pics for you yesterday.

As for your question regarding the Defender case, this thread involves the use of the Commuter case and the Seidio Active holster. I did however pre-order the Defender case from J&R Online, but it hasn't shipped yet. I've seen a ton of places offering the Defender online though.
[Galaxy S III Accessories] SlimSnoopOS:
I went to Best Buy last week right after I received my GSIII and they had some Otterbox Defender cases there. I was looking for and purchased the last Commuter case that day.
[Galaxy S III Accessories] Liestman:
Pictures please.
[Galaxy S III Accessories] The_Biz:
This ^
[Galaxy S III Accessories] SlimSnoopOS:
Hey folks, I took a few pics of the GSIII Commuter Otterbox. I had to use my Droid Incredible as my camera excuse the quality. I'm the type of person who takes his case off once he gets home so the Otterbox offers great protection however for daily removal it is a bit cumbersome.
[Galaxy S III Accessories] SlimSnoopOS:
Let me know if you need different pics. I'll use my GSIII to take those if need be. Here's a few more:
[Galaxy S III Accessories] jmhpwdr:
Here are the pics I promised. Sorry for the delay. I took these pics using my S3, with both auto-flash and no flash, inside of an office. Not the greatest pics in the world, but I tried to get all of the angles of the holster/case fit. Also, this is the Otterbox Commuter case, not the Defender. I have been using this combo for a week now, and I don't have a single complaint yet. Great protection and fit. Since you asked though, I did pre-order the Otterbox Defender case as well from J&R Online. Enjoy.
[Galaxy S III Accessories] Cruzin95:
Silly idea, but why not use a Seidio Active case with a Seidio Active holster? :eek:
[Galaxy S III Accessories] jmhpwdr:
To answer your question, I personally do not like the Seidio Active case compared one-on-one to the Otterbox Commuter case. This holster gives me a great option for a case that doesn't have an OEM holster option. Why box yourself in with a case and/or a holster you don't prefer just so you can have the same name brand on each accessory?
[Galaxy S III Accessories] seabhac:
I have had both the commuter with an hd invisishield and now the defender... I like the durability of the defender but I don't like that I tend to get dust stuck between the screen cover and the phones screen...really bugs me... I may be going back to the commuter
[Galaxy S III Accessories] jmhpwdr:
I haven't gotten my Defender in the mail yet, but I'm interested to see the difference. Nothing wrong with trying out different products to find what works for you. I keep my phones for 1.5-2 years so finding the right protection is worth it to me.
[Galaxy S III Accessories] BubZX:
How much thickness was added to to it when u put the commuter on? In the pics it still looks pretty sleek. I just ordered the commuter in green and black a few days ago.