SystemUI.apk
/smali/com/android/systemui/statusbar/MinitSettingsUI.smali
里面有个方法叫
.method public static LoadSettings(Landroid/content/Context;)V
SystemUI.apk
/smali/com/android/systemui/statusbar/MinitSettingsUI.smali
里面有个方法叫
.method public static LoadSettings(Landroid/content/Context;)V
英文原文来自:http://forum.xda-developers.com/showthread.php?t=2617552
本人对翻译成果保留版权。
翻译待办
=====================================================
需要的东西:
———————————————————–
第1步: 修改 SystemUI.apk
<string name="quickpanel_flashlight_text">Flashlight</string>
Look for these names and write down the ids for each (make sure you write down the name WITH the id) tw_quick_panel_icon_flashlight_off tw_quick_panel_icon_flashlight_on quickpanel_flashlight_text
# text id const v3, 0x0 # on image id const v4, 0x0 # off off id const v5, 0x0
These lines reference the resource ids for the flashlight toggle text, on image, and off image respectively. Use the comments indicating which is which and replace the ids that are currently there with the ids that you wrote down above.
附件1:flashlight_files
——————————————————————-
Step 2: 修改 SecSettings.apk
iget-object v0, p0, Lcom/android/settings/NotificationPanelMenu;->mConvertPanelItemstring:Ljava/util/HashMap; const-string v1, "Flashlight" const-string v2, "notification_panel_flashlight" invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; AND iget-object v0, p0, Lcom/android/settings/NotificationPanelMenu;->mConvertPanelItemstring:Ljava/util/HashMap; const-string v1, "notification_panel_flashlight" const-string v2, "Flashlight" invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
If the 8 lines above are not anywhere in the
makeConvertPanelName
method, then add them to the end of the method before the
return-void
<string name="notification_panel_flashlight">Flashlight</string>
下面是最后一步,将修改好的 SecSettings.apk, SystemUI.apk 和 来自附件中的Torch.apk 一并加入 /system/app 文件夹下!
恭喜大功告成
感谢:
Samsung for the AT&T base code this was pulled from!
Rompnit for finding the at&t code and the first part of the mod!
Google for the wonderful logcat tool built into Android that allowed me to figure out the second part of the mod!!
英文原文来自http://forum.xda-developers.com/showthread.php?t=2349440
If my translation/port infringes your copyright or something alike, please contact me and I will remove this post immediately.
===========================================================
此方法也适用于移植至国际版S4(I9505)。
1. 下载 Omega Rom http://forum.xda-developers.com/show….php?t=2253528
需要后续步骤使用 Notepad++
2. 打开ROM(.zip文件),在build.prop最后加入如下一行 (system/build.prop)
# Use CDMALTE Phone
telephony.lteOnCdmaDevice=1
^以上一(二)行能够让CDMA/LTE工作.
3. 刷写修改好的ROM,必要时刷写适用于自己机型的固件.
4. Enjoy
查看旧版本下载地址及信息请至: http://blog.dayandcarrot.net/?p=846
转载本人汉化版请注明来自http://blog.dayandcarrot.net/?p=1070
感谢XDA上的原作者:http://forum.xda-developers.com/showthread.php?t=2512983
欢迎加我微博weibo.com/0×00000/
关于3minit Setting,可以参考这个中文翻译:http://blog.dayandcarrot.net/?p=992
==========================================
感谢 C网ID ZZZZXXXX
老大我又来了,这次带来了 3minit settings s4 0.5版最新版的完美汉化直装版。汉化程序达到100%,使用正常,欢迎大家测试使用!如果需要转发请注明QQ49035990 C网ID:ZZZZXXXX 下载地址:http://pan.baidu.com/s/1eQeLyts
==========================================
(idailylife)版本更新历史
==========================================
20140211
==========================================
20140131
==========================================
==========================================
(Sacs)版本更新历史
==========================================
v5.6 changelog
-removed bloat again if u need any of the bloat please take it out of v5.5 删除5.5版中一些无用的东西
-added 4.4 lockscreen weather 增加4.4锁屏天气插件
-added 4.4 fonts 增加4.4字体
-used stock phone apk added note 3 incoming notifications in settings 使用官方的phone.apk程序,设置中增加note3来电提醒
-added custom settings in phone apk 在phone.apk程序中增加自定义设置(貌似是通话录音的)
-cleaned up settings.apk 清理Settings.apk
-fixed data issues 修复数据连接问题
-cleaned up build prop 清理build.prop
-added one more clock widget 增加一个附加的时钟插件(本地化版本中已删去)
-added more options in mms.apk mms.apk中增加附加选项
-added new updated 3minit 升级3minit设置
-removed all permissions from lidroid 删除力卓的权限设置
-fixed loud sound moderate sound in aroma 修复Aroma音量增强选项
-and more ill put up later
==========================================
5.3/5.4 change log
fixed pretty much everything that was broken 修复之前版本中损坏的项目
kept note 3 settings but added missing settings 保留Note3的设置程序,但增加了丢失的一些设定
added new 3minit framework 增加新的3minit框架
added new sound app and check out what happens when u plug earphones in thanks Rizal Lovins 新的声音程序
added fixed multiview 修复多窗口
added modified framework-res for speed and disabled warnings 修改框架提速,禁用音量过大提醒
added note3 keyboard with auto correct fixed 增加Note3的输入法,修复自动单词修正
Added safety assurance 增加“安全保固”
Added security settings 增加安全设置
Added Google backup for pics 增加谷歌图标备份
added enterprise support let me know if it works 增加企业支持
added htc sense theme in aroma thanks cerj for getting this to work for us and thanks sbreen AROMA中增加HTC主题支持
enabled all wifi settings in advance 启用所有进阶WIFI设置
Enable PRL Write & Remove ##DEBUG# lock code promp thanks digiblur 支持PRL读写
readded lidroid removed telocommunications 重新加入力卓设置
fixed all settings 修复所有设置项
added new sound apk 加入新的声音程序
fixed lidroid phone fc and lidroid settings 修复力卓电话FC问题以及力卓设置
==========================================
一些截图
==========================================
==========================================
v5.6 http://pan.baidu.com/s/1ntBHpuL
v5.5ultra http://pan.baidu.com/s/1c0ve42O
v5.4 http://pan.baidu.com/s/1ntBaXHB
==========================================
本文转载自:http://forum.xda-developers.com/showthread.php?t=2338919
==================================================
Finally a way to flash modems/firmwares without needing to take the OTA!! This means no losing Root, no losing Recovery, no data wipe, just strictly updating the Firmware!!
This is FIRMWARE ONLY, not any data or system files, this will not put your device up to the latest ROM or add any features like samsung/sprint list out in their update releases. This is ONLY the firmware bits. (Modem, NON-HLOS, bootloader, sbl2, sbl3, tz, etc.)
这是固件文件,而并非任何data或系统文件,这会不会把你的设备升级至最新的ROM,这仅仅是Modem以及其他一些引导文件(不含bootloader的升级)。 (调制解调器,NANHLOS,引导程序,SBL2,SBL3,TZ等)
The firmwares are listed in the second post.
What you need需要什么:
Here is the procedure下面详述过程:
MK2 Firmware – Download Link (Firmware Only – No KNOX BootLoader)
MK2 Mirror 1 – Download Link (Firmware Only – No KNOX BootLoader)
MJA Firmware – Download Link (Firmware Only – No KNOX BootLoader)
MJA Mirror 1 – Download Link (Firmware Only – No KNOX BootLoader)
Sprint MF9 Firmware – Download Link
MF9 Mirror 1 – Download Link
Sprint MDL Firmware – Download Link
MDL Mirror 1 – Download Link
Sprint MDC Firmware – Download Link
MDC Mirror 1 – Download Link
今天解包L720的固件的时候碰到一些奇怪的文件
一个system.ext4.tar是0kb的,另外有3个system.ext4.tar.a system.ext4.tar.b system.ext4.tar.c的文件倒是有,不过用tar打开的时候发现压缩文件是不完整的~然后就想到了这三个文件可能组合起来才是一个完整的吧~
然后搜了下:
http://forum.xda-developers.com/showthread.php?t=2194171
发现的确是这个问题
for windows users it would be using TYPE in DOS
example
type system.ext4.tar.a system.ext4.tar.b system.ext4.tar.c >> system.ext4.tar
type file1 file2 file3 file4 file5 >> your_final_file.tar
“干嘛那么麻烦”
源自Sacs_Custom_ROM_4.3系列,去除繁杂的安装过程。
自用普通版下载
===============================================
喜欢我的ROM的话,不妨按下面的按钮给我捐赠~
谢谢 {无情} 的捐助!
===============================================
感谢XDA上的原作者:http://forum.xda-developers.com/showthread.php?t=2512983
=============================================
征询意见,请在本文章下面回复(评论可以不注册的)
20140117更新
20140115更新
20140113更新
fixed pretty much everything that was broken
kept note 3 settings but added missing settings
added new 3minit framework
added new sound app and check out what happens when u plug earphones in thanks Rizal Lovins
added fixed multiview
added modified framework-res for speed and disabled warnings
added note3 keyboard with auto correct fixed
Added safety assurance
Added security settings
Added Google backup for pics
added enterprise support let me know if it works
added htc sense theme in aroma thanks cerj for getting this to work for us and thanks sbreen
enabled all wifi settings in advance
guys theres more ill update this later
20140102更新
V5.2 Changelog
i dont know where to start lol
-added ink effect in settings now u can pick what color u want must be in ripple effect in lockscreen thanks so much to mythtrandyr 加入锁屏的墨水效果,当选择涟漪锁屏特效时可以附加选择墨水颜色
-added greenify back into settings as requested 设置中加回Greenify(绿色守护)程序
-added new lockscreen effect watercolour in settings
-added note 3 multi window 使用Note3的多窗口模式
-added added multi window quad screen 加入4窗口(多窗口)支持
-added floating multi window 加入浮动多窗口支持
-added new note 3 settings with search 使用Note3的“设置”界面,包含搜索功能
-added weather in lockscreen 锁屏中可以显示天气(我貌似无法打开,不知道你们如何)
-added updated 3minit framework 增加更新过的3minit框架
-added google fix 加入Google功能修复
-added multi window manager so u can enable all apps 加入多窗口管理器,什么程序都能够多窗口了
-added new note 3 gallery 使用Note3的相册软件
-added lidroid to new 3minit 加入力卓到3minit中
-added new settings in lidroid settings left top of status bar qill take u back to home right side will lock screen
u can remove this on / off in lidroid settings 使用时,按状态栏左上角相当于Home键(这个我没试成功),按右上角会锁屏。可以在力卓(lidroid)设置中修改选项
-added one hand operation guys only keyboard and calculator works ill add more later 加入官方键盘、计算器的单手操作选项
-added data quicksettings icon back in 在快捷按钮中加回“移动数据”
-added faster pull down times thanks Mr.Nigma… 这个不会翻译抱歉
-added note3 and stock s4 wallpapers in aroma Aroma安装程序中可以选择加入Note3以及S4的默认壁纸
-guys u will get a fc on boot for systemui but no worries just click ok it will never happen again 兄弟们~在第一次启动时可能会有System UI的强退,不过这个只会发生一次,不要惊慌,按OK就行
guys theres so much more i added but ill let u guys look and find out
20131226更新
V5.1 changelog
added lidroid tweaks in settings
added intergration with lidroid and 3minit
added beats enabler in settings (thank u RockoDev)
removed broken launchers in aroma
updated more apps
added new cleaning app in settings
added lidroid cpu real time in status bar this can be turned off or on from lidroid settings
added lidroid 29 icons u can go back to stock from lidroid settings
added real time data in status bar this can be turned off or on from lidroid settings
added telecomunications
added memory cleaner in pulldown this can be turned off or on from lidroid settings
added new theme in exdialer
and alot more i dont remember guys this update was really tough and took alot of code to get both tweaks to work
and like always theres more to come
enjoy!!
20131213更新
注意:如果需要更改状态栏的布局,请去GooglePlay下载最新版的3minit setting程序
20131203更新(已传好)
V4.3 change log
fixed screen on off issue修复屏幕开/关问题
removed script for deep sleep移除深度睡眠的脚本
added font pack to aroma
added note3 apps to pick individually Note3的程序可以单独选择
removed lockscreen locks causing to many issues will add later 移除出现问题的关屏锁
added new script for battery 优化耗电的脚本
added missing widgets and samsung apks in sysstem/app 加入上个版本中忘记加入的一些程序及插件
theres more but ill update later
=============================================
20131125更新(已传好):
V4.2 Changelog
removed alot more bloat
added battery changer on the fly thanks OsamaGhareeb located system/display :电池样式的设置在”系统设置”->“显示”底下有,可以更换电池图标样式
added 3mint settings and app ( 第一次开启时点击“System”页面会出现FC,等他自己关掉后第二次开启或者重启后第二次开启以后就正常了,里面可以设置高级重启菜单的项目的)
fixed edit draw in pics
fixed stock email
fixed google wallet with pay tab
added stock modded kernel thanks Unknownforce for it
added crt off effect
brand new deep sleep scripts thanks Kobridge
guys im sure theres alot more but ill update this again later
=============================================
20131120 晚更新:
=============================================
20131117 19:18 v4.0.1更新:
-------------------------------
原ROM可能有bug: 关机后开启时,第一次开WiFi可能搜不到网络,把WiFi关掉后几秒再开启即可。我也不知道是啥问题,好像每次重启过后就会这样一次,一次之后又正常 了。。希望是我个例吧
-------------------------------
如果开机一直重启,那么原因很可能是你没有WIPE DATA(FACTORY RESET),或者使用了CWM Recovery, TWRP Recovery。
-------------------------------
===============================================
喜欢我的ROM的话,不妨按下面的按钮给我捐赠~
谢谢 {无情} 的捐助!
===============================================
v5.4大家移步这里吧~5.4来了哟
v5.3(此版本不大靠谱,等5.4吧)
http://pan.baidu.com/s/1i3uoahf
v5.2
http://pan.baidu.com/s/1i3wpDIH
v5.1
http://pan.baidu.com/s/1kTshBeR
v5.0
http://pan.baidu.com/s/18EAkY
v4.3
http://pan.baidu.com/s/1AFyDN
http://pan.baidu.com/s/17q9IJ
bug修复:缺少日历小部件 卡顿修复
http://pan.baidu.com/s/1cNYz9
MD5:4e610ac24c548ce90fcab2183b65593e
v3版下载
http://pan.baidu.com/s/1mroaG
刷写后导致的任何问题本人不承担任何责任。
==============================================
需要下载字体的话
http://bbs.gfan.com/forum.php?mod=viewthread&tid=6431376&extra=page%3D1%26filter%3Dtypeid%26typeid%3D8438%26typeid%3D8438
这里的字体都是能直接装的