[06 JAN] [FIX] Usb Mass Storage on Gingerbread - HD2 Android NAND Development

After 15 min. of inspecting logs i found fix for USB Mass Storage on Gingerbread builds. They changed some interfaces in volume manager (vold), so i prepared fixed version of vold.
Usage: BACKUP /system/bin/vold
copy fixed vold to /system/bin/
(adb push vold /system/bin )
- also check file permissions after pushing (best to set 777)
if your system is mounted as ro remount it by: mount -o remount,rw /system
EDIT: Forgot to mention to reboot phone after changing vold
USE IT AT YOUR OWN RISK !!!
IF U HAVE SOME PROBLEMS WITH THIS VOLD JUST REPLACE IT WITH BACKUP U MADE (u made backup, right ? )
dan1j3l

Awsome!!
Fantastic... now ill have to learn how to Adb
Thx alot!!!

Thanks a lot !!
I will try it !

can you please release a new versio with all new changes applied to it?

an awesome news... now gingerbread is complete working... ^_^

Good work.Have to change my build to test it. thanks.

Good job. now we got a fully functional Gingerbread build.

Wow.....fantastic!
Now is time to put some coke on Ginger builds!
Thanks Dan.

Dan you my hero!

Good, very good news.

Hvala
Now gingerbread is 100%!

Oh sweet! With this MDJ can release a 100% working Gingerbread rom! Cant wait oh and please kill all the nasty little bugs in the latest roms and itll be the best rom out there!

I have tested successfully, is very good.

Nice one.
Sent from my HTC HD2 using XDA App

tested and it works.

Briljant Dan!
Thnx for the hard work!

dan1j3l said:
After 15 min. of inspecting logs i found fix for USB Mass Storage on Gingerbread builds.
dan1j3l
Click to expand...
Click to collapse
Thanks !!!
This recipient is currently unable to receive money.

A little question, I can't rename or remove the original vold file.
Has it to do with permissions ?

Does all this mean that at some point we may see a Dan1j3l produced nand rom??

Givaro said:
A little question, I can't rename or remove the original vold file.
Has it to do with permissions ?
Click to expand...
Click to collapse
Yes! Make r/o instead of r/w
Sent from my HTC DesireHD2 using XDA app

Related

[rom][sense 2.1] Clean Eris4Hero by Lox

Hi guys,
From now all my work will be on h_t_c_p_e_d_i_a, announcement of new roms or any other work from me will be on h_t_c_p_e_d_i_a.
So to be informed follow that thread.
Regards,
Weather
Have you moved from your island to have 0°C and rain? Going to install it, Sense is bloated so it could be the thinner one. Thanks
flashing
What did you remove from this? What's ''Clean'' considered as?
I gonna follow this one, looks interesting!
so is this rom faster than the other roms? ive noticed a keyboard lag which is really annoying
works quite good i likes it
what is new on this besides the pinching home screen which is quite funky
(wonder if apple are gonna try to sue for that)
shaji007 said:
works quite good i likes it
what is new on this besides the pinching home screen which is quite funky
(wonder if apple are gonna try to sue for that)
Click to expand...
Click to collapse
As it's running 2.1, it means you can install all the latest Google goodies and software that was not compatibl with 1.5. Goggles, maps with buzz , gogole translate with voice etc
Oh, and also - open your home screen with the large clock/weather widget and wait some 5 seconds and see what happens. Took me almost 24 hours of uisng these new roms to notice.
No root
what about mms is it working on this rom???
gps fix take long time from seconds
gps fix take long time from seconds to minutes with eris port roms
BO7AMZA said:
gps fix take long time from seconds to minutes with eris port roms
Click to expand...
Click to collapse
Tray to turn GPS on and reboot phone. Solved te problem for me!
working perfectly. thank you very much
Root programms don't work, but root is in rom. Why root programms don't work?
msio said:
Root programms don't work, but root is in rom. Why root programms don't work?
Click to expand...
Click to collapse
Can anyone confirm this?
BTW ... I love you for your work Lox ;-)
problem with root indeed
MarketEnabler doesn't do it's trick so I can't access my paid apps
the rom is nice and fast at first sight, thanks Lox!
iRobert said:
Can anyone confirm this?
BTW ... I love you for your work Lox ;-)
Click to expand...
Click to collapse
I haven't downloaded this ROM, but the root problem with the initial BeHero (and Villain seeing as that's based on BeHero) was the su file file was in the xbin folder and could not have the correct permissions.
This was resolved by moving it into system/bin and setting the permissions on it there. I did the same for sqlite3 too in my ROM.
I'm guessing (and this is pure speculation) that by trying to clean the ROM Lox has moved the su file back into system/xbin then installed the ROM without formatting his ext partition This would install fine on a Hero that already has root permissions, and maintain its root capabilities, but on one with a wipe the root permissions would disappear.
google earth work ??
TheAshMan said:
I haven't downloaded this ROM, but the root problem with the initial BeHero (and Villain seeing as that's based on BeHero) was the su file file was in the xbin folder and could not have the correct permissions.
This was resolved by moving it into system/bin and setting the permissions on it there.
Click to expand...
Click to collapse
is this something we can do ourselves after flashing it or does it have to be done by the rom cook?
as I don't see remounting happening without root.
Gawis said:
is this something we can do ourselves after flashing it or does it have to be done by the rom cook?
as I don't see remounting happening without root.
Click to expand...
Click to collapse
For the amount of people needing the fix it would be better if the ROM cook provided the fix.
I could modify the ROM for you but I think that would be offensive to Lox so I won't. You could do it yourself using dsxida's kitchen - it's pretty straightforward. Might need some extra (FREE) software on Windows, but works out the box on OSX or Linux.
You'd have to move that file. Find:
set_perm 0 0 06755 SYSTEM:xbin/su in the update-script
replace with
set_perm 0 0 06755 SYSTEM:bin/su
And then cook the ROM again. Job's a good 'un!

[DUMP] System Dump for all who are interested - Desire Z

Here is (Desire Z) System Dump, help working on it.
Hi everyone! Here comes a Desire Z dump
http://www.multiupload.com/5RSGRQFATK
This is NOT a flashable zip file.
It is a file collections for ROM Dev.
This is Dump slimdizzy gave us,
so all
credits for porting it and make it work goes to slimdizzy, thanx man!
He made a dump of the device but would like some help to make sure no personal elements are left since the device was being used as a daily use phone. The dump is about 300MB big. All he did was put busybox into /data/local, chmod it to 755 and then tar'ed the /system directory.
mohamed_moscow said:
Here is (Desire Z) System Dump, help working on it.
Hi everyone! Here comes a Desire Z dump
http://www.multiupload.com/5RSGRQFATK
This is NOT a flashable zip file.
It is a file collections for ROM Dev.
This is Dump slimdizzy gave us,
so all
credits for porting it and make it work goes to slimdizzy, thanx man!
He made a dump of the device but would like some help to make sure no personal elements are left since the device was being used as a daily use phone. The dump is about 300MB big. All he did was put busybox into /data/local, chmod it to 755 and then tar'ed the /system directory.
Click to expand...
Click to collapse
I can't wait for a stable release!! XD
Sent from my Nexus One using XDA App
hey if so how could sonone make a rom from dumps or such??? if able could someone link me or guid me how to customize or links....please...thanks!!!
xghostyxjokerx said:
hey if so how could sonone make a rom from dumps or such??? if able could someone link me or guid me how to customize or links....please...thanks!!!
Click to expand...
Click to collapse
Uhh...well, you'd need to unpack the system directory, place it all in an update zip, write an update script (or updater-script w/ update binary), sign it, and flash it. It will not work on any devices though without some (or a TON) of modification.
Good luck.
cool beans, hope it doesnt run as slow as the hd port did on my droid1
sorry dumb question but is this for the htc evo too
sac23 said:
sorry dumb question but is this for the htc evo too
Click to expand...
Click to collapse
No this is a dump and therfore is just a bunch of files (at least to the average user). Some devs (IncredibleDoes) check out his twitter are working on porting this to the incredible and the evo.
is this watermarked??
Thanks, this is usefull for my upcomming project here in XDA-dev..

[PATCH] DSP Manager for Sense 2.0 5/30

Sense 2.0, NOT 2.1 as of yet
ALL PROPS GO TO exidler for this MOD
So i searched and searched only to find one DSP Manager for Sense that worked for me --> DSP-DHD
It works flawlessly but it uses Amend scripts.
I have managed to use this tool Amend2Edify to convert them to Edify scripts.
They work flawlessly.
I don't use Stereo Bluetooth headsets so I unfortunately am unknown as to whether or not this problem is persistent.
Tested on;
Orange Sense v.1.0
Royal Thunder v1.2
Royal Thunder v.2.0
Stock MySense
All what you do, you doing on own risk, I'm not responsible for any damage!
2.0
Backup libaudioflinger.so and libaudio.so from /system/lib/ before continue
This patch will break dolby and srs features of preinstalled music player
2010.11.29 This patch also breaks working of stereo bluetooth headset, but in in call bluetooth headset works well
I am NOT the developer of this, Just simply sharing my knowledge with all others who's speaker is also messing up.
Anyone else willing to Attempt this, Share your results!
BTW I am also willing to convert other scripts if you'd like.
Thanks.
- Install patch using Recovery
Download DSPManager.zip
Copy it to phones sdcard
Reboot to recovery
Wipe Both Caches and apply this update.
**If you receive a 'Signature Verification Failed' error just disable Signature Check.
- Uninstall manually (using adb) * you must have S-OFF with ENG HBOOT
Connect phone to computer using usb
Open adb shell (run adb shell)
Remount system as read write (run in shell 'mount -o remount,rw /dev/block/mmcblk0p25 /system')
Then you need copy to /system/lib/ on phone backuped files libaudioflinger.so and libaudio.so.
If you backuped it on computer, then locate they and in backup folder run
#adb push libaudio.so /system/lib/
#adb push libaudioflinger.so /system/lib/
if you backuped files on sdcard, then from adb shell run commands
cp libaudio.so /system/lib/
cp libaudioflinger.so /system/lib/
rm /system/app/DSPManager-DHD.apk
then reboot your phone
If this has helped, all that I ask is that you hit the Thanks button here and over Here THE OP.
Thanks alot. I have been waiting on this for a while.
Sent from my HTC Vision using XDA Premium App
Bro NP.
Fastest reply ever BTW. lol
drew posted one that works in my stock rom thread a few days ago, just FYI... but thanks for bringing this over!!!
Dang i had no idea. Thanks for the heads up.
Hope no Flaming starts now. x.x
When I tried on eVIL Virtuous sense 3.0 Rom. It wouldn't load up pass the splash screen.
Sent from my HTC Vision using XDA Premium App
I'm going to look into what I can do to make it work on gingersense.
Sent from my HTC Glacier using XDA App
irrelephant said:
drew posted one that works in my stock rom thread a few days ago, just FYI... but thanks for bringing this over!!!
Click to expand...
Click to collapse
I just wanted to know where can I find this version that drew posted.... I've been looking fit it with no luck.
Sweet, I was thinking of doing something like this, but you beat me to it... AWESOME!
One suggestion, change your thread title to like [Patch] DSP Manager for Sense 2.x etc etc (date)
so it's consistent with other threads and easier to find
Thanks again.
faux123 said:
Sweet, I was thinking of doing something like this, but you beat me to it... AWESOME!
One suggestion, change your thread title to like [Patch] DSP Manager for Sense 2.x etc etc (date)
so it's consistent with other threads and easier to find
Thanks again.
Click to expand...
Click to collapse
Bro. It's Epic to get a thanks from you. LOL
Your welcome.
I'm currently trying to learn a little more on making it functional on ginger sense and other sense based roms.
Updating title now.
Thanks for the input.
bm6788 said:
I just wanted to know where can I find this version that drew posted.... I've been looking fit it with no luck.
Click to expand...
Click to collapse
This one also works with stock ROM - Mysense. Tested myself.
Sent from my HTC Vision using XDA App
doesnt work and im running PANACHE sense. :[
bstylz911 said:
doesnt work and im running PANACHE sense. :[
Click to expand...
Click to collapse
I know. the op states its only for sense 2.0 at the moment.
I'm looking for a way to update the app to make it compatible with 2.1
Sent from my HTC Vision using XDA App

Flyme OS port for HTC One V (GSM) beta

We have experienced so many UI's, like Miui, AOSP, Sense, Touchwiz, etc. but Men always need something new!. Now I bring you the different, the one with nice look, that is Flyme OS. Obviously this is a port of Flyme OS from the Meizu MX (Thanks to Meizu, Cyanogenmod and Lloir), a heavily modified version of Android 4.0.4, the only bugs that i can duplicate is wifi not working! guys can any one help me to fix it?
Base rom: CM9 by Lloir (Thanks Lloir)
Working:
Everything except WIFI
Download link:... http://www.mediafire.com/download/2z270pauld3el01/Flyme_beta.sooraj.zip
Hit like & thanks if you like this!
Happy to try it soon
im looking forward to try this but i really need wifi and i wont be able to help you
but as soon os is up i try it out
iTAZUETA said:
im looking forward to try this but i really need wifi and i wont be able to help you
but as soon os is up i try it out
Click to expand...
Click to collapse
Same here need WiFi
But i really appreciated you the work... I will try it when WiFi is functional
Sent from my One V using xda app-developers app
I'll try when wifi is working (Looks really cool o.o)
I'm surprised. Last time I heard of this, it was full of bugs. Nice work!
Once download it posted, I'll do some testing for WiFi. Recently been having Insomnia, can't sleep. So what else is there to do...
Woww looks cool i also try when wifi works
I love the GUI and I also want to give it a try. But I use wifi all day
WIFI
Im trying out ur OS and trying to get wifi to work and see whats wrong
I might have figured out why ur Wifi Doesnt work
the file giving a hint in ur logcat
Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
it need this file its just an empty file so try adding that and checking again
sorry cant add into the filesystem cause i dont know how to use adb! just try it out and let me know.
iTAZUETA said:
Im trying out ur OS and trying to get wifi to work and see whats wrong
I might have figured out why ur Wifi Doesnt work
the file giving a hint in ur logcat
Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
it need this file its just an empty file so try adding that and checking again
sorry cant add into the filesystem cause i dont know how to use adb! just try it out and let me know.
Click to expand...
Click to collapse
open console
"adb remount"
and then
"adb push folder /data/misc/wifi/ipconfig.txt"
folder is which contains ipconfig.txt file )
maybe you don't have time for that but maybe it can help you )
i'm not developer of rom .but i think problem doesn't causes from ipconfig.txt because file inside of data ..so, for solving problem.it must be contain in system .not in data
) i will try asap and i'll feedback
me to use wifi constants day
will try on wifi works
iTAZUETA said:
Im trying out ur OS and trying to get wifi to work and see whats wrong
I might have figured out why ur Wifi Doesnt work
the file giving a hint in ur logcat
Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
it need this file its just an empty file so try adding that and checking again
sorry cant add into the filesystem cause i dont know how to use adb! just try it out and let me know.
Click to expand...
Click to collapse
That file is in the data partition and os is creating it. still i add it but same..
soorajj said:
That file is in the data partition and os is creating it. still i add it but same..
Click to expand...
Click to collapse
add wpa_client.so in lib folder
add wpa_supplicant.conf in system/etc/wifi
and wpa_cli in system/bin
add wpa_supplicant system/bin
if these files are already ther then take them from cm10 and add them in flyme os once you have copied them in the zip flash it then tell the results flash the latest cm10 hellboy kernel and then logcat when turning on wifi
I know that fixing Wi-Fi is a pain in the *** I am also haing a hard time trying to fix it on cm10.1
the file that you were adding is created by the files these supplicants will config the wifi
Abdullah1997 said:
add wpa_client.so in lib folder
add wpa_supplicant.conf in system/etc/wifi
and wpa_cli in system/bin
add wpa_supplicant system/bin
if these files are already ther then take them from cm10 and add them in flyme os once you have copied them in the zip flash it then tell the results flash the latest cm10 hellboy kernel and then logcat when turning on wifi
I know that fixing Wi-Fi is a pain in the *** I am also haing a hard time trying to fix it on cm10.1
the file that you were adding is created by the files these supplicants will config the wifi
Click to expand...
Click to collapse
Dude his base cm9, cm10 kernel won't even boot. Yes those files should fix it. I'm running cm9 with no probs
So any success there? Dying to try this ROM, but Wi-Fi is needed
@ OP, What device did you port from?
I don't know if it's because I'm CDMA, but I had Phone FC's, Browser FC's, and some other random app from time to time. Also, I couldn't get text messages.
I tried to fix WiFi, but I didn't have time to test and flash back to back. WiFi turned on, off, on, and so on.
Other than that, pretty snappy. Nice Job~
Hi this will work on GSM only not for cdma
Sent from my HTC One using xda app-developers app
I will try to fix over the weekend
Sent from my HTC One using xda app-developers app
soorajj said:
Hi this will work on GSM only not for cdma
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
i think Curiousn00b ported it for cdma
he has done it with other roms too
Just to clear the confusion
ivanrvf said:
Dude his base cm9, cm10 kernel won't even boot. Yes those files should fix it. I'm running cm9 with no probs
Click to expand...
Click to collapse
Srry was talking to someone abt cm10 so got mistaken
Wow, this ROM looks great! Will there ever be a port for CDMA? We need something new over there!

[Easy Tool] For developers and rom cokers

Hi, here is tool for making flashable zip in few commands! No need root! In few commands your rom is ready for sharing or flashing with CMW ! You can dump any rom! NOTE: all your rom changes which is in your phone will be included in rom.zip (for example busybox, su...etc)! Tool will be usefull for dumping next Sony stock rom, but allso all rom is supported! Enjoy!
For no rooted devices:
adb push romgen /data/local/tmp/
adb shell
cd /data/local/tmp
chmod 755 romgen
Code:
./romgen C6903 honami /dev/block/platform/msm_sdcc.1/by-name/system /dev/block/platform/msm_sdcc.1/byname/userdata /dev/block/platform/msm_sdcc.1/by-name/cache [COLOR="Red"]/dev/null[/COLOR] /storage/removable/sdcard1/rom.zip
/dev/null must be used as a boot partition since no rooted devices have no access to these device!
For rooted devices:
adb push romgen /data/local/tmp/
adb shell
su
cd /data/local/tmp
chmod 755 romgen
Code:
./romgen C6903 honami /dev/block/platform/msm_sdcc.1/by-name/system /dev/block/platform/msm_sdcc.1/byname/userdata /dev/block/platform/msm_sdcc.1/by-name/cache [COLOR="Red"]/dev/block/platform/msm_sdcc.1/by-name/boot[/COLOR] /storage/removable/sdcard1/rom.zip
Download tool:
http://forum.xda-developers.com/showthread.php?t=2533585
munjeni said:
Hi, here is tool for making flashable zip
Click to expand...
Click to collapse
is it stable already?
I mean the Meta-INF generated completely?
thanks gonna try this if the tool complete
nelikp said:
is it stable already?
I mean the Meta-INF generated completely?
thanks gonna try this if the tool complete
Click to expand...
Click to collapse
Yesterday I noticed bug There is bug when folder is empty or when symlink is inside folder but there no other files! So when tool generate zip these folder is missing in zip but updater-script have line "set perm to folder" which not exist, so installation aborting because a missing folder Will try to solve them soon! Do not flash generated zip since you will get boot loop (you can only if you add missing folders to zip)! I will make new version soon, hope clean!
New version is out! Hope all bugs solved! Bug is solved by creating empty file .placeholder to all existing folders so zip for sure now have all mised folders, than placeholders is auto removed at finish of the installation
I am hope eerything is right now, but I will test and let you know if generated zip is installable with sucess!
New working version finaly, sorry! Now I tested tool and found another 2 bugs, first one was "zip fail to store file which contain special characters like *()...etc", and seccond one was wrong format of the permssions in updater-scrip. Now all things is solved, I have tested tool, tried to install generated zip, installed zip, and bum. Everything is ok now, enjoy!
Hi mate...nice to see you here
If I'm correct, you have some great work and kernels in your biography
Sent from my C6903 using Tapatalk
funky0308 said:
Hi mate...nice to see you here
If I'm correct, you have some great work and kernels in your biography
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
No space left in my signature :laugh: One oftopic question, anyone have info when Sony will anounce 4.4.2 ?
munjeni said:
No space left in my signature :laugh: One oftopic question, anyone have info when Sony will anounce 4.4.2 ?
Click to expand...
Click to collapse
Yeah...I'm using Tapatalk so can't see...but, as I said, I know who you are and we will be very happy if you join Z1 development :thumbup:
It should be out (most likely) in a first few days on april (let just hope it won't be first April and we.won't be April's fools )
Some of Z2 apk files are already out and if that guy who already post few things managed to post Z2 system dump - we could have something even earlier
Sent from my C6903 using Tapatalk
I am allready in development on Z1 Compact but curently I have problem in semc_colorizable (going to start working in MIUI), so first of all I need to solve all things related to the recompiling framework-res and full removal of the semc_generic_uxp... by now have no luck Did you have luck on framework-res on Z1 using apktool ? I have managed to recompile/compile them by now, but boot loop on colorizable things since my modificaions on framework / framework-res is not complete .
munjeni said:
I am allready in development on Z1 Compact but curently I have problem in semc_colorizable (going to start working in MIUI), so first of all I need to solve all things related to the recompiling framework-res and full removal of the semc_generic_uxp... by now have no luck Did you have luck on framework-res on Z1 using apktool ? I have managed to recompile/compile them by now, but boot loop on colorizable things since my modificaions on framework / framework-res is not complete .
Click to expand...
Click to collapse
@munjeni bro, you can try out the Advanced APKtool by @BDFreak bro for the framework-res issues. It's compatible with z1 Compact.
http://forum.xda-developers.com/showthread.php?t=2639400
@munjeni, nice tool, but I need help. I get this error in CWM log every time I try to install my zip; "l:Can't partition non mmcblk device: /devices/msm_sdcc.2/mmc_host
What do I need to do to the updater script? I tried replacing the mount system bit with;
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
but I had no luck.
Probably you pased bad command to the romgen since you say /devices/msm_sdcc.2/mmc_host !!! Double check first post before you going to generate zip! Or probably you using an bad cwm which have bad fstab! If no of these 2 simptoms is true than for sure you have modified updater-script by your own way which probably is not ok! Hope this help.
munjeni said:
Probably you pased bad command to the romgen since you say /devices/msm_sdcc.2/mmc_host !!! Double check first post before you going to generate zip! Or probably you using an bad cwm which have bad fstab! If no of these 2 simptoms is true than for sure you have modified updater-script by your own way which probably is not ok! Hope this help.
Click to expand...
Click to collapse
Okay so it's the bad fstab, thanks man
Can anyone make rom for my karbon a39 HD

Categories

Resources