yashsingh1/xdaforums huggingface dataset:
[Nexus One Q&A, Help & Troubleshooting] d1mbu1b:
yet another hboot Question...

I am attempting to patch HBOOT in RAM from the kernel.

According to TJworld:

http://tjworld.net/wiki/Android/HTC/Vision/BootProcess

HBOOT is copied from mmcblk0p18 to memory at 0x8d000000 (HBOOT_BASE)

The legacy android bootloader first relocates to #0

http://android.git.kernel.org/?p=pl...48ead688c53818c46a4e012e206dc28c45b17;hb=HEAD

and sets the PC reg to #0

Theory: If HBOOT can jump to the kernel then the kernel should be able to jump right back to HBOOT.

For A quick proof of concept I simply want to do the following:

1) enter the kernel

2) modify HBOOT_BASE + 0x204 (the location of the 35.0017 version string.)

3) Then set the PC reg. to HBOOT_BASE and see the new version number.

problem is :

1) Don't know how long HBOOT hangs around in memory

2) Don't know where HBOOT memory base really is from the perspective of the kernel.

3) Don't know if I need to wipe any registers or disable IRQs etc prior to resetting the PC register to HBOOT_BASE

Long term goal is to be able to USB fastboot a custom kernel that relocates a custom U-BOOT over HBOOT on Nexus One without flashing HBOOT and bricking my phone.

Any pointers will be greatly appreciated.
[Sony Ericsson XPERIA X10 Mini] tekken179:
Thread closed!

Eyama has released this mod

http://xdaforums.com/showthread.php?t=1234988
[Sony Ericsson XPERIA X10 Mini] Eyama:
i allready started this but allways forget to finish :) i will take time and make it flashable;)
[Sony Ericsson XPERIA X10 Mini] tekken179:
oooo you are a beauty ;) hehe i really did attempt it so i'm not being lazy but for some strange reason i can't remember when rezipping what to put back in and what not to put back in , and my xml editor is being a ***** full of NULLS and general fails lol =\
[Sony Ericsson XPERIA X10 Mini] tekken179:
p.s. i'm attatching my Systemui.apk it's from V007 most stable and suitable for me IMHO care to help? :P
[Sony Ericsson XPERIA X10 Mini] Eyama:
so you are still on v 007 or what?

if yes i will do for v007 and for v010 ;)
[Sony Ericsson XPERIA X10 Mini] tekken179:
yea i'm still on V007 for now :D just too comfortable with it i guess also do you have a link for V007 i like to keep the zips of all the different roms i have used.
[Sony Ericsson XPERIA X10 Mini] Eyama:
ok i will make for both version;) i think i have complete zip of 007 but i need to fint it hehe odervise you allready attached what i need for v007;)

EDIT: now i need to sleep and tomorow i will make centered clock and date ;)
[Sony Ericsson XPERIA X10 Mini] tekken179:
Good stuff :)
[Sony Ericsson XPERIA X10 Mini] bugoink2:
wow!!! very nice!! hope to have this on mini pro
[Sony Ericsson XPERIA X10 Mini] Eyama:
i'm close guys and i need complete modify to our screen ;) so i till take some more time;)
[Sony Ericsson XPERIA X10 Mini] tekken179:
kk that's great i can test it no problem for V007 although i doubt theres many out there on v007 anymore :P
[Sony Ericsson XPERIA X10 Mini] faiyyaz:
can u get it working for Gintonic.SE by slade ?? thanx :)
[Sony Ericsson XPERIA X10 Mini] Eyama:
Progress:

Clock - center

Date - center

To do:

Get signal and battery on right site for now is left of centered clock.
[Sony Ericsson XPERIA X10 Mini] tekken179:
Awesome Eyama i think you should start a new thread adding various features and mods for GingerDX roms! :), i would be on v10 if multi touch and the new market was still there and unlocked :P
[Sony Ericsson XPERIA X10 Mini] ruifung:
It is still there, just D4 just loves writing apps, a app just to load modules.... at any rate, just download the modules.zip and place the load commands in your hw_config.sh or you could just use his moduleloader app, I use a script in init.d)
[Sony Ericsson XPERIA X10 Mini] mrworldwide092:
eyma which tool did you use to decompile apk

i used apk manager but it end up in an error:(

im using gdx(mini not pro)
[Sony Ericsson XPERIA X10 Mini] Eyama:
Apk maneger 4.9 and in option 19 i chose 0, option 20 i chose 512.

Than in map other i have framework-res.apk of rom and runned in cmd ( apktool.jar if framework-res.apk ) and i have no error with decompiling and compiling ;)
[Sony Ericsson XPERIA X10 Mini] tekken179:
@Eyama hope this doesn't piss you off although if you haven't it's saved you time :) , I am now also running V10 , V7 is gone and forgotten about :) so no need to do it for v007 ty.
[Sony Ericsson XPERIA X10 Mini] Eyama:
No problem;) i'm still having problems with battery and signal position it wont get on the right site:/ i allways get it on left:/ so i didn do it for any version ;)
[Sony Ericsson XPERIA X10 Mini] mrworldwide092:
Eyama i did the same as you said,but i got error while compiling(after editing xml)

heres my log(i use win7)

plz help me im new to this..
[Sony Ericsson XPERIA X10 Mini] drsood:
Eyama, how do u guys do the testing and stuff?? i mean whenever u edit framework or systemui, do u test it on an emulator or directly port it on the mobile??
[Sony Ericsson XPERIA X10 Mini] Eyama:
well if i made changes on any apk like framework and systemUI i pushed it to my phone and test it. so everything is runing on phone no virtual test;)

@lijinc

your problem is, that you changed png's that's whay you have this error the best way is to just open singed apk (systemUI) with 7zip and copy png's into;)
[Sony Ericsson XPERIA X10 Mini] Eyama:
Sorry for Double post ;)

Well i got it everything is prefect;)

Clocck - center (i made litle bit larger clock for better view)

Date - center

Battery and signal icons - left

notification icond - right

now i will try to make bigger icons for battery and signal ;)
[Sony Ericsson XPERIA X10 Mini] mrworldwide092:
thanks dr it worked ,,i first deleted drawable-mdpi dir from the orginal SystemUI.apk , decompiled it,edited statusbar and compiled it
[Sony Ericsson XPERIA X10 Mini] Eyama:
nice that i can help;) maybe you could than make centered clock and date for mini phones (not mini pro) ;)

but you need to wait till i posted it hehe ;)
[Sony Ericsson XPERIA X10 Mini] mrworldwide092:
yeah i will try,,any way i hav my xamz on monday:confused:
[Sony Ericsson XPERIA X10 Mini] tekken179:
Eyama could you post the systemUI.apk so i can see it as it is, i want to see it's response when you apply different themes via theme chooser.
[Sony Ericsson XPERIA X10 Mini] Eyama:
i will send it to you via PM beacuse i will make new thread for this mod;)

and yes it response to other themes but in some themes clock and date will covering and for that wee need to add one png for staus backgraund ;) but this happend if theme have transparent statusbar ;)

EDIT: do you want flashable or will you change it manualy?
[Sony Ericsson XPERIA X10 Mini] tekken179:
Manually faster imo but either is good :-)
[Sony Ericsson XPERIA X10 Mini] Eyama:
sending to PM flashable beacuse i uploaded it allready ;)
[Android Q&A, Help & Troubleshooting] Adramedus:
I have htc phone desire and what games you could recommend me ?
[Android Q&A, Help & Troubleshooting] thronnos:
Star Legends, Pocket Empires, ZDefense, Grave Defense HD, the Storm8 games... Some are free, some cost money but have a free version... They are the ones I play and i love them

Sent from my HTC EVO shift 4G running the latest and greatest cyanogen using the XDA premium app
[Android Q&A, Help & Troubleshooting] dan.dobrescu:
and don't forget the Angry Birds series and Alchemy.. there's Paper Toss which is nice too..
[Android Q&A, Help & Troubleshooting] kyle77680:
hum.... I don't know if it works very well on the desire but "GunBros" is free and very good :)
[Android Q&A, Help & Troubleshooting] Theonew:
The Desire has a 1ghz processor so it should have no problem running this.
[Android Q&A, Help & Troubleshooting] Theonew:
More games: Asphalt 5 and/or 6, Modern Combat Sandstorm and/or Black Pegasus, Dungeon Defenders, Dungeon hunter 1 & 2, Gangstar Miami Vindication/West Coast Hustle, Backstab, N.O.V.A, N.O.V.A 2, Raging Thunder 2, Dead Space, PES 2011.
[Android Q&A, Help & Troubleshooting] Att.Fan1982:
Is there any guide or tips on modern combat: black pegasus? I'm stuck on the second mission.
[Android Software Development] poetter747:
Hi there,

I started scripting an app that synchronizes app data between devices. I wrote my first try in python for android, but it lags support for requesting root rights. I wasn't able to do this request nether within python, nor with any shell wrappers. As a workaround I'm calling shell command lines via su. As these alter frequently, I'm always asked to permit root requests. Tries to do this within python end up with messages that libpython2.6.so could not be found. This is related to the fact, that LD_LIBRARY_PATH and some other environment variables are not set.

Is it possible to set these variables permanently within the system?

Is there a better way to run a python script as root?

Would it be easier to archive this in Java? If so, what would be a good starting point for reading?

As a first step i would like to run the script from tasker. Later may be as a standalone apk.

Any advice is appreciated.
[T-Mobile LG G2x] coocookuhchoo:
Am I the only one who has still not gotten the OTA? I called a service rep and he said the rollout doesn't end until August 31, so they can't do anything until it officially ends. Has anyone had any luck getting them to push to update out to them?
[T-Mobile LG G2x] alias503:
This is a cluster @?!#. TMobile nor LG has any clue as to what's going on. Before I updated I talked a Rep. They said use LG updater...I believe they pulled the ota due to it bricking devices. Look in the dev section. There is some posts that cover some of this. Imo the only thing good out of the update was the baseband.
[T-Mobile LG G2x] phburks:
According to T-Mobile support website the OTA is completed as of August 10 and you have to use the LG updater. I used it with no issues.

https://t-mobile.jive-mobile.com:443/#jive-document?content=/api/core/v1/documents/2362
[T-Mobile LG G2x] coocookuhchoo:
Thanks. I've been weary of using the lg updater because of all the phone-bricking horror stories, but I guess I'll have to give it a shot.
[T-Mobile LG G2x] alias503:
Thank you Ph. I was fishing for that link to post.

I did the updater on 3 phones no issues. If your rooted you will lose it. Don't remember about cwm. But nvflash will work. Look for xboarders stock total and flash it if you need root. Folow the instructions...any questions please ask.
[T-Mobile LG G2x] phburks:
Yea just make sure to follow the instructions on LG's site for updating. Especially make sure you download and install the drivers they have posted. And while the updater is running don't get impatient and unplug anything. Just let it do it's thing until its done.
[T-Mobile LG G2x] phburks:
Yea the update overwrites cwm recovery and you lose root. After the update just reflash cwm and then flash your rom of choice.
[T-Mobile LG G2x] ZiZi_G2X:
I talked to a Tmo rep on August 12th, as soon as I found out they ended the roll out. The rep told me to use the LG updater also (which I did without a hitch), but he told me that if I wanted it OTA he would put my IMEI on a list which consisted of phones that will eventually get the roll out. He told me it was up to Google to send them out from here on out and that it could take months for them to send it out. I don't know if he was talking out of his ass, or just pushing me towards the LG updater, I'm just sayin'..
[T-Mobile LG G2x] player911:
Google has no part in our update process.

Asus Transformer 3.2 pwnd

www.MiiWiiChat.com

www.SnapSiteAdmins.com
[T-Mobile LG G2x] alias503:
I am starting to think that tmo is getting a "short timer" attitude. The hold time is getting longer, reps seem to not really care any more. And all of the post that have filled this forum about call made to customer service. The hole pointing fingers at LG and Google about who is responsible for up dates. I use to love tmo but I really believe it is turnning into at&t.

Any how coocoo how did your update turn out? Any one else have questions?
[T-Mobile LG G2x] Tattooed5150:
I also used the LG updater with no problem. Like Ph said, be patient and don't unplug anything until it's done doing its thing.
[T-Mobile LG G2x] Joe333x:
I still havent updated because im very happy with how my froyo rom is set up. I would like the new baseband though. If i use the lg updater and then re-root and restore my rom will the baseband stick? I know that doing a nandroid also backs up the baseband or it did with the G1 atleast. Also is the new baseband worth it?
[T-Mobile LG G2x] phburks:
Flashing and backing up and restoring roms won't touch your baseband so nothing to worry about there. As for updating and "re-rooting" the update will restore stock recovery so after updating you need to reflash clockworkmod recovery using the nvflash tool. Then you either restore one of your backups or flash a rom, even flash back to froyo. The baseband will stay updated. If you want stock 2.3.3 but rooted then there is a rooted version in the dev section. The stock 2.3.3 update can't be rooted with superoneclick.
[T-Mobile LG G2x] sarni84:
Yea man its simple u could do what Ph said, if u like ur froyo rom that much just back it up, then flash stock recovery back on, I didn't unroot the update will overrite that, then update, so like I said make a nandroid, then flash stock recovery with tgagunmans one click flasher (super easy) don't worry about unrooting its how I did it basically u really just need the stock recovery image people weren't doing that and getting bricks, now Ph said he did it without touching recovery but just to be safe flash back to stock, so after that just update then after the update restore ur froyo backup and bamm!!! U will have new baseband and root again just like that whole process takes 15 minutes, the baseband stays on ur phone it cannot be erased nor flashed unless using lg update so once u have it ur golden;)
[T-Mobile LG G2x] penninajx:
dude you are one the most helpful ppl on this forum and i really appreciate it. i hate the phillies but i may make an exception for you. thanks again for that help right there, will be doing this tonight :)
[T-Mobile LG G2x] vapor311:
The ota update being stopped is a lie. My friend bought his 4 days ago from radio shack. It was on 2.2 over night he got the 2.3 ota.
[T-Mobile LG G2x] Joe333x:
Did a factory data reset with cwm then restored stock recovery. Updated with lg updater, flashed cwm recovery restored my nandroid of my froyo rom and booted up. Now i have my same rom with the new baseband. Thanks guys. The last phone i had rooted was a G1 and flashing nandroids could also restore the radio so i figured the same would happen with the G2x.
[HTC Inspire 4G] HTCinspiration:
sorry guys but i made an "uh oh" and need help please! i had Virtuous Unity 1.31.0 & was attempting to flash the beta version. i had blue magic theme on my rom as well. Here are the exact steps i took: downloaded rom, put phone in clockwork recovery, wiped dalvik, wiped cache, wiped data, mounted system, flashed the zip & rebooted. Now i'm looped in the "blue magic" boot animation. what'd i do wrong & can it be fixed. i backed everything up too. i can get it into HBOOT screen by pressing power & down on volume key but am not able to scroll to any of the options. after a cple seconds it automatically selects HBOOT & asks if i want to install update from sd? i assume it's the gingrbread update but i've selected "no" every time so i could talk to someone first. right noe i'm on a publis cpu & it won't allow me to access the phone internals. i need admin passcode. i haven't messed much with playing with my phone thru a cpu so i'm not quite sure i'm even doing it right. sorry for my cpu lack of knowledge but i've adapted to android pretty well. Help please & thank u in advance
[HTC Inspire 4G] Pirateghost:
problem is that you have a PD98IMG.zip file on your sdcard....

pull the sdcard, boot into HBOOT, select recovery, then pop in the sdcard when you get to recovery
[HTC Inspire 4G] homeslice976:
Yup. If you happen to have a PD98IMG.zip on your SD, bootloader will try to flash it everytime and you won't be able to access Recovery. Either pull the SD card until after you've selected Recovery like pirateghost suggested, or find a card reader/other device to read your card to delete PD98IMG.zip
[HTC Inspire 4G] HTCinspiration:
Ok sweet. That got me back to clockwork, slipped the card back in once in recovery, clicked reboot and it still looped. It did say I had that file so I'm guessing I have to find a card reader and delete the file maually now or did I do something wrong?
[HTC Inspire 4G] HTCinspiration:
Thanks so much for ur reply and it looks like I'm going to have to find a card reader and do it manually cuz it still loops. Thank u so much!
[HTC Inspire 4G] rayford85:
Just go in recovery rewipe and flash the beta rom only no themes yet let it reboot it should load right up I think the theme messed you up the bata rom is based I'm 2.3.4 so 2.3.3 themes wont work

sent from my unity loaded inspire 4G
[HTC Inspire 4G] HTCinspiration:
Ok, did all that but Noticed before I rebooted that at the bottom where it shows the processes it's going thru, it says installation aborted. Says E:Can't open/Sd card/ download etc...2.33.0 BETA.zip....(bad). Do I still reboot or attempt to flash again?
[HTC Inspire 4G] Wolf:
Try going into mounts option in recovery and mount the external sd card.
[HTC Inspire 4G] HTCinspiration:
Not giving option to mount. Only unmount so I guess I unmount and try to remount?
[HTC Inspire 4G] Wolf:
Try that and see if it works.
[HTC Inspire 4G] HTCinspiration:
Aborted again. I'm getting worried friend
[HTC Inspire 4G] HTCinspiration:
Still aborted. I'm getting worried friend
[HTC Inspire 4G] Wolf:
Don't worry. It will work out fine. Let me check something and I will reply momentarily.
[HTC Inspire 4G] HTCinspiration:
Thank u so much for helping. I'm wishing I could pay u at this point
[HTC Inspire 4G] Wolf:
Don't worry. Turn off phone. Check to make sure sd card is properly inserted. Power phone back up and boot into recovery. Select install zip and see if you are able to view your files.
[HTC Inspire 4G] HTCinspiration:
Well I can go to install the zip but still aborts
[HTC Inspire 4G] Wolf:
Try going to backup and restore and select restore. Select the backup you said you made and try restoring to your backup. You may have a bad download of the beta rom. Let me know if you can restore. Wipe first.
[HTC Inspire 4G] HTCinspiration:
What happens If I scroll down to that PD98IMG.zip u were talkin bout. I see it on the zip file list...
[HTC Inspire 4G] Wolf:
You don't want to use that. That type of file can only be used in Hboot. It seems like you can see what is on your sd card so it is mounted. The rom file you were trying to flash may be corrupted. Unless you can get another rom on your sd card I would say restore to your backup until you can get another rom on your card and also delete that PD98IMG file.
[HTC Inspire 4G] P00t:
if it says corrupted that means that your ROM file is corrupted or didnt fully downloaded.

1.Turn Off Phone

2.Take out SD Card

3.Vol+Power to Hboot

4.You will be at recovery mode.

5.Insert Sd Card back in

6.go to Mount

7.Mount your SD CARD(make sure USB is plugged in the computer)

8.Wait a little, your computer will have pop-up, if not go to My computer and click on your Sd Card.

9.Drag in a new fully downloaded rom into it.

10.Unmount the Sd Card

11.Happy Flashing!

sorry if this does not work, tried my best to help. This worked on me, so It should work for you as well.

another method is, if you got a Card Reader(micro chip goes in side a big chip) then put your ROM in their and delete the PD19 blah file, and skip steps 6 to 10
[HTC Inspire 4G] Wolf:
Unfortunately I believe he is on a public computer and it will not let him access his phone internals. He is stuck unless he can download a rom and get it onto his card somehow. You are not out of luck though. You either have to flash your backup rom that you saved or get another rom on to your card. (I have to go and eat something right now but I will return shortly. Don't worry, I will be back to check on you.)
[HTC Inspire 4G] HTCinspiration:
Wheeeeeew!! It's fully restored BUT it's the backup I did before I installed a theme so it's only the rom. I wanna try again but I'm real gun shy now. That scared me. Thank u so so so sooooo much for ur help. Without u I'd still have a dead phone
[HTC Inspire 4G] P00t:
congrats! dont make the same mistake again!
[HTC Inspire 4G] Wolf:
Yes, definitely don't make the same mistake again. If you are going to flash the beta then there are no compatible mods for it yet since it is using a different base. Be careful and always check to make sure it will work with that version of the rom. Also check MD5 sums on your downloads. It may prevent a future headache like this one. Great to hear you are back up and running. GO BEARS!
[HTC Inspire 4G] HTCinspiration:
U rock dude, so can ya tell me how that file got there in the first place? Even after the scare I'm already itching for the beta but still scared to try it...ugh
[HTC Inspire 4G] HTCinspiration:
Sorry to sound stupid, but MD5 sums?
[HTC Inspire 4G] HTCinspiration:
Hmmm, just noticed now I'm on my premium app I can't "thank u" . Just noticing that
[HTC Inspire 4G] Wolf:
First, if you look at the downloads for roms, radios, etc., they will provide and MD5 checksum. That long string of numbers and letters is like a fingerprint for that file. You should always compare the MD5 sum with the file you downloaded. If the numbers match then the integrity of the file is good. If they don't match then you have a bad download. Download it again. You can use the program I attached as an easy way to check the file's integrity. Just copy the whole MD5 string and paste it into the box of the program then browse for and select your downloaded file and it will compare them for you. If you can't use this Windows program then you can also compare MD5 sums by using an android file explorer like ES File Explorer.

As far as that PD98IMG file goes, did you use bubby's root method? It probably is a leftover from that process. Delete it.

GO BEARS!
[HTC Inspire 4G] Tx Redneck:
App to check the md5 hash.

https://market.android.com/details?id=net.droidcore.mand5
[HTC Inspire 4G] HTCinspiration:
I don't know why ur helping me so much but I can't even begin to explain my appreciation to u! So now if I get gutsy enough to try to find a beta download & flash it again I still have to wipe dalvik, cache part, & data in order to still receive support from the developers, correct?
[HTC Inspire 4G] Wolf:
You needed help, so you got help from a bunch of people. I just happened to see your thread when I did and thought I would check out what was going on. No Problem. Glad it is working. You can try to flash the VU beta, but wipe cache, dalvik cache, and do data/factory restore wipe. Do not flash any other mods for the beta unless you read that they were specifically created for the beta version of the rom. Different base requires the mods to be redone again for that particular base. Mods are not supported so if you try a mod and it screws up, then you are on your phone. I would wait for the rom to come out of beta status and then people will work on mods for that version.

GO BEARS!
[HTC Inspire 4G] Youngunn2008:
I had that error flashing once when I mounted system. Unmounted system and reflashed. And all was good.
[HTC Inspire 4G] HTCinspiration:
So when I went to the file in file explorer it said my zip was bad so I guess I'll find another link & try again. Would the source I got the zip from have been bad somehow? And did I mess up my mounting the system before I flashed? (sorry to take up so much of your time)
[HTC Inspire 4G] Youngunn2008:
Could've been a bad download... trying again and always check the md5 sum.
[HTC Inspire 4G] Wolf:
More than likely it was a bad download and the file was corrupted. (Always check MD5 sums.) There should only be one source for the VU beta.

So here you go for the download:

http://www.multiupload.com/HHIAJJQPJO

MD5SUM: e21abb185f4473a259d8972024ed0615