yashsingh1/xdaforums huggingface dataset:
[Gen8 General] sodjas:
OK nice!

banner found :)

@scholbert:

Thank you very much your post freshed me up a bit

@letama:

Thank you too for the useful hints

letama was right when he said probably I need to adjust size.

I have a theory that as scholbert said every file is padded to bs so if I overwrite the banner with my banner (which is smaller) i just need to insert zeros to get the original size and theortically it should be fine...

Right theory or not? :)

br, sodjas
[Gen8 General] letama:
Well, dangerous theory. It's true that there is a full sector (512 bytes) allocated even if not used completely, but the banner file size is not a multiple of 512. So, if bzip routine in bootloader uses the size and crashes badly as it's incorrect, you could end with bricked device. It's not necessary when I do it for kernel as there is a structure in front that contains kernel and initrd sizes, but for banner it probably is.

I'd rather update the directory entry, it's not that complicated looking at the rawfs driver. I even saw config flags to bypass write protection, but I'm not sure the write part is correct in the driver.

I'm a bit out of time now to work on this, but I'll try later on to decode rawfs with a tool.
[Gen8 General] sodjas:
OK guys

@letama:

you're right the proper and the most elegant way is the rawfs driver investigation mounting and then changing the directory entry

BUT:

I was so impatient and I'll have a presentation about this on friday soooo :)

I tried it and it works :D

I have now a non-animating first image then blank screen then the animating image :)

Many thanks to scholbert and letama mentoring. I think this thread is not over yet there is still a lot to improve and automate but it is possible and finally I have my device with fully custom boot logo and its not even blank screen but boot logo itself :)

I'll come back tomorrow with more details, and will update you if the same mmcblk0 can be flashed on multiple devices with the

What is still weird is the second stage where the image is zcated in init_lib.sh, I think there is some size related thing letama mentioned because I repeat again I my boot process looks now:

1. unanimated image -> my custom image

2. blank screen

3. my custom animation

An additional info is then if I don't modify the init_lib.sh and it tries to zcat my banner then the boot process stuck... I need some more investigation around this but this is already a bug achievement and enough for me :)

thanks again for the great support, I'll continue to improve my skills on these and will share if there are some updates

br, sodjas
[Gen8 General] letama:
ok, got it:

Dump code is there:

http://pastebin.com/GqsK1iYR

Result on my device:

http://pastebin.com/xCTCNX1U

Next step, doing a proper patcher :)
[Gen8 General] sodjas:
compiled successfully and will check soon :)

you rock! :cool:

br, sodjas
[Gen8 General] scholbert:
Cooooool....

Hey guys!

Congratulations sodjas :cool:

I knew that you would succeed.

About the issue with the banner not displayed in ramdisk:

Maybe it's the compressing method of the raw data, that doesn't fit to userland tool.

Needs further investigation i guess.

EDIT:

$ZCAT /mnt/rawfs/banner | $FB_WRITE $do_reversed_copy

These are usually defined in the init script:

ZCAT=/bin/zcat (busybox)

FB_WRITE=/bin/fb_write (abcbox)

@letama:

Thanks for the tool, will be very useful for further research :D

Have fun!

scholbert
[Gen8 General] sodjas:
Thanks scholbert!

Yes there will be something in the init scripts.

An interesting update is that all logos are working with the stock firmware :) so there will be something in the modified rw (rooted) initramfs.cpio.gz .

I'll try to investigate what is difference between them...

br, sodjas
[Gen8 General] letama:
Hey Guys,

Success!

Big warning for anyone using it, use at your own risk, you have to know what you're doing, I'm not responsible if you kill your device.

I finished a *very rough* version of a rawfs patcher, it's barely tested and misses few safety tests:

http://pastebin.com/dWp1EibM

It has to be launched directly from device, I umounted rawfs to be on safe side. I'd suggest this method: unmount rawfs, flash logo, mount rawfs, verify size, gzip -d rawfs, and only if all is ok, cross finger and reboot. Do a dd of mmcblk0p1 before, and if anything goes wrong, dd it back before rebooting.

I successfully updated my device with it, it works fine in both avboot and untouched initrd.

It now boots with this: :D
[Gen8 General] letama:
A little piece of info on top of that:

/bin/fb_write expects /dev/fb0. As soon as you boot android, you have /dev/graphics/fb0, not /dev/fb0, so if you run it from Android, do a symlink to get it work.

On another topic, I checked avboot code, it seems it does malloc and checks malloc failures, so I took the bite and my logo is much bigger than original one (101636 bytes). But don't do that without updating the size in directory entry:) Allocated space on rawfs is 260000 though.
[Gen8 General] scholbert:
Wow... that's awesome!

What a nice hack in the end :D

You really got it letama!

Thanks for the source of your tool and the beautiful pic!

Cool!

scholbert
[Gen8 General] letama:
Thanks Scholbert, it was a fun one!

Now, I need an animation, and back to kernel hacking...

Cya around guys
[Gen8 General] sodjas:
This is such a victroious day :)

Thank you both guys for guiding me on the exciting trip!

In the meantime I made my first brick :) doesn't matter because we have lots of tablets, big remark:

Don't use gzip -9 on linux because probably that bricked my tab, on windows 7-zip uses normal compression as default, -6 is normal on Linux but no responsibility for that :)

now that I have the proper compressed image I won't epxeriment anymore :P

br, sodjas
[Gen8 General] scholbert:
Hi sodjas!

Same here... it was a pleasure, because this is a nice hack in the end :D

Yeah, i thought about that.

Anyway i made a binary comparison between original file and a file i first did gunzip and then default gzip on a linux machine.

The only thing that did change was the timestamp.

Concerning the bricked tablet:

With some research on the hardware, it would be possible to recover.

See my thread about the boot_mode signals on A101:

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

The A70 is very similar to A101 on the hardware side.

If it would be possible to change the boot mode, the eMMC could be re-written by using the Texas Instruments Flash tool.

Understand that, i also won't risk another brick at this point ;)

Best regards,

scholbert
[Gen8 General] sodjas:
Thank you very much scholbert!

I'll check it and come back if there are some good news :)

br, sodjas
[Gen8 General] scholbert:
Hi again,

just for completeness...

http://archos.g3nius.org/index.php/Archos_5_Boot_Logo#Replacing_the_boot_logo

Some additional information about the process on Archos 5 devices.

In fact there's a lot in common :)

Regards,

scholbert
[Gen8 General] eriolssi:
Archos A43 - unable to flash splash screen

Hi all.

Im trying to replace splash screen on Archos A43, I tried Archos 5 boot logo how-to linked above, but when performing "flash -f i480x854.gz 0x060000", I am getting only permission denied (under Archos FW) or file not found (under CM7 bull).

I would HIGHLY appreciate any advise how to perform replacement or at least wipeout of all splash screens and logos. I have been googling long and thoroughly (at least hope so), but besides this thread vainly..

My Archos A43 has fw 2.4.83 (permanently rooted), Android 2.2.1. I tried even CM7 bull (Kernel version 2.6.29-omap1, bubu@phoenix 5; Build number: gen8-userdebug 2.3.4 GINGERBREAD), but except of file not found no response in flashing the logo. When trying the flash, Terminal emulator HAS su rights, flash HAS executable permission, system IS mounted rw...

Thank you in advance, im almost desperate :crying:
[Gen8 General] letama:
Don't try to use Archos 5 method, it won't work. If you check the thread, you'll see that there is a way but it's very dangerous and could definitely brick your tablet.
[Gen8 General] eriolssi:
Hi letama,

thank you much for your reply. Why the Archos 5 method won't work? I thought its method working globally on gen8 devices..

I have read the whole thread, maybe it is a bit dangerous, but I thought only if you make some mistakes..? I am willing to try it anyway, but the method is spreaded along the thread and I am not sure which is dead end and which is it. Is it possible to summarize it in a way Archos 5 method is described?

BIG thank you for your reply anyway!
[Gen8 General] letama:
Well, Archos 5 method is using "flash" command. I'm not very familiar with Archos 5 hardware, but I'm pretty sure this tool doesn't work on gen8, and that's a good thing because the offset (0x060000) is not valid for gen8. If it had worked, you would have killed your tablet.

It's dangerous because:

1) You have to prepare carefully your bootlogo. We know how it's done, but we don't know the limits (for instance, it seems that sodjas bricked one by compressing too much). If it's not properly done or is not in a format that pleases bootloader, bootloader could crash -> tablet bricked.

2) To flash it, you have to use the tool I wrote. It's a quick and dirty tool, I'm far from sure it's bug free. Bootlogo location is in a very sensitive location, if it writes to the wrong location -> tablet bricked.

And when I say bricked, it's definitive brick. We have no way to recover this kind of brick.

For the how-to, well, I don't want to be responsible for a pile of brick around the world so I won't write it. Just few hints if you really want to dig further:

The important post is this one: http://xdaforums.com/showpost.php?p=18384333&postcount=41, it contains the source code of the tool, that should be built with an arm toolchain and executed on tablet as root.

Bootlogo format depends of tablet resolution, it's a raw image gzipped. You should try to pull Archos one (/mnt/rawfs/banner) from your tablet, unpack it and see if you can create equivalent one, one pixel is 0xff R G B from memory... If you want, send me a repackaged one and I'll check it.
[Gen8 General] divx118:
@Letama Just out of curiousity. Isn't the bootimage the same format as what is used in initramfs? http://dev.openaos.org/wiki/SplashImage

divx118
[Gen8 General] letama:
Hi divx118,

Thanks for the link!

Looks very similar indeed, raw argb with alpha at 255, gzipped. It make sense as it's directly sent to fb in both cases... Sojdas reported that gzip it up to -9 caused brick, but I'm not sure of what he did exactly.
[Android Q&A, Help & Troubleshooting] oliverh72:
My goal is actually to save battery life and simplify my day-to-day. Many people rave over Tasker, but I have no interest in learning an app of that complexity when my needs are very simple. They are:

By time (usually with respect to my work schedule), turn on/off volume.

Turn off autosync at work as I use my desktop for that, but enable it when I get home (so my calendar and email is up to date).

Turn Bluetooth on when I get in the car to go to work.

Turn off stuff at night.

By location, override the above, if I'm not at work - ie: on a Friday, if I take the day off and am not at work, leave wifi on.

That's about it. I'm hoping it will help my battery life a bit. I've used Timeriffic in the past and it is really very good and doesn't seem to drain the battery. But it very much requires me to stick to my schedule very closely or it isn't effective - ie: BT on for car use, but if I'm running late, it it's useless.

I have Juice Defender Ultimate, but it's frustrating me as it turns data and wifi off and just doesn't seem very smart about turning them on, even though I've whitelisted apps to always have data on for. It's kinda driving me nuts. It also doesn't really do the rest of what I want, with respect to volume stuff. I will likely leave it running with wifi/data toggles turned off so it can't mess with that. I like that it will throttle the phone when it is locked, though I'm not certain Android doesn't already do that - (I'm on an LG Optimus 2x v10e and Android v2.2.2)

Other thoughts: I want a simple, set-and-forget app. If something comes up that I want to change, add a new rule/setting and leave it again. I just want it to work, but not at the expense of battery life. My needs are pretty basic, so I'm hoping battery life won't be that affected.

My thoughts on the competition so far is:

Setting Profiles - seems pretty good, decent reviews. UI doesn't seem as simple as Locale, so unless it's drastically better, I'm still leaning towards Locale.

PhoneWeaver - as above, but reviews aren't quite as good. UI still better and simpler on Locale.

Llama - free, but god the UI!! If this just made more sense, I'd likely go with it.

Locationbot - cheap, but the reviews don't seem that great.

Tasker - overkill for what I need, I suspect.

EasyProfile Pro - more money than the rest. UI is okay, not great. Gets good reviews. The popup widget thing looks decent.

Your thoughts/experience?

Thanks in advance...
[Android Q&A, Help & Troubleshooting] DarienA:
Profile

https://market.android.com/details?id=com.noimjosh.profile&feature=search_result

is strictly time based and its only for manipulating notifications, wifi and bluetooth, screen brightness, and can auto replay to calls or sms.

Its very good at those though(can even seperate sms from email notifications which was my biggest need) and it has a widget that you can throw on your desktop to quickly manually switch between profiles you create.

However as I said it strictly for profiles, wifi and bluetooth so it won't handle sync scheduling.

Taking a closer look though it does have control over turning on and off airplane mode which might be what you are looking for.
[HTC Inspire 4G] elmanortega:
hey guys i have an htc inspire 4g

i have install custom roms for past 2 years and done about 50 inspire 4g

i have a problem with this one

its not being recognize by the computer

this is what i did

s-off with xtc clip amazing tool

ans flash custom rom

still nothing

im trying to go back to oem rom, one that has a hboot included

i feel like hboot could be the answer

here is my info

ace pvt ship s-off rl

hboot-0.85.0019

microp-0438

radio-26.06.04.06_m

emmc-boot

dec 27 2010, 14:47:30

any ideas?
[HTC Inspire 4G] ph0dacbeit:
Maybe you don't have the HTC sync drivers installed?
[HTC Inspire 4G] elmanortega:
i do

i have worked 5 htc inspire 4g today
[HTC Inspire 4G] P00t:
probably ure cable is screweed up. I had the "device not recognized" until i bought a new usb cable.
[Thunderbolt Q&A, Help & Troubleshooting] Automatik500:
So I successfully flashed:

-CM7 1.1

-5th GB (OTA?) 2.11.605.3 1.48.00.0906w 0.01.78.0906w_2 Radio

-Imoseyon leanKernal v3.7.1

Here are some issues I am having:

1. I can't download certain apps from the Market. Google Maps and YouTube show the following message when i access them in Market:Your device is not compatible with this item. I did change my ro.sf.lcd_density to 185 and 200 and stock 230, same issue with all three. Not sure if this is why I can't download the apps?

2. I've noticed that my 4G speed is significantly slower than it was when I was stock. I used to consistently be between 18000kbps and 240000kbps...now I am lucky If I can reach 12000kbps. Additionally, when I check my battery status to see what has been using battery...I notice that cell standby is the highest with ~50% and display is 2nd with 26%. In my two years of using android devices I have never seen anything surpass display as the source of battery usage. In this case. the display has been on almost the entire time since I was configuring the new rom, etc. And yes, I have had good strong signal the whole time and 0% of time without a signal. Something strange is definitely going on.

Any help would be appreciated. Thanks!
[Thunderbolt Q&A, Help & Troubleshooting] flip218:
I tried CM7.1.1 and couldn't find my market ...
[Thunderbolt Q&A, Help & Troubleshooting] yareally:
If you read the main post by slayher in the thread...it says you need to download google apps separately
[Thunderbolt Q&A, Help & Troubleshooting] loonatik78:
CM7 uses a hacked together RIL so it's going to drag ass with connectivity. I haven't tried a version of CM7 that didn't suck down my battery as fast or faster than a number of Sense 3.0 ROMs. It's for people that like AOSP, not for people interested in fast LTE or saving their battery.

---------- Post added at 06:34 PM ---------- Previous post was at 06:33 PM ----------

Not to mention you posted this in the wrong forum. Look for it in Q&A shortly.
[Thunderbolt Q&A, Help & Troubleshooting] thepolishguy:
Um yeah - that is one guys opinion. There are plenty of people that use Cm7 that are not of the opinion that it "drags ass". So that all depends on who posts in your thread. And as far as battery - I have never used a Sense rom that lasted as long as AOSP - so again - it depends on who you ask.

Just wanted to offer an alternative view.

But you are correct that changing the screen density has messed you up as far as the market apps. Did you change the LCD density back to 240? 230 is not stock for the Thunderbolt -240 is stock for the Tbolt. Should fix you up.

Also -how are you measuring your data speeds? Did you come from a Froyo radio? And then switch to a Gingerbread radio? Because I read that the buffers on the Froyo radio gave a false (boosted) rating.
[Thunderbolt Q&A, Help & Troubleshooting] Automatik500:
So I forgot to mention that I did installed Gapps originally. Basically, I fixed all of my issues by using the stock CM7 kernal as opposed to the Imoseyon kernal.

I am still running a lower density (200) and have been able to download all apps without a problem (except for Astro File Manager...still says its incompatible.)
[Samsung Epic 4G Touch] Scaplet:
...while on the phone? The screen goes black in a matter of seconds and isn't affected by the general timeout setting. This can be a real PITA while navigating a VRU system.
[Samsung Epic 4G Touch] d12unk13astard:
Have you tried going into settings/display/screen timeout?
[Samsung Epic 4G Touch] Scaplet:
That is the general timeout setting I was referring to, and it doesn't affect screen timeout while on the phone.
[Samsung Epic 4G Touch] d12unk13astard:
That's strange it shouldn't be timing out on you then. Maybe check the settings on the application your using and see if theres a reason it might be shutting off then.

i know when i had the mt4g and even my current G2x the display would turn off while talking on the phone then re-appear anytime i held it away from my head, probaly just the sensor.
[Samsung Epic 4G Touch] CrozB:
Mine does this too.. If I am on a call, the screen turns off rather quickly. I need to be able to toggle the mute during conference calls and it is a real PITA to have to hit the power button first every time.
[Samsung Epic 4G Touch] Scaplet:
Pain in Le Tush!
[Samsung Epic 4G Touch] phatgenius:
This sounds like a really stupid solution but I have experienced the same issue before hand. What I realized was in many cases when I was going to touch the screen my hand was getting close to the sensor on top that shuts off the screen while on a call. You know like when you put it next to your face to ensure that you aren't pushing buttons. Not sure if that is it, but just speaking from personal experience.
[Samsung Epic 4G Touch] djjosh:
Mine does this sometimes , it just did it on this xda app and i know it wasent 30 seconds yet. also sometimes it doesnt lock just comes right back on after i hit the button

Sent from my GS2ET4g
[Samsung Epic 4G Touch] djjosh:
Its just like my lock sceen time , if i go to lock sceen but press nothing it will go black in 5 seconds

Sent from my GS2ET4g
[Samsung Epic 4G Touch] Kn0wBuddy:
This is what I figured out after 20 or so times hitting the power button while on the phone.

The screen automatically comes back on in 1-2 seconds when you pull the phone away from your ear. Once I realized this, I stopped fouling it up by turning the screen off and on again with the power button. It would be nice if this delay could be adjusted, but it seems to work alright as is.
[Samsung Epic 4G Touch] pluigie:
There is nothing wrong worth any of your phones as far as I know it's not adjustable yet.your phone does this while making a call to prevent your face from making a three way call or accidentally hanging up on whoever your talking to. Some one can correct me if I'm wrong but that's what I've heard and read several times and my samsung captivate did the same thing.

If you pull the phone away from your face so that the sensor can pick up the change in ambient light, or what ever it is that it does your screen should come back on shortly.to be honest

I kind of wish it would react faster, but it's still pretty good.
[Samsung Epic 4G Touch] djjosh:
mine does this when not on a call , i think the sensor is only on while talking
[LG Optimus 3D] Rithina:
Hi all,

Did you notice that the address does not do a search on the exchange address book and it only search through your normal contacts?
[LG Optimus 3D] Rithina:
What i meant is the corporate directory from my exchange..this option can be enable in the setting...anyone face the same issue?

V10b and v10k also have this issue :(
[LG Optimus 3D] Rithina:
Got it fixed after i recreate the account. Not sure if that is fixed on v10k or i didn't configure properly in 10b
[Galaxy S II Q&A, Help & Troubleshooting] TrialReg:
Hi Guys, got a Problem.

I've got my S2 now for about 4 Months. Normally the battery holds about one day possibly 2 days with about 4-8 hours of phoning. Now the last week when i began to flash infusion rom with different modems, my phone first day holds the battery about 10 hours, next day 8 hours. I flashed the Criskello Rom tested again, again 8 hours. Then this weekend it holds the battery about 4 hours and while calling, the phone doesn't respond to anything, or sometimes the display keeps on, only holding the power button let's it restart. While charging i'm not able to start the phone, the charging symbol displays but when pushing the power button it restarts only to the battery charging symbol. first after unplugging the charger i'm able to boot. Android OS is 52 Minutes in 3 hours now. But i'm not able to locate where's the problem. every time i flash a new rom i format everything, data, cache, dalvik , system etc..... sometimes when i'll have to restart the phone very often and put the charger into it, it displays my battery with a temperature warning 80-100° C

Today i ordered a new battery while hoping the battery is dead, but really no other idea.....
[Galaxy S II Q&A, Help & Troubleshooting] TrialReg:
and another effect i was wondering is suddenly the display lights up, goes off and then keeps lightening.....
[Galaxy S II Q&A, Help & Troubleshooting] TrialReg:
and what i was wondering is that since this moment the phone doesn't connect to usb. when i put in the usb plug it starts loading but when i remove the plug it keeps loading with having power.....
[Galaxy S II Q&A, Help & Troubleshooting] TrialReg:
No one an answer???
[Galaxy S II Q&A, Help & Troubleshooting] Propergood:
Personally I'd revert to full stock, wiping all and see if it's still acting questionably.. If so, choose your kernel/rom combinations more carefully..

Also I had some battery warning issues when my usb pin got slightly bent, weirdly. Check that out.
[Galaxy S II Q&A, Help & Troubleshooting] TrialReg:
today i wiped nearly everything including emmc sdcard and flashed oxygen and the handy works. but android os is at 5 hours of 2 hours runtime.... so it uses the complete cpu time of both cpus fulltime. now i bought a new akku now the handy works better but android os is at the same....
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
Sorry i fail to understand the problem as posted .

When you flash multiple roms etc you need to recalibrate the battery .

But this looks like a service centre job .

jje